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

Search:

Type: Posts; User: IAmChris

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    534

    threads and forms

    a quick question,

    is it true that only the main process thread can be used to create new forms? When i try to use another thread (such as the thread used by an event handler in another non-form...
  2. Sorry if I'm way off course here but I'm still...

    Sorry if I'm way off course here but I'm still pretty new to C# and managed code. Could you use something like TlbImp.exe to convert the unmanaged DLL into a CLR assembly? It may take care of your...
  3. Replies
    2
    Views
    746

    Not really sure, but your could use the...

    Not really sure, but your could use the FillSchema() method of the DataAdapter class to create a table in a dataset, then go through each column in the newly created table. Using this you can also...
  4. Replies
    0
    Views
    567

    Not easy - Events, Threads and Forms

    Hi all,

    I'm writing an Instant Messaging application that uses multiple objects called conversation, each referencing multiple connection objects. Each connection object has a network stream to...
  5. Replies
    1
    Views
    696

    When to use 'using' and aliases

    What's the difference between

    using (SqlConnection cn = new SqlConnection(ConnString))
    {
    cn.Open();
    //Call a method passing cn as a parameter.
    }

    and
  6. Replies
    1
    Views
    976

    Hi If you set the connectionTimeout to 0 that...

    Hi
    If you set the connectionTimeout to 0 that should solve it for you. Setting it 0 means it will never timeout.

    SqlConnection conn = new SqlConnection();
    conn.ConnectionTimeout = 0;
    ...
    ...
  7. Replies
    2
    Views
    918

    command line params in a windows app

    Hi all,

    I want to build a windows app that launches as normal when the user double clicks the shortcut but when launching the app from DOS or from Start-Run they can enter command line params for...
  8. Replies
    2
    Views
    3,034

    Constructor to cancel object creation

    Hi,

    I have a constructor like the one below that searches the DB for a company with the id and fills the object properties if the record is found. The problem is that if the record is not found...
  9. Replies
    2
    Views
    1,120

    SOLVED - Multiple projects in a solution

    Thanks very much. I figured it must have been easy but couldn't seem to figure it out.

    Interestingly, I found that under the Project tab the class library project was there already. I guess...
  10. Replies
    2
    Views
    1,120

    Multiple projects in a solution

    Hello All,

    I am building a solution with two projects; a class library and a windows app that uses the library. How can I make objects of a class in the library from the windows app? I have...
  11. Replies
    0
    Views
    521

    Vectors vs ADO.NET

    This may sound like a stupid question, but I'm VERY new to C++ and .NET and so figure I'm allowed to ask them, for now...

    It seems that ADO.NET datasets (with relationships between the tables) can...
  12. Replies
    7
    Views
    1,036

    Thanks

    Thanks guys, your answers have given me alot to think about!!
  13. Replies
    7
    Views
    1,036

    cmd line params with a windows app

    Hi all,

    I think this may be quite easy but I'm very new to C++ and so am still trying to get my head around everything. If I had a windows application and wanted to be able to run the app from...
  14. Replies
    5
    Views
    605

    Simple MDI question for VB.Net

    Thanks for that newvisva, that's exactly what I was after. Once I read your answer I couldn't believe that I hadn't thought of that myself.

    Thanks again

    Chris
  15. Replies
    5
    Views
    605

    Simple MDI question for VB.NET

    Thanks for the prompt reply. I'm using VB.NET not VB 6 so there is no Project - <Project Name> Properties menu item. I have looked for a Sub Main() proc as I thought this was where all VB.NET apps...
  16. Replies
    5
    Views
    605

    Simple MDI question for VB.NET

    Hello all,

    I have created a data-entry form in VB.NET and have now decided to make it a child form in a MDI environment. So I have added a new form and changed the isMDIContainer property to...
  17. Replies
    2
    Views
    705

    Yes, that'll do, thanks for that.

    Yes, that'll do, thanks for that.
  18. Replies
    2
    Views
    705

    Converting to HEX and binary

    Hello all, I want to build a really simple converter between a number, the binary value and HEX value.
    I found a HEX and HEX$ function in the object browser but it doesn't want to work, it says...
Results 1 to 18 of 18





Click Here to Expand Forum to Full Width

Featured