Click here to Skip to main content
16,016,306 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: from a word document i want to parse all the telephone numbers and names Pin
Batchu Rajesh20-Sep-06 2:05
Batchu Rajesh20-Sep-06 2:05 
GeneralRe: from a word document i want to parse all the telephone numbers and names Pin
Christian Graus20-Sep-06 10:44
protectorChristian Graus20-Sep-06 10:44 
QuestionHelp On Forms and threads Pin
RG_SA19-Sep-06 23:36
RG_SA19-Sep-06 23:36 
AnswerRe: Help On Forms and threads Pin
Christian Graus19-Sep-06 23:45
protectorChristian Graus19-Sep-06 23:45 
GeneralRe: Help On Forms and threads Pin
RG_SA19-Sep-06 23:53
RG_SA19-Sep-06 23:53 
GeneralRe: Help On Forms and threads Pin
Christian Graus19-Sep-06 23:56
protectorChristian Graus19-Sep-06 23:56 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:06
RG_SA20-Sep-06 0:06 
GeneralRe: Help On Forms and threads Pin
Christian Graus20-Sep-06 0:11
protectorChristian Graus20-Sep-06 0:11 
ryan@theglenns.co.za wrote:
Dim NewForm As Form

Try
'Application.DoEvents()
NewForm = New Form2
NewForm.Show()


OK - there it is. As it's a member variable, and you don't put a reference to it anywhere, as soon as this method ends, NewForm is available for garbage collection, and so it disappears ( it didn't live long, so it's up for first cycle collection ). Create a list of Form objects, and push NewForm onto the list. OR make it a member variable if there's only going to be one. Then it will not be collected, and it will live on after the method ends.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:20
RG_SA20-Sep-06 0:20 
GeneralRe: Help On Forms and threads Pin
Christian Graus20-Sep-06 0:22
protectorChristian Graus20-Sep-06 0:22 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:33
RG_SA20-Sep-06 0:33 
GeneralRe: Help On Forms and threads Pin
Christian Graus20-Sep-06 0:41
protectorChristian Graus20-Sep-06 0:41 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:47
RG_SA20-Sep-06 0:47 
GeneralRe: Help On Forms and threads Pin
RG_SA20-Sep-06 0:35
RG_SA20-Sep-06 0:35 
AnswerRe: Help On Forms and threads Pin
RG_SA20-Sep-06 2:50
RG_SA20-Sep-06 2:50 
GeneralRe: Help On Forms and threads Pin
Dave Kreskowiak20-Sep-06 4:53
mveDave Kreskowiak20-Sep-06 4:53 
Questioncreate link on datagrid column Pin
mellvincent19-Sep-06 22:43
mellvincent19-Sep-06 22:43 
QuestionIndependent Application Instances Pin
hrodberaht19-Sep-06 22:11
hrodberaht19-Sep-06 22:11 
AnswerRe: Independent Application Instances Pin
Marco Turrini19-Sep-06 22:46
Marco Turrini19-Sep-06 22:46 
GeneralRe: Independent Application Instances Pin
hrodberaht19-Sep-06 22:53
hrodberaht19-Sep-06 22:53 
QuestionDLL Problem Pin
Sasmi19-Sep-06 21:46
Sasmi19-Sep-06 21:46 
AnswerRe: DLL Problem Pin
Christian Graus19-Sep-06 21:49
protectorChristian Graus19-Sep-06 21:49 
GeneralRe: DLL Problem Pin
Sasmi19-Sep-06 21:58
Sasmi19-Sep-06 21:58 
QuestionDLL Problem Pin
Sasmi19-Sep-06 21:10
Sasmi19-Sep-06 21:10 
AnswerRe: DLL Problem Pin
Christian Graus19-Sep-06 21:19
protectorChristian Graus19-Sep-06 21: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.