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
J

joe carbone

@joe carbone
About
Posts
10
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • table like excel
    J joe carbone

    hi this is a good example http://www.codeproject.com/cs/miscctrl/csharpgridcontrol.asp regards

    C# help

  • PropertyGrid TypeConverter
    J joe carbone

    you can also create your own editor class. 1. create a new class and implement the openfiledialogeditor. override the initialize methode (this methode have 1 parameter e.g. the openfiledialog) now, in the methode you can set your own properties e.g title, filter .... 2. change the editorattribute in the property to your class [Browsable(true), Description("The filename for the destination.")] [EditorAttribute(typeof(MyNamespace.MyFileNameEditor), typeof(System.Drawing.Design.UITypeEditor))] public string FileName { get {return _FileName;} set {_FileName = Path.GetFileName(value);} }

    C# question

  • PropertyGrid TypeConverter
    J joe carbone

    Hi D this is the code: [Browsable(true), Description("The filename for destination.")] [EditorAttribute(typeof(System.Windows.Forms.Design.FileNameEditor), typeof(System.Drawing.Design.UITypeEditor))] public string FileName { get {return _FileName;} set {_FileName = Path.GetFileName(value);} }

    C# question

  • System.Windows.Form equivalent of PeekMessage()
    J joe carbone

    Hi Ravi the analog call of PeekMessage is BeginnInvoke.

    C# csharp winforms com data-structures tools

  • Closing Window
    J joe carbone

    Hi Rakesh this is a good message :-). if i can help you in other programming problems send me an email at: joe.carbone@mymail.ch Joe

    C# question

  • Closing Window
    J joe carbone

    hi rakesh smile, the only way is to find out the window handle. tray this page http://msdn.microsoft.com/vstudio/downloads/101samples/default.aspx you find 101 c# samples in a msi file. this msi file contains a sample to find out all running processes in your system. download the right file, the page contains samples for both .net 1.1 and 2.0

    C# question

  • Closing Window
    J joe carbone

    Hi Rakesh if you set CreateNoWindow = true; you can see the explorer window? if not, is difficult to close this process from code because the process don't have a window handle. the only way is to find out the window handle from the processID and then call the sendmessage function.

    C# question

  • Editable Grid
    J joe carbone

    Hi try this: (you find a complete collectionbase class that implement IBindingList, .....) http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=0B47DA60-DF5F-4A28-ABF7-6F8EB977FCFD

    C# csharp css winforms algorithms question

  • Closing Window
    J joe carbone

    Hi Rakesh the process class has a property named Handle. with this property you can use the interop function SendMessage with the parameter WM_CLOSE. example: SendMessage(Handle, WM_CLOSE, 0, 0); or use the Kill Methode of your process class.

    C# question

  • Closing Window
    J joe carbone

    Hi is the opened directory the file explorer? if yes, how you start this process, with ShellExecute or with the .NET Process class?

    C# 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