Click here to Skip to main content
15,914,014 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVBScripting Changing the Computer Name and Joining the Domain Pin
Bri4hire13-Oct-05 8:29
Bri4hire13-Oct-05 8:29 
AnswerRe: VBScripting Changing the Computer Name and Joining the Domain Pin
Dave Kreskowiak13-Oct-05 9:57
mveDave Kreskowiak13-Oct-05 9:57 
QuestionMessage Box Not Displaying Pin
jburkle13-Oct-05 8:03
jburkle13-Oct-05 8:03 
QuestionHow to turn off the Windows Default Beep from the VB Pin
icDavid13-Oct-05 7:45
icDavid13-Oct-05 7:45 
AnswerRe: How to turn off the Windows Default Beep from the VB Pin
Dave Kreskowiak13-Oct-05 8:08
mveDave Kreskowiak13-Oct-05 8:08 
GeneralRe: How to turn off the Windows Default Beep from the VB Pin
icDavid13-Oct-05 8:16
icDavid13-Oct-05 8:16 
GeneralCode Review - comments welcomed Pin
watagal13-Oct-05 7:06
watagal13-Oct-05 7:06 
QuestionUsing XP Visual Styles in multiple non-mdi windows forms Pin
jenkinsdjj13-Oct-05 6:42
jenkinsdjj13-Oct-05 6:42 
I am having a significant problem in handling multiple non-mdi windows forms. I am using Visual Studio .Net 2003 Visual Basic and .Net Framework 1.1sp1.

I wish to use the XP visual styles and it seems that the only way is to use

Application.EnableVisualStyles
Application.DoEvents()
Application.Run(specific form object)

in my Sub Main procedure.

The specific form opens but when I perform any action using a procedure within the form and reach the end of the procedure, the program leaves the opened form and returns to the command Application.Run(specific form object) in Sub Main. Is there a method to prevent the program from doing this until I specifically wish to leave the form and close it?

I have tested the program using Form.OpenDialog for all the forms I use (instead of Application.Run()) and this all works fine and I get what I want except I don’t get the XP visual styles look.

Any help would be appreciated.


jenkinsdjj
AnswerRe: Using XP Visual Styles in multiple non-mdi windows forms Pin
Dave Kreskowiak13-Oct-05 7:11
mveDave Kreskowiak13-Oct-05 7:11 
GeneralRe: Using XP Visual Styles in multiple non-mdi windows forms Pin
jenkinsdjj14-Oct-05 19:12
jenkinsdjj14-Oct-05 19:12 
QuestionBitwise Enumeration? Pin
watagal13-Oct-05 4:55
watagal13-Oct-05 4:55 
AnswerRe: Bitwise Enumeration? Pin
Briga13-Oct-05 5:02
Briga13-Oct-05 5:02 
GeneralRe: Bitwise Enumeration? Pin
watagal13-Oct-05 5:45
watagal13-Oct-05 5:45 
GeneralRe: Bitwise Enumeration? Pin
Briga15-Oct-05 3:47
Briga15-Oct-05 3:47 
GeneralRe: Bitwise Enumeration? Pin
Briga15-Oct-05 3:48
Briga15-Oct-05 3:48 
QuestionControlling sndrec32.exe Pin
jmachacek13-Oct-05 4:51
jmachacek13-Oct-05 4:51 
Questionprogrammatically changing the default windows cursor Pin
medicenpringles13-Oct-05 3:35
medicenpringles13-Oct-05 3:35 
AnswerRe: programmatically changing the default windows cursor Pin
jo0ls15-Oct-05 17:07
jo0ls15-Oct-05 17:07 
QuestionStarting Point. Pin
UniBond13-Oct-05 2:02
UniBond13-Oct-05 2:02 
AnswerRe: Starting Point. Pin
Tom John13-Oct-05 3:32
Tom John13-Oct-05 3:32 
QuestionComma Separated Numbers Pin
Greeky13-Oct-05 1:38
Greeky13-Oct-05 1:38 
AnswerRe: Comma Separated Numbers Pin
Tom John13-Oct-05 3:24
Tom John13-Oct-05 3:24 
QuestionCan subroutine in VB DLL accept array variable argument??? Pin
Anonymous13-Oct-05 0:58
Anonymous13-Oct-05 0:58 
Questiontrap-inputbox Pin
himanshu_softin12-Oct-05 23:44
himanshu_softin12-Oct-05 23:44 
Questionhow to report the bugs together with program status such as procedure name, call stack, code line and variable contents Pin
sanjaysanju12-Oct-05 23:18
sanjaysanju12-Oct-05 23: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.