Click here to Skip to main content
15,887,467 members
Home / Discussions / C#
   

C#

 
GeneralRe: Store updated data from datagridview to sqlserver2000 Pin
elci12-Jul-09 22:47
elci12-Jul-09 22:47 
Questionread video stream from IP Address on 80 port assigned to DVR Pin
kunal.tawde12-Jul-09 20:37
kunal.tawde12-Jul-09 20:37 
AnswerRe: read video stream from IP Address on 80 port assigned to DVR Pin
#realJSOP13-Jul-09 1:05
mve#realJSOP13-Jul-09 1:05 
GeneralRe: read video stream from IP Address on 80 port assigned to DVR Pin
kunal.tawde13-Jul-09 21:14
kunal.tawde13-Jul-09 21:14 
Questionc#:how to install new font? Pin
lhong100112-Jul-09 19:00
lhong100112-Jul-09 19:00 
AnswerRe: c#:how to install new font? Pin
dan!sh 12-Jul-09 21:44
professional dan!sh 12-Jul-09 21:44 
GeneralRe: c#:how to install new font? Pin
lhong100112-Jul-09 22:15
lhong100112-Jul-09 22:15 
GeneralRe: c#:how to install new font? Pin
Pete O'Hanlon12-Jul-09 22:46
mvePete O'Hanlon12-Jul-09 22:46 
If you use Reflector, you can easily dig out the internals of how PrivateFontCollection works, and wrap up your own implementation using just the bits you need. (Here's a hint - I just took a quick peek using Reflector and found that adding a new font relies on:
[DllImport("gdiplus.dll", CharSet=CharSet.Unicode, SetLastError=true, ExactSpelling=true)]
internal static extern int GdipPrivateAddMemoryFont(HandleRef fontCollection, HandleRef memory, int length);


"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: c#:how to install new font? Pin
dan!sh 12-Jul-09 22:53
professional dan!sh 12-Jul-09 22:53 
QuestionDeleting a Registry Key Gives a Security Exception Pin
Richard Andrew x6412-Jul-09 17:37
professionalRichard Andrew x6412-Jul-09 17:37 
AnswerRe: Deleting a Registry Key Gives a Security Exception Pin
Richard Andrew x6412-Jul-09 17:47
professionalRichard Andrew x6412-Jul-09 17:47 
QuestionHow do i select the radiobutton depending on the info on my textbox? Pin
daffy_200312-Jul-09 16:31
daffy_200312-Jul-09 16:31 
AnswerRe: How do i select the radiobutton depending on the info on my textbox? Pin
PIEBALDconsult12-Jul-09 17:00
mvePIEBALDconsult12-Jul-09 17:00 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
daffy_200312-Jul-09 17:20
daffy_200312-Jul-09 17:20 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
peishen8812-Jul-09 17:36
peishen8812-Jul-09 17:36 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
PIEBALDconsult12-Jul-09 18:20
mvePIEBALDconsult12-Jul-09 18:20 
AnswerRe: How do i select the radiobutton depending on the info on my textbox? Pin
Natza Mitzi12-Jul-09 18:20
Natza Mitzi12-Jul-09 18:20 
GeneralRe: How do i select the radiobutton depending on the info on my textbox? Pin
daffy_200312-Jul-09 18:53
daffy_200312-Jul-09 18:53 
QuestionIssues with adding a web reference using WSDL.exe Pin
Tina P12-Jul-09 13:14
Tina P12-Jul-09 13:14 
AnswerRe: Issues with adding a web reference using WSDL.exe Pin
Ravi Bhavnani12-Jul-09 15:11
professionalRavi Bhavnani12-Jul-09 15:11 
GeneralRe: Issues with adding a web reference using WSDL.exe Pin
Tina P12-Jul-09 15:51
Tina P12-Jul-09 15:51 
GeneralRe: Issues with adding a web reference using WSDL.exe Pin
Ravi Bhavnani12-Jul-09 18:27
professionalRavi Bhavnani12-Jul-09 18:27 
QuestionEntity Framework: Create new Object (when relation exists) PinPopular
TheShihan12-Jul-09 12:58
TheShihan12-Jul-09 12:58 
QuestionWIA with Vista... Pin
Jacob Dixon12-Jul-09 10:08
Jacob Dixon12-Jul-09 10:08 
AnswerRe: WIA with Vista... Pin
Jacob Dixon12-Jul-09 14:45
Jacob Dixon12-Jul-09 14:45 

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.