Jump to content

Recommended Posts

Posted

Hi,

I use Visal Basic 2008 Express Studio SP1 to create simple applications just cannot get them to run properly on Windows Server 2003 machines - work perfectly fine on XP SP2/SP3 PCs. As soon as the application runs, on the tile bar there is 'Internet' added in front of the actual title and baloon tip pops up saying:

'Microsoft .NET Security Warning. Never enter personal information or passwords into a window unless you can verify and trust the source of the request'.

Each time the program is supposed to do something it fails. Can anyone advise?

Thanks in advance!


Posted

Sorry for the delay... Below I am posting latest code I wrote - this is supposed to uninstall Cisco VNP client using local admins credentials.

Thing is it never goes further than the initial view of the form1, doesn't even run Form1_Load event.


Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ProgressBar1.Hide()
Button1.Hide()
Button2.Hide()
Button3.Hide()

If My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{51FB15F4-AD27-43BC-AD4B-DD0354FB6BBD}", "DisplayName", "") <> "" Then
Label2.Text = "Client present:"
Label3.Text = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{51FB15F4-AD27-43BC-AD4B-DD0354FB6BBD}", "DisplayName", "")
End If

If Label2.Text = "" And Label3.Text = "" Then
Label1.Text = "VPN client has not been found on this computer!"
Button3.Show()
Else
Label1.Text = "Do you want to remove the below client?"
Button1.Show()
Button2.Show()
End If
End Sub

-more code-

Thanks in advance.

Posted

Did you copy the .exe locally, or are you trying to run it from a network share?

If you're running it from a network share, you will most likely have to change that zone's security settings in order for it to run.

  • 2 weeks later...
Posted

Sorry for such a long delay... Yes, I've been trying to run it from a network share - finaly got to test it from a local drive on the server and works perfectly fine!

Thanks a lot for your help and time!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...