Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
QuestionDataGridView InvalidOperationException re-entrancy issue when setting its DataSource to null Pin
Cyrilix28-May-08 7:22
Cyrilix28-May-08 7:22 
AnswerRe: DataGridView InvalidOperationException re-entrancy issue when setting its DataSource to null Pin
leppie28-May-08 21:28
leppie28-May-08 21:28 
GeneralRe: DataGridView InvalidOperationException re-entrancy issue when setting its DataSource to null Pin
Cyrilix28-May-08 22:59
Cyrilix28-May-08 22:59 
GeneralRe: DataGridView InvalidOperationException re-entrancy issue when setting its DataSource to null Pin
leppie29-May-08 0:47
leppie29-May-08 0:47 
GeneralRe: DataGridView InvalidOperationException re-entrancy issue when setting its DataSource to null Pin
sanme985-Aug-08 15:26
sanme985-Aug-08 15:26 
GeneralRe: DataGridView InvalidOperationException re-entrancy issue when setting its DataSource to null Pin
Cyrilix5-Aug-08 17:47
Cyrilix5-Aug-08 17:47 
QuestionUsing Resources Pin
ejohns8528-May-08 6:31
ejohns8528-May-08 6:31 
AnswerRe: Using Resources Pin
leppie28-May-08 6:43
leppie28-May-08 6:43 
ejohns85 wrote:
The video file is an uncompressed AVI file, but it is only 250 MB, so surely this can be a part of the executable?


HOLY MOLY!!!

Your assumption is correct, your method is not Smile | :)

You need to simply add the file as an embedded resource.

So what happens when you add this size to a ResX file?

It gets converted to BASE64 encoding, and being a video clip with pretty much random data, this will likely expand to about 1GB OMG | :OMG:

Because I assume you are running Vista, you hit the 1GB default process limit when trying to build it. (You can work around this though)

Smile | :)

xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4 out now (27 May 2008)

GeneralRe: Using Resources Pin
ejohns8528-May-08 7:00
ejohns8528-May-08 7:00 
GeneralRe: Using Resources Pin
Gareth H28-May-08 7:32
Gareth H28-May-08 7:32 
Questionauto-complete textbox with memory Pin
AndrusM28-May-08 6:00
AndrusM28-May-08 6:00 
AnswerRe: auto-complete textbox with memory Pin
leppie28-May-08 6:46
leppie28-May-08 6:46 
GeneralRe: auto-complete textbox with memory Pin
AndrusM28-May-08 7:21
AndrusM28-May-08 7:21 
GeneralRe: auto-complete textbox with memory Pin
leppie28-May-08 21:27
leppie28-May-08 21:27 
QuestionConnect to database via web service Pin
HenrydeSousa28-May-08 4:45
HenrydeSousa28-May-08 4:45 
AnswerRe: Connect to database via web service Pin
Gareth H28-May-08 7:39
Gareth H28-May-08 7:39 
GeneralRe: Connect to database via web service Pin
HenrydeSousa29-May-08 4:20
HenrydeSousa29-May-08 4:20 
QuestionWhat is the Error Pin
ASysSolvers28-May-08 4:33
ASysSolvers28-May-08 4:33 
AnswerRe: What is the Error Pin
leppie28-May-08 6:39
leppie28-May-08 6:39 
GeneralRe: What is the Error Pin
Guffa28-May-08 8:31
Guffa28-May-08 8:31 
QuestionOpenFileDialog in Web... Pin
Chetan Ranpariya28-May-08 3:59
Chetan Ranpariya28-May-08 3:59 
AnswerRe: OpenFileDialog in Web... Pin
leppie28-May-08 4:01
leppie28-May-08 4:01 
AnswerRe: OpenFileDialog in Web... Pin
Mike Dimmick28-May-08 4:30
Mike Dimmick28-May-08 4:30 
QuestionTransferring data from Excel Sheet to SQL Server 2000 database Pin
Dextter28-May-08 3:47
Dextter28-May-08 3:47 
AnswerRe: Transferring data from Excel Sheet to SQL Server 2000 database Pin
Bijesh28-May-08 3:57
Bijesh28-May-08 3:57 

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.