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 Schweiger

  1. Schweiger

    need help with (simple?) vba problem

    Perhaps this thread could help: thread222-882802. If you would use a Class instead of an array of doubles as vector you could create a method for your vector object to reverse. ' Class Vector ----------------------- Option Explicit Private Value(0 To 3) As Double Public Property Get...
  2. Schweiger

    Rename Files on Remote Computer under Vista

    That works, thank you SBerthold
  3. Schweiger

    Rename Files on Remote Computer under Vista

    thanks vb5prgrmr I know that my code fragments aren't very generic. They should only show the problem. Nevertheless I implemented your version and I get the same error on the line GetAttr. Dir just reports that the file is there on the location where it has been before it was moved, and I just...
  4. Schweiger

    How do I test if a dynamic array has elements?

    Just curious, what returns VarType for the empty array?
  5. Schweiger

    Rename Files on Remote Computer under Vista

    I Changed it to an Array but it doesn't work. The files are moved correctly but if I start the sub again within some seconds I get the same error and ary(ii) still contains the first file that has been moved. If I wait about 10 seconds and start the sub again it works. Dim temp As String...
  6. Schweiger

    Rename Files on Remote Computer under Vista

    Hi I've got troubles moving files on a remote computer from one directory to another. My environment is Windows Vista Business where the VB runs and Windows Vista Home where the share is located on. If I use Windows XP on the remote computer it works. To enable my NAS I've changed SMB...
  7. Schweiger

    How to use the draft font (MS-DOS) in windows application program.

    What really speeds up Printing is writing to LPT1: as a File. You loose the flexibility but end up in much more speed. Just as beginning point: ' Open printer for output Open "LPT1:" For Output As #1 ' Print Text to Printer Print #1, "Example" ' Formfeed (at least for the...
  8. Schweiger

    Save RichTextBox text in outlook body

    Yes, it ran exactly like this. Perhaps it's a matter of the message format which I've set to Rich Text for the Test, where I've normaly set it to Text only.
  9. Schweiger

    Save RichTextBox text in outlook body

    You mention that you've already tried a couple of things, so perhaps it's not really useful what I suggest, but in my environment the following works: Dim MyOlApp As New Outlook.Application Dim MyItem As Outlook.MailItem Set MyOlApp = CreateObject("Outlook.Application") Set...
  10. Schweiger

    cut & paste graphics from less that the whole picture / box???

    Have a look at Paintpicture. Here an example to create a horizontal scrolling Picture: [COLOR=green]Create a form with 2 pictureboxes and one Timer on it (Timer set to any Interval try 100). Paste the following code into the form:[COLOR=blue] Private lngmTPX As Long Private lngmWidth As Long...
  11. Schweiger

    Subtracting Time

    Try this: lblDuration = cDate(cDate(txtTo) - cDate(txtFrom)) or to keep formatting:[COLOR=blue] lblDuration = format((cDate(txtTo) - cDate(txtFrom)),"h:mm")[COLOR=black] or have a look at DateDiff hope this helps Andreas
  12. Schweiger

    mdi child question

    You could subclass your MDIChild and control visibility in the windowsprocedure, but I don't think that's a good solution. First of all I would ask, if it has really to be an MDIChild. Because if you don't mind having a normal form I would try something like this: Private Declare Function...
  13. Schweiger

    Can sst Tabs be repositioned?

    be aware that you can mark the controls on an SSTab with the mouse. Click in the titlebar of the form (the form has to be marked), hold down Ctrl and catch the controls with the mouse Andreas
  14. Schweiger

    Update program version

    As long as you haven't got any ocxs or dlls to register you could code something like this: - rename the exe who is executing right now (this works in contrast to delete or copy it...) - copy the new exe - eventually start the new exe - stop the old exe It's just a suggestion... never coded...
  15. Schweiger

    Run Access2000 macro. Database has Password

    Have a look at this link http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b235422 Hope this helps Andreas

Part and Inventory Search

Back
Top