Click here to Skip to main content
15,891,629 members
Home / Discussions / C#
   

C#

 
AnswerRe: Component for comparing VB codes in c# program Pin
Mark Churchill13-Apr-09 18:04
Mark Churchill13-Apr-09 18:04 
GeneralRe: Component for comparing VB codes in c# program Pin
Mycroft Holmes13-Apr-09 18:06
professionalMycroft Holmes13-Apr-09 18:06 
GeneralRe: Component for comparing VB codes in c# program Pin
Mark Churchill13-Apr-09 18:22
Mark Churchill13-Apr-09 18:22 
GeneralRe: Component for comparing VB codes in c# program Pin
Surya Ayyagari13-Apr-09 18:13
Surya Ayyagari13-Apr-09 18:13 
AnswerRe: Component for comparing VB codes in c# program Pin
Mycroft Holmes13-Apr-09 18:09
professionalMycroft Holmes13-Apr-09 18:09 
QuestionHow create picture boxes runtime according to no. of pictures in a folder? Pin
abhishek2913-Apr-09 16:58
abhishek2913-Apr-09 16:58 
AnswerRe: How create picture boxes runtime according to no. of pictures in a folder? Pin
Mycroft Holmes13-Apr-09 18:10
professionalMycroft Holmes13-Apr-09 18:10 
AnswerRe: How create picture boxes runtime according to no. of pictures in a folder? Pin
Mbah Dhaim13-Apr-09 18:26
Mbah Dhaim13-Apr-09 18:26 
do following steps :
1. list files in your selected directory using System.IO.Directory.GetFiles(PathToYourImageDirectory);
2. iterate along list of files in step no 1
3. Create a PictureBox ie : PictureBox pb = new PictureBox();
4. Set your picture box property in step no 3, like Top, Left, Widht and Height.
5. Add your picture box to your form or other container control you use, with yourParentControl.Controls.Add(pb)
6. Load your image to picture box using pb.Image = Image.FromFile(TheFileFromList)
7. Repeat step no 3 until all files processed.

hope this helps

dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support



GeneralRe: How create picture boxes runtime according to no. of pictures in a folder? Pin
abhishek2913-Apr-09 20:01
abhishek2913-Apr-09 20:01 
QuestionData gride update/refresh - works when stepping through code but not when running the program Pin
dave181613-Apr-09 15:40
dave181613-Apr-09 15:40 
AnswerRe: Data gride update/refresh - works when stepping through code but not when running the program Pin
Vikram A Punathambekar13-Apr-09 17:40
Vikram A Punathambekar13-Apr-09 17:40 
AnswerRe: Data gride update/refresh - works when stepping through code but not when running the program [modified] Pin
dave181614-Apr-09 12:33
dave181614-Apr-09 12:33 
Questionhow to update mutliple columns with ado to a database? Pin
dave181613-Apr-09 15:01
dave181613-Apr-09 15:01 
AnswerRe: how to update mutliple columns with ado to a database? Pin
Mbah Dhaim13-Apr-09 17:42
Mbah Dhaim13-Apr-09 17:42 
GeneralRe: how to update mutliple columns with ado to a database? Pin
Vikram A Punathambekar13-Apr-09 17:50
Vikram A Punathambekar13-Apr-09 17:50 
AnswerRe: how to update mutliple columns with ado to a database? Pin
Vikram A Punathambekar13-Apr-09 17:48
Vikram A Punathambekar13-Apr-09 17:48 
QuestionClone DataGridView PinPopular
Kasperle13-Apr-09 13:54
Kasperle13-Apr-09 13:54 
QuestionHow custom class can be converted to common value type? Pin
Faisal Khatri13-Apr-09 11:09
Faisal Khatri13-Apr-09 11:09 
AnswerRe: How custom class can be converted to common value type? Pin
Colin Angus Mackay13-Apr-09 12:05
Colin Angus Mackay13-Apr-09 12:05 
QuestionDisplay a Custom Form Modally Pin
sevensilly13-Apr-09 10:19
sevensilly13-Apr-09 10:19 
AnswerRe: Display a Custom Form Modally Pin
Mycroft Holmes13-Apr-09 14:26
professionalMycroft Holmes13-Apr-09 14:26 
GeneralRe: Display a Custom Form Modally Pin
sevensilly14-Apr-09 5:33
sevensilly14-Apr-09 5:33 
Questionproblem with datagrid and column Pin
behzadcp13-Apr-09 8:25
professionalbehzadcp13-Apr-09 8:25 
AnswerRe: problem with datagrid and column Pin
Faisal Khatri13-Apr-09 11:10
Faisal Khatri13-Apr-09 11:10 
GeneralRe: problem with datagrid and column Pin
behzadcp13-Apr-09 16:50
professionalbehzadcp13-Apr-09 16:50 

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.