|
-
Aug 7th, 2005, 06:30 PM
#1
Thread Starter
Lively Member
Web Browser Help??????????????
in the web browser control how can i prevent people from clicking on email or ftp links
when a user clicks on a email/ftp/ssh/news/ anything not http:// then a message box will pop up saying disabled
also how can i prevent users from entering email/ftp/ssh/news/ in the address bar called txt_address
please help ASAP
-
Aug 7th, 2005, 06:31 PM
#2
Thread Starter
Lively Member
Re: Web Browser Help??????????????
also what's the command to open internet options
-
Aug 7th, 2005, 06:33 PM
#3
Thread Starter
Lively Member
Re: Web Browser Help??????????????
i know this is not related to programming
but you guys are pro's
what security settings do i set so only flash will work in IE
and the browser will not accept active x downloads or run anything but flash
-
Aug 7th, 2005, 06:34 PM
#4
Thread Starter
Lively Member
Re: Web Browser Help??????????????
my friends love going to sites with flash but i don't want them saying yes to a active x box that just pops up
-
Aug 7th, 2005, 06:44 PM
#5
Hyperactive Member
Re: Web Browser Help??????????????
CAN YOU PLZ.... NOT DOUBLE FREAKING POST....
Merge your posts b4 a mod or admin does it...
Cuz if they do it... you'll look stupid...lol...
BTW: Im wondering the same thing...
Without balance, there could only be chaos.
Without chaos, there could be no balance.
I live with karma. Eat with destiny. Dream of life without shackles....
Yet. If life had no consequences, life could not exist, nor could it flourish.
If at first you dont succeed.You're screwed.
C++/Java NOOB.
I aint a professional at PHP, but if i can help i will.
-
Aug 7th, 2005, 11:36 PM
#6
Re: Web Browser Help??????????????
 Originally Posted by student_devry01
in the web browser control how can i prevent people from clicking on email or ftp links
when a user clicks on a email/ftp/ssh/news/ anything not http:// then a message box will pop up saying disabled
also how can i prevent users from entering email/ftp/ssh/news/ in the address bar called txt_address
please help ASAP

Firstly just check your address bar text, and secondly (havnt tested this one) but keep checking the address the client is on as it changes n force it backwards if its bad.
check header:
If Instr(txt_address.Text,"http://") = False then msgbox("NO!")
check browser:
If InStr(AxWebBrowser1.LocationURL, "http://") = False Then AxWebBrowser1.GoBack()
of course you do have to keep in mind that browsers allow you to not include http:// and default to it, so you should prob take the opposite approach for that top one, like
if instr(txt_address.Text,"ftp://") = True then msgbox("NO!")
and for all your others as well
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
|