Click here to Skip to main content
16,012,107 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionExe doubt Pin
BINOVAR27-Dec-06 17:24
BINOVAR27-Dec-06 17:24 
AnswerRe: Exe doubt Pin
The ANZAC27-Dec-06 21:07
The ANZAC27-Dec-06 21:07 
GeneralRe: Exe doubt Pin
BINOVAR27-Dec-06 21:23
BINOVAR27-Dec-06 21:23 
GeneralRe: Exe doubt Pin
Dave Kreskowiak28-Dec-06 3:15
mveDave Kreskowiak28-Dec-06 3:15 
GeneralRe: Exe doubt Pin
BINOVAR28-Dec-06 17:14
BINOVAR28-Dec-06 17:14 
GeneralRe: Exe doubt Pin
Dave Kreskowiak29-Dec-06 3:05
mveDave Kreskowiak29-Dec-06 3:05 
GeneralRe: Exe doubt Pin
BINOVAR29-Dec-06 6:29
BINOVAR29-Dec-06 6:29 
GeneralRe: Exe doubt Pin
Eric Georgiades29-Dec-06 14:38
Eric Georgiades29-Dec-06 14:38 
Here's a small thought, perphaps it can be of use.

Try making (instead of a shortcut) an actual application that
when run, locates the exe in question from the server, and copies it over and then executes it
locally.

I do that with some simple programs, and i also add a simple "version" check to see if the
exe is newer than the one on the local machine. (by checking creation date of the exe)

the program could have something like:

<br />
Public Class Form1<br />
<br />
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
<br />
        Dim remoteEXE As String = "\\server\C\Folder\myExe.exe"<br />
        Dim localEXE As String = "C:\Folder\MyExe.exe"<br />
<br />
        If My.Computer.FileSystem.FileExists(remoteEXE) Then<br />
            If My.Computer.FileSystem.FileExists(localEXE) Then<br />
                If My.Computer.FileSystem.GetFileInfo(remoteEXE).CreationTime > My.Computer.FileSystem.GetFileInfo(localEXE).CreationTime Then<br />
                    My.Computer.FileSystem.CopyFile(remoteEXE, localEXE, True)<br />
                End If<br />
            Else<br />
                My.Computer.FileSystem.CopyFile(remoteEXE, localEXE)<br />
            End If<br />
        End If<br />
<br />
        Shell(localEXE, AppWinStyle.NormalFocus)<br />
    End Sub<br />
<br />
End Class<br />
<br />

GeneralRe: Exe doubt Pin
BINOVAR1-Jan-07 17:02
BINOVAR1-Jan-07 17:02 
GeneralRe: Exe doubt Pin
Eric Georgiades1-Jan-07 20:57
Eric Georgiades1-Jan-07 20:57 
GeneralRe: Exe doubt Pin
BINOVAR1-Jan-07 21:15
BINOVAR1-Jan-07 21:15 
GeneralRe: Exe doubt Pin
Eric Georgiades1-Jan-07 21:21
Eric Georgiades1-Jan-07 21:21 
GeneralRe: Exe doubt Pin
BINOVAR1-Jan-07 21:45
BINOVAR1-Jan-07 21:45 
GeneralRe: Exe doubt Pin
Eric Georgiades2-Jan-07 4:42
Eric Georgiades2-Jan-07 4:42 
GeneralRe: Exe doubt Pin
BINOVAR2-Jan-07 5:00
BINOVAR2-Jan-07 5:00 
GeneralRe: Exe doubt Pin
Eric Georgiades2-Jan-07 5:08
Eric Georgiades2-Jan-07 5:08 
GeneralRe: Exe doubt Pin
BINOVAR2-Jan-07 5:12
BINOVAR2-Jan-07 5:12 
GeneralRe: Exe doubt Pin
Eric Georgiades2-Jan-07 5:16
Eric Georgiades2-Jan-07 5:16 
GeneralRe: Exe doubt Pin
BINOVAR2-Jan-07 5:21
BINOVAR2-Jan-07 5:21 
GeneralRe: Exe doubt Pin
Eric Georgiades2-Jan-07 5:28
Eric Georgiades2-Jan-07 5:28 
GeneralRe: Exe doubt Pin
BINOVAR2-Jan-07 5:31
BINOVAR2-Jan-07 5:31 
QuestionDeployment Project Readme.rtf will not display Pin
vfhgujaqwe27-Dec-06 16:38
vfhgujaqwe27-Dec-06 16:38 
AnswerDeployment Project Readme.rtf will not display Pin
Shadyskills29-Dec-06 3:12
Shadyskills29-Dec-06 3:12 
QuestionDetect SQLServer Name on my network Pin
minhnguyen0827-Dec-06 16:28
minhnguyen0827-Dec-06 16:28 
QuestionRemove bitmap transparency Pin
Polymorpher27-Dec-06 15:47
Polymorpher27-Dec-06 15:47 

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.