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 Shaun E 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 eurob

  1. eurob

    How to dynamically add form elements and use them in a new page?

    That worked ;o) Thanx a lot robert
  2. eurob

    How to dynamically add form elements and use them in a new page?

    I have one form and on the submit event I would like to add a hidden field and use it in the next page with the new value I assign to the value used in the input field. The problem is that even though I assign the value, it is not contained in the form after the submit. Any idea ? page1.asp...
  3. eurob

    redirecting question

    I found it, I just use the action property of the form element. <form name=&quot;a&quot; onSubmit=&quot;bla()&quot;> <input type=&quot;submit&quot; &quot;value=&quot;submit&quot;> </form> <script language=&quot;VBscript&quot;> Function bla() msgbox(&quot;hello&quot;)...
  4. eurob

    redirecting question

    I tried that but now the strangest thing happens, nothing... It executes the command, and I see in the status bar that the it is trying to open the page, but nothing happens. any idea ? <form name=&quot;a&quot; onSubmit=&quot;bla()&quot;> <input type=&quot;submit&quot...
  5. eurob

    redirecting question

    I have a function and after it is done it needs to direct to test.asp, I tried to use response.redirect, but the problem is that when you load the page, it right away redirects eventhough i put the statement within the function. Thanx <form name=&quot;a&quot; onSubmit=&quot;bla()&quot;>...
  6. eurob

    Createtextfile does not do overwrite

    It did work, it was something else, sorry.
  7. eurob

    Createtextfile does not do overwrite

    I am creating a textfile and I'd like to overwrite it with a new one, what happens though, it modifies it and adds the content, I use this: set f=fsoObject.CreateTextFile(tekstfile,true) I set the overwrite on true, so I don't get it. Appreciate your help.
  8. eurob

    How to test if a textfile is empty ?

    i found it, if not textcontent.atendofstream then strBuffer.readall end if
  9. eurob

    How to test if a textfile is empty ?

    I'd like to know if it possible to test a text file for empty. I use this: set I'd like to know if it possible to test a text file for empty. I use this: set textcontent = fsoObject.OpenTextFile(textfile , 1) strBuffer = textcontent.ReadAll which works fine if the textfile contains...
  10. eurob

    creating timestamp from a date

    I'd like to know if it possible to test a text file for empty. I use this: set inlees = fsoObject.OpenTextFile(textfile , 1) strBuffer = textfile .ReadAll which works fine if the textfile contains characters, but when the file is empty I get Microsoft VBScript runtime (0x800A003E) Input...
  11. eurob

    creating timestamp from a date

    That is exactly what I needed. Thanx a lot! Robert
  12. eurob

    creating timestamp from a date

    i just like to have a number back, like 3467467833. Every timestamp should have unique number.
  13. eurob

    creating timestamp from a date

    In UNIX to obtain a timestamp from a date is pretty easy, I wonder if there is a script in vbscript to do the same. I would like to have &quot;1/17/2004 6:01:48 PM&quot; as an input parameter and as output the unique timestamp. Thank you, Robert

Part and Inventory Search

Back
Top