Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to flip monitor (Horizontal or Vertical? ? Pin
Bill Lee Vn14-May-14 4:41
Bill Lee Vn14-May-14 4:41 
Newsasp.net MVC related latest news ? Pin
pkarthionline12-May-14 21:04
pkarthionline12-May-14 21:04 
AnswerRe: how to call server side function from jquery Pin
OriginalGriff12-May-14 21:30
mveOriginalGriff12-May-14 21:30 
AnswerRe: how to call server side function from jquery Pin
Keith Barrow12-May-14 22:41
professionalKeith Barrow12-May-14 22:41 
GeneralMy Vote of 1 Pin
Keith Barrow13-May-14 0:41
professionalKeith Barrow13-May-14 0:41 
GeneralRe: My Vote of 1 Pin
Pete O'Hanlon13-May-14 1:27
mvePete O'Hanlon13-May-14 1:27 
GeneralRe: My Vote of 1 Pin
OriginalGriff13-May-14 2:41
mveOriginalGriff13-May-14 2:41 
QuestionOpenFileName under WinPE Pin
vacko12-May-14 20:41
vacko12-May-14 20:41 
Hello,
for my app that is designed to run under WinPE 5.0 (both 32/64-bit) I need to implement OpenFileDialog in my Form. But OpenFileDialog can't be used under WinPE, so I decided to use OpenFileName instead. It works well, except file extension filter, because it shows all files. My code is as below
C#
OpenFileName ofn = new OpenFileName();
ofn.structSize = System.Runtime.InteropServices.Marshal.SizeOf(ofn);
ofn.filter = "PDF files\0*.pdf\0";
ofn.file = new String(new char[256]);
ofn.maxFile = ofn.file.Length;
ofn.fileTitle = new String(new char[64]);
ofn.maxFileTitle = ofn.fileTitle.Length;
ofn.initialDir = openPath;
ofn.title = "Open PDF file...";
ofn.defExt = "pdf";

if (LibWrap.GetOpenFileName(ofn))
{
   selectedFile = ofn.file;
}

File extension filter works normally under full OS / Win7 64-bit, so there is some problem with WinPE only. Any idea how to solve it ?
QuestionC# kinect game Pin
Member 1080779612-May-14 9:32
Member 1080779612-May-14 9:32 
AnswerRe: C# kinect game Pin
OriginalGriff12-May-14 20:46
mveOriginalGriff12-May-14 20:46 
QuestionC# Asp.Net Web App - Generating Outlook Email for Download Pin
MatiTuk12-May-14 9:09
MatiTuk12-May-14 9:09 
AnswerRe: C# Asp.Net Web App - Generating Outlook Email for Download Pin
Bernhard Hiller12-May-14 21:59
Bernhard Hiller12-May-14 21:59 
GeneralRe: C# Asp.Net Web App - Generating Outlook Email for Download Pin
MatiTuk13-May-14 2:38
MatiTuk13-May-14 2:38 
QuestionUse GPU from C# Pin
AmbiguousName12-May-14 6:52
AmbiguousName12-May-14 6:52 
AnswerRe: Use GPU from C# Pin
Eddy Vluggen12-May-14 7:43
professionalEddy Vluggen12-May-14 7:43 
GeneralRe: Use GPU from C# Pin
AmbiguousName12-May-14 7:49
AmbiguousName12-May-14 7:49 
GeneralRe: Use GPU from C# Pin
Eddy Vluggen12-May-14 8:38
professionalEddy Vluggen12-May-14 8:38 
GeneralRe: Use GPU from C# Pin
AmbiguousName12-May-14 19:18
AmbiguousName12-May-14 19:18 
GeneralRe: Use GPU from C# Pin
Eddy Vluggen13-May-14 7:04
professionalEddy Vluggen13-May-14 7:04 
QuestionHow can i make this program Parrallel ? Pin
Member 1037568411-May-14 11:51
Member 1037568411-May-14 11:51 
AnswerRe: How can i make this program Parrallel ? Pin
Phil Martin11-May-14 12:57
professionalPhil Martin11-May-14 12:57 
GeneralRe: How can i make this program Parrallel ? Pin
Bernhard Hiller11-May-14 22:06
Bernhard Hiller11-May-14 22:06 
GeneralRe: How can i make this program Parrallel ? Pin
Rob Philpott11-May-14 22:24
Rob Philpott11-May-14 22:24 
GeneralRe: How can i make this program Parrallel ? Pin
Phil Martin11-May-14 22:39
professionalPhil Martin11-May-14 22:39 
GeneralRe: How can i make this program Parrallel ? Pin
Phil Martin11-May-14 22:47
professionalPhil Martin11-May-14 22:47 

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.