Click here to Skip to main content
15,921,697 members
Home / Discussions / C#
   

C#

 
GeneralRe: Last Row in Data Grid Pin
quiteSmart1-Nov-06 22:03
quiteSmart1-Nov-06 22:03 
GeneralRe: Last Row in Data Grid Pin
MJay1-Nov-06 22:09
MJay1-Nov-06 22:09 
GeneralRe: Last Row in Data Grid Pin
quiteSmart1-Nov-06 22:13
quiteSmart1-Nov-06 22:13 
GeneralRe: Last Row in Data Grid Pin
quiteSmart1-Nov-06 22:40
quiteSmart1-Nov-06 22:40 
AnswerRe: Last Row in Data Grid Pin
Tamimi - Code1-Nov-06 22:30
Tamimi - Code1-Nov-06 22:30 
GeneralRe: Last Row in Data Grid Pin
MJay1-Nov-06 22:34
MJay1-Nov-06 22:34 
GeneralRe: Last Row in Data Grid Pin
Tamimi - Code1-Nov-06 22:52
Tamimi - Code1-Nov-06 22:52 
Questionimage displaying on a form in treeview..an fileload error Pin
shaz jazz1-Nov-06 20:49
shaz jazz1-Nov-06 20:49 
i am using a treeView control in which i want to display image against its every node. the images are placed in project directiory's \bin\release folder. now the tree is popupulated when the form is loaded i.e the statements of populating the tree are after calling
InitializeComponent();
in the constructor of new form. at first time when i come 2 this form (calling it against the NEXT button of a prevous form) then no problems occur and the images are loaded without any complication but when i go back to a previous form and come back to this form through same path and using same NEXT button then fileNotFound exeception occurs at this line

Image img = Image.FromFile("pic1.jpg");

but previously images were displayed successfully...!
i am facing same problem when i rightclick and create a contextMenu against a node. images are displayed against each optin of contextMenu successfully at first but when i click some option of contextMenu then work n then rightclick same node then the same exeception fileNotFound occurs(while populating ContextMenu) at same sort of lines...

further more if i am debugging the project then these fileNotFoundException occurs even for the first time when i populate the tree.but when i run the project no error comes for the first time and the images are loaded successfully....but only for first time..!

i canot understand where the problem lies??


May God help u solv ur problems as well,thx in advance!!

QuestionHow do I enforce a program by another program Pin
belonger1-Nov-06 20:39
belonger1-Nov-06 20:39 
AnswerRe: How do I enforce a program by another program [modified] Pin
quiteSmart1-Nov-06 20:43
quiteSmart1-Nov-06 20:43 
GeneralRe: How do I enforce a program by another program Pin
belonger1-Nov-06 21:00
belonger1-Nov-06 21:00 
AnswerRe: How do I enforce a program by another program Pin
sam#1-Nov-06 20:44
sam#1-Nov-06 20:44 
GeneralRe: How do I enforce a program by another program Pin
belonger1-Nov-06 21:05
belonger1-Nov-06 21:05 
GeneralRe: How do I enforce a program by another program Pin
sam#1-Nov-06 21:14
sam#1-Nov-06 21:14 
AnswerRe: How do I enforce a program by another program Pin
stancrm1-Nov-06 21:12
stancrm1-Nov-06 21:12 
AnswerRe: Stored procedure sysntax error Pin
sam#1-Nov-06 20:42
sam#1-Nov-06 20:42 
GeneralRe: Stored procedure sysntax error Pin
Saira Tanwir1-Nov-06 20:57
Saira Tanwir1-Nov-06 20:57 
GeneralRe: Stored procedure sysntax error Pin
sam#1-Nov-06 21:09
sam#1-Nov-06 21:09 
QuestionData Access Layer Pin
saqib821-Nov-06 19:39
saqib821-Nov-06 19:39 
AnswerRe: Data Access Layer Pin
baerten1-Nov-06 20:57
baerten1-Nov-06 20:57 
GeneralRe: Data Access Layer Pin
saqib821-Nov-06 21:10
saqib821-Nov-06 21:10 
GeneralRe: Data Access Layer Pin
baerten1-Nov-06 21:56
baerten1-Nov-06 21:56 
GeneralRe: Data Access Layer Pin
saqib821-Nov-06 22:34
saqib821-Nov-06 22:34 
QuestionHow to get values of form controls in MDI application? Pin
IamHuM1-Nov-06 18:46
IamHuM1-Nov-06 18:46 
AnswerRe: How to get values of form controls in MDI application? Pin
tomasd_brn1-Nov-06 19:06
tomasd_brn1-Nov-06 19:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.