Search results for query: *

  1. K

    Anyone see the problem in this code to bold multiple dates?

    Changed it d is the counter to loop through, without it the app will only return 2005, 06, 01 instead of all the dates. Basically I have a directory, (C:\pdf), that contains pdf files. These filenames contain a string that represents a date. Example would be: lala20050601yada.pdf...
  2. K

    Anyone see the problem in this code to bold multiple dates?

    i = 0 d = 0 For Each s In Directory.GetFiles((NewPath), "*.pdf") myArray.Add(Mid(s, 12, 8)) xs = myArray.Item(i) x = xs i = i + 1 a = Mid(myArray.Item(d), 1, 4) b = Mid(myArray.Item(d), 5, 2) c = Mid(myArray.Item(d), 7, 2) MsgBox(a & " " & b & " " & c) calendarView.AnnuallyBoldedDates = New...
  3. K

    How do I open a external .pdf file?

    Resolved - Nevermind, figured it out :) Got it, I was stripping the directory path and needed to add that to it when starting it.
  4. K

    How do I open a external .pdf file?

    One more question I am getting the error "system cannot find the file specified" This is the code: Dim thisFile as Object Dim newName as String NewName = CType(thisfile, string) Try process.start(newname) Catch yada End Try Any idea why it is not finding the selected file?
  5. K

    How do I open a external .pdf file?

    I have a list of reports that come up for the user to select. This list is a directory containing the reports in .pdf format. How do I code to open up the .pdf file?
  6. K

    Highlighting multiple days in a calendar based on files in a directory

    I have a calendar control and listbox on the form. For example I have a directory containing reports with a date string in the names of each report. Is it possible to have the dates highlighted on the calendar so the user can see that multiple dates have reports assocated with them? So if I...
Back
Top