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!
Page 1 of 1
VB.NET application not working in Windows 2003 Security warning on Server 2003 when running VB 2008 Express apps
#2
Posted 16 March 2010 - 02:13 PM
Without knowing what type of code you are trying to run we can not help you.
#3
Posted 20 March 2010 - 11:59 AM
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.
Thanks in advance.
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.
#4
Posted 20 March 2010 - 01:08 PM
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.
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.
#5
Posted 04 April 2010 - 09:57 AM
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!
Thanks a lot for your help and time!
- ← Script to Change Computer Description
- Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
- Retrieving AccountExpirationDate property from AD →
Share this topic:
Page 1 of 1



Help
Back to top









