Sendkeys sends to the focused application...
This app/script is running in the background as a process, hidden, so it wont work with sendkeys.
Rob.
ProIV Resource Centre www.proivrc.com
Hi,
I start a process on a unix machine from my VB6 app, using the WshShell with the .Exec command.
It starts a program on windows called 'plink' (from the PuTTY program to run unix commands) that then runs a script on the unix machine.
Now, I want to be able to send a CTRL-C to the...
Hi,
Thanks for that, but I dont really want to do that.
There has to be a global method, surely??
Really, looping through all elements and attaching an event isnt the best for performance, IMO.
Rob.
ProIV Resource Centre www.proivrc.com
Hi,
While I'm running an Ajax query, I'm trying to disable the user from moving to other fields on the form.
So, I need a 'global' onBlur event to set focus back to the currect field which its running.
I've tried the following at the start of my code, where I define other global events (that...
Hi,
Thanks, but thats not 'quite' what I mean.
Maybe my example was not that clear... sorry...
I have no way to change the server side, I want to be able to make my VB app send the $_SERVER var...
The server is already checking the $_SERVER var, and I have no control of that.
Thanks,
Rob...
Hi,
I'm opening a web page using:
Set objHTTP = CreateObject("Microsoft.XMLHTTP")
objHTTP.Open "GET", "http:xxxx", bolGetAsAsync
objHTTP.send
What I want to be able to do is set a $_SERVER var, before I call the page, so that the page (PHP) can check it.
I want my php script on the web page...
Hi,
I'm trying to draw a line in DirectX and am having problems.
I try to draw the line with....
LineData(0) = CreateTLVertex(100, 1000, 0, 1, 0, 0, 0, 0)
LineData(1) = CreateTLVertex(100, 100, 0, 1, 0, 0, 0, 0)
D3DDevice.DrawPrimitiveUP D3DPT_LINELIST, 1, LineData(0), Len(LineData(0))...
Havent dont that bit yet, but I presume there is a API or maybe I need to go through the registry to get all registered OCXs.
Just to make it a bit clearer....
I'm writting a editor for a 4GL called ProIV. In Proiv you can create a 'screen' that you can add controls to, including user...
Hi,
The only problem is I want to specify the OCX as runtime.
At design time I dont know what OCX's can be added to my application.
I want people to select an OCX and I then draw it in my app.
So I need to be able to do everything at runtime...
Thanks,
Rob.
ProIV Resource Centre...
Hi,
Is there any way to load and use an OCX control at runtime?
I would like to load a specified OCX and then dispay it on a form at runtime.
Thanks,
Rob D.
ProIV Resource Centre www.proivrc.com
Some more....
If you set the UserControl 'Windoweless' property to True and put the following into the UserControl_HitTest event:
If HitResult = vbHitResultOutside Then
HitResult = vbHitResultHit
End If
And also put the following after the MaskPicture line from above:
UserControl.Picture...
Ok, learnt a bit more, but still cant quite get it right.
To get the .Print to work you have to set the MaskColor to vbButtonFace and then put this line after the .Print:
UserControl.Cls
UserControl.Print "This is a pain in the ^&%!"
UserControl.MaskPicture = UserControl.Image
Now that prints...
Also, the .Print method of the UserControl does not work when the UserControl is transparent.
It seems to 1/2 work if the font is set to 'Courier', but it looks all distorted.
Rob D.
ProIV Resource Centre www.proivrc.com
Hi,
If you create a UserControl and make the BackStyle Transparent and then place a label control with a caption in it onto to the UserControl (as part of the UserControl) and make the label also Transparent, then if you place this UserControl on a form, the labels caption is not visible.
Any...
Yep, I need to be more acurate than 1 second, in some instances.
I use TimeGetTime() alot to do timings.
Thanks,
Rob.
ProIV Resource Centre www.proivrc.com
Hi,
Very occasionally I get a runtime error, 'Overflow' from the following statement.
strTime = "Total Load Time:" + Str$(timeGetTime - stTot)
I am setting stTot to timeGetTime at the beginning of an operation, to time something, and its a global DIM as a Long.
The DEFINE for the timeGetTime...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.