Click here to Skip to main content
15,921,793 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralUrgent - Drag and Drop Help Needed Pin
BritishEmpire12-May-05 6:30
BritishEmpire12-May-05 6:30 
GeneralRe: Urgent - Drag and Drop Help Needed Pin
Scott Page24-May-05 3:42
professionalScott Page24-May-05 3:42 
GeneralDetect Unicode/non-ascii characters from a file stream Pin
ImranIBM12-May-05 6:28
ImranIBM12-May-05 6:28 
GeneralRe: Detect Unicode/non-ascii characters from a file stream Pin
Scott Page25-May-05 14:42
professionalScott Page25-May-05 14:42 
GeneralVB.Net error - An unhandled exception of type occurred Pin
directred12-May-05 5:46
directred12-May-05 5:46 
GeneralRe: VB.Net error - An unhandled exception of type occurred Pin
Dave Kreskowiak12-May-05 7:26
mveDave Kreskowiak12-May-05 7:26 
GeneralRe: VB.Net error - An unhandled exception of type occurred Pin
directred12-May-05 8:01
directred12-May-05 8:01 
GeneralRe: VB.Net error - An unhandled exception of type occurred Pin
Dave Kreskowiak12-May-05 8:33
mveDave Kreskowiak12-May-05 8:33 
Which form is this code you posted in? It looks like it's in the MDI Parent form. If this is teh case, since it is in the Load event of the MDI Parent, there can't possibly be any child forms yet, so ActiveForm will return Null. This is where your getting the Null Reference exception from. You're trying to call methods and set properties on something that doesn't exist yet.

Also, you said you were creating a child form and trying to set the properties on it? You never created a new form in the code you posted...


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralAuto fill combo box from the dataset in a Web Application Pin
Treacherous_112-May-05 5:23
Treacherous_112-May-05 5:23 
GeneralRe: Auto fill combo box from the dataset in a Web Application Pin
Treacherous_112-May-05 6:13
Treacherous_112-May-05 6:13 
GeneralZip/Unzip in VB 6.0 Pin
Navees Ahmed12-May-05 3:32
Navees Ahmed12-May-05 3:32 
GeneralRe: Zip/Unzip in VB 6.0 Pin
Dave Kreskowiak12-May-05 7:21
mveDave Kreskowiak12-May-05 7:21 
GeneralRe: Zip/Unzip in VB 6.0 Pin
Navees Ahmed12-May-05 18:47
Navees Ahmed12-May-05 18:47 
Generallistbox Pin
Anonymous12-May-05 0:55
Anonymous12-May-05 0:55 
GeneralRe: listbox Pin
mikelon12-May-05 6:15
mikelon12-May-05 6:15 
GeneralRe: listbox Pin
Anonymous12-May-05 12:39
Anonymous12-May-05 12:39 
GeneralRe: listbox Pin
rswipe17-May-05 1:39
rswipe17-May-05 1:39 
GeneralMenu enabling problem Pin
K. Srinivas12-May-05 0:32
K. Srinivas12-May-05 0:32 
Generalproblem in vb.net Pin
Manik Nath11-May-05 23:21
Manik Nath11-May-05 23:21 
GeneralRe: problem in vb.net Pin
Treacherous_112-May-05 6:12
Treacherous_112-May-05 6:12 
GeneralRe: problem in vb.net Pin
Manik Nath12-May-05 18:19
Manik Nath12-May-05 18:19 
GeneralProject PC Device Help Pin
BritishEmpire11-May-05 22:29
BritishEmpire11-May-05 22:29 
GeneralMessage Box in VB Pin
Member 83969511-May-05 19:46
Member 83969511-May-05 19:46 
GeneralRe: Message Box in VB Pin
Dave Kreskowiak12-May-05 1:43
mveDave Kreskowiak12-May-05 1:43 
Generaldo not show message box in vb Pin
Member 83969511-May-05 19:41
Member 83969511-May-05 19:41 

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.