Click here to Skip to main content
16,010,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Noughts and Crosses Pin
Marcus J. Smith13-Mar-07 10:33
professionalMarcus J. Smith13-Mar-07 10:33 
GeneralRe: Noughts and Crosses Pin
Anybloodyid13-Mar-07 12:17
Anybloodyid13-Mar-07 12:17 
QuestionHow I can connect VB.net to SQL Server 2005 Express? Pin
ATC13-Mar-07 8:55
ATC13-Mar-07 8:55 
AnswerRe: How I can connect VB.net to SQL Server 2005 Express? Pin
Harini N K13-Mar-07 19:54
Harini N K13-Mar-07 19:54 
GeneralRe: How I can connect VB.net to SQL Server 2005 Express? Pin
ATC14-Mar-07 9:14
ATC14-Mar-07 9:14 
QuestionScreenSaver's child process dies a-borning Pin
jim_taylor13-Mar-07 8:50
jim_taylor13-Mar-07 8:50 
AnswerRe: ScreenSaver's child process dies a-borning Pin
Marcus J. Smith13-Mar-07 9:05
professionalMarcus J. Smith13-Mar-07 9:05 
AnswerRe: ScreenSaver's child process dies a-borning Pin
jim_taylor13-Mar-07 12:16
jim_taylor13-Mar-07 12:16 
The screen saver problem turns out to be one of ownership. If the operating system starts the screen saver because of inactivity, it is owned by the system, and it, along with everything it owns, goes in the dumper when some activity causes it to close. If you start it from the command line, or by clicking on it in Windows Explorer, or by clicking the preview button, you own it and it acts just like any other program; if it starts a child process, the child continues after the parent dies.

The problem, then, is to convince the OS that the child process does not belong to its parent. This is done by setting the UserName and Password parameters in the StartInfo structure before starting the child process. The only difficulty is that StartInfo.Password is not a System.String but a Security.SecureString, that is, it’s encrypted, so it takes a little doing to create it.

GeneralRe: ScreenSaver's child process dies a-borning Pin
Marcus J. Smith14-Mar-07 3:05
professionalMarcus J. Smith14-Mar-07 3:05 
GeneralRe: ScreenSaver's child process dies a-borning Pin
jim_taylor14-Mar-07 4:02
jim_taylor14-Mar-07 4:02 
GeneralRe: ScreenSaver's child process dies a-borning Pin
Marcus J. Smith14-Mar-07 9:45
professionalMarcus J. Smith14-Mar-07 9:45 
Questionadding to access database Pin
peteyshrew13-Mar-07 6:54
peteyshrew13-Mar-07 6:54 
AnswerRe: adding to access database Pin
DaveRRR13-Mar-07 9:18
DaveRRR13-Mar-07 9:18 
QuestionHow can I call properties a run time created button? Pin
JUNEYT13-Mar-07 6:20
JUNEYT13-Mar-07 6:20 
AnswerRe: How can I call properties a run time created button? Pin
Guffa13-Mar-07 7:37
Guffa13-Mar-07 7:37 
AnswerRe: How can I call properties a run time created button? Pin
testy_proconsul13-Mar-07 7:40
testy_proconsul13-Mar-07 7:40 
GeneralRe: How can I call properties a run time created button? Pin
JUNEYT13-Mar-07 7:53
JUNEYT13-Mar-07 7:53 
AnswerRe: How can I call properties a run time created button? Pin
Guffa13-Mar-07 10:08
Guffa13-Mar-07 10:08 
GeneralRe: How can I call properties a run time created button? Pin
testy_proconsul13-Mar-07 13:00
testy_proconsul13-Mar-07 13:00 
QuestionPrinting a form's text fields Pin
Central_IT13-Mar-07 5:50
Central_IT13-Mar-07 5:50 
AnswerRe: Printing a form's text fields Pin
Duncan Edwards Jones13-Mar-07 7:44
professionalDuncan Edwards Jones13-Mar-07 7:44 
QuestionHow can I detect which button is clicked on the form? Pin
JUNEYT13-Mar-07 5:02
JUNEYT13-Mar-07 5:02 
AnswerRe: How can I detect which button is clicked on the form? [modified] Pin
M-Hall13-Mar-07 5:28
M-Hall13-Mar-07 5:28 
GeneralRe: How can I detect which button is clicked on the form? Pin
JUNEYT13-Mar-07 5:34
JUNEYT13-Mar-07 5:34 
AnswerRe: How can I detect which button is clicked on the form? Pin
kubben13-Mar-07 5:34
kubben13-Mar-07 5:34 

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.