Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by OzzieBloke

  1. OzzieBloke

    opening other exe files

    how do you open other exe files, such as a setup file or something, so that it can be used??
  2. OzzieBloke

    How do I change command button properties from another form?

    Have you tried Switchboard.Option2.Enabled = False Danielgraham, what are you on about??
  3. OzzieBloke

    Changing Home Page

    Hi, is there a way to write a code that will change my home page??
  4. OzzieBloke

    Moving Files

    Sweet, Thanx Heaps
  5. OzzieBloke

    Moving Files

    RE to CA The file name remains the same throughout. It is moved to a folder called Audio in F:
  6. OzzieBloke

    Moving Files

    Did you meanDim FSO, DESTFILE For N = 0 To MoveList.ListCount - 1 Set FSO = CreateObject("Scripting.FileSystemObject") DESTFILE = (App.Path & "\" & MoveList.List(N)) FSO.MoveFile "F:\Audio", DESTFILE Next That doesn't work
  7. OzzieBloke

    Moving Files

    Only in the source folder
  8. OzzieBloke

    Moving Files

    As far as I know it is individually moving the files, it starts at the top of the list, and performs the command for each line in the list. I removed the brackets around the source and destination of the file, this remove the error about the comma, however it still comes up with an error saying...
  9. OzzieBloke

    Moving Files

    Is there some sort of patch required for this?? Every thing I try doesn't work. The file that I am trying to move depends on what is in a list box. Basically there is a lot of files that need to be moved. What I have tried so far is Dim FSO, FileSet For N = 0 To MoveList.ListCount - 1...
  10. OzzieBloke

    Moving Files

    Is there a way to move a file from one folder to another?? I tried using shell("move " & FilenameandPath) but the filename has to be very basic. The files that I want to move contain -'s and a few other symbols.
  11. OzzieBloke

    RemoveItem Troubles

    OH, my bad, works now! Thanx heaps
  12. OzzieBloke

    RemoveItem Troubles

    OK this is my whole code for that buttonPrivate Sub Command1_Click() 'Copy selected files to the other ListBox For N = 0 To List1.ListCount - 1 If List1.Selected(N) = True Then List2.AddItem List1.List(N) End If Next 'Remove selected files from original ListBox For N = 0 To...
  13. OzzieBloke

    RemoveItem Troubles

    OK the error is completely gone, however, no items are being removed from the list.
  14. OzzieBloke

    RemoveItem Troubles

    Did you meanFor N = 0 To List1.ListCount - 1 If List1.Selected(N) = True Then List1(Index).RemoveItem List1(Index).ListIndex End If N = N + 1 Next?? This works for the first selected item in the list, but not any of the others, or on the second time the button is clicked...
  15. OzzieBloke

    RemoveItem Troubles

    Hi, I am having trouble with RemoveItem. This is what I have so far: For N = 0 To List1.ListCount - 1 If List1.Selected(N) = True Then List1.RemoveItem List1.ListIndex End If Next I have also tried: For N = 0 To List1.ListCount - 1 If List1.Selected(N) = True Then...

Part and Inventory Search

Back
Top