I'm trying to set appointments in Outlook from an Excel worksheet. However, I keep getting a Run-Time Error on the line: Set olApt = olApp.CreateItem(olAppointmentItem). The error is: Run-time error '287' application-defined or object-defined error.
I have referenced the Microsoft Outlook...
I figured it out. I used:
Dim x
x = comboDrives.SelectedItem
Dim y
y = lbFiles.SelectedItem
Try
If rb8000.Checked = True Then
System.IO.File.Copy(x & y.ToString(), "C:\Program Files\CheckPrint\Troy_8000\print.txt", False)...
Thanks for the response. I really appreciate the help.
When you use:
Dim sourcedir As String = "c:\addon\nero55\"
"c:\addon\nero55\" is a static path to copy from. My "from" location isn't static. My Path would be the drive selected in comboDrives and the file selected in lbFiles. ex...
I have a form which has a dropdown box (comboDrives)that list the drives on the computer. Then a ListBox (lbFiles)that displays the files in the selected drive. I also have 2 radio buttons (rb8000, rb9000)for the user to select a folder to copy that file to. What I want to do is copy the...
I am very new at VB (3 days).
I have a form which has a dropdown box (comboDrives)that list the drives on the computer. Then a ListBox (lbFiles)that displays the files in the selected drive. I also have 2 radio buttons (rb8000, rb9000)for the user to select a folder to copy that file to. What...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.