Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: cast to interface and then pass as ref Pin
devvvy26-Mar-09 19:39
devvvy26-Mar-09 19:39 
AnswerRe: cast to interface and then pass as ref Pin
S. Senthil Kumar27-Mar-09 7:00
S. Senthil Kumar27-Mar-09 7:00 
Questionhow to upload a file using ftp [modified] Pin
T_Teef26-Mar-09 13:25
T_Teef26-Mar-09 13:25 
QuestionFileNotFoundException error Pin
Member 462208926-Mar-09 13:15
Member 462208926-Mar-09 13:15 
AnswerRe: FileNotFoundException error Pin
T_Teef26-Mar-09 13:26
T_Teef26-Mar-09 13:26 
QuestionRe: FileNotFoundException error Pin
Adam Maras26-Mar-09 13:37
Adam Maras26-Mar-09 13:37 
AnswerRe: FileNotFoundException error Pin
Luc Pattyn26-Mar-09 15:34
sitebuilderLuc Pattyn26-Mar-09 15:34 
GeneralRe: FileNotFoundException error Pin
Member 462208927-Mar-09 5:28
Member 462208927-Mar-09 5:28 
Thanks Luc for your help with this, and everyone else that is trying. Thing is, I have a break point on the 1st line of populate_Images routine, which is a simple var declaration, and that code never fires. The error actually happens on the calling line populate_Images(0, 19);

Is it possible to error before it calls the routine? You are correct Luc, the routine uses ImageMagick to render the .pcx images onto 23 or so imageBoxes per page. Code is too much to post here, but here is a portion that uses imageMagick:

public void populate_Images(int startImg, int endImg)
       {
           int img = 0;    //BREAK POINT HERE : NEVER BREAKS

   etc, etc..............................

           //add images into ImageMagick
           for (intI = startImg; intI <= endImg; intI++)
           {
               var imageList = new ImageMagickNET.ImageList();     //THIS LINE HAS GIVEN ME TROUBLE THRU THE ENTIRE PROJECT

               img += 1;
                   //driving from FileListBox
                   string strIm1 = "\\\\swd4fs\\graphics\\" + (commonClass.parseIt(FileListBox.Path.ToString(), "Release")) + "\\";
                   string strIm2 = FileListBox.SelectedIndex.ToString();
                   imageList.ReadImages(strIm1 + strIm2);


               //render 1 images at a time & display if available
               foreach (ImageMagickNET.Image image in imageList)
               {
                   switch (img)
                   {
                       case 1:
                           PictureBox1.Image = image.ToBitmap();
                           break;
                       case 2:
                           PictureBox2.Image = image.ToBitmap();
                           break;
                       case 3:
                           PictureBox3.Image = image.ToBitmap();
                           break;

           etc, etc..............................

                   }
                   break;
               }
   }


imgaMagick works great in vs2005, been have lots of trouble integrating into vs2008.
Thanks for your help
GeneralRe: FileNotFoundException error Pin
Luc Pattyn27-Mar-09 5:56
sitebuilderLuc Pattyn27-Mar-09 5:56 
GeneralRe: FileNotFoundException error Pin
Member 462208927-Mar-09 6:19
Member 462208927-Mar-09 6:19 
GeneralRe: FileNotFoundException error Pin
Luc Pattyn27-Mar-09 6:53
sitebuilderLuc Pattyn27-Mar-09 6:53 
GeneralRe: FileNotFoundException error Pin
Member 462208927-Mar-09 11:50
Member 462208927-Mar-09 11:50 
GeneralRe: FileNotFoundException error Pin
Luc Pattyn27-Mar-09 19:16
sitebuilderLuc Pattyn27-Mar-09 19:16 
AnswerRe: FileNotFoundException error Pin
S. Senthil Kumar27-Mar-09 7:06
S. Senthil Kumar27-Mar-09 7:06 
QuestionCan you read session status from a windows service? Pin
Beyondard26-Mar-09 11:41
Beyondard26-Mar-09 11:41 
GeneralEditable Combobox Pin
OldSchoolToC#26-Mar-09 11:14
OldSchoolToC#26-Mar-09 11:14 
GeneralRe: Editable Combobox Pin
J$26-Mar-09 13:34
J$26-Mar-09 13:34 
GeneralRe: Editable Combobox Pin
OldSchoolToC#26-Mar-09 14:07
OldSchoolToC#26-Mar-09 14:07 
GeneralRe: Editable Combobox Pin
Luc Pattyn26-Mar-09 15:38
sitebuilderLuc Pattyn26-Mar-09 15:38 
AnswerRe: Editable Combobox Pin
dybs26-Mar-09 16:47
dybs26-Mar-09 16:47 
GeneralRe: Editable Combobox Pin
OldSchoolToC#26-Mar-09 16:54
OldSchoolToC#26-Mar-09 16:54 
GeneralRe: Editable Combobox Pin
Dave Kreskowiak26-Mar-09 18:10
mveDave Kreskowiak26-Mar-09 18:10 
GeneralRe: Editable Combobox Pin
dybs27-Mar-09 15:43
dybs27-Mar-09 15:43 
GeneralRe: Editable Combobox Pin
jaypatel51227-Mar-09 6:05
jaypatel51227-Mar-09 6:05 
QuestionVery Large Sets of Data - Millions of Rows - how to do it? Pin
tjawed26-Mar-09 10:25
tjawed26-Mar-09 10:25 

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.