Results 1 to 4 of 4

Thread: 2 simple question.

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Posts
    47

    Arrow Two simple questions...

    Hi!

    I'm using VB6.0 and Windows 98 2nd.ed. How to open a webpage to user's default browser when he clicks a pic in my app? How to count the characters in a textbox? All characters must be counted, like ä, ö, å , *, /, [spacebar hit] and so on. ? ?


    Thanks,

    Lare

  2. #2
    Fanatic Member ExtremePimpness's Avatar
    Join Date
    Jan 2001
    Location
    Indianapolis, Indana - USA
    Posts
    550

    Use Len()

    I don't know the first answer but the second one is simple just use:
    len(text1.text)

  3. #3
    Lively Member
    Join Date
    Jan 2001
    Location
    United Kingdom
    Posts
    86
    Well if you want just a new window, then the easiest way to do this is directly open ie directly. using the shell command and it will automatically goto the users default homepage.

    Code:
    Shell("C:\Program Files\Internet Explorer\IEXPLORE.exe"),VbNormalFocus
    Kieran Smith
    'Computing' A Level Student

    [email protected]
    Visit my Home Page

    Visual C++ 6.0 Pro
    Visual Basic 6.0 Ent
    SQL, ADO, DAO


    "Computers in the future may weigh no more than 1.5 tons."
    -- Popular Mechanics, forecasting the relentless march of science, 1949

  4. #4
    Guest
    That will not open a web site. In order to do so, pass the name of the website as the command line argument.
    Code:
    Shell("C:\Program Files\Internet Explorer\IEXPLORE.exe www.excite.com"), 1

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