Jump to content

HowTo : Force http:// and check valid URL


mierlp

Recommended Posts

Hi,

 

I would like to create a simple browser where the user can surf to a company website

from within my applications.

 

I use the URLFrame example. But when you enter :

www.unigui.com WITHOUT http:// then the urlframe thinks you want to open a local file

 

if i use it with HTTP:// it works

 

So...how can i :

  • check if there's Always HTTP:// in the string when a user enters a url
  • or how to force it there will Always be HTTP:// into the string.
  •  

 

Regards Peter

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...