Control a program which running in Windows
Hi all,
I have a program. When this program run on windows desktop, I can control it by using VB6 or C# if it is running (online when VB6 control).
(This program provide a dll file to access it when running)
For example :
Dim OBJ As Object
Set OBJ = CreateObject("DESKTOP.APPLICATION")
'Set APP = New DESKTOP.Application
Set APP = OBJ.GetApplication("FUNDS.TRANSFER")
' Then use APP to control program which is running online
The code above use for VB6, how can I cotrol this program by Java like VB6. How to use dll file to do it
pls help me
guitar_man_F wrote:
I've never actually done this, but I might be able to help you understand some of the challenges.
First, Java is a platform independent language. That is, it doesn't know that dll's exist, because on operating systems like linux, they don't. So the standard java libraries don't provide any way to do this. You will need to use JNI to interoperate with native code, so JNI tutorials are a good place to start.
Also, since you're tring to communicate with programs that are already running, a good google search term would be "inter-process communcation", or IPC.
- Adamthank for your reply, maybe JNI is good for this project, I will try with your suggestion
Anyone know something about this, pls tell me more
Thank
Similar Messages
-
Calling an unix command from a java program which runs on windows
Hello All
I have an Java Application which is run on windows server (I)
I have another Sun Server (II)
I want to call an unix command on server(II) from java application which is on server(I)
I am using Samba Server in order to share files between Windows Server and Unix Server
Can I use samba in order to call command
or is there any way to open an telnet session within java application
I will be grateful if you give me some suggestion on this issue
Regards
BEKIR BALCIK
J2EE Application Developer
Argela Technologies ...cross post
http://forum.java.sun.com/thread.jspa?threadID=624601&messageID=3553626#3553626 -
How to reopen window in a program which runs in background
Hello,
I created a program, which runs in the background(when you start it, doesn't open a window). It has a notify icon and by double click opens a window. I open the window with ShowDialog() method. After I close it, I cannot reopen it. It says: "Cannot
set Visibility or call Show or ShowDialog after window has closed". What should I do?
Thanks!When you say you can't re-open it.
Exactly what are you doing to show and hide it?
And what do you do to show it again?
Actually, I can probably guess roughly what you're doing.
Are you trying to show a window you closed without instantiating it again?
Are you effectively doing something like:
Window win = new MainWindow();
win.Show(); ....
win.Close();
win.Show();
Because you should do
Window win = new MainWindow();
win.Show();...
win.Hide();
win.Show();
Once you close it, that's it you're done with that window. It's on the garbage heap waiting for the garbage collector to come along and recycle it.
It is no more.
Either hide() rather than close() or instantiate a new object each time.
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML -
SDK J2 EE server remove it from list of programs which start with windows
Hello there
Since SDK J2EE 5 server takes many resources, I would like to be able to remove it from the list of programs which start with Windows XP PRO start up.
How could I possibly do that?
Thanks in advanceSince SDK J2EE 5 server takes many resources,is it take more resource ?
is it decrease your speed ?
is it not allow another app or software to run ?
if you say yes,
then
type msconfig in start->run
click startup tab and deselect the corresponding checkbox
or
go to control panel -> administrator tools -> services -> select the service , then right click properties and select disable in drop down,
or
control panel -> add or remove programs -> select j2ee-xxx remove it -
Is Adobe PageMill 3.0 still available? I use it to run three websites but it does not run on my new desktop which has a 64-bit operating system. However it would run on my laptop which runs under Windows Vista. But the original installation was from floppy discs and I do not have a floppy disc drive.
I am sorry Lcosahedron I am not aware of a download location for Adobe PageMill 3.0. It appears it was discontinued in 1999. You can find more details at Adobe PageMill - Wikipedia, the free encyclopedia.
-
When using the Parallels program to run a Windows program, can I network my MacBook Pro with my friend so we can use the same Windows program.
Not legally.
-
I am running Win 8.1 and have Air installed, but it does not show up in Control Panel/Programs and Features.
Is there a way to uninstall AIR since I cannot see it in Programs and Features?Moving this discussion to the Creative Cloud Download & Install forum.
Rosgats is Photoshop, Bridge, and Extension Manager not available to be reinstalled through the Creative Cloud Desktop application? If not then please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html. If it is listed as being available then please install using the process listed in Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html. -
System Administator won't allow this program to run on Windows Vista
After downloading my upgrade to iTunes 9, a window pops up and says that the system adminitrator will not allow this program to run. The only option on the window was to press "okay". After pressing "okay", all the installation windows closed and I still have my old version of iTunes. Are there security settings on my computer that need to be changed? Apparently I need iTunes 9 in order to download a particular album I was trying to purchase.
After downloading my upgrade to iTunes 9, a window pops up and says that the system adminitrator will not allow this program to run. The only option on the window was to press "okay". After pressing "okay", all the installation windows closed and I still have my old version of iTunes. Are there security settings on my computer that need to be changed? Apparently I need iTunes 9 in order to download a particular album I was trying to purchase.
-
I have a program that is ran using the command line in windows and the terminal window on Mac or LInux. Is it possible to create an app for the iPad that could run this program. This program does require admin rights.
No.
-
I have a desk top which has Windows Vista. On this computer I have been running Itunes for a long time. My new computer is a Lap top and it runs Windows 7.
I recently loaded Itune on the new computer. I attemted to use Easy Transfer to transfer my Music but was unable to connected the two computers so I transferred my music to a external hard drive and loaded the music on the new computer. I have the folders and files carefully and they appear to match. When I try to run Itunes on the new computer I am unable to access the new music. Itune always goes to the sample music. The only difference I can come up with is Windows Vista and Windows 7. Does anyone have any suggestions?Hi,
Are you trying to use the Help -> Updates method?
Both those patches need to be manually applied to PSE 9.
Brian -
hye everyone, im newbie here just purchased a macbook pro 13".. im also very new to mac after saying goodbye to windows7..
i would appreciate this community assistance on advising me which FREE BATCH PHOTO EDITOR software is available for me to download for mac..
before this i used windows7 on my asus lappy and i utilised a free "PHOTOSCAPE" software which i downloaded via internet.. i found this software very much interesting, user friendly & fast when i wanted to edit photos in a huge batch.. i could resize, insert watermark logo, insert texts & etc very fast by using its batch editor features..
i truly hope this community can assist a newbie like me.. your kind assistance is very much appreciated.. tqvm.
~ ahkau, malaysiaNot free, but well worth the €35, is Graphic Converter. It has excellent batch processing.
-
How do i restore my itunes to my laptop which runs on Windows Vista Basic?
I had to reload my system yesterday, and the only thing left to do it put my itunes from my ipod to my library. I could do it with my eyes shut for my old windows xp OS but as its vista i have kinda lost my way. So if there a link on here somewhere for this would someone be so kind as to post it on here.
Thanks, Louanyone?
-
Can we add Mac laptop or desktop in domain which runs the Windows OS
Can you add your macbook pro in windows platform Domain?
Yes, you can connect a Mac to a Windows network.
-
ANYBODY ANY SUGGESTIONS FOR MY ABOVE PROBLEM
Hi,
Are you trying to use the Help -> Updates method?
Both those patches need to be manually applied to PSE 9.
Brian -
Hello guys, Please help me.
Today I got weird Problem, My Windows 7 Ultimate eventually can't execute any Windows Programs, such : Msiexec, Cmd, Notepad, Taskmgr, Msconfig, Regedit, etc.
When I tried to run any Windows Programs, the Message Box Appeared with this message : Insufficient system resources exist to complete the requested service.
Then I checked my System32 Directory, I was shocked because All of Windows Defaults Programs appeared with Locked Icon.
Then I checked 1 by 1 Windows Program, for an Example : dcdiag.exe. I checked the Security Tab and I got this notifications : No Permissions have been assigned for this object.
Warning : This a potential security risk because anyone who can access this object can take ownership on it. The object's owner should assign permissions as soon as possibe.
Other Informations :
1. My Windows account Privilege is Administrator.
2. I've Actived Anti-Virus and Always Updated.
3. In Safe Mode Everything Was Fine, I Can run Notepad, Task Manager, Command Prompt, etc (except : Msiexec / .msi Installer).
4. I tried System Restore in Safe Mode, but I don't have any Restore Points. In Normal Mode, I can't execute System Restore.
So, How can I solve this Problem?
Body text cannot contain images or links until we are able to verify your account -__-"Hi,
According to your description, it seems like a program which start with Windows blocked the access of these app.
To open Msconfig, you can boot into Safe Mode firstly, then open Msconfig and following clean boot process to execute the operation.
If there is any progress, please feel free let me know.
Roger Lu
TechNet Community Support
Maybe you are looking for
-
VBScript Error when trying to install iTunes 7.2 on Windows Vista PC
I downloaded iTunes v7.2 + Quicktime. When I try to install, I receive the following error: "iTunes could not be installed because Visual Basic Script (VBScript) is not installed or has been disabled. Make sure VBScript is installed, turn-off script
-
I have an Imac that is a year and a half old and the front of it just fell off and it wont work now. Has this ever happened to anyone?
-
How to make a border around text?
In my latest FCE project, I made a solid color matte clip (dark blue) to set below my titles to give the text a colored background (these titles are not overlaid on video clips, so without the colored matte, the background would be the default black
-
Power supply part number for Cisco 2900
I need to know what are the part numbers for installing the redundant (second) power supply.
-
Indiviual header row for a table
Hi, I want to create an additional individual header row that appears on every page when table gets an overflow. Yet I was not able to add such additional individaul header row to the table. I only have the standard header row, but this is not enough