- Strength to Increase Rep
- +12
- Strength to Decrease Rep
- -3
- Upvotes Received
- 113
- Posts with Upvotes
- 97
- Upvoting Members
- 45
- Downvotes Received
- 6
- Posts with Downvotes
- 6
- Downvoting Members
- 5
Re: Maybe something useful in this information: [URL="http://msdn.microsoft.com/en-us/library/ms817849.aspx"]System.DirectoryServices Using Guide[/URL] | |
Re: Hey buddy, I tried to change the parameters (InputData form): Gravity(5) and Height(.5) and got an exception... I tried it with other parameters before that though and it's kind of cool! EDIT: P.S. I noticed this snippet this morning, but didn't have time to download and play with it. Anyway … | |
Demonstrates using .NET Remoting to broadcast to client subscribers. There are three parts: 1) Server.cs - for console app responsible for broadcasting messages (date/time stamp currently) 2) Client.cs - for console app that registers with server to subscribe to broadcasts 3) Agent.cs - class library that facilitates/eposes the interfaces for … | |
Re: [QUOTE=steven.culshaw;952514]I get the following message "Operation can only be performed on cells that belong to a DataGridView control" [/QUOTE] Compiling or at runtime? What line produces the error? | |
Re: Try Google'ing: [URL="http://www.google.com/search?hl=en&rlz=1C1CHMR_enUS325US325&q=example+of+exporting+database+table+to+Excel+using+C%23&aq=f&oq=&aqi="]Search Results[/URL] | |
Re: Out of curiosity, was this grid dragged from a Data Source? Also, though maybe not your preference, I believe you could prevent this from reoccurring if you transfer the form.designer.cs code to your form.cs. You can do this in increments as you are modifying the grid. This way, the designer … | |
Re: Post your code... Be sure to enclose in code tags. | |
Re: [QUOTE=jatin24;959600]I've tried using ConnectionInfo for the report and for the tables etc in the code but it doesn't work.. Please help!![/QUOTE] You are on the right track. Post the code you are using for your ConnectionInfo so we can see what's missing. | |
Re: Maybe I have read this code wrong, but it looks to me like you are looping and copying all of the files if one of them matches (> 3 days), and that you are doing it each time one of them matches, essentially redundant. Did you mean for both of … | |
Re: Hello ajijcobm, I am bored so I decided to look up this subject (cause I have never personally done it before). Anyway, here are some links I thought might get you started: [URL="http://www.xml.com/pub/a/2002/10/23/ado-net.html"]XML and Database Mapping in .NET[/URL] [URL="http://www.codeproject.com/KB/database/xmlschemaeditor.aspx"]An XML Database Schema And Data Editor[/URL] [URL="http://www.codeproject.com/KB/XML/CreateXMLDB.aspx"]Create Data Classes[/URL] Hope that … | |
Re: I've been catching up on this thread and I am only on page 34, but haven't seen this one yet and thought you might enjoy it. It's supposedly from an actual support conversation with Word Perfect years ago, which is when I ran into it too--man I feel old--LOL. Here … | |
Re: Hi glado24! Got here as fast as I could... Now, did you need the complete application with documention and help files attached or just the MySQL database-wrapper interface library?--just kidding--:D If you search the forum, you should find many examples of what you are asking for, and even some threads … | |
Re: Try this: [code=csharp] // TO USE: // 1) include COM reference to Microsoft Excel Object library // add namespace... // 2) using Excel = Microsoft.Office.Interop.Excel; private static void Excel_FromDataTable(DataTable dt) { // Create an Excel object and add workbook... Excel.ApplicationClass excel = new Excel.ApplicationClass(); Excel.Workbook workbook = excel.Application.Workbooks.Add(true); // true … | |
Re: Also take a gander at this similar discussion for other techniques for accomplishing your goal: [URL="http://www.daniweb.com/forums/thread241075.html"]http://www.daniweb.com/forums/thread241075.html[/URL] | |
Re: For lazy's eyes only: [URL="http://msdn.microsoft.com/en-us/library/system.io.directory.getcurrentdirectory(VS.71).aspx"]get working directory[/URL] | |
Re: Does this label1.Text need to be updated after each key stroke in the TextBox, or can it be updated after user has finished editing? | |
Re: "Careful Jim": [URL="http://kaisar-haque.blogspot.com/2008/07/c-accessing-virtual-table.html"]http://kaisar-haque.blogspot.com/2008/07/c-accessing-virtual-table.html[/URL] | |
Re: [QUOTE=Diamonddrake;981945]when you need a messagebox, you just call a static method to show it. ex. [code] System.Windows.Forms.MessageBox.Show("some message"); [/code][/QUOTE] I know this is solved, but I just wanted to add that I often use static methods to test out a class I have written: eg. [icode]public static void Test()[/icode], then … | |
Re: [QUOTE=swatkat;154689]Hi, This Microsoft Technet page has some cool information to do just about anything in Windows XP. Take a look here:- [url]http://www.microsoft.com/technet/itsolutions/howto/winxphow.mspx[/url][/QUOTE] This link appears to no longer be valid. | |
Re: [QUOTE=ddanbe;985912]Don't know what "print them in CM " is. Take into account that dpi(dots per inch) on the screen almost always differs from the dpi on a printer.[/QUOTE] I think he/she is referring to centimeters, but I suppose it could mean color monitor. AcronymFinder.com didn't have either of those for … | |
Re: It's not working when I check myself--always enters [icode]if (isonval == "00")[/icode]. My profile is not hidden. Is there another setting I need to check? | |
Re: When does this error happen? Are you catching the MySqlException? [code=csharp] private static string BuildConnectionStr(string server, string db, string user, string pwd) { return string.Format(connParams, server, db, user, pwd); } const string connParams = "Data Source={0};;database={1};username={2};password={3}"; public static MySqlConnection MySqlConnectionExample() { string server = "LOCALHOST";// if local machine... string database … | |
Re: You could store all the numeric semantics in a dictionary and then recursively call a translator method (as needed) that whittles it down from most significant to least signicant digits... For example: [code=csharp] Dictionary<uint, string> lookupWord = new Dictionary<uint, string>(); public void Init() { lookupWord.Add(0, "siro"); lookupWord.Add(1, "uno"); lookupWord.Add(2, "dos"); … | |
Re: Here is a link to fairly good article on creating a custom UserControl for a ProgressBar: [URL="http://support.microsoft.com/kb/323116"]http://support.microsoft.com/kb/323116[/URL] It's straightforward and I like the way the introduction gives a clear depiction of the usage as well as the step-by-step approach to creating it in VS. | |
Re: Hi emclomdon, For your "Input string was not in a correct format" error, consider using [icode]double.TryParse(...)[/icode], which will allow you to catch null/invalid values and assign them accordingly as zero. Also consider assigning default values and filtering the input if you have not already. For your DateTimePicker, the [icode]MinDate[/icode] and … | |
Re: When posting to Daniweb, try to be more specific with your question(s). Your post is very vague and doesn't really ask a question. If you have began coding and cannot get something specific to work, post (use CODE tags) the portion of code in question and indicate the error you … | |
Re: [QUOTE=getkiran1;980622]See.. i dnt need the path of my C# application.... i need the full path of the other running processess... suppose if i opened a text file or a word file then since my C# application is working in background , this pgm must get the path of the opened … | |
Re: [QUOTE=VibhorG;1000473]I want to ask one thing ....... that i want to set a feature in my application such that after a particular period of time my application should automatically block.....And my application once installed, than should not be installed on other computer........? Just tell me how to do this? Do … | |
Re: See if this is helpful: [url]http://www.codeproject.com/KB/IP/devangpro.aspx[/url] |