Click here to Skip to main content
15,914,165 members
Home / Discussions / C#
   

C#

 
QuestionLogging of Upload file Pin
reddyamar_uk17-Jun-07 1:41
reddyamar_uk17-Jun-07 1:41 
Questionrdlc Report Pin
imran_Shaikh16-Jun-07 23:41
imran_Shaikh16-Jun-07 23:41 
AnswerRe: rdlc Report Pin
WillemM17-Jun-07 4:32
WillemM17-Jun-07 4:32 
QuestionListbox Pin
MashALyy16-Jun-07 23:08
MashALyy16-Jun-07 23:08 
AnswerRe: Listbox Pin
PandemoniumPasha17-Jun-07 0:10
PandemoniumPasha17-Jun-07 0:10 
AnswerRe: Listbox Pin
Giorgi Dalakishvili17-Jun-07 0:10
mentorGiorgi Dalakishvili17-Jun-07 0:10 
AnswerRe: Listbox Pin
Lucky Hamad17-Jun-07 7:55
Lucky Hamad17-Jun-07 7:55 
Questioncapture screen use managed directx9 C# Pin
jiangsongfang16-Jun-07 21:31
jiangsongfang16-Jun-07 21:31 
i want to use directx to capture screen then save to file,because i know only a little about managed directx,so the first i Want to create a device link to the desktop,then copy the data from that device,but after i instanced a device,i can't use it,i do not know why, my code like this:

IntPtr hwnd = WinApi.GetDesktopWindow(); //i use api to get hwnd

IntPtr hdc = WinApi.GetDC(hwnd);

Device device = new Device(hdc); //instance here

//then i didn't know how to get the data i use this code

Texture t = Device.GetTexture(0); //can't work here

//or i use this

Surface s = device.GetRenderTarget(0); //also can't work



i really don't know how to do can get the data from the screen then save to file,i hope someone can help me to deal with this question,or you can give me a method to capture the screen,but do not use the gdi+ or graphics.CopyFromScreen method, i only want to use directx to do that. thanks.

AnswerRe: capture screen use managed directx9 C# Pin
Christian Graus17-Jun-07 0:53
protectorChristian Graus17-Jun-07 0:53 
GeneralRe: capture screen use managed directx9 C# Pin
jiangsongfang17-Jun-07 1:02
jiangsongfang17-Jun-07 1:02 
QuestionConflicting Namespaces Pin
Brendan Vogt16-Jun-07 20:47
Brendan Vogt16-Jun-07 20:47 
AnswerRe: Conflicting Namespaces Pin
PandemoniumPasha16-Jun-07 21:14
PandemoniumPasha16-Jun-07 21:14 
AnswerRe: Conflicting Namespaces Pin
Christian Graus16-Jun-07 21:57
protectorChristian Graus16-Jun-07 21:57 
AnswerRe: Conflicting Namespaces Pin
PandemoniumPasha16-Jun-07 23:56
PandemoniumPasha16-Jun-07 23:56 
AnswerRe: Conflicting Namespaces Pin
Guffa17-Jun-07 2:52
Guffa17-Jun-07 2:52 
AnswerRe: Conflicting Namespaces Pin
DavidNohejl17-Jun-07 4:45
DavidNohejl17-Jun-07 4:45 
GeneralRe: Conflicting Namespaces Pin
Brendan Vogt17-Jun-07 8:22
Brendan Vogt17-Jun-07 8:22 
QuestionProblems displaying data from query in the report Pin
sgeorgije16-Jun-07 19:26
sgeorgije16-Jun-07 19:26 
QuestionEVENTS Pin
half-life16-Jun-07 12:14
half-life16-Jun-07 12:14 
AnswerRe: EVENTS Pin
Not Active16-Jun-07 13:33
mentorNot Active16-Jun-07 13:33 
GeneralRe: EVENTS Pin
half-life16-Jun-07 13:46
half-life16-Jun-07 13:46 
GeneralRe: EVENTS Pin
Christian Graus16-Jun-07 14:49
protectorChristian Graus16-Jun-07 14:49 
QuestionSpeech input Pin
Ylno16-Jun-07 11:12
Ylno16-Jun-07 11:12 
AnswerRe: Speech input Pin
Christian Graus16-Jun-07 14:50
protectorChristian Graus16-Jun-07 14:50 
AnswerRe: Speech input Pin
Bob X16-Jun-07 16:32
Bob X16-Jun-07 16:32 

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.