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

C#

 
QuestionData holder - design decision Pin
Glen Harvy7-Nov-06 10:41
Glen Harvy7-Nov-06 10:41 
AnswerRe: Data holder - design decision Pin
Christian Graus7-Nov-06 11:49
protectorChristian Graus7-Nov-06 11:49 
QuestionProblem with dataGridComboBoxColumn object in VC# 2005 Pin
hdv2127-Nov-06 10:37
hdv2127-Nov-06 10:37 
AnswerRe: Problem with dataGridComboBoxColumn object in VC# 2005 Pin
lainoo7-Nov-06 13:14
lainoo7-Nov-06 13:14 
QuestionIBindingList implementation Pin
bertvan7-Nov-06 10:05
bertvan7-Nov-06 10:05 
AnswerRe: IBindingList implementation Pin
Robert Rohde7-Nov-06 12:51
Robert Rohde7-Nov-06 12:51 
AnswerRe: IBindingList implementation Pin
Ed.Poore7-Nov-06 13:49
Ed.Poore7-Nov-06 13:49 
QuestionImage as Embedded Resource... [modified] Pin
new_phoenix7-Nov-06 7:16
new_phoenix7-Nov-06 7:16 
After importing an image into a C# windows based application, and changing the "Build Action" from the default of "Content" to "Embedded Resource", and attempting to overwrite the image file from outside the application as a windows operation, the image replacement does not appear to be re-embedded as a resource thereby replacing the original image. Is the reason because the image file is embedded at the time that the application is compiled as a build? Is there some way that the new image file could be programmatically re-embedded as a resource through the manipulation of an image file property from inside the application?

Would really appreciate some insights as to the correct approach. The idea of embedding the image file as a resource is a good one, but I would like to be able to dynamically overwrite that image file and to re-embed it at run-time.

Also, it appears that the path to the image file when importing it into an application is unable to be modified from the default path of "C:/Documents and Settings/Administrator/My Documents/Visual Studio Projects/". Granted, this path can be set in the "Tools > Options > Environment > Projects and Solutions" settings section. However, can this default path be changed to a different directory for just the image files or is it locked in place with respect to the entire application's directory location? If the directory path cannot be modified, then I believe that it would really limit the placement for these image files in the application.

I suspect that the image file is embedded in binary format, but this should be able to be done dynamically on the fly. Any ideas or suggestions would be appreciated.

AnswerRe: Image as Embedded Resource... Pin
Scott Dorman7-Nov-06 8:05
professionalScott Dorman7-Nov-06 8:05 
AnswerRe: Image as Embedded Resource... Pin
Christian Graus7-Nov-06 9:11
protectorChristian Graus7-Nov-06 9:11 
Questionhow to change sound to byte and byte to sound? Pin
bahman2000b7-Nov-06 6:01
bahman2000b7-Nov-06 6:01 
AnswerRe: how to change sound to byte and byte to sound? Pin
Luc Pattyn7-Nov-06 7:46
sitebuilderLuc Pattyn7-Nov-06 7:46 
QuestionIrDAClient Pin
G_Me7-Nov-06 4:27
G_Me7-Nov-06 4:27 
QuestionPermanently set window to bottom? Pin
Muntyness7-Nov-06 3:29
Muntyness7-Nov-06 3:29 
AnswerRe: Permanently set window to bottom? Pin
Pete O'Hanlon7-Nov-06 4:58
mvePete O'Hanlon7-Nov-06 4:58 
GeneralRe: Permanently set window to bottom? Pin
Muntyness7-Nov-06 5:21
Muntyness7-Nov-06 5:21 
Questionaspx: setting the selection in a TextBox control Pin
Christopher Duncan7-Nov-06 3:14
Christopher Duncan7-Nov-06 3:14 
AnswerRe: aspx: setting the selection in a TextBox control Pin
coolestCoder7-Nov-06 3:47
coolestCoder7-Nov-06 3:47 
Questionchange permission in registry Pin
ingsgr01@gmail.com7-Nov-06 2:17
ingsgr01@gmail.com7-Nov-06 2:17 
AnswerRe: change permission in registry Pin
ednrgc7-Nov-06 6:25
ednrgc7-Nov-06 6:25 
Questionn00b question: change the height of an already open form Pin
blackpenny157-Nov-06 2:15
blackpenny157-Nov-06 2:15 
AnswerRe: n00b question: change the height of an already open form Pin
Martin#7-Nov-06 2:28
Martin#7-Nov-06 2:28 
QuestionDataColumn.Expression Pin
cecildt7-Nov-06 1:47
cecildt7-Nov-06 1:47 
AnswerRe: DataColumn.Expression Pin
cecildt7-Nov-06 2:01
cecildt7-Nov-06 2:01 
Questionhow can i change the exe image in VC#.Net Pin
premkamalg7-Nov-06 1:02
premkamalg7-Nov-06 1: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.