Click here to Skip to main content
15,912,204 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionUnable to add object to database Pin
jackwongcw1-May-06 19:22
jackwongcw1-May-06 19:22 
QuestionCant get images from a webserver thru a proxy socket Pin
Abhishek Tiwari1-May-06 18:59
Abhishek Tiwari1-May-06 18:59 
QuestionPrint to File Pin
furjaw1-May-06 18:52
furjaw1-May-06 18:52 
AnswerRe: Print to File Pin
Duncan Edwards Jones1-May-06 21:15
professionalDuncan Edwards Jones1-May-06 21:15 
GeneralRe: Print to File Pin
furjaw2-May-06 8:34
furjaw2-May-06 8:34 
GeneralRe: Print to File Pin
Duncan Edwards Jones2-May-06 9:48
professionalDuncan Edwards Jones2-May-06 9:48 
GeneralRe: Print to File Pin
furjaw2-May-06 10:10
furjaw2-May-06 10:10 
GeneralRe: Print to File Pin
furjaw3-May-06 19:50
furjaw3-May-06 19:50 
The code below got PDFcreator to create a PDF file, but, it didn't use my .PrintFileName or my .PrintToFile = True.
I want it to create the PDF file without the user having to enter the filename or to have to check the "Print to File" box. In fact, I don't even want a print dialog, I just want PDFCreator to write out the PDF file without the user knowing anything about it. Then, I will do a PrintPreviewDialog() that will ask him if he wants a hard copy.

Dim dlg As New PrintDialog()
dlg.Document = mDoc
With mDoc.PrinterSettings
.PrinterName = ("PDFCreator")
.PrintFileName = (PrintFileName)
.PrintToFile = True
If dlg.ShowDialog = Windows.Forms.DialogResult.OK Then
mDoc.Print()
End If
End With
Questionsplit string using vb6 Pin
ihsan_zie1-May-06 17:09
ihsan_zie1-May-06 17:09 
AnswerRe: split string using vb6 Pin
atregent1-May-06 17:51
atregent1-May-06 17:51 
Question'System.Data.DataRowView' does not contain a property with the name LastDate. Pin
kenn_rosie1-May-06 16:48
kenn_rosie1-May-06 16:48 
Questiondeclare and error Pin
ezajan1-May-06 15:11
ezajan1-May-06 15:11 
AnswerRe: declare and error Pin
Christian Graus1-May-06 16:02
protectorChristian Graus1-May-06 16:02 
GeneralRe: declare and error Pin
ezajan1-May-06 16:16
ezajan1-May-06 16:16 
GeneralRe: declare and error Pin
Christian Graus1-May-06 17:08
protectorChristian Graus1-May-06 17:08 
Question.NET Security Question Pin
mlauahi1-May-06 12:51
mlauahi1-May-06 12:51 
QuestionHow can I programatically add a record in an Excel sheet? Pin
DoubleD8221-May-06 8:24
DoubleD8221-May-06 8:24 
QuestionDataGridView & ComboboxCell Pin
MasySh1-May-06 6:59
MasySh1-May-06 6:59 
QuestionSudoku Pin
Derrick Campbell1-May-06 5:01
Derrick Campbell1-May-06 5:01 
AnswerRe: Sudoku Pin
Robert Rohde1-May-06 5:17
Robert Rohde1-May-06 5:17 
AnswerRe: Sudoku Pin
Dave Kreskowiak1-May-06 9:43
mveDave Kreskowiak1-May-06 9:43 
QuestionCreating Remote Object from a Remote Server Pin
Leelanga1-May-06 3:48
Leelanga1-May-06 3:48 
AnswerRe: Creating Remote Object from a Remote Server Pin
Dave Kreskowiak1-May-06 9:54
mveDave Kreskowiak1-May-06 9:54 
GeneralRe: Creating Remote Object from a Remote Server Pin
Leelanga3-May-06 22:18
Leelanga3-May-06 22:18 
GeneralRe: Creating Remote Object from a Remote Server Pin
Dave Kreskowiak4-May-06 1:55
mveDave Kreskowiak4-May-06 1:55 

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.