Visual C# Express programming

So, for those of you that don’t know, microsoft offers a great variety of completely free compiler suites to get you started in programming. These include C#, VB, C++ and SQL Server even. They are available via a simple google search to find you the link, so I won’t provide it this time. For anyone would would like to get started, I recommend giving them a try, they are almost as powerful as the full versions and sure to be able to handle just about anything you could throw at them.

The one thing I have not been able to get myself is, how in the world to you use the file.copy routine to copy a file from a remote server, on a different domain, that has a different login/pass then your current workstation? I’ve been racking my brain for days on this and have no idea, so any help for the coder readers would be great…

This entry was written by shadowmite , posted on Thursday October 26 2006at 11:10 pm , filed under News . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

3 Responses to “Visual C# Express programming”

  • zforce says:

    You have to use MapNetworkDrive to identify yourself before you do the copy. So for example if wshn is a Wscript.Network object just do the following before your file copy:

    wshn.MapNetworkDrive(“”, “\\\\host\\path”,”user”,”password”);

  • shadowmite says:

    Thanks so much for the suggestion, I’ll give it a try a little bit later, I didn’t even think of that possibility. The funny part is this has been sitting on msdn’s forum for weeks without a response…

  • SMS_frulums says:

    hello, where are you out a such DIZ?