Results 1 to 4 of 4

Thread: How to provide .net url converted string to search engine

  1. #1
    Join Date
    Oct 2008
    Posts
    100

    How to provide .net url converted string to search engine

    I have developed a web page in dream viewer and wanted to create an URL that i wanted to be in .Net, is it possible to develop such thing, I know that I could write a function parse the url to determine it but specifically I would like a built in .Net function but that will convert any of the above strings to a System.Uri object or even just a consistent string. If this could I managed properly then i would take another applications in my hand to develop.

  2. #2
    Join Date
    Mar 2008
    Posts
    192

    Re: How to provide .net url converted string to search engine

    You don't need to Set any Image.Picture. It works perfectly without. Put the code in whichever event you want it to execute. Typically, the button click event is where you might find it. It will work just the same if its *.jpeg or *.jpg, they are both picture formats. I've just tried it and proved it. There is something else wrong with your code.

    picPicture1.Picture = LoadPicture ("JPEG.jpeg",.....)

  3. #3
    Join Date
    Jan 2009
    Posts
    99

    Re: How to provide .net url converted string to search engine

    Load it into a memorystream(i.e., Use the FileStream object).
    Decode the image using the Bitmap constructor for a stream object.Several ways to do it, here is an article on loading image files. Just make sure to dispose of new objects properly depending on how you load the images. Once loaded and decoded from the stream, there is no need for the system to retain a file lock on the original file.

  4. #4
    Join Date
    Feb 2009
    Posts
    105

    Re: How to provide .net url converted string to search engine

    If you mean a Uri object so that you can assign it to the WebBrowser.Url property then don't even bother. try using UnicodeEncoding.Convert(...) or UnicodeEncoding.GetEncoding(...); I do not know exactly how to use this, but see if it works for you.J ust call Navigate and pass the String.

Similar Threads

  1. in. search-results as search engine instead of Google
    By Eseld in forum Networking & Security
    Replies: 5
    Last Post: 15-07-2011, 07:23 PM
  2. Replies: 2
    Last Post: 27-06-2009, 01:15 PM
  3. Search a string in a textbox
    By GeforceUser in forum Software Development
    Replies: 4
    Last Post: 07-05-2009, 01:18 PM
  4. Error: Argument prompt cannot be converted to type string.
    By Kiran123 in forum Software Development
    Replies: 3
    Last Post: 06-02-2009, 08:38 PM
  5. Replies: 0
    Last Post: 07-11-2008, 02:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,229,632.83978 seconds with 17 queries