Type: Posts; User: dlarkin77
Search took 0.01 seconds.
March 14th, 2011, 07:51 AM
Thanks very much Arjay - I'll have a look at those articles.
March 11th, 2011, 03:24 AM
I have an application that populates a couple of generic dictionaries (via calls to a web service) when it starts up.
This works fine when there is only one instance of the application...
February 2nd, 2011, 11:03 AM
That's usually a good indication that it's already installed. Check in Control Panel to see if it is already there.
You could just let it remove the existing installation and then do a fresh...
February 2nd, 2011, 10:32 AM
You're welcome. You should mark this thread as resolved if your problem is gone.
February 2nd, 2011, 09:23 AM
A DirectoryNotFound exception is being thrown that you're not handling.
Your code is looking for a directory that doesn't exist on the machine.
So, you need to add some error handling and/or...
February 2nd, 2011, 08:46 AM
February 2nd, 2011, 08:19 AM
What error message do you get?
Is Excel installed on the machine in question?
January 27th, 2011, 09:30 AM
Try removing the call to
strline = sr.ReadLine();
that you have inside your loop
December 21st, 2010, 10:57 AM
You're going to have to show some code at this point, and provide whatever details you get at the point the program crashes.
December 20th, 2010, 10:16 AM
You need to escape the backslash before the instance name:
dataConnection.ConnectionString = "User ID = jsitz; Password= labR2o6; Data Source = DELL\\SQLEXPRESS; Initial Catalog =...
September 14th, 2010, 07:25 AM
have the loop continue while x is less than Items.Count, not less than or equal to
for (int x = 0; x < cbBanken.Items.Count; x++)
September 14th, 2010, 06:50 AM
You are telling it to write the currently selected item each time
You want it to print the item at the index specified by x
September 7th, 2010, 06:55 AM
Try replacing that -1 with a non-negative number
My problem was how I declared @UtopiaOrderNumber.
The following works fine:
DECLARE @UserID INT
SET @UserID = 1
DECLARE @UtopiaOrderNumber NVARCHAR(3)
I'm using SQL Server 2005.
I have the following SQL which is supposed to pad an integer value with leading zeros. The problem is that it prints 0 instead of 001
DECLARE @UserID INT...
You're also missing a 't' in System.EvenArgs.
It should read System.EventArgs
April 30th, 2010, 10:56 AM
public void Main()
SqlConnection conn = new SqlConnection("server=(local);Integrated Security=SSPI;database=Test");
conn.InfoMessage += new...
March 2nd, 2010, 07:04 AM
Public Shared Function GetCurrentMethodName() As String
Dim frame As New StackFrame(1, True)
Return frame.GetMethod().ReflectedType.Name & "." &...
September 5th, 2009, 05:37 AM
I'm embarrassed at how simple that is :blush:.
Thanks very much Shuja Ali.
I would rate your post but I have to spread some reputation around before I can so I'll get you sometime later.
September 4th, 2009, 10:37 AM
I'm using SQL Server 2005 and I'm having a bit of trouble with something that seems like it should be pretty simple.
I have a table with 2 fields - AccountNo and Name. Neither field has to...
September 2nd, 2009, 11:18 AM
I've changed my code so that it is more like RaleTheBlade's and it's now working fine.
Thanks very much,
September 2nd, 2009, 10:31 AM
I am using a System.Threading.Timer and I'm trying to update a form's UI each time the timer fires. When I push a button I start the timer, execute some task that takes a while to complete and...
I have a treeview with HideSelection = false - so whenever I select a node I get a visual indication by way of a grey rectangle around the node.
Is it possible to change the colour of...
March 13th, 2009, 10:50 AM
Check out this link http://blogs.msdn.com/atosah/archive/2007/05/18/disable-close-x-button-in-winforms-using-c.aspx
February 12th, 2009, 10:29 AM
That's good, glad to help.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!