I moved a SourceSafe database to another machine with surprising ease. I just installed SourceSafe on the new machine, copied the entore VSS folder over there, and set up the new installation to point to it. Then I renamed the folder on the old machine to prevent an accidental access of it...
I've tried the same thing. We use CMD scripts to run processes and want to use Envoronment.Exit(x) to return an error condition. No matter what number I use for x, I always get back 1 in the %ERRORLEVEL% variable in the CMD script. If anyone can help, please feel free to respond.
Thanks bigfoot. I will take a look. Bear in mind, that I need this to happen in a batch mode with no user intervention. Supplying username, password, server, share will all be automatic.
In VB6, you could use API WnetAddConnection2 to establish a new drive mapping. What is the best way to add/remove drive mappings from a .NET application, programatically? The reason for this need is that we have an App that sends data to many different servers, Netware and Windows and do not...
Please allow me to answer my own question. You can set a reference to the old COM FileSystemObject and use as follows.
Function GetUNCPath(ByVal strDrvLetter As String) As String
Dim fso As New Scripting.FileSystemObject()
Dim drv As Scripting.Drive = fso.GetDrive(strDrvLetter...
Thanks SHelton for the simple straightforward explanation and example. There is little on this subject in books, etc. Helton's example file and the DIM statement are clear as glass.
I am looking for some good advice and/or code on using ".config" files instead of ".ini" files for data external to an application such as paths, dates, etc.
Sorry Michael. I didn't intend for this to turn into an argument. Maybe I should have started a new thread since this thread seems to be a discussion about the POSITION of the lines as opposed to the LENGTH of the lines which I am concerned with. It seems like I'm having a hard time getting...
I do not have a problem with X (column demarcation), I have a problem with Y (the length of the lines). I cannot accurately determine the TOP property of the PageFooter section. Repeating lines for the HEIGHT of each DETAIL line do not continue down to the footer if the details do not fill up...
Michael, Thanks for your reply. I understand what you have described here. But I don't see how it can extend lines down past the last detail line, all the way down to the PageFooter. It looks like this would stop after the last detail was printed and then the footer would be down at the...
I have been trying to use the Line function during the OnPage event to draw a vertical line from the beginning of Detail down to PageFooter. When I try to capture the TOP of Pagefooter (bottom of my line), I get a number that is below where the actual top of the footer is (about two lines...
I am using WnetOpenEnum and Wnet EnumResource to produce a list of all of my network connections. I can see all of the Netware and Win95 machines for which I have connections, but not the NT machines. Any clues?
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.