Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. robdon

    Sending Ctrl-C to a process started with WshShell

    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
  2. robdon

    Sending Ctrl-C to a process started with WshShell

    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...
  3. robdon

    onBlur global event

    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
  4. robdon

    onBlur global event

    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...
  5. robdon

    setting $_SERVER with Microsoft.XMLHTTP

    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...
  6. robdon

    setting $_SERVER with Microsoft.XMLHTTP

    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...
  7. robdon

    DirectX Line drawing

    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))...
  8. robdon

    Loading an OCX at runtime

    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...
  9. robdon

    Loading an OCX at runtime

    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...
  10. robdon

    Loading an OCX at runtime

    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
  11. robdon

    Transparent label on a transparent UserControl

    Hi, Thanks, but I need to overlay the control over another picture. Rob. ProIV Resource Centre www.proivrc.com
  12. robdon

    Transparent label on a transparent UserControl

    Sorry, forgot to mention also, set the UserControl BackColor to vbButtonFace & BackStyle to Transparent.... ProIV Resource Centre www.proivrc.com
  13. robdon

    Transparent label on a transparent UserControl

    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...
  14. robdon

    Transparent label on a transparent UserControl

    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...
  15. robdon

    Transparent label on a transparent UserControl

    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
  16. robdon

    Transparent label on a transparent UserControl

    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...
  17. robdon

    'OverFlow' error with string conversion.

    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
  18. robdon

    'OverFlow' error with string conversion.

    Hi, Well, I was never gonna figure that one out ;) Thanks alot guys for the help. Rob. ProIV Resource Centre www.proivrc.com
  19. robdon

    'OverFlow' error with string conversion.

    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...
  20. robdon

    DOS Batchfile flashing up window

    Hi, Thanks Matt, thats just what I needed... Rob. ProIV Resource Centre www.proivrc.com

Part and Inventory Search

Back
Top