Click here to Skip to main content
16,008,942 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem with running a windows service in vb.net Pin
programmervb.netc++7-Jan-09 9:26
programmervb.netc++7-Jan-09 9:26 
AnswerRe: Problem with running a windows service in vb.net Pin
Tim Carmichael7-Jan-09 10:06
Tim Carmichael7-Jan-09 10:06 
GeneralRe: Problem with running a windows service in vb.net Pin
sohaib_a7-Jan-09 23:58
sohaib_a7-Jan-09 23:58 
Questionform.Show(IWin32Window) vs form.owner as windows.forms.form Pin
|_josh_|7-Jan-09 6:57
|_josh_|7-Jan-09 6:57 
AnswerRe: form.Show(IWin32Window) vs form.owner as windows.forms.form Pin
Jon_Boy7-Jan-09 7:30
Jon_Boy7-Jan-09 7:30 
GeneralRe: form.Show(IWin32Window) vs form.owner as windows.forms.form Pin
|_josh_|7-Jan-09 9:07
|_josh_|7-Jan-09 9:07 
AnswerRe: form.Show(IWin32Window) vs form.owner as windows.forms.form Pin
Dave Kreskowiak7-Jan-09 8:11
mveDave Kreskowiak7-Jan-09 8:11 
AnswerRe: form.Show(IWin32Window) vs form.owner as windows.forms.form Pin
|_josh_|7-Jan-09 12:44
|_josh_|7-Jan-09 12:44 
Ok, now that i have changed the locations of the _singlePointDialog.Show(RhUtil.RhinoApp.MainWnd) I see why i was doing this originally.

If i change the code so that when a user clicks a button it runs the code:


_singlePointDialog.Show(RhUtil.RhinoApp.MainWnd)
and
_singlePointDialog.Hide()

it shows the form but every call to _singlePointDialog.Show(RhUtil.RhinoApp.MainWnd)recalls Form.Load which resets all values that were previously set in the Form.Load call. That is why i was running:

_singlePointDialog = New singlePointDialog()<br />
     _singlePointDialog.Show(RhUtil.RhinoApp.MainWnd)<br />
     _singlePointDialog.Hide()<br />


to initialize the Form, and then using:

_singlePointDialog.Visible = True
and
_singlePointDialog.Visible = False

to show and hide the form.

Which brings me back to my original question is there a way to load the form(setting all important values) without visualizing it? This includes settings the form owner to RhUtil.RhinoApp.MainWnd which is an IWin32Window object.

I hope this clarifies my dilemma and someone has a clue how to solve it.

thanks in advance!
GeneralRe: form.Show(IWin32Window) vs form.owner as windows.forms.form Pin
Arthur Milfait10-Feb-09 5:43
Arthur Milfait10-Feb-09 5:43 
QuestionDynamically remove multiple innstances of child form from parent form Pin
sohaib_a7-Jan-09 6:43
sohaib_a7-Jan-09 6:43 
AnswerRe: Dynamically remove multiple innstances of child form from parent form Pin
EliottA7-Jan-09 6:54
EliottA7-Jan-09 6:54 
GeneralRe: Dynamically remove multiple innstances of child form from parent form Pin
sohaib_a7-Jan-09 7:21
sohaib_a7-Jan-09 7:21 
QuestionForce a Tab Pin
Cory Kimble7-Jan-09 4:34
Cory Kimble7-Jan-09 4:34 
AnswerRe: Force a Tab Pin
Wendelius7-Jan-09 4:52
mentorWendelius7-Jan-09 4:52 
GeneralRe: Force a Tab Pin
Cory Kimble7-Jan-09 5:48
Cory Kimble7-Jan-09 5:48 
GeneralRe: Force a Tab Pin
Wendelius7-Jan-09 6:07
mentorWendelius7-Jan-09 6:07 
AnswerRe: Force a Tab Pin
programmervb.netc++7-Jan-09 5:17
programmervb.netc++7-Jan-09 5:17 
GeneralRe: Force a Tab Pin
Cory Kimble7-Jan-09 5:46
Cory Kimble7-Jan-09 5:46 
GeneralRe: Force a Tab Pin
nlarson117-Jan-09 5:57
nlarson117-Jan-09 5:57 
AnswerRe: Force a Tab Pin
Alan N7-Jan-09 6:37
Alan N7-Jan-09 6:37 
AnswerRe: Force a Tab Pin
Dave Kreskowiak7-Jan-09 6:53
mveDave Kreskowiak7-Jan-09 6:53 
QuestionLinking Excel 2007 Pivot Tables report fields) Pin
PaulRochell7-Jan-09 2:20
PaulRochell7-Jan-09 2:20 
Questionsending email with dynamically generated htmltable Pin
uglyeyes7-Jan-09 2:16
uglyeyes7-Jan-09 2:16 
AnswerRe: sending email with dynamically generated htmltable Pin
Colin Angus Mackay7-Jan-09 2:26
Colin Angus Mackay7-Jan-09 2:26 
GeneralRe: sending email with dynamically generated htmltable Pin
uglyeyes7-Jan-09 3:59
uglyeyes7-Jan-09 3:59 

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.