Click here to Skip to main content
15,898,869 members
Home / Discussions / COM
   

COM

 
AnswerRe: Outlook Plugin problem Pin
Cool_Dev5-Apr-10 23:41
Cool_Dev5-Apr-10 23:41 
GeneralRe: Outlook Plugin problem Pin
dinesh babu5-Apr-10 23:58
dinesh babu5-Apr-10 23:58 
GeneralRe: Outlook Plugin problem Pin
Cool_Dev6-Apr-10 19:36
Cool_Dev6-Apr-10 19:36 
GeneralRe: Outlook Plugin problem Pin
dinesh babu6-Apr-10 21:17
dinesh babu6-Apr-10 21:17 
QuestionFFDShow in my project... Pin
R@jeev K R4-Apr-10 23:25
R@jeev K R4-Apr-10 23:25 
QuestionRe: FFDShow in my project... Pin
Cool_Dev5-Apr-10 19:13
Cool_Dev5-Apr-10 19:13 
AnswerRe: FFDShow in my project... Pin
R@jeev K R5-Apr-10 19:55
R@jeev K R5-Apr-10 19:55 
QuestionWhy this Method save the same bitmap every times called? Pin
bicphuong2-Apr-10 20:48
bicphuong2-Apr-10 20:48 
I have the following method to capture image from a window it works ok but today it save the same image to disk every times called. Please help me! I cannot understand what is the problem.

_______________________________________________
public void GetWindowPicture(IntPtr hWnd)
{
IntPtr hdcDest = default(IntPtr);
IntPtr hdcSrc = default(IntPtr);
RECT r = new RECT();
int w = 0;
int h = 0;

GetWindowRect(hWnd, ref r);

w = r.Right - r.Left;
h = r.Bottom - r.Top;
Bitmap bm = new Bitmap(w, h);
Graphics g = Graphics.FromImage(bm);

hdcSrc = GetWindowDC(hWnd);
hdcDest = g.GetHdc();

BitBlt(hdcDest, 0, 0, w, h, hdcSrc, 0, 0, SRCCOPY);

g.ReleaseHdc(hdcDest);
ReleaseDC(hWnd, hdcSrc);

bm.Save(GetOutputInfo(),System.Drawing.Imaging.ImageFormat.Jpeg);
}
_____________________________________

Thanks for your attention,
AnswerRe: Why this Method save the same bitmap every times called? Pin
Baltoro14-Apr-10 14:08
Baltoro14-Apr-10 14:08 
QuestionUnable to register simpleui5.ocx in system32 Pin
Hunzian31-Mar-10 23:55
Hunzian31-Mar-10 23:55 
AnswerRe: Unable to register simpleui5.ocx in system32 Pin
Adam Roderick J2-Apr-10 18:22
Adam Roderick J2-Apr-10 18:22 
QuestionHow to Sink Current IE IWebBrowser Interface? Pin
twblue31-Mar-10 17:55
twblue31-Mar-10 17:55 
Questionhow to register OCX on the 64 bit vista machine Pin
PrafullaShirke2723-Mar-10 19:59
professionalPrafullaShirke2723-Mar-10 19:59 
AnswerRe: how to register OCX on the 64 bit vista machine Pin
KingsGambit23-Mar-10 23:36
KingsGambit23-Mar-10 23:36 
AnswerRe: how to register OCX on the 64 bit vista machine Pin
Abhinav S27-Mar-10 19:50
Abhinav S27-Mar-10 19:50 
QuestionError handling using HRESULT Pin
PaulowniaK23-Mar-10 19:32
PaulowniaK23-Mar-10 19:32 
AnswerRe: Error handling using HRESULT PinPopular
Stephen Hewitt23-Mar-10 21:36
Stephen Hewitt23-Mar-10 21:36 
AnswerRe: Error handling using HRESULT Pin
KarstenK6-Apr-10 21:27
mveKarstenK6-Apr-10 21:27 
QuestionCom Exe server Pin
ashish8patil21-Mar-10 20:28
ashish8patil21-Mar-10 20:28 
AnswerRe: Com Exe server Pin
KingsGambit21-Mar-10 23:09
KingsGambit21-Mar-10 23:09 
GeneralRe: Com Exe server Pin
ashish8patil22-Mar-10 4:11
ashish8patil22-Mar-10 4:11 
GeneralRe: Com Exe server Pin
KingsGambit22-Mar-10 20:36
KingsGambit22-Mar-10 20:36 
AnswerRe: Com Exe server Pin
Adam Roderick J24-Mar-10 19:36
Adam Roderick J24-Mar-10 19:36 
Questionhow to connection to a remote sql server via ado? [modified] Pin
kcynic20-Mar-10 23:43
kcynic20-Mar-10 23:43 
AnswerRe: how to connection to a remote sql server via ado? Pin
T21024-Apr-10 20:49
T21024-Apr-10 20:49 

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.