Results 1 to 5 of 5

Thread: Don't know where to start.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    Toronto, Canada
    Posts
    112

    Don't know where to start.

    I want to build an app to do the following:

    Part I
    -Create a list of files from a specific directory
    -Check the "Comments" field in the files properties for values
    -If the value is Null then place a check box that is unchecked beside the filename
    -If there is a value the check box should be checked.

    Part II
    -IF the user clicks on the filename it will open it (All files will be PDFs)
    -The user will review the file and close acrobat(reader) and then if they check the checkbox beside the file name it will add the username - date - time to the "comments" field of the file properties
    -The transaction is logged.

    Any help would be appreciated.

    Thanks.

    SHOOK

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    smells like teen homework

    what have you got so far. That is a good outline to work with, so I would start by doing the first thing you mentioned

    -Create a list of files from a specific directory

    and work from there

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    Toronto, Canada
    Posts
    112
    Believe it or not ... this is not an assignment ... for school at least.

    I want to one up some people and impress others. This is a potential career booster application


    I used to do a lot of programming in school but since graduating my skills have become stale. I also have been trying to wrap my head around this whole VB.NET monster.

    I will post what I have when I get home tonight.

    Thanks for the quick response.

  4. #4
    Hyperactive Member ZeroCool's Avatar
    Join Date
    Feb 2002
    Location
    In front of my computer
    Posts
    423
    this will give you a small start

    VB Code:
    1. Dim di As New System.IO.DirectoryInfo("c:\")
    2.  
    3.  
    4.         Dim files() As IO.FileInfo = di.GetFiles("*.pdf") ' get a list of all pdf files on c:\
    5.  
    6.         For I As Integer = 0 To files.GetUpperBound(0)
    7.             'Open all pdf files
    8.             Process.Start(files(I).FullName)
    9.         Next
    Visual Baisc 6 (SP5)
    Windows Xp

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    Toronto, Canada
    Posts
    112
    Thanks for the start ZeroCool

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width