Alright, as the topic name suggests, I am giving web programming a shot.
I am somewhat intermediate (IMO) in Visual Basic .NET 08, so I figure that I'll make an attempt to put my "SystemCare" app (part of my SnapSuite app) online, so that people don't have to download an entire program (or carry it around on a USB thumbdrive, etc).
So I have the (somewhat lame) interface setup on the ASPX file, and I go ahead and start writing code for the click event, similar to what I would do for Visual Basic. Web Developer tells me that I cannot use the Process.Start command, unless I do it though System.Diagnostics. So, I go ahead and apply the fix, and continue working. Now I test. When I click the button, it comes up.... with a "Save File" dialog (in Firefox).
Now, the code works correctly - the bad part is, I want it to be able to download and then run the files (EXEs) silently, without user intervention. One-click, "Now working", be done with it.
I know that "this could be used for malicious actions" and "ZOMG ITS A VIRUS!!!11!1!!!" ... but all I am looking for is a way to silently run executable files from the internet. No bull.
Anyone here got ideas? I've tried several methods (changing the Process.Start to start a "file://" and not an "http://", for example) and nothing works. I tinkered around looking for a silent/download/process.start.silent/etc options, and no avail.
Partial Class _Default
Protected Sub CleanupButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CleanupButton.Click
As of right now I only have that little bit of code, as I need to get it working before I get the other buttons working (otherwise it would be more code that didn't work).
Suggestions? Ideas? Something I am missing? Another method to do it?