 |
|
 |
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid..
cheers, Chris Maunder
The Code Project Co-founder Microsoft C++ MVP
|
| Sign In·View Thread·PermaLink | 4.33/5 |
|
|
|
 |
|
 |
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers, Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
| Sign In·View Thread·PermaLink | 3.95/5 |
|
|
|
 |
|
 |
Hi!
I have a TextBox with a Button and a ListBox. I will type in an email address and click the button and the email address will be added to the listbox. Simple enough.
My question is this:
How would I go about serializing the ITEMS in the ListBox to an XML file? I know how to create the XML file using the SOAPFormatter but I only serialize the first item in the listbox. I need to serialize all of the items in the listbox.
Thank you!
Illegal Operation
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, I am working on retrieving emails from mail servers(like gmail,etc..) using pop3 and imap. I need to know, is there any other way to do this without using these protocols.
Thank you.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
...is this possible? how do you add userdefined properties to the dgv unbound column properties designer.
i want to add a user defined properties on the unbound columns settings that can be set during design time
Life - Dreams = Job
TheCardinal BenPOS Systems
modified on Sunday, November 22, 2009 11:24 PM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi All,
How can i open existing excel sheet using C# code.
For ex :In my C: directory i have xl book.i want to open and write some value.I have used below code but its giving error.am using office 2007.
string workbookPath = "c:/SomeWorkBook.xls"; Excel.Workbook excelWorkbook = excelApp.Workbooks.Open(workbookPath, 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false);
Thanks, Mohan.T
Mohan T
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
hello all, i need to add to my app a panel that will contain a display of files like .pdf .doc .txt. from my disk in other words i want to have a preview of a file after i'm standing on a file name in an open file dialog. thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
Does anybody can explain or share a link which will explain how to add a Bing Maps into a standalone C# program?
Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
I'm working on a Service in C# that will be run on Windows and on Linux. On Linux you store app config in /etc, but on Windows XP it's "C:\Document and Settings\{USERNAME}\Local Settings\Application Data". How would I go about getting those file paths without having to worry about platform detection?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I use Iris Skin for change my program's form's skin but every time that I execute my program show me a messageBox and says you should register how can I delete this messageBox ?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi I use flowlayoutpanel in my form and i put a button in my flowlayoutpanel and i want to change button location in code but the location of my button doesn't change ! What should i do? This is my code : button1.location=new point(300,400);
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
From the doc: "The FlowLayoutPanel control arranges its contents in a horizontal or vertical flow direction...", so you have limited say about it. Depending on what it is you want, you might get it by adding a Panel of some Size, then add the Button to that Panel. That will allow you to choose where on the Panel the Button is, however the FLP will decide for you where the Panel goes.
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
hi in a project i saw a code that let a user to choose the camera i dont want to let them do this how can i here is the code:
foundID = System.Reflection.Missing.Value; wiaCamera = (ItemClass) wiaManager.Create( ref foundID );
thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
How Can I change skin's form in C# win Application ? please give me project
modified on Sunday, November 22, 2009 11:44 AM
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
SajjadZare wrote: How Can I change skin's form in C# win Application ?
What exactly do you want to change, background, foreground, etc?
SajjadZare wrote: please give me project
If you need a complete solution then search the articles section.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
kindly let me know that, how may I split following text into strArray1?
string[] strArray1;
"0000061050","APPLE","500","17.69","20091122","14:15:17"
Thank you in Advance (Riaz)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
M Riaz Bashir wrote: string[] strArray1; "0000061050","APPLE","500","17.69","20091122","14:15:17"
This already looks like an array, are you sure you are asking the right question?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
M Riaz Bashir wrote: but when I try to split it, it gives me following answer with slashes
"\"0000061050\"\"APPLE\""
I am afraid this is not a very good explanation. Can you post the actual code that you use, showing the results that you are getting.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Trust us, if you have:
string inString = "1234,5223,Apple,Bank"; string[] bits = s.Split(','); foreach(string s in bits) { Console.WriteLine(s); } You will see it works! The extra slashes you can see in the debugger are confusing, but they are only there to "escape" the double quote characters - just as you would type them into a string. You will get used to it eventually, everyone does!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
"Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |