VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 307,150 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,698 people online right now. Registration is fast and FREE... Join Now!




pdf reader vb6

 

pdf reader vb6, I can not read my pdf files. When I open pdf file, I see some binary c

Abeneg

6 Nov, 2009 - 02:24 PM
Post #1

New D.I.C Head
*

Joined: 28 Apr, 2009
Posts: 1

CODE

Private Sub cmdOpen_Click()

    Dim strBuffer       As String
    Dim intDemoFileNbr  As Integer
    Dim strFileToOpen   As String
    
    On Error GoTo cmdOpen_Click_Exit
  
    With dlgPro1
        .CancelError = True
        .InitDir = dirSelDir.Path
        .Flags = cdlOFNHideReadOnly
        .FileName = ""
        .Filter = "PDF Files(*.pdf)|*.|All Files(*.*)|*.*"
        .ShowOpen
        strFileToOpen = .FileName
    End With
        
    
    intDemoFileNbr = FreeFile
    Open dlgPro1.FileName For Binary Access Read As #intDemoFileNbr[code]


Admin Edit: Please use code tags when posting your code. Code tags are used like so => code.gif

Thanks,
PsychoCoder smile.gif

User is offlineProfile CardPM
+Quote Post


PsychoCoder

RE: Pdf Reader Vb6

6 Nov, 2009 - 02:29 PM
Post #2

I Code, Therefore I am
Group Icon

Joined: 26 Jul, 2007
Posts: 14,937



Thanked: 517 times
Dream Kudos: 11575
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net, jQuery

My Contributions
Come on now, learn to ask a proper questions:

Are you receiving any errors? Does this code not work that way you intended it? When asking for help there are a couple items that are vital in order for someone to properly help you:

  • Post the code you're having problems with (DONE)
  • Post the exact error you're receiving, if you are receiving one
  • If no error explain what the code is doing versus what you want it to do
  • Post your question in the body of your post, not the description field

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 04:35PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month