473,486 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Now I've done it...

I wanted to exchange all the ComboBoxes in my project with a special
MyComboBox inherited from the Regular combobox but with a little extra code.

Because I didn't want to remove all the normal comboboxes and drag and drop
MyComboBoxes, I did a find and replace in my entire solution which consists
of 13 projects and a lot of different forms and replaced
"System.Windows.Forms.ComboBox" with "UserControls.MyComboBox" (or whatever
my combobox is called...) everywhere, including the designer files of
course.

That went ok up to 99%. Most of my forms showed that the standard comboboxes
were now indeed MyComboBox'es.

But ONE form out of them all refuse to show in the designer. I get the
cryptic pink errormessage with a lot of errors basically saying that som
error occured when trying to deserialize the form.

If I RUN the program, however, the form shows nicely and all the comboboxes
are MyComboBox'es (as they should be).

Now how can I get the designtime designer to show the form again. Is there
any way of "re-serializing" it or?

OF COURSE it was the most important form of them all!!! We do have source
control, but if I revert the changes, I'll back to zero. And all the other
changes work fine... just this one form.

Cheers,
Johnny "Clutz" J.
Sep 28 '07 #1
3 1044
Never mind, I solved the problem.

It is a long story and quite complicated to explain, so I won't bore you
with that...

Cheers,
Johnny J.


"Johnny J." <jo**@altcom.sewrote in message
news:u7****************@TK2MSFTNGP05.phx.gbl...
>I wanted to exchange all the ComboBoxes in my project with a special
MyComboBox inherited from the Regular combobox but with a little extra
code.

Because I didn't want to remove all the normal comboboxes and drag and
drop MyComboBoxes, I did a find and replace in my entire solution which
consists of 13 projects and a lot of different forms and replaced
"System.Windows.Forms.ComboBox" with "UserControls.MyComboBox" (or
whatever my combobox is called...) everywhere, including the designer
files of course.

That went ok up to 99%. Most of my forms showed that the standard
comboboxes were now indeed MyComboBox'es.

But ONE form out of them all refuse to show in the designer. I get the
cryptic pink errormessage with a lot of errors basically saying that som
error occured when trying to deserialize the form.

If I RUN the program, however, the form shows nicely and all the
comboboxes are MyComboBox'es (as they should be).

Now how can I get the designtime designer to show the form again. Is there
any way of "re-serializing" it or?

OF COURSE it was the most important form of them all!!! We do have source
control, but if I revert the changes, I'll back to zero. And all the other
changes work fine... just this one form.

Cheers,
Johnny "Clutz" J.

Sep 28 '07 #2
Johnny J. wrote:
Never mind, I solved the problem.

It is a long story and quite complicated to explain, so I won't bore you
with that...
Yes, of course. After all, we definitely don't want to see any
explanations of how to fix things in this newsgroup. Especially if they
are complicated things that would be more difficult for someone else to
figure out on their own.

We also hate to have subject lines that actually describe the problem.
It's much better to write something vague and irrelevant such as "Now
I've done it" or similar, so that you have to read through the entire
post before you have some idea of the general problem being asked about.

No, wait. I'm sorry. I have that all mixed up. All of the above is
the opposite of the reality.

Please consider adjusting your use of this newsgroup so that your posts'
subjects are more usable, and so that you still share solutions with
others. If your question was worth asking here, it's worth answering
here, even if you answer it yourself. Conversely, if it's not worth
answering here, you shouldn't have asked it in the first place.

Thanks,
Pete
Sep 28 '07 #3

Johnny J - please read this before posting anything else here:

http://www.catb.org/~esr/faqs/smart-questions.html


Sep 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2361
by: lawrence | last post by:
I've the form you see below, which is supposed to upload an image. I expect the image name as a var to be $uploadedFile. In the receiving function, I've this code: global $uploadedFile,...
9
4692
by: syd | last post by:
I don't even know where to begin. This is just bizarre. I just picked up the Gnuplot.py module (a light interface to gnuplot commands) and was messing around with it today. I've got a tiny...
9
3190
by: {AGUT2}=IWIK= | last post by:
Hello all, It's my fisrt post here and I am feeling a little stupid here, so go easy.. :) (Oh, and I've spent _hours_ searching...) I am desperately trying to read in an ASCII...
123
3809
by: C# Learner | last post by:
I've had enough of C#. I've had enough of using parentheses for every 'if' statement. I've had enough of having to mix assignment of return value of methods with flow control, making writing code...
1
1432
by: Optimus | last post by:
Hi everyone, I've got issue about MARS feature support in ASP.NET 2.0 and MSSQL 2.0 How to get things work? What i've done is I got vs.net 2.0 and MSSQL 2005 installed on my pc. Then I tried...
3
2731
by: nsh | last post by:
mailing.database.mysql, comp.lang.php subject: does "LOAD DATA" EVER work?!? I've tried EVERYTHING! version info: my isp is running my web page on a linux box with php ver. 4.4.1 according to...
10
1535
by: Stan R. | last post by:
Hi. I'm an old programmer whose been finally reading up on xml the past week. The concepts of xml, dtd, and xsl seem pretty straight forward to me. I understand that xsl (as xslt for...
1
1666
by: lennyw | last post by:
Hi I'm trying to use XSLT to do an xml to xml transformation where the output xml contains summary data on the information in the input xml. I've succesfully done a Muenchian grouping of the...
0
4115
by: BLUE | last post by:
I'll let you know what the dealer and the manufacturer will answer me as soon as possible. As far as now I've been capable or turning ON/OFF: - the RFID reader using dealer supplied...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5430
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.