|
Does this mean SendKeys Cntl-C won't work to copy the values out of the application? I am trying to implement this (using sendkeys), but I am not having any luck. For some reason the copy doesn't work nor do Shift-End or Shift-Home. Do you know the reason why?
Can you use a Java app to read from another Java app or is this just not possible all together?
Thanks.
Mike Lasseter
|
|
|
|
|
mr_lasseter wrote: Does this mean SendKeys Cntl-C won't work to copy the values out of the application? I am trying to implement this (using sendkeys), but I am not having any luck. For some reason the copy doesn't work nor do Shift-End or Shift-Home. Do you know the reason why?
It won't work with a Java app because NOTHING in a Java client window is based in Win32. It's all entirely custom drawn by the Java Runtime. Ctrl-C works because it's coded into the standard TextBox controls used by any of the Win32 libraries, even in the .NET world. Since Java's stuff doesn't rely on Win32 at all, you don't get the benefits of the standard functions built into those controls.
The only way it'll work is if the Java control you're app is using exposes an interface/functions that understands that Ctrl-C mean "copy the contents to the Windows clipboard". Since Java is platform independant, this doesn't happen, since not ever platform supports a clipboard.
mr_lasseter wrote: Can you use a Java app to read from another Java app or is this just not possible all together?
No, you can't, unless the applications involved expose and use some kind of Remoting facility. There's no way to send keystrokes or read the Text property of a Java control from any other application, Java-based or otherwise.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello!
i change a pe file and i encode code and data sections of this file.
now new pe file, first decodes two sections then it runs.
but there is an error for exe files that they are created by VB :
"The application failed to initialize properly (0xc00000005)"
Zo.Naderi-Iran
|
|
|
|
|
What on earth are you doing that requires this?
And created by what version of VB?? VB6, VB.NET??
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
because i want protect my pe file, then i encode code and data sections of pe file.
for exe file that it is created by VC6, i have not any problem, and protected exe run correctly.
but for exe file that it is created by VB6, there is this error.
Zo.Naderi-Iran
|
|
|
|
|
There's nothing really that special about a VB6 .EXE. Other than the large number of imports from the Runtime library. It's probably organized a bit differently from a C/C++ app though. You may want to use PEDump or PEBrowse to get the layout. If you're adding or removing data from the file, you could be changing offsets into the .EXE, invalidating them.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello,everybody!
Very happy you could read my Question.Thank you very much if you could give some suggestion.
Connectting mass points one by one forms an undee chart.
I want to redraw the undee chart next time.
Must i stroe these point data to database?
If i do so,i should read out these mass data from database when i want to redraw the undee chart.
I do think it is an assheaded idea.
ICQ:258-235-734
MSN:msnadair@hotmail.com
|
|
|
|
|
I have no idea what you're using to draw this chart, but yes, if you want the chart redrawn, you have to have the data available somewhere, whether it is stored in the control that's doing the rendering, or in a database that the control knows how to get to. But this depends entirely on the requirements of the control.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
What type data?
X-Y plot type
A time series in real-time (like stock quote)
Sampling data on a 2D domain regular or irregular (like elevation on the earth)
Best,
Jun
|
|
|
|
|
IF i running my application and i 1 2 run it one more i don't want run just only one that can be run in one time
................
|
|
|
|
|
Socheat.Net wrote: IF i running my application and i 1 2 run it one more i don't want run just only one that can be run in one time
What do you mean? I don't understand your question.
|
|
|
|
|
Example Like Yahoo Messenger You can run it 1 while u r using it
................
|
|
|
|
|
This is a forum, not an SMS service. If you try to write complete sentences without "lazy" abbreviations, it might be possible to understand what you are trying to say.
---
b { font-weight: normal; }
|
|
|
|
|
One time i want to run the same application only one, like Yahoo Messenger
................
-- modified at 5:48 Wednesday 5th July, 2006
|
|
|
|
|
Are you trying to say that you just want to run an instance of your application and avoid running more instances at the same time?
that's a problem of the SMS language ... that's my interpretation of what he's said.
Marc.
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Socheat, I'm sorry that I still can't figure out about what you mean. Can you give another example of the name of the other application? Tell me about the way that you want to do and the way that you don't want to do.
I know about yahoo messenger but I don't understand about application behavior that you want to do in your application.
|
|
|
|
|
Quit with the SMS speak. You've got a full keyboard in front of you, use it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Search the articles for "Single Instance" and you'll find more than a few examples of what you're trying to do.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Yes, this is what i mean, can you help me?
................
|
|
|
|
|
|
hi there
i have a gif image file that has to be displayed on the form can anyone help me. i have tried with picture box and image options , they are showing the pic but it is not playing the image image has some motion .
bharath.s
|
|
|
|
|
Select the imageurl property of an image control and go.
It even animates in the designer.
Also refer to
http://www.a1vbcode.com/vbtip.asp?ID=6
--Dimple
|
|
|
|
|
draw picturebox on you from and use methond
Picturbox1.Image = Images.FromFile(Path as string)
................
|
|
|
|
|
Socheat.Net wrote: Picturbox1.Image = Images.FromFile(Path as string)
This will display a stictic image. What he wants is an animation image show on the form.
|
|
|
|
|
It possible alos if his image is animator
................
|
|
|
|