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 strongm 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. robk54

    Accessing Image Attributes

    Hi I just had a look at the kodak controls ( i think they are free ?! ) add the image admin control & use the following properties to get what you want ImgAdmin1.Image = Text1.Text Print ImgAdmin1.CompressionInfo Print ImgAdmin1.PageType If you have the control, you should also have...
  2. robk54

    How to connect to a database using NT Login Authentication

    Hi it is normal practice to use other userids to access SQL databases - eg a generic "Read Only" userid. It can be configured in the ODBC or coded (as per MS example) cnn1.ConnectionString = "driver={SQL Server};" & _...
  3. robk54

    Opening txt file on internet in a rich text box

    Hi Clive Ive had a look & cannot find a way. My guess is you will have to download it first regards Rob
  4. robk54

    ActiveX Control - MS Access compatability

    Hi I have created an ActiveX control & it works fine in VB & Excel, but when I try to use it in Access it does some strange things. I read in MSDN that if there are problems, then the control is probably not compliant with Access. What they didnt say is how to make it compliant ! Any...
  5. robk54

    Visual Basic and cwbx components to access AS400

    Hi You need to look under Project References & click on the following IBM AS/400 Client Access Express Activex Object Library You will then be able to see the cwbx references - Look in Object Browser Regards Rob
  6. robk54

    Using this code in VBA to get NT LogonID - can I get name also

    Hi do a web search on "vb netusergetinfo" & you will find plenty of examples on how to do this regards Rob
  7. robk54

    Distinquishing between DVD and CD drives

    Hi Michelle if you are using w2k or xp the following link should help http://www.vb2themax.com/NLItem.asp?PageID=NewsletterBank&ID=1040 (page down to tip of the week) Hope this helps regards Rob
  8. robk54

    How to move throug a fixed length text file like a recordset

    I would setup a class referencing FileSystemObject & mimic the ADO properties & methods. cMyTxtAdo.open cMyTxtAdo.movefirst ... etc ... Obviously you are then limited to single user locking. Hope this helps Regards Rob
  9. robk54

    How to control the mouse buttons using win API?

    take a look at allapi.net at http://www.mentalis.org/agnet/apiguide.shtml it supports vb5/6/net They have a few examples under "mouse cursor" regards Rob
  10. robk54

    Remote Window List

    I am trying to find out how to do an enumwindows on a remote pc. I do not want to run a service or app (client/server) on the remote pc - I want to do it all from my local pc. any thoughts ?
  11. robk54

    Check DLL is cleared from memory?

    MrPeds sorry about that last one - I was mixed up with referencing an object ! My guess is that vb allocates the memory on the declare statement & doesnt release it until the form is unloaded or the app is closed. Is this a big issue ? or are you just interested ? I will ask around. Rob
  12. robk54

    Check DLL is cleared from memory?

    This is a relatively new area for me too. Without seeing your code I have to ask, did you set your object to nothing each time ? or only on the unload ? sub button_click() dim objMydllCall as MyDllCall set objMydllCall = new MydllCall objMydllCall.dowhatever objMydllCall.close...
  13. robk54

    Network traffic monitor

    Try this ... http://www.planet-source-code.com/xq/ASP/txtCodeId.23893/lngWId.1/qx/vb/scripts/ShowCode.htm
  14. robk54

    rteurning control...

    If it is your dll then put some doevents in it to allow other processes some cpu time What dll is it ?
  15. robk54

    Context Menu

    My linked example works (nt4 sp6a). The dlls when registered make changes to your (win) explorer's context menu. If you modify the source & recompile, you should have your own menu The thumbnail took me a while to workout. It actually shows thumbs in the icon, list or detail views. You may...
  16. robk54

    Context Menu

    u should look a bit closer this link isnt just .net. The guy has a real good example which I have downloaded & works fine with vb6 http://www.domaindlx.com/e_morcillo/scripts/cod/default.asp?page=shell
  17. robk54

    Context Menu

    ok, just found this site - looks good. http://www.domaindlx.com/e_morcillo/scripts/cod/default.asp?page=shell Rob
  18. robk54

    finding program task ID for an application

    1. use the findwindow api then the GetWindowThreadProcessId api - refer Q242308 from MS 2. I would start with spy++ to get the handle of the control & take it from there take a look at www.visualbasicexpert.com this should help Rob
  19. robk54

    Excel Chart Automation Problem

    I find that if it works when you step thru it, you just need a couple of "doevents" strategically placed - seems to slow it down enough to get the job done ! I have even resorted to for x= 1 to 5000:doevents:next although this can slow things down too much at times Hope this helps Rob
  20. robk54

    Check DLL is cleared from memory?

    This is a little messy but try http://www.allapi.net/ & look at the api enumprocesses. this should show if the process is still active Rob

Part and Inventory Search

Back
Top