Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
QuestionHow do I pass images to and from the WebBrowser control??? Pin
DelphiCoder27-Oct-09 9:54
DelphiCoder27-Oct-09 9:54 
AnswerRe: How do I pass images to and from the WebBrowser control??? Pin
Henry Minute27-Oct-09 10:15
Henry Minute27-Oct-09 10:15 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Luc Pattyn27-Oct-09 10:20
sitebuilderLuc Pattyn27-Oct-09 10:20 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Henry Minute27-Oct-09 10:27
Henry Minute27-Oct-09 10:27 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Luc Pattyn27-Oct-09 10:33
sitebuilderLuc Pattyn27-Oct-09 10:33 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Henry Minute27-Oct-09 10:38
Henry Minute27-Oct-09 10:38 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
0x3c027-Oct-09 11:00
0x3c027-Oct-09 11:00 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Not Active27-Oct-09 11:06
mentorNot Active27-Oct-09 11:06 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Henry Minute27-Oct-09 11:19
Henry Minute27-Oct-09 11:19 
AnswerRe: How do I pass images to and from the WebBrowser control??? Pin
Abhishek Sur27-Oct-09 10:23
professionalAbhishek Sur27-Oct-09 10:23 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
DelphiCoder27-Oct-09 10:52
DelphiCoder27-Oct-09 10:52 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Abhishek Sur27-Oct-09 11:00
professionalAbhishek Sur27-Oct-09 11:00 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
DelphiCoder27-Oct-09 13:59
DelphiCoder27-Oct-09 13:59 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Abhishek Sur27-Oct-09 22:43
professionalAbhishek Sur27-Oct-09 22:43 
QuestionButtons in screenpreview (Win7) Pin
_Madmatt27-Oct-09 9:48
_Madmatt27-Oct-09 9:48 
AnswerRe: Buttons in screenpreview (Win7) Pin
Dave Kreskowiak27-Oct-09 10:52
mveDave Kreskowiak27-Oct-09 10:52 
GeneralRe: Buttons in screenpreview (Win7) Pin
_Madmatt28-Oct-09 9:37
_Madmatt28-Oct-09 9:37 
QuestionDetecting Accessiblity Settings Pin
Sir Dot Net27-Oct-09 9:10
Sir Dot Net27-Oct-09 9:10 
QuestionPrinting in C# using built in printer fonts [modified] Pin
Jörgen Sigvardsson27-Oct-09 8:51
Jörgen Sigvardsson27-Oct-09 8:51 
It seems that System.Drawing.Font won't recognize built in printer fonts, so the font gets substituted. This is not just a cosmetic problem for me, it's a show stopper. I'm trying to print bar codes using the printer's built in fonts.

Does anybody know a workaround?

[edit]I saw the font class has a static method called FromHfont(). Maybe I can use it with some P/Invoke magic...[/edit]

[edit]Nope. When I create the font from a HFONT, Font.FromHfont() throws a "The font is not a true-type font" exception. I suppose I'll just have to solve this using C++/CLI...[/edit]

--
Kein Mitleid Für Die Mehrheit

modified on Tuesday, October 27, 2009 2:59 PM

AnswerRe: Printing in C# using built in printer fonts Pin
Luc Pattyn27-Oct-09 9:22
sitebuilderLuc Pattyn27-Oct-09 9:22 
GeneralRe: Printing in C# using built in printer fonts Pin
Jörgen Sigvardsson27-Oct-09 9:28
Jörgen Sigvardsson27-Oct-09 9:28 
AnswerRe: Printing in C# using built in printer fonts Pin
Sir Dot Net27-Oct-09 9:40
Sir Dot Net27-Oct-09 9:40 
GeneralRe: Printing in C# using built in printer fonts Pin
Jörgen Sigvardsson27-Oct-09 9:42
Jörgen Sigvardsson27-Oct-09 9:42 
GeneralRe: Printing in C# using built in printer fonts Pin
Luc Pattyn27-Oct-09 9:56
sitebuilderLuc Pattyn27-Oct-09 9:56 
GeneralRe: Printing in C# using built in printer fonts Pin
Jörgen Sigvardsson27-Oct-09 10:02
Jörgen Sigvardsson27-Oct-09 10:02 

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.