|
-
Feb 11th, 2001, 02:52 PM
#1
Thread Starter
Member
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
-
Feb 11th, 2001, 03:00 PM
#2
Fanatic Member
Use Len()
I don't know the first answer but the second one is simple just use:
len(text1.text)
-
Feb 11th, 2001, 05:37 PM
#3
Lively Member
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
-
Feb 11th, 2001, 06:03 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|