"Programming help needed"=True!!!
Results 1 to 9 of 9

Thread: "Programming help needed"=True!!!

  1. #1

    "Programming help needed"=True!!!

    Well, look how can you help me, i want to open a url on the primary internet broswer in a new window. And i want to set a Text1 to x or y etc... how can i do this??? Thanks.

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Posts
    1,207
    Please be much more specific:

    1. Is this a web application, if so please explain what you're doing
    2. Assuming a non-web application,
    2a. Which operating system(s)
    2b. What language
    2c. What sort of environment are your users going to have (other software dependencies)?
    3.
    And i want to set a Text1 to x or y
    What does that mean?

  3. #3
    Senior Member tampabay420's Avatar
    Join Date
    Aug 2002
    Posts
    953
    Text1 is a the generic name given to the first text Box on a form/window in "Visual Basic"...

    I'm pretty sure there are no objects in your borwser called "Text1" ...

    Which textbox would you like to acquire, you'll prolly need to make some API Calls...

    If this sounds about right, respond and i'll explain a little more... As far as getting the right browser to open? that might either be a general API call of you might have to look it up in the registry... someone please respond if i'm incorrect!

    I hope this helps :-)
    yeah, I\'m gonna need that by friday...

  4. #4
    Banned
    Join Date
    Dec 2002
    Posts
    394
    Try accomplishing this using Windows API calls.
    From there u can do this task in c or asm but I would prefer asm dude!
    Next time tell which language U will be coding in it will be more helpful
    to help U.

  5. #5
    Well i need the code of these things on vb6 please.
    And i want to set a Text1 to x or y
    I have found that never mind about that just tell me if you want the other thing.How to open a url (website-link) on the primary broswer via a vb6 application. Thanks.

  6. #6
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    To open a url in the primary browser, use the shell function like so:
    shell("start http://www.antionline.com/index.php")
    Cheers,
    cgkanchi
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

  7. #7
    Senior Member tampabay420's Avatar
    Join Date
    Aug 2002
    Posts
    953

    Smile DOS32.bas

    cgkanchi- really, does that work for all win9x+... great tip! thanx :-)

    for ii-monk:
    | if you are using visual basic 5+ i included a nice bas file... it's for the old proggies for aol 6- ;
    | its commented pretty well- it has a ton of api references for capturing/setting values...
    | i hope it helps, again- i assume you are using Visual Basic...
    |
    | btw- i renamed it dos32.txt, you will have to rename it dos32.bas before you include it into your vb projects...
    |
    |
    | oh- i thought you were trying to set/read the value of the browser?
    | if you are, the dos32 file will help alot...
    yeah, I\'m gonna need that by friday...

  8. #8
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    Yes, that works for all win9x and 2k+ systems. I'm not sure if it works for NT though. "start document" will open the document in it's default application. From a command windows "start application" will open the application in a new window. This is especially useful if the program is a command line utility. For example, "start netstat -an 10" when your working on the command prompt.
    Cheers,
    cgkanchi
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

  9. #9
    Thank you all...

Posting Permissions

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