CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: daffodils180

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Communication between PC and hardware

    Hi all,

    I have a device (the hardware) which communicates with the PC(the software) through udp socket. Communication between PC and hardware i.e the requests and responses are recevied...
  2. Replies
    0
    Views
    2,383

    Exception: LoaderLock was detected

    Hi,

    Sometimes while executing my application, i am getting the following exception

    LoaderLock was detected
    Message: Attempting managed execution inside OS Loader lock. Do not attempt to run...
  3. Replies
    0
    Views
    531

    DataGridView

    Hi All,
    I have 3 windows forms control library applications, one class library and one windows forms application (main application) from which the application is launched. All the 3 windows forms...
  4. writing data to a file with streamwriter

    Hi all,

    I have to write some data to a text file on click of a checkbox. The code is as follows:

    if (checkBox1.Checked == true)
    {
    string filePath = @"C:\Temp\LogFile.text";
    ...
  5. Re: Adding rows to datagridview programatically

    Hi,

    I created a datarow, and added it to the respective dataset.......it works fine :)
  6. [RESOLVED] Adding rows to datagridview programatically

    Hi all,

    Could someone tell me how to add rows to a datagridview programatically. This datagridview is already bounded to a table containing one row present in the SQL server (i.e the...
  7. Losing data on click of any cell in datagridview :(

    Hi all,

    I have a datagridview which is attached to a table having one empty row which is created in SQL server management studio express - 2005. On satisfying some condition i would fill the...
  8. Re: Not listing all devices in the network + UdpClient

    Hi,

    m_IPAddress is set to Ip "10.99.9.100" as shown below:
    IPAddress m_IPAddress = IPAddress.Parse("10.99.9.100");

    The callback code is as follows: structUpdateData is a structure inside...
  9. Not listing all devices in the network + UdpClient

    Hi all,

    In my application i have used UdpClient class to make the socket connection between the PC and the device. On Click of button1 a request is sent to the device via the udp socket to...
  10. Replies
    4
    Views
    947

    Re: DataGridView

    Just to explain it better:

    1) I have a datagridview in my application and i am creating a table say "login" table in Microsoft SQL server management studio express.
    2) I am binding the table...
  11. Replies
    15
    Views
    1,954

    Re: Closing an Application

    Tried with some of these solutions, it worked!!! Thanks for the help
  12. Replies
    4
    Views
    947

    Re: DataGridView

    Is there no clue regarding this???
  13. Replies
    4
    Views
    947

    DataGridView

    Hello Everyone,

    I have used datagridview in my application, to which i bind the table from MS SQL sever management studio express - 2005 in the Load() function in the following method:
    ...
  14. Replies
    15
    Views
    1,954

    [RESOLVED] Closing an Application

    Hi all,

    I am using threads and socket in my application(WindowsFormsApplication). When i try to close the application from the close button in the title bar, the UI closes, but the application...
  15. Replies
    2
    Views
    1,032

    IPAddress Control

    Hi All,

    I need an IP-Address control in my application, for which i tried to download one from...
  16. Re: Exception: Collection was modified after the enumerator was instantiated ???

    Thanks this info was useful :) i used lock on the queue which was triggered by two threads and it worked!!!
  17. Re: Exception: Collection was modified after the enumerator was instantiated ???

    Could u plz tell me how i could proceed, meaning will using lock help??
  18. Exception: Collection was modified after the enumerator was instantiated ???

    Hi all,

    I have a onReceive() function in my code in which i get data from the socket. This data received is put into a structure called 'stUpdateData' which inturn is put into a queue. (This...
  19. Event handler is being called more than once???

    Hi,

    I am using event-delegate pattern in the project to update the UI, when some data is received on the udp port. Each tabpage has 4 buttons on click of each button a request is sent to the...
  20. Replies
    8
    Views
    1,015

    Re: Events and Delegates

    Hi,

    This is the code of event handler where i'm trying to add some string value into the listbox

    public void Update(int type, int length, byte[] data)
    {
    byte first =...
  21. Replies
    8
    Views
    1,015

    Re: Events and Delegates

    The InvokeRequired property in my event handler is returning false, so how could i proceed???
  22. Replies
    8
    Views
    1,015

    Re: Events and Delegates

    I have not used threads in my application for now, to expalin it better i have tried to use simple delegate-event concept as follows:

    1) I have a 'ClassLibrary1' wherein i declare a delegate type...
  23. Replies
    8
    Views
    1,015

    Events and Delegates

    Hi,

    I'm using events and delegates to notify whenever some data arrives on the udp port. i.e when the data arrives on the port all the event handlers wiil be called. The problem is that i'm not...
  24. Replies
    1
    Views
    1,919

    Not Receiving any data on udp port

    Hi all,

    I have a class UDPSocket inherited from .Net class 'UdpClient', Its code is as follows:

    class UDPSocket : UdpClient
    {
    public UDPSocket()
    { }

    public...
  25. Replies
    3
    Views
    798

    Re: Base class library

    Could you plz explain it further with an example :)
Results 1 to 25 of 30
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured