Click here to Skip to main content
15,928,207 members
Home / Discussions / C#
   

C#

 
GeneralRe: Accessing the Image of a System.Web.UI.WebControls.HyperLink Pin
Heath Stewart4-Dec-03 9:31
protectorHeath Stewart4-Dec-03 9:31 
GeneralProduct to automatically convert VB.Net projects to C# – Beta Testers wanted Pin
Roger L Jack4-Dec-03 7:00
Roger L Jack4-Dec-03 7:00 
GeneralRe: How to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Colin Angus Mackay4-Dec-03 6:18
Colin Angus Mackay4-Dec-03 6:18 
GeneralResources Pin
Guinness4Strength4-Dec-03 4:31
Guinness4Strength4-Dec-03 4:31 
GeneralRe: Resources Pin
Not Active4-Dec-03 4:38
mentorNot Active4-Dec-03 4:38 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 4:40
Guinness4Strength4-Dec-03 4:40 
GeneralRe: Resources Pin
Not Active4-Dec-03 5:04
mentorNot Active4-Dec-03 5:04 
GeneralRe: Resources Pin
Heath Stewart4-Dec-03 6:13
protectorHeath Stewart4-Dec-03 6:13 
Besides what Mark was saying, you can also add that MDB to your project and change the Build Action to "embedded resource". Then the file is added as an embedded resource when you compile and you can extract it easily:
Type t = this.GetType();
Stream s = t.Assembly.GetManifestResourceStream("Namespace.ResourceName.mdb");
// Save the stream to a file
Based on other things you posted, generally you still clear of resources the way you do them in VC++. Instead of string resources (or anything that can be represented as a string, hence those things with TypeConverters that can convert to/from strings) you use ResX files and a ResourceManager. Other files can be added as embedded resources. The VersionInfo block is automatically created by the linker using the assembly attributes.

You can still add/edit/remove an RC script using VS/VS.NET (opening the executable itself), but you have to delay-sign your assembly if you sign it (and you should). See my Windows XP Styles article for more information.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Resources Pin
Not Active4-Dec-03 6:26
mentorNot Active4-Dec-03 6:26 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 7:11
Guinness4Strength4-Dec-03 7:11 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 7:22
Guinness4Strength4-Dec-03 7:22 
GeneralRe: Resources Pin
Heath Stewart4-Dec-03 9:21
protectorHeath Stewart4-Dec-03 9:21 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 10:39
Guinness4Strength4-Dec-03 10:39 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 11:01
Guinness4Strength4-Dec-03 11:01 
GeneralRe: Resources Pin
Heath Stewart4-Dec-03 13:48
protectorHeath Stewart4-Dec-03 13:48 
GeneralRe: Resources Pin
Guinness4Strength5-Dec-03 4:16
Guinness4Strength5-Dec-03 4:16 
GeneralRe: Resources Pin
Not Active4-Dec-03 7:40
mentorNot Active4-Dec-03 7:40 
GeneralRe: Resources Pin
Guinness4Strength4-Dec-03 7:58
Guinness4Strength4-Dec-03 7:58 
GeneralRe: Resources Pin
Not Active4-Dec-03 9:16
mentorNot Active4-Dec-03 9:16 
Questionc# alarm class - implementation? Pin
AndrewCherry4-Dec-03 3:58
AndrewCherry4-Dec-03 3:58 
AnswerRe: c# alarm class - implementation? Pin
Colin Angus Mackay4-Dec-03 4:06
Colin Angus Mackay4-Dec-03 4:06 
AnswerRe: c# alarm class - implementation? Pin
Not Active4-Dec-03 4:09
mentorNot Active4-Dec-03 4:09 
QuestionHow to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Nuno Silva4-Dec-03 3:58
Nuno Silva4-Dec-03 3:58 
AnswerRe: How to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Colin Angus Mackay4-Dec-03 4:03
Colin Angus Mackay4-Dec-03 4:03 
GeneralRe: How to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Nuno Silva4-Dec-03 6:10
Nuno Silva4-Dec-03 6:10 

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.