as i understood that u ve image and u want to open it from stream file... 1-u cant use Image class as it is abstract one, so u cant define object from it 2-u use Bitmap class to open ur image //example: dont forget to use (Using System.Drawing) Bitmap myimage=new Bitmap(filestream,true); //constructor use true to make error correction..hope it works
amal_pro83
Posts
-
FileStream help! :( -
MSN Chat Sessionshello there, dave doesnt reply me so any1 knows how we know the msn chat sessions history programmatically???
-
MSN Chat Sessionshello dave, how r u?? i hope u r okay,,,,as u r the one who advice me here very good advices...today i want to trace MSN Chat sessions...so what do u suggest?? and their history of course
-
tracing keystrokes using c#hello dave, remeber me?? today i am asking about keystrokes in every applications...i want to trace keystrokes and specify in which application were they typed..wait ur reply...give me hint in which way to search..thanks in advance
-
system.storage.schemas.dlli got code now but i didnt try it...here u r a copy form it namespace CSharpcenter{ using System; using Microsoft.Win32; public class ConsoleApp { public static int Main(string[] args) { // // TODO: Add code to start application here // //get down to the Typed URL in //HKCU\\SOFTWARE\\MICROSOFT\\INTERNET EXPLORER\\TYPEDURLS RegistryKey theCurrentMachine = Registry .CurrentUser ; RegistryKey theSoftware = theCurrentMachine.OpenSubKey ("SOFTWARE"); RegistryKey theMicrosoft = theSoftware.OpenSubKey ("Microsoft"); RegistryKey theIE = theMicrosoft.OpenSubKey ("Internet Explorer"); RegistryKey theTypedURLS = theIE.OpenSubKey ("TypedURLs"); //Now get all the values in the key... long lCount = theTypedURLS.ValueCount; if(lCount <= 0) return 1; string [] arTypedURL = theTypedURLS.GetValueNames(); Console.WriteLine ("You have typed in following web sites in IE :"); int i = 1; foreach ( string theURL in arTypedURL) { //get the name of the url ... Console.WriteLine ("[{0}] {1}",i,theTypedURLS.GetValue (theURL)); i++; } return 0; } } }
-
system.storage.schemas.dllhi dave, i want this namespace to get internet explorer history, i know how to get instances runnig from ie but only the window title of ie but not full url as i am using only c# ..i ve code for it in c++..but i dont know how to convert or use functions in it so tell me if u ve solution
-
system.storage.schemas.dlli want to use the namespace in a program and when i searched for it...i knew that it i in this dll but when i searched for dll over my pc i couldnt find it so tell me what to do to use namespaces in
-
system.storage.schemas.dllhello there, i wonder if anyone has this dll system.storage.schemas.dll , or know link to download it as i need namespace in System.Storage.Explorer:-O
-
running application in windowsthanks i did it public static string[] Detect_Run_App() { int j=0; Process[] processes=Process.GetProcesses(); for(int i=0; i
-
running application in windowsi got idea, from task manager u get from GINA got me , okay....i want to get opened applications..i know code of Process but i dont want all running exe on computer as most of them are services..i just want only applications running...breifly, all appear in taskbar as opened..got it
-
GINA.dllmany thanks guys:-D
-
running application in windowsi want to know how to get running application in windows xp through c# application, i thought that GINA.dll will help me but it didnt work:((
-
GINA.dllhow to use it in c# and functions inside it?????