Click here to Skip to main content
15,914,419 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Generalcan't see my data adapters... Pin
code dope6-Mar-05 23:57
code dope6-Mar-05 23:57 
GeneralRe: can't see my data adapters... Pin
numbrel8-Mar-05 9:31
numbrel8-Mar-05 9:31 
GeneralCω - Interesting .NET language Pin
Joshua Nussbaum6-Mar-05 2:29
Joshua Nussbaum6-Mar-05 2:29 
GeneralRe: Cω - Interesting .NET language Pin
Judah Gabriel Himango8-Mar-05 11:44
sponsorJudah Gabriel Himango8-Mar-05 11:44 
Generali get UnauthorizedAccessException Pin
mobasher5-Mar-05 22:17
mobasher5-Mar-05 22:17 
GeneralRe: i get UnauthorizedAccessException Pin
Mike Dimmick6-Mar-05 1:57
Mike Dimmick6-Mar-05 1:57 
GeneralRe: i get UnauthorizedAccessException Pin
mobasher6-Mar-05 16:00
mobasher6-Mar-05 16:00 
GeneralDataGrid and DataSet Pin
Small Rat4-Mar-05 4:51
Small Rat4-Mar-05 4:51 
GeneralRe: DataGrid and DataSet Pin
TTECHNOLOGY5-Mar-05 23:01
TTECHNOLOGY5-Mar-05 23:01 
GeneralRe: DataGrid and DataSet Pin
TTECHNOLOGY5-Mar-05 23:03
TTECHNOLOGY5-Mar-05 23:03 
GeneralRe: DataGrid and DataSet Pin
Small Rat6-Mar-05 19:22
Small Rat6-Mar-05 19:22 
GeneralRe: DataGrid and DataSet Pin
TTECHNOLOGY6-Mar-05 19:50
TTECHNOLOGY6-Mar-05 19:50 
Generalwav recording and playing in .Net c# Pin
eXception!3-Mar-05 22:25
eXception!3-Mar-05 22:25 
GeneralApp config Pin
Small Rat3-Mar-05 18:05
Small Rat3-Mar-05 18:05 
GeneralRe: App config Pin
Anonymous4-Mar-05 7:07
Anonymous4-Mar-05 7:07 
GeneralCOM Interop - Passing pointers from unmanaged to managed Pin
Laxman Prabu2-Mar-05 21:23
Laxman Prabu2-Mar-05 21:23 
GeneralMore Information Pin
ursus zeta6-Mar-05 12:18
ursus zeta6-Mar-05 12:18 
GeneralMessageBox.Show() ?! Pin
truonghongquan2-Mar-05 19:26
truonghongquan2-Mar-05 19:26 
GeneralRe: MessageBox.Show() ?! Pin
Anonymous4-Mar-05 7:05
Anonymous4-Mar-05 7:05 
GeneralRe: MessageBox.Show() ?! Pin
truonghongquan6-Mar-05 14:51
truonghongquan6-Mar-05 14:51 
GeneralFTP Programming with .Net framework 1.1 Pin
Member 5641432-Mar-05 8:53
Member 5641432-Mar-05 8:53 
GeneralRe: FTP Programming with .Net framework 1.1 Pin
TylerBrinks2-Mar-05 12:10
TylerBrinks2-Mar-05 12:10 
GeneralModifying Design time behavior Pin
Teflon2-Mar-05 0:50
Teflon2-Mar-05 0:50 
hi all

I have a interesting problem with one of my gui's in the Forms Designer in VS2003.

When I open the form in design view my studio crashes with a Stack Overflow Exception.
When I analyze the crashed process I can see that it is executing one of the constructors of my data and comunication model classes.
Call Stack shows that these were created because the constructor of my Form registers some methods to events in the model.

The crash could be related to the fact that the model is unmanaged code provided by wrapper clases.

The crash is 100% reproduceable.

(uneccessary to say, under normal runtime conditions the same code works fine)

One solution would be to prevent this snip of code (the data and communication classes) to be executed in design time.

I don't believe it is neccessary to create an instance of them.

How can I detect that my code is executed in the designer oposed to normal execution.
I found some hints about providing custom designers and thereby changing the behavior, but issent there simply somewhere a boolean I can read, saying designtime/normal?
GeneralRe: Modifying Design time behavior Pin
Mathew Hall3-Mar-05 21:01
Mathew Hall3-Mar-05 21:01 
GeneralRe: Modifying Design time behavior Pin
Teflon_004534-Mar-05 6:57
sussTeflon_004534-Mar-05 6: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.