Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

Sri harini

@Sri harini
About
Posts
43
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • No Double click event on a list box control - C#.Net(Copmact framework)
    S Sri harini

    Hi, I am developing windows mobile application using C#.Net(Compact frame work).I can not find double click event on list box control..Please advice how to add the event... please anybody help me... Thanks&Regards

    C# csharp help tutorial

  • How to exit in C#.NET CF Application?
    S Sri harini

    Ok Thanks joon...I will read the forum..If any doubt i will ask again...Thanks a lot.. Bye

    C# csharp help tutorial question workspace

  • How to exit in C#.NET CF Application?
    S Sri harini

    Yes, already tried Application.Exit()...that one Not exiting..but Application hanging.. I tried this.close() and this. dispose() methods..My application closing, but background still running..not exiting...Do you know any exiting methods supported in compact framework?..please help me.. Thanks in advance.... Bye

    C# csharp help tutorial question workspace

  • How to exit in C#.NET CF Application?
    S Sri harini

    Hi I am developing windows application using C#..In my application i am using Environment.Exit()..Now my application exited.. But my another application i am developing windows mobile 5.0 application using .NET Compact framework 2.0 C#.NET .The environment.exit() and application.exit()also not supported.I have used this.close() and this.dispose()...application not exit.I don't know how to exit my application...please anybody help me... Finally i am using System.Diagnostics.Process.GetCurrentProcess().CloseMainWindow(); This one also not closing.. Can i use System.Diagnostics.Process.GetCurrentProcess().Kill(); that kill method?..Is it correct way to exit()?.. If anybody knows please help me... Bye

    C# csharp help tutorial question workspace

  • How to exit C#.Net Application?
    S Sri harini

    Hello, yaa, already tried Application.Exit()..that one Application hanging.. so i tried this.Dispose()..second time i have to run the application..can not run it..because application still background runing. So, finally how to kill the exe file? I didn't try Application.ExitThread()..i will try it...Thanks for your reply... Bye

    C# csharp help tutorial question

  • How to exit C#.Net Application?
    S Sri harini

    Hi, I am developing windows mobile application..I want to exit my application.Not automatically exited.So i am trying to use the code..But Process.GetProcessesByName not supported in windows mobile application.(Compact Framework)..Can you help me how to terminate?..I tried in many ways, this.Dispose(), this.Close(), Application.Exit()....But not exiting..please help me.. string processName = "MBitNetwork"; Process[] processes = Process.GetProcessesByName (processName); foreach (Process process in processes) { process.Kill(); } Immediate help is appreciated. Bye

    C# csharp help tutorial question

  • Reg. exe file icon
    S Sri harini

    Hi, I am developing windows mobile application using vs05 C#.NET.. How to install exe file with icon/logo to Windows Mobile programs collection or main menu? I want to put my exe file icon in Start/ Programs/ ...Directly can i click the icon in programs? please help me...I am new in the field. Thanks in advance.. Bye

    C# csharp help tutorial question

  • Compactframe work(2.0) can support treeview.backcolour?
    S Sri harini

    Hi, In am developing windows mobile 5.0 application using VS2005 C#.NET Compact framework(2.0).Is it support to treeview.Backcolour or not?..If not supporting any other alternate source?..Please tell me.. Thanks in Advance Bye

    C# csharp question

  • Windows mobile 5.0
    S Sri harini

    Hi, I am developing windows mobile 5.0 application using VS2005 C#.NET...In treeview how to change the back colour in programmatically...In properties do not have the option...If anybody knows please help me.. Thanks&Regards Sarala

    Mobile csharp help tutorial

  • Treeview Back colour
    S Sri harini

    Hi, In windows mobile 5.0 developing i am using C#.Net..In the screen design how to change treeview back colour?..In properties don't have the option. In programatically how to change the back colour?..kelp me.. please help me.. Bye

    C# csharp design help tutorial question

  • visual studio 2005 using C#.Net
    S Sri harini

    Hi, Windows mobile application, I am using Application.Exit, ui.Close() methods, But my application still back ground running. Can i use any other application closing methonds, please help me. How to exit my application? i am always using x in device.. Thanks in advance .. Bye

    C# csharp visual-studio design help tutorial

  • Mac Address
    S Sri harini

    Hi, I am developing windows mobile application 5.0 using C#.Net How to find Mac Address for windows mobile device 5.0 O2_Xda_Atom ? Please help me.. Bye

    C# csharp help tutorial question

  • visual studio 2005
    S Sri harini

    I am developing application in VS2005 C#, Windows Mobile 5. Please help, I have some doubts.. 1. How to code for softkeys in Windows Mobile? 2. How to add background image? 3.If I closed the application, its still running at the background,I stop running programs also its still running,I need to remove the battery to shutdown the application.How to avoid this? 4.How to install exe file with icon/logo to Windows Mobile programs collection? I am a newbie for WM development,So, please bear with my questions. Thanks in advance

    Visual Studio csharp visual-studio help tutorial question

  • C#.Net
    S Sri harini

    I am developing application in VS2005 C#, Windows Mobile 5. Please help, I have some doubts.. 1. How to code for softkeys in Windows Mobile? 2. How to add background image? 3.If I closed the application, its still running at the background,I stop running programs also its still running,I need to remove the battery to shutdown the application.How to avoid this? 4.How to install exe file with icon/logo to Windows Mobile programs collection? I am a newbie for WM development,So, please bear with my questions. Thanks in advance

    .NET (Core and Framework) csharp help tutorial question

  • Visual studio 2005 C#.Net
    S Sri harini

    I am developing application in VS2005 C#, Windows Mobile 5. Please help, I have some doubts.. 1. How to code for softkeys in Windows Mobile? 2. How to add background image? 3.If I closed the application, its still running at the background,I stop running programs also its still running,I need to remove the battery to shutdown the application.How to avoid this? 4.How to install exe file with icon/logo to Windows Mobile programs collection? I am a newbie for WM development,So, please bear with my questions. Thanks in advance

    C# csharp visual-studio help tutorial question

  • http web exception (C#.Net)
    S Sri harini

    Hi I am trying to test with windows mobile 5.0 emulator..using C#.Net.. but myHttpWebResponse is always null.httpwebexception coming. Please anybody help me.. This is code: public static void httpRequest(string uri, bool isGetMethod) { try { Prepare web request... HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(uri); if (isGetMethod) myRequest.Method = "GET"; else { myRequest.Method = "POST"; myRequest.ContentType = "application/x-www-form-urlencoded"; Stream newStream = myRequest.GetRequestStream(); newStream.Close(); } HttpWebResponse myHttpWebResponse = (HttpWebResponse)myRequest.GetResponse(); Stream streamResponse = myHttpWebResponse.GetResponseStream(); StreamReader streamRead = new StreamReader(streamResponse); Char[] readBuffer = new Char[256]; int count = streamRead.Read(readBuffer, 0, 256); string result = ""; while (count > 0) { string resultData = new String(readBuffer, 0, count); result = result + resultData; count = streamRead.Read(readBuffer, 0, 256); } HTTPClass.resultData = result; streamRead.Close(); streamResponse.Close(); myHttpWebResponse.Close(); } catch(Exception e) { MessageBox.Show(e.Message.ToString()); } } Anybody help me.. Thanks

    C# csharp help

  • windows mobile 5.0
    S Sri harini

    Hi I am trying to test with windows mobile 5.0 emulator..using C#.Net.. but myHttpWebResponse is always null.httpwebexception coming. Please anybody help me.. This is code: public static void httpRequest(string uri, bool isGetMethod) { try { Prepare web request... HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(uri); if (isGetMethod) myRequest.Method = "GET"; else { myRequest.Method = "POST"; myRequest.ContentType = "application/x-www-form-urlencoded"; Stream newStream = myRequest.GetRequestStream(); newStream.Close(); } HttpWebResponse myHttpWebResponse = (HttpWebResponse)myRequest.GetResponse(); Stream streamResponse = myHttpWebResponse.GetResponseStream(); StreamReader streamRead = new StreamReader(streamResponse); Char[] readBuffer = new Char[256]; int count = streamRead.Read(readBuffer, 0, 256); string result = ""; while (count > 0) { string resultData = new String(readBuffer, 0, count); result = result + resultData; count = streamRead.Read(readBuffer, 0, 256); } HTTPClass.resultData = result; streamRead.Close(); streamResponse.Close(); myHttpWebResponse.Close(); } catch(Exception e) { MessageBox.Show(e.Message.ToString()); } } Anybody help me.. Thanks

    Mobile csharp help

  • Visual Studio 2005 C#.Net
    S Sri harini

    Hi, I am developing an application of windows mobile 5.0 using visual studio 2005 C#.Net.Testing with a emulator windows mobile 5.0 pocket pc Emulator.. I have one doubt, How to identify device Manufacturer(Manufacturer of client's device) and device Model(Model of client's device)using C# code? Appreciate if you can help.. Thanks

    C# csharp visual-studio testing beta-testing help

  • Windows Mobile5.0
    S Sri harini

    Hi, I am developing an application of windows mobile 5.0 using visual studio 2005 C#.Net.Testing with a emulator windows mobile 5.0 pocket pc Emulator.. I have one doubt, How to identify device Manufacturer(Manufacturer of client's device) and device Model(Model of client's device)using C# code? Appreciate if you can help.. Thanks

    Mobile csharp visual-studio testing beta-testing help

  • P2P File transfers
    S Sri harini

    Hi Sebastian We are using the following code to Read data,using TCP protocol.How to set the receive timeout option in Windows Mobile.Bcoz its throwing exception when we use SetSocketOption Method. Please advise. public void ReadData() { Byte[] buffer=null; Socket s=null; int port = threadVars.port; int chunksize=threadVars.chunksize; int cid = threadVars.cid; int fileid = threadVars.fileid; string hash = threadVars.chnkhash; readlocked = false; s=new Socket( SocketAddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); s.Bind(new IPEndPoint(IPAddr, port)); s.Listen(1); Socket actualReader = s.Accept(); NetworkStream DataStream = new NetworkStream(actualReader); int offset = 0; int bytesActuallyRead = 0; int i=0; do { i = i++; bytesActuallyRead = DataStream.Read(buffer, offset, buffer.Length - offset); offset += bytesActuallyRead; if (bytesActuallyRead == 0) { break; } Thread.Sleep(10); } while(actualReader.Connected && i<1000); parentController.SocketReadComplete(false,cid, fileid, buffer,chunksize,hash); } DataStream.Flush(); DataStream.Close(); s.Close(); } Thanks Sri harini

    C# csharp performance help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups