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

    FileSystemObject troubles

    Thanks bjd4jc/HydraNL that kinda negates the procedure I was trying to write which would have identified the sharenames on each server. cheers, S.
  2. Slarti

    FileSystemObject troubles

    I'm trying to use the FileSystemObject to identify the names of folders on a server. I've tried various combination of Set fFAP = FSys.GetDrive("\\JDH00674") and get an invalid procedure call or argument, trying Set fFAP = FSys.GetFolder("\\JDH00664") I get path not found when I know the path is...
  3. Slarti

    Can I use MsgBox in a dll?

    Thanks all.
  4. Slarti

    Can I use MsgBox in a dll?

    Thanks mmilan. I'll persevere.
  5. Slarti

    Can I use MsgBox in a dll?

    I've compiled a dll which compacts databases given the filepath, password etc of the DB and it works just fine, however I test for an ldb using FileExists and if this returns True the dll doesn't compact but reports back to the user via a MsgBox. The report only works in the design environment...
  6. Slarti

    Detecting the presence of a printer on a server

    Thanks TysonLPrice that's certainly helped. However it only checks the printers set up on my base. I'm on a base on one server but have access to 15 or so servers that I'd like to search for a printer regardless of whether it's set up on my base or not.
  7. Slarti

    Detecting the presence of a printer on a server

    I'm trying to confirm the presence of a printer on a server. I have an array of servers and intend looping through them using a function such as FileExists to identify where the printer is. Is there such a function as PrinterExists and if so what references do I need? TY.
  8. Slarti

    Error 1004 when adding a worksheet to an Excel workbook

    The problem was that the workbook had been protected - Doh!
  9. Slarti

    Error 1004 when adding a worksheet to an Excel workbook

    I'm getting an error message 1004 Unable to get to the Add property of the sheets class when trying to add a worksheet to a workbook. Any ideas as to what could be causing this. I don't get it with every workbook which makes it more annoying! TY.
  10. Slarti

    Good Form Design - Please Comment

    Ask your Users what they'd like. Prototype your ideas and let them tell you what best suits them, they'll be using it.
  11. Slarti

    Resetting an Access Date to Null

    Superb, thanks bjd4c.
  12. Slarti

    Resetting an Access Date to Null

    Thanks bjd4c. I'll take a look tomorrow in work. Slarti.
  13. Slarti

    Resetting an Access Date to Null

    Skip, This doesn't mke a difference. I'm using Access '97 is that why? Slarti.
  14. Slarti

    Resetting an Access Date to Null

    Thanks Skip. I'm out of the office for a day or two but will try this on Friday. Slarti.
  15. Slarti

    Resetting an Access Date to Null

    I'm using DAO to connect to an Access database and having trouble emptying a Date/Time field in my table. To begin with the field is empty and that's OK, when I enter a date that too is saved, my problems begin when I try to remove the Date. I've tried restting to Null, vbNull and vbNullChar...
  16. Slarti

    Error attempting to select DBGrid from toolbox in VB6

    The Microsoft DataGrid control uses msdatgrd.ocx. If this isn't on your workstation (assuming this is the datagrid used?) - or the users workstations - then you'll get this message.
  17. Slarti

    Error attempting to select DBGrid from toolbox in VB6

    It sounds as if a ActiveX or a dll is missing from your workstation. I'm checking to see which one.
  18. Slarti

    Fetching Registry Settings

    I've seen the error of my ways and all sorted. Thanks for your help. Slarti.
  19. Slarti

    Fetching Registry Settings

    My SaveSetting is SaveSetting App.Title, "User Settings", vObject, sValue where vObject is intended as the Object/File and sValue the Value I want recorded in that object.
  20. Slarti

    Fetching Registry Settings

    Soumya, Thanks for your reply. I think I've got it all wrong! What I'm trying to do is create a folder in the Reg called User Settings and have a user setting called Highlight State. Is my SaveSetting correct? Slarti.

Part and Inventory Search

Back
Top