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 gkittelson 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. RClarkeJr

    An object in an array

    tsuji, Why would you set the variables back to nothing after they have been asssigned values? and where did you assigned the aobj values? Don't quite understand the last part. Thanks in advance.
  2. RClarkeJr

    An object in an array

    iedrs is a custom built dll which requires the following parameters: Dim edrs Set edrs = CreateObject("RoutingService.EDRSccw") Function ExecuteFile(appName As String, appErrorText As String, appID As String, filesToRoute() As Variant, cameFrom As String) As Boolean
  3. RClarkeJr

    An object in an array

    I am writing some vbscript and I am not sure how to deal with this issue. I need to pass a file to a function but it requires the file to be passed as an object in an array since there could be multiple files. I am having a hard time figuring out how to add the file as an object to the array...
  4. RClarkeJr

    Reset Form with Vbscript

    When a user completes the form, they are prompted with a msgbox whether they would like to start a new entry. Without using the reset button, I would like to use vbscript to reset the controls. I have tried to call the OnClick event but it was unsuccessful. Thanks in advance.
  5. RClarkeJr

    Determine Currect Directory

    I decided to go this route Function 1 Set fso = CreateObject("Scripting.FileSystemObject") STRFILENAME = fso.GetAbsolutePathName("imgs") End Function Function 2 Set fso = CreateObject("Scripting.FileSystemObject") pathstring = STRFILENAME & "\maildates.txt" Set ts =...
  6. RClarkeJr

    Determine Currect Directory

    I have a webpage which will load on a number of servers, and each webpage must load a txt file within its root folder. Since the folder name will change from server to server, I need a way to find the current directory and then load the txt file from that location via vbscript. Any Ideas...
  7. RClarkeJr

    Move from textbox to textbox using OnChange

    I should give myself a star for this. I found javascript which works well with vbscript. http://javascript.internet.com/forms/auto-tab.html Once I embedded the script, I added the following in the INPUT section of the textbox onKeyUp="return autoTab(this, 3, event);" size="4" maxlength="3"...
  8. RClarkeJr

    Move from textbox to textbox using OnChange

    I have a a VB solution, but I need to incorporate the same solution in VBScript. I have seen some sites where the cursor moves once you have entered the information. Any Ideas?
  9. RClarkeJr

    Move from textbox to textbox using OnChange

    I have a form which has three fields for date. Month (2 Char), Day (2 Char), and Year (4 Char). When a user enters the second character, I want the focus to change to the next texbox and so on. I am unable to use the OnChange. Does anyone have any ideas how to approach this? I have exhausted...
  10. RClarkeJr

    HELP! What did I do?

    This was the problem myOlApp.ActiveWindow = 0
  11. RClarkeJr

    HELP! What did I do?

    When I run this vbscript on a webpage, it sends an email with the information gathered on the webpage. In the process, it renames the Inbox in Outlook. How did I do that? Please help! Dim ConstSubject Dim ConstComment Dim ConstCount Dim ConstRecpCount Dim WSHShell Dim FileNames Dim...
  12. RClarkeJr

    How to Clear a File Field Textbox

    I appreciate your advice tsuji, but I have already tried that and it is not effective.
  13. RClarkeJr

    Hide Outlook Message Window

    teckiejon, I commented out the myItem.display, and the sendkeys, and added myItem.Send. Here is the problem, I get that nasty message which says 'someone is using your email address'. I do not want the user to see this box either. I want it all to be transparent. Thanks for the suggestion...
  14. RClarkeJr

    How to Clear a File Field Textbox

    I have a File Field Textbox which allows a user to attach a file. Once they have attached the file, I would like to clear the File Field Textbox. I have tried, empty, null, and " ". Any ideas? Thank you in advance.
  15. RClarkeJr

    Retrieve Values from ListBox

    TomThumbKP, Stupid question, how would I do that?
  16. RClarkeJr

    Retrieve Values from ListBox

    This is the code to add the file to the listbox Sub cmdAddF_OnClick Dim optOption Dim lstIndex Dim lstCount Set optOption = document.createElement("OPTION") lstIndex = document.FORM1.lstForms.selectedIndex If document.FORM1.txtFile.value = "" then lstCount =...
  17. RClarkeJr

    Retrieve Values from ListBox

    Hi Guys, I have a listbox which contains up to 5 files which a user can attach to an email. I am having difficulty writing vbscript which will grab all the values in the listbox. Can someone please help? Thank you in advance.
  18. RClarkeJr

    Hide Outlook Message Window

    PHV, No Effect. I also tried myOlApp.ActiveWindow = 1.
  19. RClarkeJr

    Hide Outlook Message Window

    PHV, I tried visible = false, and it indicates the object doesn't support this property. MrMovie, I am using the sendkeys to send the email and prevent that nasty message.
  20. RClarkeJr

    Hide Outlook Message Window

    Hello All, I have created a webpage which uses the following VBScript and then prefills the email with the information and sends it. Why am I doing this? Our Fax Server requires users to use the correct switches and format, and since they are unable to do this, I created an interface thru a...

Part and Inventory Search

Back
Top