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