Click here to Skip to main content
12,945,066 members (56,488 online)
   

C#

 
QuestionMVVM. Buttons and thair content Pin
boryborawski12-Dec-12 9:00
memberboryborawski12-Dec-12 9:00 
AnswerRe: MVVM. Buttons and thair content Pin
SledgeHammer0112-Dec-12 9:17
memberSledgeHammer0112-Dec-12 9:17 
GeneralRe: MVVM. Buttons and thair content Pin
boryborawski12-Dec-12 9:40
memberboryborawski12-Dec-12 9:40 
GeneralRe: MVVM. Buttons and thair content Pin
SledgeHammer0112-Dec-12 11:30
memberSledgeHammer0112-Dec-12 11:30 
GeneralRe: MVVM. Buttons and thair content Pin
boryborawski12-Dec-12 13:22
memberboryborawski12-Dec-12 13:22 
QuestionWeb scraping Pin
Kalenzo12-Dec-12 7:12
memberKalenzo12-Dec-12 7:12 
AnswerRe: Web scraping Pin
Matt U.12-Dec-12 7:20
memberMatt U.12-Dec-12 7:20 
QuestionCreating an instance to be used as an Object refference Pin
bikerben12-Dec-12 6:35
memberbikerben12-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 refference Pin
Matt U.12-Dec-12 6:49
memberMatt U.12-Dec-12 6:49 
AnswerRe: Creating an instance to be used as an Object refference Pin
DaveyM6912-Dec-12 8:02
mentorDaveyM6912-Dec-12 8:02 
AnswerRe: Creating an instance to be used as an Object refference Pin
OriginalGriff12-Dec-12 8:11
mvpOriginalGriff12-Dec-12 8:11 
GeneralRe: Creating an instance to be used as an Object refference Pin
Killzone DeathMan13-Dec-12 0:02
memberKillzone DeathMan13-Dec-12 0:02 
AnswerRe: Creating an instance to be used as an Object refference Pin
V.12-Dec-12 21:30
memberV.12-Dec-12 21:30 
GeneralRe: Creating an instance to be used as an Object refference Pin
bikerben18-Dec-12 6:19
memberbikerben18-Dec-12 6:19 
GeneralRe: Creating an instance to be used as an Object refference Pin
V.18-Dec-12 7:28
memberV.18-Dec-12 7:28 
QuestionProblems with File Pin
tiwal12-Dec-12 4:49
membertiwal12-Dec-12 4:49 
QuestionRe: Problems with File Pin
Eddy Vluggen12-Dec-12 5:00
memberEddy Vluggen12-Dec-12 5:00 
AnswerRe: Problems with File Pin
tiwal12-Dec-12 5:12
membertiwal12-Dec-12 5:12 
GeneralRe: Problems with File Pin
Eddy Vluggen12-Dec-12 5:20
memberEddy Vluggen12-Dec-12 5:20 
GeneralRe: Problems with File Pin
tiwal12-Dec-12 21:05
membertiwal12-Dec-12 21:05 
GeneralRe: Problems with File Pin
Richard MacCutchan12-Dec-12 22:43
mvpRichard MacCutchan12-Dec-12 22:43 
AnswerRe: Problems with File Pin
OriginalGriff12-Dec-12 5:03
mvpOriginalGriff12-Dec-12 5:03 
GeneralRe: Problems with File Pin
tiwal12-Dec-12 5:17
membertiwal12-Dec-12 5:17 
GeneralRe: Problems with File Pin
OriginalGriff12-Dec-12 5:23
mvpOriginalGriff12-Dec-12 5:23 
Questionproblem with using pointers in C# Pin
siawash_s12-Dec-12 4:38
membersiawash_s12-Dec-12 4:38 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 23 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid