When you install a windows service it writes an entry to the registry. One entry is the path to the executable. Read that entry to get the path. It should be HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\servicename . Look for the value of ImagePath. Here is what I did
Private Function...
How about creating a system DSN that resides on each client machine. Could you use that instead of a connect string to work around the issue?
I have not tried this but it is a possible resolution as long as the DSN exists on the server as well.
- Keith
Not sure if this will help but here is my thought. I tried running a test application that I created ,to read eventlogs, via a drive mapped to my dev box. The client machine also has .net installed on it.
My application generated an error on startup and I found the line generating the error was...
You can check to see if they are in a specific group (such as administrator) by using ADSI (ActiveDs namespace).
myUsers = GetObject("WinNT://MyCompuer/Administrators")
Dim bAdmin as Boolean
For Each member In myUsers.Members
If member.class = "User" Then
If...
Change the reference to version 8. If the functionality used in the app is not available in version 8 it should error out and you will have to upgrade in order for it to work. If it does work then you should be fine.
You may be able to get it to work by stopping some of the services on the machine. For one package I stopped IIS and WWW and that solved my problem. For another one I stopped every service possible and it still would not install.
I decided to test installs by editing the lst file and removing...
Why don't you just not change it. In an "IN" statement you could have zeros and you should just not get any rows back.
USE Northwind
SELECT * from Employees WHERE EmployeeID IN(1,4,0,0)
this is a valid statement, requires no extra vb processing and allows sql to process it and you...
After you run your update you should check rs.EOF to see if you have passed the last record, which seems likely. When you call Rs.MoveFirst you are telling the recordset to move to the first record so as long as there are at least two records it will always work. You should check both EOF and...
I think you need to tell it what to do with the file. Try this
Shell ("C:\winnt\Regedit C:temp\regtcpHN.reg",4).
You can also pass command line parameters if you wish. This should work although I have not used it in a while. Basically you are telling it to shell the regedit exe and...
Yes, you can have the logon script execute and write the homepage to the regsitry setting for IE. You can find it by doing a search through your own registry looking for your homepage text.
I know it can be disabled through Global Policies (not sure how) and possibly the registry but I am not...
Multiline, I don't believe you can. I ran a test app and couldn't get it to work. I also had a tooltip with 565 characters and it was fine. Screen size however, limited what I was able to see.
You can test it out yourself in a project.
It is really up to you and what would best server your users and your end result. An asterics (*) next to a field is always good.
You can use the validate event to validate the field before the user exits it (look it up in the MSDN help) but this would occur each time the user tries to leave...
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.