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

Search:

Type: Posts; User: Daniel1324

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Generics

    by Daniel1324
    Replies
    1
    Views
    364

    Generics

    Can you serialize generics to a disk.
  2. Replies
    2
    Views
    621

    Re: Event handling for a 144 buttons!

    You dont need to create them at runtime.

    In your Form_Load function...


    foreach (Control c in Controls)
    {
    if (typeof(c) == typeof(Button))
    c.Click += new...
  3. Replies
    2
    Views
    428

    Re: The @ symbol in front of some strings

    This is the third forum I found this question in. Why dont you post in only one, then wait to see if you get an answer, if not, then post it in another one.
  4. Replies
    3
    Views
    500

    Re: Running an EXE

    Post all of the code, including the loop.
  5. Replies
    7
    Views
    1,056

    Re: Send email in C# 2005 (.net 2.0)

    Actually it was... The System.Web namespace was deprecated in .net 2.0

    I was using that in .net 1.1. But cant use it anymore. In .net 2.0, its the new System.Net.Mail namespace.



    [edit...
  6. Replies
    7
    Views
    1,056

    Re: Send email in C# 2005 (.net 2.0)

    Is that for .net 2.0? Cause I cant find it anywhere.

    I'm using SmtpClient in .net 2.0. No static functions, no close or dispose, or flush, ect...

    [Another Edit]

    All of the different ways to...
  7. Replies
    7
    Views
    1,056

    Re: Send email in C# 2005 (.net 2.0)

    You sure that you want me to use code tags? :) jk...

    Here it is... if I send mail with it... nothing happens until I exit the program.
    Someone said that maybe the garbage collector has something...
  8. Replies
    7
    Views
    1,056

    Send email in C# 2005 (.net 2.0)

    The System.Web namespace has been deprecated in .net 2.0... So the email code I've been using no longer works.

    After some tinkering, I got the System.Net classes to send the email, however... It...
  9. Replies
    3
    Views
    753

    Re: Minimize to Systray? [VC#]

    Is there an advantage to creating the notifyicon by code as opposed to adding one from the components list?
  10. Replies
    2,687
    Views
    478,435

    View Post

    Iron Maiden - Journeyman

    Saw them last night in Columbus Ohio... Awesome!!!
  11. Replies
    2
    Views
    561

    Re: setting text in CEditView problem

    if (nChar == VK_RETURN)
    {
    GetEditCtrl().SetWindowText("This is ALWAYS displayed at 2nd line!");
    return;
    }


    Add that return in... dont process the VK_RETURN.

    When you do...
  12. Replies
    1
    Views
    411

    Help! Where's this assertion?

    Here's the code...


    void CProgramView::OnGotoButton(CString Param)
    {
    int ndex;
    CString Str, Url;

    if (Param.IsEmpty())
    {
  13. Replies
    1
    Views
    263

    Arrays without constants

    I need to define an array of CMenu's. But I really dont now how many I need, I only know this at runtime.

    I cant do this... CMenu menu[myvariable];
    Because it needs a constant.

    When I use...
  14. Thread: Static Text

    by Daniel1324
    Replies
    4
    Views
    322

    Give your static text a unique ID...

    Give your static text a unique ID (IDC_STATIC_MYTEXT)

    SetDlgItemText(IDC_STATIC_MYTEXT, "You clicked button A");
  15. Replies
    2
    Views
    428

    Thanks for the reply! I was reading through...

    Thanks for the reply!

    I was reading through MSDN and found out that AFX_CMDHANDLERINFO is NULL in OnCmdMSg is theres not an entry in the message map for whatever commandID its passing.

    I just...
  16. Replies
    2
    Views
    428

    Message Maps

    Can you modify the message map to add new 'ON_COMMAND()''s
    at runtime?
  17. Replies
    5
    Views
    372

    Ok, that worked, but another problem has popped...

    Ok, that worked, but another problem has popped up.

    I have this, which is great...
    http://www.vasr.net/Menu3.jpg

    And this...


    submenu.AppendMenu(MF_STRING, ID_GOTOADDRESS, "Goto Address");...
  18. Replies
    5
    Views
    372

    Thanks for the reply. The code I pasted works...

    Thanks for the reply.

    The code I pasted works fine. It shows the menu, I click on an item and it does what I want.

    Heres the best way to explain it...

    I have this now, it works fine......
  19. Replies
    5
    Views
    372

    Adding sub menus to a menu

    Heres what I have...


    {
    CMenu menu;

    menu.CreatePopupMenu();

    for (int x = 0; x < ndex; x++)
    {
  20. Replies
    1
    Views
    335

    Dont use "\n\r", use "\r\n". With the \r first.

    Dont use "\n\r", use "\r\n". With the \r first.
  21. Replies
    1
    Views
    351

    Suspend Program Execution

    I have an SDI app that uses an ini file to store settings. The user has the option to manually edit the ini file from my program, which is done through notepad. What I want to do is suspend execution...
  22. Replies
    2
    Views
    1,349

    Popup menu pops up in wrong place

    I derived a class from CListBox. In that class I added a handler for the right mouse button. When I click the right button, the menu pops up on my desktop. I know why its doing this, because the...
  23. Replies
    2
    Views
    315

    To build an app of that scope, I'd recommend a...

    To build an app of that scope, I'd recommend a programming class. Or at least some good books.
  24. Replies
    0
    Views
    320

    Download a web page

    Whats the easiest way to download a web page. I dont want to view it. I just want to download to my desktop for example, then I will process it.

    Like, for instance, I want to download...
  25. Replies
    6
    Views
    452

    Are you sure that you set it to link statically...

    Are you sure that you set it to link statically in release mode also?
Results 1 to 25 of 68
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center