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 SkipVought 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. tomhughes

    Calling a Function Within a Function

    It still doesn't work
  2. tomhughes

    Calling a Function Within a Function

    I am trying to call a Function from within another Function, but it doesn't work. The button named "Init" is supposed to call the "Output_Key()" but the values in the OUT Text boxes are not displayed in the Variable boxes var1-4. File available at...
  3. tomhughes

    calling a function from within function

    Thanks, but it still doesn't work.
  4. tomhughes

    calling a function from within function

    OK - Here is the link to the file-- http://rapidshare.com/files/190275938/Function_in_Function1.fla.html
  5. tomhughes

    calling a function from within function

    Well that didn't work, so here is the file. Init.onRelease = function() { in1_txt.text = "C"; in2_txt.text = "F"; in3_txt.text = "G"; in4_txt.text = "A"; OUT1.text = "C"; OUT2.text = "F"; OUT3.text = "G"; OUT4.text = "A"; Output_Key(); }; function Output_Key() { for (m=1; m<=4...
  6. tomhughes

    calling a function from within function

    I inserted the filespec into the "Step3 Attachment" box. I don't know if that will attach the file or not.
  7. tomhughes

    calling a function from within function

    Is there any way to call a function from within a function? *************************************************** Here is the Function I am calling from: SET.onRelease = function() { in1_txt.text = "C"; in2_txt.text = "F"; in3_txt.text = "G"; OUT1.text = "C"; OUT2.text = "F"; OUT3.text =...
  8. tomhughes

    Selecting Diff Files from FileListBox

    Andrzejek Thanks for your help. I finally figured out what was wrong. I assumed the origonal array would be overwritten after the program completed, however it was not, and the next file I selected from the FileListBox was not written to the array, but the origonally selected file was still...
  9. tomhughes

    Selecting Diff Files from FileListBox

    Andrzejek Yes - I think you are correct. I am beginning to believe the problem I am having is not the FileListBox, but the Array that I am writing the file to. I don't think the program is overwriting the array, so I am working on either erasing the array, or overwriting it with null data. I...
  10. tomhughes

    Selecting Diff Files from FileListBox

    Andrzejek Thanks for your response. Yes I can also get the same results as you, however when I try to incorporate this into the File Open statement, the program still operates on the same file I initially opened, and not the last one I selected from the FileListBox. Here is the code...
  11. tomhughes

    Selecting Diff Files from FileListBox

    Does anyone know how to select a different file in the FileListBox without closing the program ???
  12. tomhughes

    Selecting Diff Files from FileListBox

    After I select the file from the FileListBox, I press a Command button that puts the file into an array, and operates on the array, then closes the file. When I try to select another file from the FileListBox, it does not select the other file, but selects the same file I selected initially.
  13. tomhughes

    Selecting Diff Files from FileListBox

    OK Andrzejek Thanks for the correction. Now how do I change the file that I select in the FileListBox ???
  14. tomhughes

    Selecting Diff Files from FileListBox

    Here is the code that puts the file into an array Private Sub LoadFile() Dim x As Integer Dim iFreeFile As Integer iFreeFile = FreeFile Open Dir1.Path & "\" & File1.FileName For Input As #iFreeFile Do While Not EOF(iFreeFile) ' 'x' is our counter here. We...
  15. tomhughes

    Selecting Diff Files from FileListBox

    Private Sub File1_Click() End Sub
  16. tomhughes

    Selecting Diff Files from FileListBox

    I open the file with this code Open Dir1.Path & "\" & File1.FileName For Input As #iFreeFile Then I put it into an array, and close it.
  17. tomhughes

    Selecting Diff Files from FileListBox

    I am working on a program that operates on different files. After selecting the first file, the program operates on the file, but when I change the file seletion from the FileListBox, the program does not select the next file I click on. I have to completely close out the program and re-open it...
  18. tomhughes

    Returning Values from Standard Modules

    Passing Variables has been confusing to me, because I thought that the Variables being passed were in a different location than the Variables being received from the Function. However, after playing around with it a little it appears that the Variables that you put in the Call statement, and...
  19. tomhughes

    Returning Values from Standard Modules

    Thanks jadams0173 - Very well Done - I appreciate yoiur time
  20. tomhughes

    Returning Values from Standard Modules

    How do I return several Values of different types from a Standard Module in VB6? From the script below I am only returning a string,but I need to return several different String values, and ineteger values. Public Function GetTopBM(ByRef strL, ByRef strR, ByRef y) As String < User Code >...

Part and Inventory Search

Back
Top