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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JonathonC

    Extract filename ad directory from path

    Thanks, it's nice to know that whenever I get stuck i've always got Tek-Tips to help me. It's incredible to think that before computers were invented we had to mess things up ourselves!
  2. JonathonC

    Extract filename ad directory from path

    I have a path (eg. "C:\My Documents\file.txt") and I want to know: The filename (in this case "file.txt") The directory (in this case "C:\My Documents\") How would I do this? It's incredible to think that before computers were invented we had to mess things up...
  3. JonathonC

    TV screen SAME as PC monitor

    I've connected my TV to my PC via the s-video port on my video card. In the display settings in windows XP you can move the 2 screens around to show how they are located in relation to one another but I want both my TV and PC to show exactly the same thing. How would I do this? It's incredible...
  4. JonathonC

    Saving a lot of text files in a single file and load different lines!!

    To save use: Dim dateiname As String, dateinr As Integer dateiname = App.Path & "\filename.txt" dateinr = FreeFile Open dateiname For Output As dateinr Print #dateinr, (Text1.Text & vbCrLf & Text2.text & vbCrLf & Text3.text & vbCrLf & Text4.text) Close dateinr To access certain lines...
  5. JonathonC

    Download progress

    I'm using the below code to download files through the internet in my VB app. How can I show the progress in a progress bar, I think I would have to use different code. Dim b2() As Byte Open WDir & "\cybot.exe" For Binary Access Write As #1 b2() =...
  6. JonathonC

    JavaScript print

    Whenever I click a JavaScript print button within a webpage my computer restarts itself. I'm using IE6 on Windows XP. Does anyone else have this problem, how can it be fixed? Thanks, Jonahon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  7. JonathonC

    MSInet downloading gif files

    Ignore the previous post, I've just realised that I forgot the ", icByteArray" on the end of the downloading from URL. Jonathon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  8. JonathonC

    Wininet... FtpGetFile Date Altered on Download!

    The following code should return the date the file was last modified. Private Function GetLastMod(strURL As String)As String Dim strHeader As String 'Cancel any current operations Inet1.Cancel 'Set protocol to HTTP Inet1.Protocol = icHTTP 'Open the URL URL Inet1.OpenURL (strURL)...
  9. JonathonC

    MSInet downloading gif files

    The following code overwrites a picture on the users machine with a file downloaded off the Interent by the INet control. But once the download is complete the gif picture cannot be viewed. I think it might have something to do with the 'Binary' part because when downloading plain text files or...
  10. JonathonC

    Command line arguments (I think)

    Thanks JustinEzequiel thats exactly what I needed to know but i've just found this great tutorial on the subject at this site. http://www.vbexplorer.com/vb_feature/august2000/command_line_arguments.asp Jonathon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  11. JonathonC

    Command line arguments (I think)

    I'm not sure if that's what it's called, but what I want is to have an extra peice of writting at the end of the 'Target' part of a shortcut. Then when the shortcut is double clicked on my program will open and do a certain thing. If the shortcut does not contai the extra writting then it will...
  12. JonathonC

    Database's: what???

    OK, I just don't understand the data control, what I want is to do is the following and I can't figure it out: - User enter's username and password then cliks OK. - My App checks to see if it is a valid username by searching through the database. - If the username is corrent it will then check...
  13. JonathonC

    Hyperlinks in rich text box

    Anyone know how to create hyperlinks in a rich text box, or is it not possible? Thanks, Jonahon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  14. JonathonC

    Count number of files in a folder

    How can I count the number of files which have no file extension (the file dosen't have .something on the end of the file name) in a particular directory? Thanks Jonathon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  15. JonathonC

    Printing Rich Text Box

    Thats what I was thinking, or I could insert my information then the contents of the Rich Text Box into another (invisible) Rich Text Box which I colud then print. Jonathon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  16. JonathonC

    Printing Rich Text Box

    I'm using the following code to print the contents of a Rich Text Box: Text1.SelPrint (Printer.hDC) How would I print some other information at the top of the message which is not included in the actual Rich Text Box itself? Thanks, Jonathon. Computer problems? Have you checked the loose nut...
  17. JonathonC

    Database error

    Nope, I only have one called "Access" Jonathon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  18. JonathonC

    Database error

    I don't think you read my last post, i'm not using the ado object/control. I'm using the Data one. In the RecordSource property i'm supposed to specify the table I want to access from the database but I get an error because vb6 can't recognise my Database for some reason. Jonathon. Computer...
  19. JonathonC

    Database error

    I'm using the Data object not the adodc one! Jonathon. Computer problems? Have you checked the loose nut in front of the keyboard yet?
  20. JonathonC

    Database error

    What is .Provider? Here are what some of my properties are set to: Connect = Access DataBaseName = C:\Documents and Settings\Jonathon\My Documents\My Visual Basic projects\NetMessage\nmdata.mdb BOF & EOF = 0 - Move first Exlusive = False RecordsetType = 0 - Table RecordSource = CAN'T FILL...

Part and Inventory Search

Back
Top