Click here to Skip to main content
15,896,557 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Number of sundays in a month.......... [modified] Pin
Member 387988112-Mar-07 23:29
Member 387988112-Mar-07 23:29 
GeneralRe: Number of sundays in a month.......... Pin
Member 387988112-Mar-07 23:54
Member 387988112-Mar-07 23:54 
Questiontrying to develop a program to run an .bat file as admin Pin
cpltek12-Mar-07 12:01
cpltek12-Mar-07 12:01 
AnswerRe: trying to develop a program to run an .bat file as admin Pin
Dave Kreskowiak12-Mar-07 12:45
mveDave Kreskowiak12-Mar-07 12:45 
GeneralRe: trying to develop a program to run an .bat file as admin Pin
cpltek13-Mar-07 3:05
cpltek13-Mar-07 3:05 
GeneralRe: trying to develop a program to run an .bat file as admin Pin
Dave Kreskowiak13-Mar-07 3:15
mveDave Kreskowiak13-Mar-07 3:15 
GeneralRe: trying to develop a program to run an .bat file as admin [modified] Pin
cpltek13-Mar-07 3:31
cpltek13-Mar-07 3:31 
GeneralRe: trying to develop a program to run an .bat file as admin Pin
cpltek13-Mar-07 3:38
cpltek13-Mar-07 3:38 
'need to authenticate admin privileges to execute file
'Public Property password() As SecureString
' Get

' End Get

' Set(ByVal value)

' End Set
'End Property


'Dim instance As ProcessStartInfo
'Dim value As SecureString

'value = value.Password

'instance.Password = value
_____________________________________________________________
'this part works but it is only if you have admin privilges
cmd = "\\misfs\public\DST Update\xpdstupdate.exe"

'logon as admin with password to get access to uninstall file

'executes file file on server
Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim pStart As New System.Diagnostics.Process

startInfo = New System.Diagnostics.ProcessStartInfo("cmd")

pStart.StartInfo = startInfo
pStart.Start()
pStart.WaitForExit() 'Your code will halt until the exe file has executed.
QuestionGet enter button command Pin
harveyhanson12-Mar-07 11:30
harveyhanson12-Mar-07 11:30 
AnswerRe: Get enter button command Pin
JUNEYT12-Mar-07 12:36
JUNEYT12-Mar-07 12:36 
GeneralRe: Get enter button command Pin
harveyhanson12-Mar-07 13:12
harveyhanson12-Mar-07 13:12 
GeneralRe: Get enter button command Pin
M-Hall12-Mar-07 14:44
M-Hall12-Mar-07 14:44 
GeneralRe: Get enter button command Pin
harveyhanson12-Mar-07 15:23
harveyhanson12-Mar-07 15:23 
QuestionCalling a windows application Pin
code123581312-Mar-07 10:47
code123581312-Mar-07 10:47 
AnswerRe: Calling a windows application Pin
M-Hall12-Mar-07 11:15
M-Hall12-Mar-07 11:15 
QuestionMy.Computer.Network.DownloadFile Pin
tgebrael12-Mar-07 10:46
tgebrael12-Mar-07 10:46 
AnswerRe: My.Computer.Network.DownloadFile Pin
Dave Kreskowiak12-Mar-07 12:37
mveDave Kreskowiak12-Mar-07 12:37 
AnswerRe: My.Computer.Network.DownloadFile Pin
tgebrael12-Mar-07 18:07
tgebrael12-Mar-07 18:07 
QuestionMr. Mogtabam please check.. Pin
manni_n12-Mar-07 9:47
manni_n12-Mar-07 9:47 
AnswerRe: Mr. Mogtabam please check.. Pin
kubben12-Mar-07 9:55
kubben12-Mar-07 9:55 
GeneralRe: Mr. Mogtabam please check.. Pin
manni_n12-Mar-07 10:59
manni_n12-Mar-07 10:59 
GeneralRe: Mr. Mogtabam please check.. Pin
kubben12-Mar-07 13:55
kubben12-Mar-07 13:55 
Generalits working Pin
manni_n14-Mar-07 8:27
manni_n14-Mar-07 8:27 
GeneralRe: Mr. Mogtabam please check.. [modified] Pin
TwoFaced12-Mar-07 22:00
TwoFaced12-Mar-07 22:00 
GeneralRe: Mr. Mogtabam please check.. Pin
TwoFaced12-Mar-07 22:19
TwoFaced12-Mar-07 22:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.