User Profile
Collapse
-
.NET is @ 3.5... I actually do use thirdparty controls, but I think I did include all the DLL's into the installer. I will double check that later today and post if I had any luck... -
no there is no additional details... and that’s my problem...
I use VS2008 running on vista, when I try to install the software on a Win XP station It comes up with this error straight away... what I’m really asking is - is there a way to catch a FileNotFoundExc eption before anything else is happening so I could get a rough idea of what file it might be looking for?Leave a comment:
-
System.IO.FileNotFoundException
Hi,
When I try to run my program I get this error message:
Now, I don't try to read any files on purpose so I cannot insert a catch statement. Is there any other way to find out what file it tries to read?... -
-
Count Checked Checkboxes in List
Hi,
I have the following code
Code:int countCheckState = 0 for (int i = 0; i < CheckboxList.Count; i++) { if (CheckboxList[i].Checked) countCheckState++ if (countCheckState == 0) { MessegeBox.Show("select any checkbox"); return; } }
Now, the code checks only the first checkbox and ignores... -
OK, found the answer myself....
Code:IF (SELECT COUNT(Line) FROM Equipment WHERE Department = @Department) = 0 BEGIN SELECT DISTINCT EquipmentNumber FROM Equipment WHERE Department = @Department END ELSE BEGIN SELECT DISTINCT Line FROM Equipment WHERE Department = @Department END
Leave a comment:
-
ELSE IF statements
Hi I have a stored procedure which returns DBNULL if "Line" is empty rather than returning "EquipmentNumbe r":
...Code:ALTER PROCEDURE [dbo].[sp_get_distinct_lines] @Department varchar(50) AS IF EXISTS (SELECT Line FROM Equipment WHERE Department = @Department) SELECT DISTINCT Line FROM Equipment WHERE Department = @Department ELSE
-
ELSE IF statements
Hi I have a stored procedure which returns DBNULL if "Line" is empty rather than returning EquipmentNumber :
Error messege "Unable...Code:IF EXISTS (SELECT Line FROM Equipment WHERE Department = @Department) SELECT DISTINCT Line FROM Equipment WHERE Department = @Department ELSE SELECT DISTINCT EquipmentNumber FROM Equipment WHERE Department = @Department
-
Many Thanks!
That's exactly what I was searching for! And it helped me to find an error as well, which was causing the software to run slow. (i'm using the List function)Leave a comment:
-
The problem is that those controls are created on button click from a different control. see line 47-51.
...Code:private void barbuttonSMT_ItemClick(object sender, ItemClickEventArgs e) { createControls(sender, e); } public void createControls(object sender, EventArgs e) { .../Leave a comment:
-
Checkbox EventHandler
Hi,
I am creating dynamic checkboxes which should have an eventhandler attached to the submitButton. What I mean is while I’m changing state (check / uncheck) nothing should be happening but when I press the submitButton it should read all the checkboxes state and text.
Thx.
...Code:SimpleButton submitButton = new SimpleButton(); submitButton.Location = new System.Drawing.Point(292,
No activity results to display
Show More
Leave a comment: