Click here to Skip to main content
15,911,890 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to deploy C#.NET application Pin
sampath Jayasinghe26-Jan-07 6:58
sampath Jayasinghe26-Jan-07 6:58 
AnswerRe: How to deploy C#.NET application Pin
ednrgc26-Jan-07 9:25
ednrgc26-Jan-07 9:25 
QuestionHow to deploy C#.NET application Pin
Eyungwah26-Jan-07 6:42
Eyungwah26-Jan-07 6:42 
AnswerRe: How to deploy C#.NET application Pin
Judah Gabriel Himango26-Jan-07 7:19
sponsorJudah Gabriel Himango26-Jan-07 7:19 
Questionretrieve image from database Pin
Mridang Agarwalla26-Jan-07 6:20
Mridang Agarwalla26-Jan-07 6:20 
AnswerRe: retrieve image from database Pin
Judah Gabriel Himango26-Jan-07 6:45
sponsorJudah Gabriel Himango26-Jan-07 6:45 
GeneralRe: retrieve image from database Pin
Mridang Agarwalla26-Jan-07 6:58
Mridang Agarwalla26-Jan-07 6:58 
Questionusercontrol and Application.AddMessageFilter Pin
appdeveloper26-Jan-07 5:51
appdeveloper26-Jan-07 5:51 
I'm a vb programmer but i have to make a control in C# to be consumed by a vb .net application. I've found some help on the internet/newsgroups in order to scan an image from a twain source and send the image to the software. I've tested the program and it works fine, but now i'm using that code on a usercontrol in order to consume that usercontrol in vb .net application. Everything works fine (the scanner driver can be selected, the driver interface is shown and the user can interact with it,...), but the image cant be digitalized, for what seems to be caused by this line that i had to comment in order for the usercontrol to be builded

Application.AddMessageFilter(this);

When i insert the previous line, i get the following two errors:

1- "the best overloaded method match for 'System.Windows.Forms.Application.AddMessageFilter' (System.Windows.Forms.IMessageFilter)' has some invalid arguments

2- Argument '1': cannot convert from 'TwainMCtrl.UserControl1' to 'System.Windows.Forms.IMessageFilter'

Does anyone knows how can i solve this problem?

My thanks in advanced

Ricardo Furtado
AnswerRe: usercontrol and Application.AddMessageFilter Pin
S. Senthil Kumar26-Jan-07 6:47
S. Senthil Kumar26-Jan-07 6:47 
QuestionHowto scroll by code in a webbrowser element? [modified] Pin
Jasmin Tabatabai26-Jan-07 4:54
Jasmin Tabatabai26-Jan-07 4:54 
QuestionGarbage collection problem Pin
t4ure4n26-Jan-07 4:18
t4ure4n26-Jan-07 4:18 
AnswerRe: Garbage collection problem Pin
Dustin Metzgar26-Jan-07 4:34
Dustin Metzgar26-Jan-07 4:34 
GeneralRe: Garbage collection problem Pin
t4ure4n26-Jan-07 4:37
t4ure4n26-Jan-07 4:37 
AnswerRe: Garbage collection problem Pin
Dan Neely26-Jan-07 4:40
Dan Neely26-Jan-07 4:40 
AnswerRe: Garbage collection problem Pin
Colin Angus Mackay26-Jan-07 4:43
Colin Angus Mackay26-Jan-07 4:43 
GeneralRe: Garbage collection problem Pin
S. Senthil Kumar26-Jan-07 5:36
S. Senthil Kumar26-Jan-07 5:36 
GeneralRe: Garbage collection problem Pin
Colin Angus Mackay26-Jan-07 5:45
Colin Angus Mackay26-Jan-07 5:45 
GeneralRe: Garbage collection problem Pin
Guffa26-Jan-07 6:18
Guffa26-Jan-07 6:18 
GeneralRe: Garbage collection problem Pin
S. Senthil Kumar26-Jan-07 6:45
S. Senthil Kumar26-Jan-07 6:45 
AnswerRe: Garbage collection problem Pin
Judah Gabriel Himango26-Jan-07 5:56
sponsorJudah Gabriel Himango26-Jan-07 5:56 
AnswerRe: Garbage collection problem Pin
Dave Kreskowiak26-Jan-07 6:06
mveDave Kreskowiak26-Jan-07 6:06 
AnswerRe: Garbage collection problem Pin
t4ure4n29-Jan-07 0:13
t4ure4n29-Jan-07 0:13 
QuestionText file handling issue Pin
Andrew Em26-Jan-07 3:21
Andrew Em26-Jan-07 3:21 
AnswerRe: Text file handling issue Pin
Colin Angus Mackay26-Jan-07 3:52
Colin Angus Mackay26-Jan-07 3:52 
AnswerRe: Text file handling issue Pin
bobsugar22226-Jan-07 4:20
bobsugar22226-Jan-07 4:20 

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.