Hard to know. Use the debugger in Visual Studio.
Hi,
i just released some new code which uses wybuild as update. I have a licence for it too.My problem that i cannot start the update checking from vb.net.I would use this:
Dim appDir As String = CP.PathProgram Dim proc As Process = New Process Dim StartInfo = New ProcessStartInfo(appDir + "\\wyUpdate.exe", "-quickcheck -justcheck -noerr") proc.StartInfo = StartInfo proc.Start() proc.WaitForExit() Dim exitCode As Integer = proc.ExitCode
If (MessageBox.Show("Update now?", "Update?", MessageBoxButtons.YesNo) = DialogResult.Yes) Then Process.Start(appDir + "\\wyUpdate.exe") Application.Exit() End If
Nothing happens. Its the same triing to run from vb6, using the shell command.
This is a hibrid app made in vb6 and it use vb.net too (interop). I have some clients who have more than 1 computer, and they need to know automatically, if some of them was updated or not. If some was, they must be update too.
Thank you in advance!
Hard to know. Use the debugger in Visual Studio.