User Profile

Collapse

Profile Sidebar

Collapse
cellus205
cellus205
Last Activity: Nov 14 '08, 04:47 PM
Joined: Sep 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks a lot man, that got it working for me. Just incase anyone needs something similar, heres the code I am using to load either pics or a pdf into a panel. (with both the picturebox and adobe pdf reader inside a panel)

    Code:
            If openFileDialog1.ShowDialog() = DialogResult.OK Then
                If openFileDialog1.FileName.EndsWith(".pdf") = True Or openFileDialog1.FileName.EndsWith(".PDF") = True
    ...
    See more | Go to post

    Leave a comment:


  • ol, Sorry about the bump thing. Do you think I could use maybe a ReportViewer for the PDFs? Or would it be a better choice to try to try the Adobe COM?
    See more | Go to post

    Leave a comment:


  • anyone have any suggestions?
    See more | Go to post

    Leave a comment:


  • cellus205
    started a topic VB .NET Picturebox that Supports PDF VS 2008
    in .NET

    VB .NET Picturebox that Supports PDF VS 2008

    Does anyone know of a picturebox component for VS 2008 that supports viewing PDF files? I need a picturebox that would support TIF, JPG, and PDF, and Im pretty sure the built in picturebox supports JPG And TIF, but it doesnt seem to support PDF. Does anyone know either a way that I can get the existing picturebox control to read PDFs or a component that would allow me to?

    Thanks

    mjs
    See more | Go to post

  • cellus205
    replied to VB .NET Read CSV into Access DB Really Slow
    in .NET
    Ok, I understand. I tried it a few other ways, including using this csv reader class: http://www.codeproject .com/KB/database/CsvReader.aspx? msg=2629921#xx2 629921xx

    There are actually paths and filenames in each row, and im removing any the path and any other characters other than the filename out of each row. Do you think performing those operations on every row would slow it down ?
    See more | Go to post

    Leave a comment:


  • cellus205
    replied to VB .NET Read CSV into Access DB Really Slow
    in .NET
    Well Im actually parsing the data before I submit it to access, because the access table is bound to a datagrid. I think that using the oledb to read in the csv would just read the whole csv into access right?
    See more | Go to post

    Leave a comment:


  • cellus205
    replied to VB .NET Read CSV into Access DB Really Slow
    in .NET
    anyone have any suggestions?
    See more | Go to post

    Leave a comment:


  • cellus205
    replied to VB .NET Read CSV into Access DB Really Slow
    in .NET
    And also forgot to add, its basically taking longer than Id be able to wait, lol, the longest i waited was about 15 min
    See more | Go to post

    Leave a comment:


  • cellus205
    replied to VB .NET Read CSV into Access DB Really Slow
    in .NET
    Thanks for the replies guys. Well right now its actually reading the file into an array using a streamreader, splitting on each new line, and Im guessing thats whats probably taking it so long? After reading it into an array its splitting each array string into what it needs to insert into access, and inserting them into access through the tableadapter.
    See more | Go to post

    Leave a comment:


  • cellus205
    started a topic VB .NET Read CSV into Access DB Really Slow
    in .NET

    VB .NET Read CSV into Access DB Really Slow

    Hows it going everyone. Im still pretty new to vb .net, and am having a little trouble. I am loading a tab delimited txt file into an access database, and parsing the text to extract some of the needed information from each field, and while this works, it is really slow right now. Does anyone have any suggestions on how I could speed this up? The file that Im trying to load atm has about 100k rows.

    Code:
     Dim fs As New IO.FileStream(openFileDialog1.FileName,
    ...
    See more | Go to post

  • VB .NET 2008 Subquery Error w/ Memo, Access DB Win App

    Hows it going everyone. Im having a little trouble with a memo field and a subquery in my Win32 App, Im using an Access DB. The query was working fine before, but in my access db, I had to change the Filename column from Text to Memo because the text type was limited to 255 characters. Now I am getting an error "Invalid Memo, OLE, or Hyperlink Object in 'Filename'." Im using this query to fill a datatable via TableAdapter.

    ...
    See more | Go to post

  • cellus205
    replied to VB .NET 08 and Access Autonumber Seed
    in .NET
    shouldnt have been using autonum in the first place for it, lol
    See more | Go to post

    Leave a comment:


  • cellus205
    started a topic VB .NET 08 and Access Autonumber Seed
    in .NET

    VB .NET 08 and Access Autonumber Seed

    Hey everyone, Im using VB .NET 08 and am having trouble resetting the autonumber seed when I clear the database. I know in access to reset the seed u can do a compact and repair, but Im not sure how I can reset the seed programmaticall y in VB .NET
    See more | Go to post
    Last edited by cellus205; Sep 10 '08, 09:11 PM. Reason: misspelled
No activity results to display
Show More
Working...