home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,986 of 10,840   
   Sparky AKA_Sparkticus to All   
   variable file locations how to deal with   
   19 Nov 04 09:06:56   
   
   From: Antispam_wanw34397_2@blueyonder.co.uk   
      
   I have a project with several animations in.   
   is their a way to set the file location other then retype the location on   
   the project every time i move the folder   
      
   Private Sub Timer1_Timer()   
   On Error GoTo errhand   
   Static i As Integer   
   ' this is the line giving me trouble   
   Image3.Picture = LoadPicture("C:\My Documents\math Project v1\Images\image"   
   & i + 1 & ".gif")   
      
   i = i + 1   
   If i > 4 Then i = 0   
   Exit Sub   
   errhand:   
   MsgBox Err.Number & " " & Err.Description, vbDefaultButton1, "Error Message"   
   End Sub   
      
   Sparky   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca