Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: Triangle with smooth corners Pin
Blubbo16-May-07 3:51
Blubbo16-May-07 3:51 
GeneralRe: Triangle with smooth corners Pin
Seishin#16-May-07 4:46
Seishin#16-May-07 4:46 
GeneralRe: Triangle with smooth corners Pin
Blubbo16-May-07 5:00
Blubbo16-May-07 5:00 
GeneralRe: Triangle with smooth corners [modified] Pin
Blubbo16-May-07 7:26
Blubbo16-May-07 7:26 
Questionhow to get the current version's assembly number` Pin
pashitech16-May-07 2:22
pashitech16-May-07 2:22 
AnswerRe: how to get the current version's assembly number` Pin
Anil Ch16-May-07 5:37
Anil Ch16-May-07 5:37 
GeneralRe: how to get the current version's assembly number` Pin
mike montagne16-May-07 6:01
mike montagne16-May-07 6:01 
GeneralRe: how to get the current version's assembly number` Pin
mike montagne16-May-07 6:15
mike montagne16-May-07 6:15 
In other words, the following approach does identify the assembly I need to identify, but I run into a dead end trying to get an IntPtr handle from the "ModuleHandle" struct:
Type t = this.GetType( );
Assembly a = Assembly.GetAssembly( t ); // SUCCESSFULLY RETURNS THE RIGHT ASSEMBLY, BUT HOW DO WE GET AN IntPtr HANDLE TO THIS?
ModuleHandle mh = a.GetModule( "APC" ).ModuleHandle; // CAN WE GET AN IntPtr TO THE HINSTANCE SOMEHOW FROM mh?
Do you know of a way to get the IntPtr value that will return the resources we need to find with Bitmap.FromResource()?
GeneralRe: how to get the current version's assembly number` Pin
Martin#16-May-07 7:02
Martin#16-May-07 7:02 
GeneralRe: how to get the current version's assembly number` Pin
mike montagne16-May-07 9:01
mike montagne16-May-07 9:01 
GeneralRe: how to get the current version's assembly number` Pin
Martin#20-May-07 7:41
Martin#20-May-07 7:41 
Questionb/w server's request and response Pin
kalyan_241616-May-07 2:10
kalyan_241616-May-07 2:10 
QuestionAbstract Classes Pin
SPanicker*16-May-07 2:08
SPanicker*16-May-07 2:08 
AnswerRe: Abstract Classes Pin
Stefan Troschuetz16-May-07 2:32
Stefan Troschuetz16-May-07 2:32 
GeneralRe: Abstract Classes Pin
SPanicker*16-May-07 21:04
SPanicker*16-May-07 21:04 
AnswerRe: Abstract Classes Pin
Paul Brower16-May-07 2:39
Paul Brower16-May-07 2:39 
GeneralRe: Abstract Classes Pin
jayart16-May-07 2:56
jayart16-May-07 2:56 
GeneralRe: Abstract Classes Pin
Guffa16-May-07 4:06
Guffa16-May-07 4:06 
GeneralRe: Abstract Classes Pin
Le centriste16-May-07 7:45
Le centriste16-May-07 7:45 
GeneralRe: Abstract Classes Pin
SPanicker*16-May-07 21:10
SPanicker*16-May-07 21:10 
GeneralRe: Abstract Classes Pin
SPanicker*16-May-07 21:05
SPanicker*16-May-07 21:05 
AnswerRe: Abstract Classes Pin
Rahul8316-May-07 3:42
Rahul8316-May-07 3:42 
GeneralRe: Abstract Classes Pin
SPanicker*16-May-07 21:09
SPanicker*16-May-07 21:09 
AnswerRe: Abstract Classes Pin
LogiPro10125-Jan-09 11:28
LogiPro10125-Jan-09 11:28 
AnswerRe: Abstract Classes Pin
LogiPro10125-Jan-09 11:34
LogiPro10125-Jan-09 11:34 

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.