Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to add Custom folder To setup project Pin
sathish s13-Aug-07 3:01
sathish s13-Aug-07 3:01 
GeneralRe: How to add Custom folder To setup project Pin
salmonraju13-Aug-07 3:24
salmonraju13-Aug-07 3:24 
GeneralRe: How to add Custom folder To setup project Pin
sathish s13-Aug-07 3:37
sathish s13-Aug-07 3:37 
GeneralRe: How to add Custom folder To setup project Pin
salmonraju13-Aug-07 3:53
salmonraju13-Aug-07 3:53 
Questionhow to connect to sql Pin
costavo13-Aug-07 1:50
costavo13-Aug-07 1:50 
AnswerRe: how to connect to sql Pin
Giorgi Dalakishvili13-Aug-07 2:03
mentorGiorgi Dalakishvili13-Aug-07 2:03 
AnswerRe: how to connect to sql Pin
Russell Jones13-Aug-07 5:53
Russell Jones13-Aug-07 5:53 
Questionsome problem with ResourceManager Pin
Areff13-Aug-07 1:27
Areff13-Aug-07 1:27 
AnswerRe: some problem with ResourceManager Pin
Pete O'Hanlon13-Aug-07 1:31
mvePete O'Hanlon13-Aug-07 1:31 
AnswerRe: some problem with ResourceManager Pin
Talal Sultan13-Aug-07 2:17
Talal Sultan13-Aug-07 2:17 
GeneralRe: some problem with ResourceManager Pin
Areff13-Aug-07 2:42
Areff13-Aug-07 2:42 
AnswerRe: some problem with ResourceManager Pin
Talal Sultan13-Aug-07 2:53
Talal Sultan13-Aug-07 2:53 
I think I remember that when I was working on a project in .NET 1.1 I got some problems with the GetExecutingAssembly(). I don't remember exactly why it wasn't working but I used another piece of code to solve the problem. Also, I think you should put the whole name of the resource file (with namespace reference).

If you have a file called resource.resx in a folder "Properties" of project "myProject", you should put the file as "myProject.Properties.resource".

The code I use is this:

ResourceManager rm = new ResourceManager("myProject.Properties.resource", Type.GetType("namespaceName.pageClassName").Assembly);

where pageClassName is the name of the page class where your code is located and namespaceName is the namespace where this class is located.

Talal



-- If this is a post that has been helpful to you, please vote for it. Thank you!

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

Questionhow to synchronize static method/variable? Pin
e_b13-Aug-07 1:08
e_b13-Aug-07 1:08 
AnswerRe: how to synchronize static method/variable? Pin
Luc Pattyn13-Aug-07 1:23
sitebuilderLuc Pattyn13-Aug-07 1:23 
QuestionDataGridTextBoxColumn Text Committing problem Pin
srikanth42413-Aug-07 1:03
srikanth42413-Aug-07 1:03 
QuestionHelp regarding row height in datagridview control Pin
anu8113-Aug-07 0:57
anu8113-Aug-07 0:57 
AnswerRe: Help regarding row height in datagridview control Pin
sathish s13-Aug-07 2:51
sathish s13-Aug-07 2:51 
GeneralRe: Help regarding row height in datagridview control Pin
anu8113-Aug-07 3:21
anu8113-Aug-07 3:21 
QuestionTab Order Pin
Sunshine Always13-Aug-07 0:55
Sunshine Always13-Aug-07 0:55 
AnswerRe: Tab Order Pin
Luc Pattyn13-Aug-07 1:27
sitebuilderLuc Pattyn13-Aug-07 1:27 
AnswerRe: Tab Order Pin
kubben13-Aug-07 3:07
kubben13-Aug-07 3:07 
QuestionSFTP, Tamir Pin
GeorgeBerry13-Aug-07 0:46
GeorgeBerry13-Aug-07 0:46 
AnswerRe: SFTP, Tamir Pin
Pete O'Hanlon13-Aug-07 1:14
mvePete O'Hanlon13-Aug-07 1:14 
QuestionRe: SFTP, Tamir Pin
GeorgeBerry13-Aug-07 4:43
GeorgeBerry13-Aug-07 4:43 
AnswerRe: SFTP, Tamir Pin
Ravi Bhavnani13-Aug-07 2:14
professionalRavi Bhavnani13-Aug-07 2:14 

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.