Click here to Skip to main content
15,915,867 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: What code can i use ? Pin
UltraCoder9-Oct-06 17:09
UltraCoder9-Oct-06 17:09 
AnswerRe: What code can i use ? Pin
manish2411-Oct-06 1:07
manish2411-Oct-06 1:07 
QuestionLoading treeview with database Pin
ranro20068-Oct-06 10:00
ranro20068-Oct-06 10:00 
Questioninsert images in to textbox with vb.net Pin
fajrif8-Oct-06 8:36
fajrif8-Oct-06 8:36 
AnswerRe: insert images in to textbox with vb.net Pin
Christian Graus8-Oct-06 8:47
protectorChristian Graus8-Oct-06 8:47 
GeneralRe: insert images in to textbox with vb.net Pin
fajrif11-Oct-06 2:57
fajrif11-Oct-06 2:57 
QuestionSendMessage WM_KEYDOWN,WM_KEYUP [modified] Pin
Kenneth Broendum8-Oct-06 4:22
Kenneth Broendum8-Oct-06 4:22 
Questionms installer Pin
steve_rm7-Oct-06 23:40
steve_rm7-Oct-06 23:40 
Hello,

I found a good solution using clickonce, for detecting if the application is first run. Using the following code:
<br />
If (System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun)) Then Dim setConnection As New ServerSettings() setConnection.Show() Else Dim logMeIn As New Login() logMeIn.Show() End If<br />


However, the customer has just changed their mind. And they they want to specify the location of where they want to install the application. Clickonce only has a default that cannot be changed.

So I using the ms installer. However the above code does not work for it. It seems

I would like the serverSettings to run only on first startup. However, I am not sure about the code for this, as the above does not work.

Does amyone know the synstax for 'first run' when using ms installer?

I think I am destined not to get this finished, with the customer changing their mind.

Many thanks for your help,

Steve
AnswerRe: ms installer Pin
Christian Graus7-Oct-06 23:53
protectorChristian Graus7-Oct-06 23:53 
QuestionRe: ms installer Pin
steve_rm8-Oct-06 4:08
steve_rm8-Oct-06 4:08 
QuestionReading cursor position with a timer Pin
re infecta7-Oct-06 22:17
re infecta7-Oct-06 22:17 
AnswerRe: Reading cursor position with a timer Pin
Christian Graus7-Oct-06 23:42
protectorChristian Graus7-Oct-06 23:42 
Questionwhat is this Pin
Xmen Real 7-Oct-06 17:51
professional Xmen Real 7-Oct-06 17:51 
AnswerRe: what is this Pin
Guffa7-Oct-06 20:12
Guffa7-Oct-06 20:12 
GeneralRe: what is this Pin
Xmen Real 7-Oct-06 20:23
professional Xmen Real 7-Oct-06 20:23 
AnswerRe: what is this Pin
Guffa7-Oct-06 23:11
Guffa7-Oct-06 23:11 
GeneralRe: what is this Pin
Xmen Real 7-Oct-06 23:42
professional Xmen Real 7-Oct-06 23:42 
AnswerRe: what is this Pin
Guffa8-Oct-06 0:05
Guffa8-Oct-06 0:05 
GeneralRe: what is this Pin
Xmen Real 8-Oct-06 0:13
professional Xmen Real 8-Oct-06 0:13 
AnswerRe: what is this Pin
Guffa8-Oct-06 2:07
Guffa8-Oct-06 2:07 
Questionhow to make an application to program Pin
Xmen Real 7-Oct-06 17:45
professional Xmen Real 7-Oct-06 17:45 
AnswerRe: how to make an application to program Pin
nlindley77-Oct-06 18:26
nlindley77-Oct-06 18:26 
GeneralRe: how to make an application to program Pin
Xmen Real 7-Oct-06 19:16
professional Xmen Real 7-Oct-06 19:16 
GeneralRe: how to make an application to program Pin
Christian Graus7-Oct-06 23:39
protectorChristian Graus7-Oct-06 23:39 
GeneralRe: how to make an application to program Pin
Dave Kreskowiak8-Oct-06 2:18
mveDave Kreskowiak8-Oct-06 2:18 

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.