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

Visual Basic

 
QuestionHelp ! Run-time error '2306' Pin
GJCVB28-Sep-05 8:32
GJCVB28-Sep-05 8:32 
AnswerRe: Help ! Run-time error '2306' Pin
Dave Kreskowiak28-Sep-05 8:53
mveDave Kreskowiak28-Sep-05 8:53 
QuestionVB vs. C# Pin
medicenpringles28-Sep-05 7:37
medicenpringles28-Sep-05 7:37 
AnswerRe: VB vs. C# Pin
Dave Kreskowiak28-Sep-05 8:44
mveDave Kreskowiak28-Sep-05 8:44 
AnswerRe: VB vs. C# Pin
Mike Hodnick28-Sep-05 10:14
Mike Hodnick28-Sep-05 10:14 
GeneralRe: VB vs. C# Pin
Dave Kreskowiak28-Sep-05 17:13
mveDave Kreskowiak28-Sep-05 17:13 
GeneralRe: VB vs. C# Pin
rwestgraham28-Sep-05 17:39
rwestgraham28-Sep-05 17:39 
QuestionOpen and close a PDF document Pin
necao28-Sep-05 6:01
necao28-Sep-05 6:01 
Hi!!

i'm opening a pdf document using vb.net. I'm using this simple code:

Public Class PdfAutomation
Public WithEvents wxProcess As New Process

Public Sub OpenPdfVisible(ByVal sPath As String)
Try
wxProcess.StartInfo.FileName = sPath
wxProcess.Start()
wxProcess.EnableRaisingEvents = True
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub

The problem is when i want to close the document. If i have more than one pdf document open they will close all the documents. The pdf .exe only creates one process to open all the documents.

I tryed to create an object like :Pdfapp = CreateObject("pdf.Application") when i open the pdf but it's not possible. I received a message:"Cannot create ActiveX component"...
Anyone can help me? Its' urgent.

Bruno Costa
AnswerRe: Open and close a PDF document Pin
Dave Kreskowiak28-Sep-05 7:18
mveDave Kreskowiak28-Sep-05 7:18 
QuestionHow to monitor file time stamp for changes Pin
CamToo28-Sep-05 5:59
CamToo28-Sep-05 5:59 
AnswerRe: How to monitor file time stamp for changes Pin
Dave Kreskowiak28-Sep-05 7:00
mveDave Kreskowiak28-Sep-05 7:00 
QuestionMaintaining an inherited VB6 application Pin
StrayGrey28-Sep-05 5:50
StrayGrey28-Sep-05 5:50 
AnswerRe: Maintaining an inherited VB6 application Pin
Dave Kreskowiak28-Sep-05 6:34
mveDave Kreskowiak28-Sep-05 6:34 
GeneralRe: Maintaining an inherited VB6 application Pin
StrayGrey28-Sep-05 6:57
StrayGrey28-Sep-05 6:57 
GeneralRe: Maintaining an inherited VB6 application Pin
Dave Kreskowiak28-Sep-05 7:07
mveDave Kreskowiak28-Sep-05 7:07 
QuestionVB.Net,C# and SQL DB Script Pin
| Muhammad Waqas Butt |28-Sep-05 5:42
professional| Muhammad Waqas Butt |28-Sep-05 5:42 
AnswerRe: VB.Net,C# and SQL DB Script Pin
Dave Kreskowiak28-Sep-05 7:26
mveDave Kreskowiak28-Sep-05 7:26 
QuestionCase sensitive problem Pin
PHDENG8128-Sep-05 3:39
PHDENG8128-Sep-05 3:39 
AnswerRe: Case sensitive problem Pin
Dave Kreskowiak28-Sep-05 5:23
mveDave Kreskowiak28-Sep-05 5:23 
QuestionOpening an Program by clicking on file Pin
ciacia28-Sep-05 0:24
ciacia28-Sep-05 0:24 
AnswerRe: Opening an Program by clicking on file Pin
enjoycrack28-Sep-05 0:53
enjoycrack28-Sep-05 0:53 
GeneralRe: Opening an Program by clicking on file Pin
ciacia29-Sep-05 1:43
ciacia29-Sep-05 1:43 
QuestionAdd image to richtextbox Pin
Greeky27-Sep-05 21:58
Greeky27-Sep-05 21:58 
QuestionSave RTF Pin
Greeky27-Sep-05 21:48
Greeky27-Sep-05 21:48 
AnswerRe: Save RTF Pin
Dave Kreskowiak28-Sep-05 1:34
mveDave Kreskowiak28-Sep-05 1:34 

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.