Results 1 to 3 of 3

Thread: two questions(one really easy)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    83
    do string(variables) transfer from 1 form to the other?(i don't think they do) If not how can i get a string from one form to another?

    2nd, is it possible to set up a VB program to run automatically on a website(continuously)?

    VB 6.0 retail if it matters
    Ian Callanan
    VB6.0
    [email protected]

  2. #2
    Guest

    Iceman...ok first question

    Transference from one form to another depends on how the string is defined. Normal Private or Dim declaration will not allow transfer. However if declared in the General section of a form as Public or Global will transfer...actual we don't use public so you will need to test that...global will transfer with no problems. However if the string is reset in the second form will retain that value on return to the first form. I think Public does work...

    Hope that helps

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    string

    I put the public declares in a bas module.
    Work fine...but as above..remember..the value
    goes with it wherever it goes.

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width