- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
14 Posted Topics
I'm taking data from an xml file and when using the entity framework to add that data to my database I'm getting a System.Data.UpdateException. It is caused by a primary key violation, which for the data I'm entering is possible. I'm handling the exception and moving on but I would … | |
I found this nifty piece of code online that lets me draw on a form. [CODE] protected override void OnMouseMove(MouseEventArgs e) { g = CreateGraphics(); g.SmoothingMode = SmoothingMode.AntiAlias; p = new Pen(Color.Black); if (lastPoint.Equals(Point.Empty)) lastPoint = new Point(e.X, e.Y); if (mouseDown) { Point pMousePos = new Point(e.X, e.Y); g.DrawLine(p, pMousePos, … | |
Does anyone have a way to change the background color of every other row in a table with xsl-fo. I'm using nFOP to create pdf's and have accomplished most everything I've needed but would like to have say every other row have a light gray background. If I statically set … | |
We have an app that uses a sqlexpress db. We need our customers to be able to swap the database for this app out for another sqlexpress db fairly easily. So we came up with a small launcher app that allows them to choose the db they want from a … | |
I once read an article that had 10 basic programs you should write anytime you are learning a new language. I had it saved somewhere but unfortunately I cannot find it. If anyone else has seen this article or one like it and can point me in the right direction … | |
I'm stuck on checking a set of lists to see if they have values. I have 8 lists that are created in my program and I need to check if the lists have any values at all. If all 8 lists return values I want to return true. If any … | |
Re: Yes timers do work indepently. Each timer you create has a tick event and whatever code you place there will run when the interval expires. I found when using timer in recent project that the timer control from the toolbox in VS did not work for some reason. I had … | |
Re: It looks like you tried to initialize Send but you did not declare it. Try this. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Threading; namespace WindowsFormsApplication1 { public partial class Form1 : Form { bool Send; public Form1() { InitializeComponent(); … | |
I finally figured out how to use the settings.settings file to create user settings that would persist when reopening my application. I have several text boxes that once completed by the user I would like to retain their data when the app is reopened. This part now works, unfortunately a … | |
OS: Winows XP Pro SP3 Software: Outlook 2007 / Outlook 2002 We are having a problem opening tasks in Outlook. We just started using Outlook as our task management software and not being able to open task requests is causing us lots of problems. We recently upgraded half of our … | |
I'm a bit confused of the usage of the += operator. I understand that it is a compound operator that is used to both add and assign. However I've seen it used in the following manner. Class objectVar += new Class what is different about that vs Class objectVar = … | |
I need to populate an array with the items a user has selected in a listbox. Example: Listbox contains A, B, C, D, E User selects B, D, E create an array containing B, D, E What method would I use to do this? I've found plenty of info for … | |
Name: Cory Nickname: Keebler, or Keep, some call me Downtown Location: WV Age: 29 Hobbies: Playing music, Movies, Reading (anything I can get my hands on), Gaming of all kinds (console, pc, ccg's and tabletop rp), Watching MMA. Relationship Status: Married Fav Music: I like it all from Heavy Metal … | |
Thank you in advance for any help here. This is my first post and I will try to phrase what I am thinking. I am trying to validate the entry of a field based on entry in a second field. If field "A" has value 1, 2, or 3 then … |
The End.