473,395 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

More Die IDE Die

After formatting killed the control. I delete it. Add it new. Can I
change the name so that all existing code will work. Not a chance.
Somewhere the old name exists.

I guess this IDE only works if no problems are found. RAD stands for Rapid
Agony Distributor for this IDE.

Comeon MS do better.

Lloyd Sheen
Nov 18 '05 #1
5 1107
What do u mean by "change the name so that all code will work" ????

obviously if u referred to a control using an old name, and at some later
stage change the name of the control, the code is still going to refer to it
using the old name.

I am glad the IDE doesn;t change your code....

and btw, the auto formatting of VS.NET works very well for me, including the
auto indentation. so i really don;t know what you are cribbing so much
about. and besides VS.NET is a development tool, not a page designing or a
graphics app.

Regards,
Nauzad Kapadia [MVP]



"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:8F********************@news01.bloor.is.net.ca ble.rogers.com...
After formatting killed the control. I delete it. Add it new. Can I
change the name so that all existing code will work. Not a chance.
Somewhere the old name exists.

I guess this IDE only works if no problems are found. RAD stands for Rapid Agony Distributor for this IDE.

Comeon MS do better.

Lloyd Sheen

Nov 18 '05 #2
I deleted the control with the name I want to use, readded the control and
tried to apply the old name. I had to get out of IDE and then back in.
There is a cache somewhere that is not being informed that the control was
deleted. I deleted it from the designer after the reformatting had
destroyed the page.

This has happened before. The IDE does not want mistakes to be made and
since I am just human we don't get along.

Lloyd Sheen

"Nauzad Kapadia" <na*****@yahoo.com> wrote in message
news:eE**************@tk2msftngp13.phx.gbl...
What do u mean by "change the name so that all code will work" ????

obviously if u referred to a control using an old name, and at some later
stage change the name of the control, the code is still going to refer to it using the old name.

I am glad the IDE doesn;t change your code....

and btw, the auto formatting of VS.NET works very well for me, including the auto indentation. so i really don;t know what you are cribbing so much
about. and besides VS.NET is a development tool, not a page designing or a
graphics app.

Regards,
Nauzad Kapadia [MVP]



"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message news:8F********************@news01.bloor.is.net.ca ble.rogers.com...
After formatting killed the control. I delete it. Add it new. Can I
change the name so that all existing code will work. Not a chance.
Somewhere the old name exists.

I guess this IDE only works if no problems are found. RAD stands for

Rapid
Agony Distributor for this IDE.

Comeon MS do better.

Lloyd Sheen


Nov 18 '05 #3
let me explain to you what happens.

when you add a control thru your designer, a reference to your control is
also added in your code behind file. This allows your code to map to event
handlers etc. When you delete a control, the designer does not delete the
entries from the code behind file (for some very good reasons).

To get around this, all you have to do is manually go to the code behind
file and go into the "Visual Studio Generated Code" Region and delete the
lines that declare and instantiate your control. There should be 2 lines for
the same. If you are using C# then remember to delete the event handlers as
well.

regards,
Nauzad Kapadia [MVP]

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:7l********************@news01.bloor.is.net.ca ble.rogers.com...
I deleted the control with the name I want to use, readded the control and
tried to apply the old name. I had to get out of IDE and then back in.
There is a cache somewhere that is not being informed that the control was
deleted. I deleted it from the designer after the reformatting had
destroyed the page.

This has happened before. The IDE does not want mistakes to be made and
since I am just human we don't get along.

Lloyd Sheen

"Nauzad Kapadia" <na*****@yahoo.com> wrote in message
news:eE**************@tk2msftngp13.phx.gbl...
What do u mean by "change the name so that all code will work" ????

obviously if u referred to a control using an old name, and at some later stage change the name of the control, the code is still going to refer to
it
using the old name.

I am glad the IDE doesn;t change your code....

and btw, the auto formatting of VS.NET works very well for me, including

the
auto indentation. so i really don;t know what you are cribbing so much
about. and besides VS.NET is a development tool, not a page designing or

a graphics app.

Regards,
Nauzad Kapadia [MVP]



"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in

message
news:8F********************@news01.bloor.is.net.ca ble.rogers.com...
After formatting killed the control. I delete it. Add it new. Can I
change the name so that all existing code will work. Not a chance.
Somewhere the old name exists.

I guess this IDE only works if no problems are found. RAD stands for

Rapid
Agony Distributor for this IDE.

Comeon MS do better.

Lloyd Sheen



Nov 18 '05 #4
I thought this was supposed to be RAD IDE. For everything you have to
remember to do that is a problem with the IDE, the value decreases. I was
using the previous IDE for C++ and the IDE for VB classic with almost no
problems. It would seem that lessons learned with those products have been
forgotten or ignored.

When I delete a control from the designer, why would one think that you have
to go looking for all references. The original reason for this posting was
that the designer destroyed my page on a simple shift from design to HTML.
I was in the process of rebuilding the page (should have saved it in VSS ,
and this is something I will have to do more often to offset the IDE).

I keep seeing posting saying wait until the next release. I don't think
this has been a good experience. MS's strength is usually the UI but in
this case too many problem spoil the experience and when you are trying to
accomplish something there is enough to learn and implement without the $$$
IDE working against you.

Lloyd Sheen

"Nauzad Kapadia" <na*****@yahoo.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
let me explain to you what happens.

when you add a control thru your designer, a reference to your control is
also added in your code behind file. This allows your code to map to event
handlers etc. When you delete a control, the designer does not delete the
entries from the code behind file (for some very good reasons).

To get around this, all you have to do is manually go to the code behind
file and go into the "Visual Studio Generated Code" Region and delete the
lines that declare and instantiate your control. There should be 2 lines for the same. If you are using C# then remember to delete the event handlers as well.

regards,
Nauzad Kapadia [MVP]

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message news:7l********************@news01.bloor.is.net.ca ble.rogers.com...
I deleted the control with the name I want to use, readded the control and
tried to apply the old name. I had to get out of IDE and then back in.
There is a cache somewhere that is not being informed that the control was deleted. I deleted it from the designer after the reformatting had
destroyed the page.

This has happened before. The IDE does not want mistakes to be made and
since I am just human we don't get along.

Lloyd Sheen

"Nauzad Kapadia" <na*****@yahoo.com> wrote in message
news:eE**************@tk2msftngp13.phx.gbl...
What do u mean by "change the name so that all code will work" ????

obviously if u referred to a control using an old name, and at some later stage change the name of the control, the code is still going to refer to
it
using the old name.

I am glad the IDE doesn;t change your code....

and btw, the auto formatting of VS.NET works very well for me, including the
auto indentation. so i really don;t know what you are cribbing so much
about. and besides VS.NET is a development tool, not a page designing
or a graphics app.

Regards,
Nauzad Kapadia [MVP]



"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in

message
news:8F********************@news01.bloor.is.net.ca ble.rogers.com...
> After formatting killed the control. I delete it. Add it new. Can

I > change the name so that all existing code will work. Not a chance.
> Somewhere the old name exists.
>
> I guess this IDE only works if no problems are found. RAD stands for Rapid
> Agony Distributor for this IDE.
>
> Comeon MS do better.
>
> Lloyd Sheen
>
>



Nov 18 '05 #5
If this is a problem to you, might I suggest you try out Borland C# Builder.
You will find that the same problem exists there as well. The .NET IDE is
thru its first iteration 1.x. Comparing this to C++ ide which has been thru
6 major iterations is not comparing apples to apples. As always, there are
still lots of improvements to be done, but the fact is that microsoft got it
mostly right. This issue is already addressed in the next release. Is it so
much of a pain to find the references in the meantime and change them? You
are focussing on the unimportant here. As you are aware, the issue has
already been resolved, what benefit is it to keep dragging this out?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:do*************@twister01.bloor.is.net.cable. rogers.com...
I thought this was supposed to be RAD IDE. For everything you have to
remember to do that is a problem with the IDE, the value decreases. I was
using the previous IDE for C++ and the IDE for VB classic with almost no
problems. It would seem that lessons learned with those products have been forgotten or ignored.

When I delete a control from the designer, why would one think that you have to go looking for all references. The original reason for this posting was that the designer destroyed my page on a simple shift from design to HTML.
I was in the process of rebuilding the page (should have saved it in VSS ,
and this is something I will have to do more often to offset the IDE).

I keep seeing posting saying wait until the next release. I don't think
this has been a good experience. MS's strength is usually the UI but in
this case too many problem spoil the experience and when you are trying to
accomplish something there is enough to learn and implement without the $$$ IDE working against you.

Lloyd Sheen

"Nauzad Kapadia" <na*****@yahoo.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
let me explain to you what happens.

when you add a control thru your designer, a reference to your control is
also added in your code behind file. This allows your code to map to event handlers etc. When you delete a control, the designer does not delete the entries from the code behind file (for some very good reasons).

To get around this, all you have to do is manually go to the code behind
file and go into the "Visual Studio Generated Code" Region and delete the lines that declare and instantiate your control. There should be 2 lines for
the same. If you are using C# then remember to delete the event handlers

as
well.

regards,
Nauzad Kapadia [MVP]

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in

message
news:7l********************@news01.bloor.is.net.ca ble.rogers.com...
I deleted the control with the name I want to use, readded the control and tried to apply the old name. I had to get out of IDE and then back in. There is a cache somewhere that is not being informed that the control was deleted. I deleted it from the designer after the reformatting had
destroyed the page.

This has happened before. The IDE does not want mistakes to be made and since I am just human we don't get along.

Lloyd Sheen

"Nauzad Kapadia" <na*****@yahoo.com> wrote in message
news:eE**************@tk2msftngp13.phx.gbl...
> What do u mean by "change the name so that all code will work" ????
>
> obviously if u referred to a control using an old name, and at some

later
> stage change the name of the control, the code is still going to refer to
it
> using the old name.
>
> I am glad the IDE doesn;t change your code....
>
> and btw, the auto formatting of VS.NET works very well for me, including the
> auto indentation. so i really don;t know what you are cribbing so
much > about. and besides VS.NET is a development tool, not a page designing or
a
> graphics app.
>
> Regards,
> Nauzad Kapadia [MVP]
>
>
>
>
>
>
>
> "Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in
message
> news:8F********************@news01.bloor.is.net.ca ble.rogers.com...
> > After formatting killed the control. I delete it. Add it new.
Can I > > change the name so that all existing code will work. Not a
chance. > > Somewhere the old name exists.
> >
> > I guess this IDE only works if no problems are found. RAD stands

for > Rapid
> > Agony Distributor for this IDE.
> >
> > Comeon MS do better.
> >
> > Lloyd Sheen
> >
> >
>
>



Nov 18 '05 #6

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

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
22
by: bearophile | last post by:
Ville Vainio: >It's highly typical for the newbies to suggest improvements to the >language. They will usually learn that they are wrong, but the >discussion that ensues can be fruitfull anyway...
21
by: Rabbit63 | last post by:
Hi: I want to show a set of records in the database table on the clicnt browser. I have two ways to do this (writen in JScript): 1.The first way is: <% var sql = "select firstname from...
6
by: Markus Dehmann | last post by:
I have n sets of elements. I want to find elements that occur more than once in more than one set. Maybe the following example shows what I mean: S1 = {1,2,3,2,4} S2 = {2,2,4,5,4} S2 =...
33
by: Joerg Schuster | last post by:
Hello, Python regular expressions must not have more than 100 capturing groups. The source code responsible for this reads as follows: # XXX: <fl> get rid of this limitation! if...
15
by: Deano | last post by:
I've posted about this subject before but haven't really got anywhere yet. I have now come up with a plan of action that takes into account my strong desire to implement save/discard functionality...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
15
by: sparks | last post by:
We get more and more data done in excel and then they want it imported into access. The data is just stupid....values of 1 to 5 we get a lot of 0's ok that alright but 1-jan ? we get colums...
3
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None...
7
by: Sky | last post by:
I have been looking for a more powerful version of GetType(string) that will find the Type no matter what, and will work even if only supplied "{TypeName}", not the full "{TypeName},{AssemblyName}"...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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...
0
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
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,...

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.