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
T

t_nedelchev

@t_nedelchev
About
Posts
31
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • array of function
    T t_nedelchev

    can you write me a sample how to define Function1 , Function2 , Function3

    C# csharp data-structures tutorial question

  • array of function
    T t_nedelchev

    Hello everybody. My project is C# project and I want to make an array of function.Is this possible and how to make it? Thanks in advance

    C# csharp data-structures tutorial question

  • chech box
    T t_nedelchev

    Hello everybody How to change a size of box on checkBox control? thanks in advance

    C# tutorial question

  • Serial port communication
    T t_nedelchev

    Thanks DaveyM69 and sorry to loosing your time.In this moment nothing help.Now I will relax and try again later to decide the problem Thanks for all

    C# question csharp com

  • Serial port communication
    T t_nedelchev

    The problem is when I unplug the USB converter from PC and COM Port is disapear any tring of using a method of instance of serial port generate exception i.e. I can't use Sp.Dispose() or SP.Close();

    C# question csharp com

  • Serial port communication
    T t_nedelchev

    Thanks DaveyM69 I try to do this protected override void OnClosing(CancelEventArgs e) { try { sp.Close(); } catch { int probe = 33; } } In this case there is no exception when close the program but the program is stoped on the breakpoint in the catch. There is something interesting.When I start the program again the all window is white for a 2 or 3 seconds and then starts normaly.

    C# question csharp com

  • Serial port communication
    T t_nedelchev

    thanks for an answer I try to do this try { sp.Write(TxBuf, 0, (k + 2 + ofs)); } catch { FL_Connected = false; MessageBox.Show("Message"); } And it works.But when I close the program it generate the same exception(Access to the port is denied)

    C# question csharp com

  • Serial Port communication
    T t_nedelchev

    Hello everybody My project is a C# project on VS2005. My application communicate with external device through Serial Port.I'm using USB to RS converter whitch add another COM Port in my computer.When I connect with device through this COM Port(transmit and receive data) everythink is OK.When unplug the USB cable from PC COM Port is still open and I try to transmit data the program is generate exception(Access to the Port is denied).How can I detect when the COM Port is disappear? Thanks in advance

    C# question csharp com

  • Serial port communication
    T t_nedelchev

    Sorry but it doesn't works. My code is if (sp.IsOpen) { sp.Write(TxBuf, 0, (k + 2 + ofs)); } else { FL_Connected = false; MessageBox.Show("Message"); } When I unplug USB cable (Converter) from my computer the COM Port is still yet open but when the program try to write data to serial port it's generate exception "Access to the Port is denied"

    C# question csharp com

  • Serial port communication
    T t_nedelchev

    Hello everybody My project is a C# project on VS2005. My application communicate with external device through Serial Port.I'm using USB to RS convertor whitch add another COM Port in my computer.When I connect with device through this COM Port(transmit and receive data) everythink is OK.When unplug the USB cable from PC and I try to transmit data the program is generate exeption.How can I detect when the COM Port is disappear? Thanks in advance

    C# question csharp com

  • Short Keys
    T t_nedelchev

    Thanks DaveyM69 it works!!! :)

    C# question

  • Key pressed
    T t_nedelchev

    Hello every body. My project is C# project on VS2005 .net How can I catch a key pressed but not like event for a Form , tabControl and other component, for all program.For exapmle: If my program is started and is pressed keys like F1,F2,F3... and etc. I want to make some function on this Keys pressed. Thanks for all in advance.

    C# csharp question

  • Short Keys
    T t_nedelchev

    Hello every body. How can I catch Key press but not like event for a Form or other component. For exapmle: if my program is started end is presed keys F1,F2,... and etc. I want to catch this Keys presed. Thanks for all.

    C# question

  • dataGridView
    T t_nedelchev

    Thank you it works !!!

    C# csharp tutorial question

  • dataGridView
    T t_nedelchev

    Hello everybody. In my C# project I have a dataGridView with 12 Columns and 16 Rows. Propertie ColumnHeadersVisible is set true; How to enter value(text) into Cell between Row headers and Column headers (Cell in Topleft corner) in my dataGridView? Thanks in advance.

    C# csharp tutorial question

  • dataGridView
    T t_nedelchev

    Yes I know how to set column Headers text. But propertie RowHeadersVisible for my dataGridView is set to true. And I want to set for all rows header text.Is this possible?

    C# question csharp

  • dataGridView
    T t_nedelchev

    Hello everybody. In my C# project I use dataGridView. How can I set a row headers text? Thanks in advance.

    C# question csharp

  • moving ellipse
    T t_nedelchev

    It's my last question. :) The effect is the same when in timer tick I make dataGridView1.Refresh(); Byt my dataGridView1 blink every timer tick

    C# csharp question

  • moving ellipse
    T t_nedelchev

    I'm so sorry but something wrong. I try this any times today. Is there something else in timer tick except to update X and Y value and to Invalidate().Because my dataGridView is repainted only when over it move another window. Sorry but I'm beginer.

    C# csharp question

  • moving ellipse
    T t_nedelchev

    Hi Can you send me a sample code how can I do this in paint handler X and Y is updated in timer tick at 100ms.

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