Type: Posts; User: Daniel1324
Search took 0.02 seconds.
November 26th, 2005, 09:24 PM
Can you serialize generics to a disk.
October 30th, 2005, 02:22 PM
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...
September 4th, 2005, 10:46 AM
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.
September 1st, 2005, 07:12 AM
Post all of the code, including the loop.
August 24th, 2005, 07:27 PM
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.
August 24th, 2005, 07:14 PM
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...
All of the different ways to...
August 24th, 2005, 06:40 PM
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...
August 24th, 2005, 04:31 PM
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...
August 21st, 2005, 07:39 PM
Is there an advantage to creating the notifyicon by code as opposed to adding one from the components list?
August 3rd, 2005, 10:43 PM
Iron Maiden - Journeyman
Saw them last night in Columbus Ohio... Awesome!!!
November 30th, 2004, 11:23 AM
if (nChar == VK_RETURN)
GetEditCtrl().SetWindowText("This is ALWAYS displayed at 2nd line!");
Add that return in... dont process the VK_RETURN.
When you do...
Here's the code...
void CProgramView::OnGotoButton(CString Param)
CString Str, Url;
March 27th, 2004, 11:22 PM
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...
March 24th, 2004, 09:43 PM
Give your static text a unique ID (IDC_STATIC_MYTEXT)
SetDlgItemText(IDC_STATIC_MYTEXT, "You clicked button A");
March 21st, 2004, 02:48 PM
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.
March 21st, 2004, 08:27 AM
Can you modify the message map to add new 'ON_COMMAND()''s
March 20th, 2004, 11:18 PM
Ok, that worked, but another problem has popped up.
I have this, which is great...
submenu.AppendMenu(MF_STRING, ID_GOTOADDRESS, "Goto Address");...
March 20th, 2004, 09:21 PM
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......
March 20th, 2004, 02:35 PM
Heres what I have...
for (int x = 0; x < ndex; x++)
March 4th, 2004, 09:06 PM
Dont use "\n\r", use "\r\n". With the \r first.
January 24th, 2004, 10:19 PM
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...
January 18th, 2004, 05:47 PM
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...
January 16th, 2004, 11:57 PM
To build an app of that scope, I'd recommend a programming class. Or at least some good books.
January 11th, 2004, 08:04 PM
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...
December 30th, 2003, 06:19 PM
Are you sure that you set it to link statically in release mode also?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.