Click here to Skip to main content
15,917,176 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProblems in Dataset Update Pin
HinJinShah8-Aug-07 22:20
HinJinShah8-Aug-07 22:20 
AnswerRe: Problems in Dataset Update Pin
Dave Kreskowiak9-Aug-07 3:30
mveDave Kreskowiak9-Aug-07 3:30 
GeneralRe: Problems in Dataset Update Pin
HinJinShah10-Aug-07 0:05
HinJinShah10-Aug-07 0:05 
QuestionForm in a Form Pin
Trupti Mehta8-Aug-07 21:51
Trupti Mehta8-Aug-07 21:51 
AnswerRe: Form in a Form Pin
MartyK20078-Aug-07 22:03
MartyK20078-Aug-07 22:03 
QuestionRe: Form in a Form Pin
Trupti Mehta9-Aug-07 0:56
Trupti Mehta9-Aug-07 0:56 
AnswerRe: Form in a Form Pin
MartyK20079-Aug-07 1:36
MartyK20079-Aug-07 1:36 
AnswerRe: Form in a Form Pin
Tom Deketelaere9-Aug-07 1:41
professionalTom Deketelaere9-Aug-07 1:41 
with UC you should be able to do all the things you want (works pretty much the same as form)

to have control over openening number of forms in mdi you can do it like following:

when openen a form (user clicked to open it)
first check if the form already exist

iterate true the mdichildren collection of you're main form and if you find a form of the same type as the one that needs to be opened just put that form on top (property bringtofront or something)
of you want to be able to open max2 forms do the same but use counter. then after you iterated true the forms look at counter

dim counter as integer = 0
for each f as form in frmmain.mdichildren
if f.gettype.equals(gettype(frmsubformthatneedstobeopened)) then
counter =+1
end if
next
if counter <2 then
open new form
else
'do something
end if

hope this helps
AnswerRe: Form in a Form [modified] Pin
Tom Deketelaere8-Aug-07 22:39
professionalTom Deketelaere8-Aug-07 22:39 
AnswerRe: Form in a Form Pin
Luc Pattyn9-Aug-07 1:57
sitebuilderLuc Pattyn9-Aug-07 1:57 
AnswerRe: Form in a Form Pin
Dave Kreskowiak9-Aug-07 3:15
mveDave Kreskowiak9-Aug-07 3:15 
AnswerRe: Form in a Form Pin
Trupti Mehta9-Aug-07 4:09
Trupti Mehta9-Aug-07 4:09 
QuestionDrag and move a control in a form Pin
Mogtabam8-Aug-07 20:22
Mogtabam8-Aug-07 20:22 
AnswerRe: Drag and move a control in a form Pin
Nilesh Hapse8-Aug-07 20:33
Nilesh Hapse8-Aug-07 20:33 
AnswerRe: Drag and move a control in a form [modified] Pin
Tom Deketelaere8-Aug-07 20:39
professionalTom Deketelaere8-Aug-07 20:39 
AnswerRe: Drag and move a control in a form Pin
Dave Kreskowiak9-Aug-07 3:11
mveDave Kreskowiak9-Aug-07 3:11 
QuestionSetup For Vb.net Project Pin
K03068-Aug-07 18:51
K03068-Aug-07 18:51 
AnswerRe: Setup For Vb.net Project Pin
Christian Graus8-Aug-07 19:08
protectorChristian Graus8-Aug-07 19:08 
QuestionDave, can u pls help me with this..?? Pin
Xandip8-Aug-07 17:37
Xandip8-Aug-07 17:37 
AnswerRe: Dave, can u pls help me with this..?? Pin
Nilesh Hapse8-Aug-07 19:31
Nilesh Hapse8-Aug-07 19:31 
Questionmodule - what is this Pin
Tom Wright8-Aug-07 15:37
Tom Wright8-Aug-07 15:37 
AnswerRe: module - what is this Pin
Luc Pattyn8-Aug-07 15:56
sitebuilderLuc Pattyn8-Aug-07 15:56 
GeneralRe: module - what is this Pin
Tom Wright10-Aug-07 2:45
Tom Wright10-Aug-07 2:45 
GeneralRe: module - what is this Pin
Luc Pattyn10-Aug-07 3:07
sitebuilderLuc Pattyn10-Aug-07 3:07 
QuestionDataGridView Column accept Numbers Only ? Pin
kindman_nb8-Aug-07 15:32
kindman_nb8-Aug-07 15:32 

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.