Click here to Skip to main content
       

C#

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: MVVM. Buttons and thair contentmemberSledgeHammer0112 Dec '12 - 9:17 
GeneralRe: MVVM. Buttons and thair contentmemberboryborawski12 Dec '12 - 9:40 
GeneralRe: MVVM. Buttons and thair contentmemberSledgeHammer0112 Dec '12 - 11:30 
GeneralRe: MVVM. Buttons and thair contentmemberboryborawski12 Dec '12 - 13:22 
QuestionWeb scrapingmemberKalenzo12 Dec '12 - 7:12 
AnswerRe: Web scrapingmemberMatt U.12 Dec '12 - 7:20 
QuestionCreating an instance to be used as an Object refferencememberbikerben12 Dec '12 - 6:35 
I dont understand how I can make the "Define File Type" code an instance (is that the term I'm looking for) so it can be be read in the "Open IE and Print" segment.
 
// Define File Type
foreach (FileInfo finfo in dir.GetFiles("*.html"));
 
    // Open IE and Print
    if (Application.Current.Properties["finfo"] != null)
 
Have tried defining it as a string but I get the following error.
 
"Cannot convert type 'string' to 'System.IO.FileInfo'"
 
Any help would be greatly appreciated to help me understand C# further.
AnswerRe: Creating an instance to be used as an Object refferencememberMatt U.12 Dec '12 - 6:49 
AnswerRe: Creating an instance to be used as an Object refferencementorDaveyM6912 Dec '12 - 8:02 
AnswerRe: Creating an instance to be used as an Object refferencemvpOriginalGriff12 Dec '12 - 8:11 
GeneralRe: Creating an instance to be used as an Object refferencememberKillzone DeathMan13 Dec '12 - 0:02 
AnswerRe: Creating an instance to be used as an Object refferencememberV.12 Dec '12 - 21:30 
GeneralRe: Creating an instance to be used as an Object refferencememberbikerben18 Dec '12 - 6:19 
GeneralRe: Creating an instance to be used as an Object refferencememberV.18 Dec '12 - 7:28 
QuestionProblems with Filemembertiwal12 Dec '12 - 4:49 
QuestionRe: Problems with FilememberEddy Vluggen12 Dec '12 - 5:00 
AnswerRe: Problems with Filemembertiwal12 Dec '12 - 5:12 
GeneralRe: Problems with FilememberEddy Vluggen12 Dec '12 - 5:20 
GeneralRe: Problems with Filemembertiwal12 Dec '12 - 21:05 
GeneralRe: Problems with FilemvpRichard MacCutchan12 Dec '12 - 22:43 
AnswerRe: Problems with FilemvpOriginalGriff12 Dec '12 - 5:03 
GeneralRe: Problems with Filemembertiwal12 Dec '12 - 5:17 
GeneralRe: Problems with FilemvpOriginalGriff12 Dec '12 - 5:23 
Questionproblem with using pointers in C#membersiawash_s12 Dec '12 - 4:38 
AnswerRe: problem with using pointers in C#memberEddy Vluggen12 Dec '12 - 4:44 

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


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid