I have to write/get some code to poll a linux server and securely download a web page (or text file) and print it on a remote XP computer's printer. I have not done any Windows programming in years but, after doing a little research, I think I found enough on MSDN to put this together. However, it's the Win32 API, which I am most familiar with, using WinHTTP.
So I'm thinking that, even though I've never used it before, I would like to future proof this little executable by using .NET, but I don't want to have to go through a long process of learning the .NET framework ins/outs when I'm sure I can get the Win32 version done relatively quick. Pointers on how to do that?
Since I think I know I can do it in Win32, is there a way to convert it to work with .NET, or is there no advantage or method to that?
I have Visual Studio, 2004, I think, but never used it and I don't think it works with .NET(?) and I'd rather not install it just for this, so I can download VS Express(?) or just get the command line compiler from the SDK.
(I just groaned because I remember I have to install all that. I wonder if I should just go back to my assembly roots and do it there cause I don't need the whole SDK. But I digress.)
EDIT: I just clicked over to another page and read something. To communicate with a web server, would my customer have to be using XP Professional or will Home do? I think he has Pro but not sure.
So I'm thinking that, even though I've never used it before, I would like to future proof this little executable by using .NET, but I don't want to have to go through a long process of learning the .NET framework ins/outs when I'm sure I can get the Win32 version done relatively quick. Pointers on how to do that?
Since I think I know I can do it in Win32, is there a way to convert it to work with .NET, or is there no advantage or method to that?
I have Visual Studio, 2004, I think, but never used it and I don't think it works with .NET(?) and I'd rather not install it just for this, so I can download VS Express(?) or just get the command line compiler from the SDK.
(I just groaned because I remember I have to install all that. I wonder if I should just go back to my assembly roots and do it there cause I don't need the whole SDK. But I digress.)
EDIT: I just clicked over to another page and read something. To communicate with a web server, would my customer have to be using XP Professional or will Home do? I think he has Pro but not sure.
Comment