-
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
-
Use Len()
I don't know the first answer but the second one is simple just use:
len(text1.text)
-
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
-
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