Click here to Skip to main content
16,004,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak8-Oct-04 3:17
mveDave Kreskowiak8-Oct-04 3:17 
GeneralRe: Do Loop problem with MSAgent Pin
Member 8605508-Oct-04 4:48
Member 8605508-Oct-04 4:48 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak8-Oct-04 7:15
mveDave Kreskowiak8-Oct-04 7:15 
GeneralRe: Do Loop problem with MSAgent Pin
Member 86055011-Oct-04 6:21
Member 86055011-Oct-04 6:21 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak11-Oct-04 7:47
mveDave Kreskowiak11-Oct-04 7:47 
GeneralRe: Do Loop problem with MSAgent Pin
Member 86055011-Oct-04 8:15
Member 86055011-Oct-04 8:15 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak11-Oct-04 15:21
mveDave Kreskowiak11-Oct-04 15:21 
GeneralPrintPrivew Problem in MDI Form Pin
szaidi7-Oct-04 12:06
szaidi7-Oct-04 12:06 
I am having problem in Previewing my reports. Same Code is running fine if I dont use my main form as mdi. I will appreciat if someone can help me I search all over the net but couldnt find anything like this. I have my main form as mdi , from menu I am running a form then In form I have a button for preview the report , the preview window is coming up the and error is popping up "An unhandled exception has occurred .... Object reference not set to an instance of an object.
In details: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
My code is very simple

Dim dlg As New PrintPreviewDialog
dlg.Document = mDoc
dlg.WindowState = FormWindowState.Maximized
dlg.ShowDialog()
If I use a non mdi form as main form in my application everything becomes fine without any modification.
GeneralRe: PrintPrivew Problem in MDI Form Pin
szaidi8-Oct-04 4:39
szaidi8-Oct-04 4:39 
GeneralRS-232 event Pin
mannett7-Oct-04 8:52
mannett7-Oct-04 8:52 
GeneralRe: RS-232 event Pin
Dave Kreskowiak7-Oct-04 10:11
mveDave Kreskowiak7-Oct-04 10:11 
GeneralFor Next issues Pin
KreativeKai7-Oct-04 7:09
professionalKreativeKai7-Oct-04 7:09 
Generaladd subreport in crystal report Pin
nitin_ion6-Oct-04 21:11
nitin_ion6-Oct-04 21:11 
Generaladd txt file to sql db using vb6.0 Pin
Mohammed Bassam Dab'an6-Oct-04 19:54
sussMohammed Bassam Dab'an6-Oct-04 19:54 
Generaladd text file to sql database, VB6.0 Pin
Mohammad Daba'an6-Oct-04 19:36
Mohammad Daba'an6-Oct-04 19:36 
GeneralRe: add text file to sql database, VB6.0 Pin
Dave Kreskowiak7-Oct-04 0:30
mveDave Kreskowiak7-Oct-04 0:30 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an7-Oct-04 2:45
Mohammad Daba'an7-Oct-04 2:45 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an7-Oct-04 4:08
Mohammad Daba'an7-Oct-04 4:08 
GeneralRe: add text file to sql database, VB6.0 Pin
Dave Kreskowiak7-Oct-04 5:40
mveDave Kreskowiak7-Oct-04 5:40 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an8-Oct-04 6:34
Mohammad Daba'an8-Oct-04 6:34 
GeneralRe: add text file to sql database, VB6.0 Pin
Dave Kreskowiak8-Oct-04 7:18
mveDave Kreskowiak8-Oct-04 7:18 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an8-Oct-04 22:09
Mohammad Daba'an8-Oct-04 22:09 
GeneralRe: add text file to sql database, VB6.0 Pin
Dave Kreskowiak11-Oct-04 4:23
mveDave Kreskowiak11-Oct-04 4:23 
GeneralBad GAC! Bad! ...or... COM Object Problem with VB.Net Pin
Mike the Red6-Oct-04 6:38
Mike the Red6-Oct-04 6:38 
GeneralRe: Bad GAC! Bad! ...or... COM Object Problem with VB.Net Pin
Steven Campbell6-Oct-04 11:59
Steven Campbell6-Oct-04 11: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.