Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: VB Service on W2K


Message #1 by "Shaun Larkin" <slarkin@g...> on Wed, 25 Sep 2002 15:45:28
Thank you for your feedback, it pointed me in the correct direction.
I found that you absolutely need to run the installutil.exe from the
directory that your exe is in.  Otherwise, it looks like the install
finds your program, tries to install it but fails. 

This is not the case, in fact it gives you a bogus error when it should
say, File Not Found "myservice.exe", please specify a correct path.

Thanks again for everyone's help.

~S~

-----Original Message-----
From: Kevin Anthony [mailto:kanthony@t...]
Sent: Thursday, September 26, 2002 7:56 AM
To: pro_VB_dotnet
Subject: [pro_vb_dotnet] Re: VB Service on W2K

I would have to say that the reason you're getting the error is the
difference in the location of the Windows directory. In Windows 2000,
the
windows directory is WINNT whereas in Windows XP they went back to
WINDOWS. If your service uses any assemblies that you create, then they
have to be in the SYSTEM32 directory in your windows directory since
that
is any window's services' home directory. I currently develop on a
Windows XP Pro workstation and I have successfully deployed services to
other XP machines and Windows 2000 Advanced Server. I hope this was of
some help.

Kevin
---
Visual Basic .NET Text Manipulation Handbook
The .NET Framework brings a variety of string manipulation features
to the VB language, and some of these, namely regular expressions
and the StringBuilder class, are something VB 6 developers may not
have seen before. This book teaches you how to manipulate text using
these string matching, manipulation, and replacement classes. Issues
such as Localization and data conversion will also be investigated.
http://www.wrox.com/ACON11.asp?ISBN=3D1861007302

  Return to Index