MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim msword As word.application Dim msDoc As Word.Document Dim wordDoc As String = "C:\tt.doc" Dim pdfDoc As String = "C:\tt.pdf" msword = CreateObject("Word.Application") msDoc = msword.Documents.Open(wordDoc) msword.Application.Visible = False msword.ActivePrinter = "PDFCreator" msDoc.PrintOut(, , , pdfDoc) CType(msword, Word._Application).Quit() msDoc = Nothing msword = Nothing End Sub
|vb6, excel Run-time error 1004 method 'close' of object 'workbooks' failed||7||49|
|how to know if my Checkbox is True in VB6.0?||9||53|
|Automatic Email Reminder||4||35|
|How to parse the string and split the sub directory names in asp.net||7||38|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
11 Experts available now in Live!