Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 03-08-2009
Member
 
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.
Reply With Quote
  #2  
Old 03-08-2009
Member
 
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",.....)
Reply With Quote
  #3  
Old 03-08-2009
Member
 
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.
Reply With Quote
  #4  
Old 03-08-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to provide .net url converted string to search engine"
Thread Thread Starter Forum Replies Last Post
in. search-results as search engine instead of Google Eseld Networking & Security 5 15-07-2011 07:23 PM
No search results found for any sex related keyword searched on Microsoft Bing Search Engine Dinsh Technology & Internet 2 27-06-2009 01:15 PM
Search a string in a textbox GeforceUser Software Development 4 07-05-2009 01:18 PM
Error: Argument prompt cannot be converted to type string. Kiran123 Software Development 3 06-02-2009 08:38 PM
Reliance Communications launched Quick Search new search engine on mobile Gauresh India BroadBand 0 07-11-2008 02:15 PM


All times are GMT +5.5. The time now is 01:41 AM.