Click here to Skip to main content
15,913,709 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Full Screen Pin
Dave Kreskowiak20-Sep-05 16:10
mveDave Kreskowiak20-Sep-05 16:10 
GeneralRe: Full Screen Pin
schweet_nectur21-Sep-05 12:30
schweet_nectur21-Sep-05 12:30 
GeneralRe: Full Screen Pin
Dave Kreskowiak21-Sep-05 17:30
mveDave Kreskowiak21-Sep-05 17:30 
Questionfont properties Pin
militiaware20-Sep-05 14:06
militiaware20-Sep-05 14:06 
AnswerRe: font properties Pin
Dave Kreskowiak20-Sep-05 14:10
mveDave Kreskowiak20-Sep-05 14:10 
QuestionDrag the Form Pin
militiaware20-Sep-05 14:04
militiaware20-Sep-05 14:04 
AnswerRe: Drag the Form Pin
Christian Graus20-Sep-05 14:22
protectorChristian Graus20-Sep-05 14:22 
QuestionDatagrid Printing Pin
bermyl3320-Sep-05 13:34
bermyl3320-Sep-05 13:34 
Hi! I am a vb.net newbie, and I have been trying to figure out how to print the contents of a datagrid. I’m trying to use the PrinterClass I downloaded from this site:
< http://www.codeproject.com/vb/net/DataGridPrinter.asp>.
When I use the print preview control I get the ‘Object reference not set to an instance of an object’ error message. This is what the message says: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.PrintPreviewControl.CalculatePageInfo() at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

When I try the print control, I get an exception Object reference not set to an instance of an object. The breaks at CurrentY = CurrentY + CType(PrintGrid.Headers.GetValue(0), Header).Height.

Please Help! This has me pulling my hair out like crazy!
QuestionAssigning Current Date to a Variable Pin
gatorgrad0420-Sep-05 8:27
gatorgrad0420-Sep-05 8:27 
AnswerRe: Assigning Current Date to a Variable Pin
Dave Kreskowiak20-Sep-05 8:43
mveDave Kreskowiak20-Sep-05 8:43 
Questiondatabase to pdf Pin
mcgann20-Sep-05 6:35
mcgann20-Sep-05 6:35 
AnswerRe: database to pdf Pin
OMalleyW20-Sep-05 7:04
OMalleyW20-Sep-05 7:04 
GeneralRe: database to pdf Pin
mcgann20-Sep-05 21:37
mcgann20-Sep-05 21:37 
AnswerRe: database to pdf Pin
Member 56585720-Sep-05 8:36
Member 56585720-Sep-05 8:36 
GeneralRe: database to pdf Pin
OMalleyW20-Sep-05 8:42
OMalleyW20-Sep-05 8:42 
AnswerRe: database to pdf Pin
KaptinKrunch20-Sep-05 9:49
KaptinKrunch20-Sep-05 9:49 
GeneralRe: database to pdf Pin
OMalleyW21-Sep-05 7:06
OMalleyW21-Sep-05 7:06 
QuestionEncripted Credit Card Info Pin
imshally8120-Sep-05 1:32
imshally8120-Sep-05 1:32 
AnswerRe: Encripted Credit Card Info Pin
Steve Pullan20-Sep-05 19:27
Steve Pullan20-Sep-05 19:27 
Questioncreate setup Pin
Anonymous19-Sep-05 22:25
Anonymous19-Sep-05 22:25 
AnswerRe: create setup Pin
rwestgraham20-Sep-05 8:31
rwestgraham20-Sep-05 8:31 
QuestionRe: Windows Setup Pin
Anonymous19-Sep-05 21:07
Anonymous19-Sep-05 21:07 
AnswerRe: Windows Setup Pin
rwestgraham20-Sep-05 8:42
rwestgraham20-Sep-05 8:42 
Questionupdating multiple records Pin
Rashmi Santhosh19-Sep-05 20:11
sussRashmi Santhosh19-Sep-05 20:11 
AnswerRe: updating multiple records Pin
Gopi.V19-Sep-05 22:13
Gopi.V19-Sep-05 22:13 

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.