473,770 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

URGENT: Bug in VS.NET 2003

Please help.
I know that there are a lot of developers suffer from this bug in VS.NET. I
know to ho reproduce it quickly!!!
BUG: Code disappear when moving from code to design time and compiling
REPRODUCTION:
1.- Create a windows forms application (I've just tested C#)
2.- Create a new usercontrol and compile
3.- Create an inherited usercontrol from the first one
4.- put a panel into the usercontrol2
5.- put a button into the panel
6.- now, without hiding the usercontrol2 design window do a build

MSFT + MVP PLEASE HELP !!!
I'll open MSDN issue as well
Nov 15 '05 #1
3 1091
Tamir:

I just did it with VS 2003 and I created both controls within the same
project following your instructions exactly, one where I created
Usercontrol1 externally and built the inherited control inside project one.
At each step of the way I put the exact same code
"MessageBox.Sho w("Something" )" in the form's load event, in the
usercontrol's constuctor, in the button's click event and in the panel's
paint event. I tried every way i could to recreate this and I can't get it
to happen, none of my code is disappearing.

Anyone else?
"Tamir Khason" <ta**********@t con-NOSPAM.co.il> wrote in message
news:u7******** ******@TK2MSFTN GP11.phx.gbl...
Please help.
I know that there are a lot of developers suffer from this bug in VS.NET. I know to ho reproduce it quickly!!!
BUG: Code disappear when moving from code to design time and compiling
REPRODUCTION:
1.- Create a windows forms application (I've just tested C#)
2.- Create a new usercontrol and compile
3.- Create an inherited usercontrol from the first one
4.- put a panel into the usercontrol2
5.- put a button into the panel
6.- now, without hiding the usercontrol2 design window do a build

MSFT + MVP PLEASE HELP !!!
I'll open MSDN issue as well

Nov 15 '05 #2
Thank you for response,
This is just demonstration of the problem
Do EXACTLY those steps (including complation) and while compiling second
time LEAVE ON Design time of usercontrol2. You'll see that the button is
disappears...

"William Ryan eMVP" <do********@com cast.nospam.net > wrote in message
news:OL******** ******@TK2MSFTN GP12.phx.gbl...
Tamir:

I just did it with VS 2003 and I created both controls within the same
project following your instructions exactly, one where I created
Usercontrol1 externally and built the inherited control inside project one. At each step of the way I put the exact same code
"MessageBox.Sho w("Something" )" in the form's load event, in the
usercontrol's constuctor, in the button's click event and in the panel's
paint event. I tried every way i could to recreate this and I can't get it to happen, none of my code is disappearing.

Anyone else?
"Tamir Khason" <ta**********@t con-NOSPAM.co.il> wrote in message
news:u7******** ******@TK2MSFTN GP11.phx.gbl...
Please help.
I know that there are a lot of developers suffer from this bug in
VS.NET. I
know to ho reproduce it quickly!!!
BUG: Code disappear when moving from code to design time and compiling
REPRODUCTION:
1.- Create a windows forms application (I've just tested C#)
2.- Create a new usercontrol and compile
3.- Create an inherited usercontrol from the first one
4.- put a panel into the usercontrol2
5.- put a button into the panel
6.- now, without hiding the usercontrol2 design window do a build

MSFT + MVP PLEASE HELP !!!
I'll open MSDN issue as well


Nov 15 '05 #3
Thank you for response,
This is just demonstration of the problem
Do EXACTLY those steps (including complation) and while compiling second
time LEAVE ON Design time of usercontrol2. You'll see that the button is
disappears...

I have something similar.
I have a control in a .NET dll, then my application uses that .NET dll.
IF if change something to the control in the dll, then this control
dissapears in my main form.
(It gets deleted from my auto generated code). So I have to restore a backed
up project.

I know the reason, it somehow loses track of the dll with the modified
control since I just recompiled it.
Probably because the recompiled version have a different version number and
the VS Toolbox doesn't find it anymore.

I have learned that when I discover that my controls are lost on my main
for, then I close VS without saving, and reopen it again.
I can also reduce the problem by closing the VS immediate after rebuilding
the control in the dll, and then start upVS again, so it can load the newer
version.

This problem also existed in Delphi, the wrong component library loaded, and
the control dissapeared from the main form.
Only setting back the zipped file would fix this.

So I always zip my project before I modify visual controls.
Nov 15 '05 #4

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

Similar topics

0
2534
by: dregier | last post by:
attached is my full query that I am currently working on: Declare @counterday1 int Declare @counterday2 int set @counterday1 = '20' set @counterday2 = '629' Declare @CounterMin07_01 float Declare @CounterMin08_01 float Declare @CounterMin09_01 float
2
1219
by: kalyan | last post by:
hello everybody, I'am new to SQLServer.I have records from table as follows. column1 column2 column3 column4 column5 -------- ------------------- ------- ------ --------- Y 2004-02-17 00:00:00.000 0.00 152.70 0.00 0.00 WSC 2004-02-17 00:00:00.000 1.34 285.00 0.34 0.00 WPO 2004-02-17 00:00:00.000 7.00 650.03 0.77 0.00 SSEZY 2004-02-17 00:00:00.000 5.89 94.31 4.64 0.00 SEB 2004-02-17...
5
1328
by: Don Grover | last post by:
I have this xml file provided by a supplier, and although it validates I think it is wrong. I need to find out if it is wrong and get them to correct it The 2001 - 2005 are field names I thing they are putting them in the wrong place and should be in replace of the <name> tag if so where should the values go ?. I would appreciate a xml guru looking at this and commenting as may need as i said to get them to do it properly. Regards Don
2
1783
by: Chris | last post by:
Hi, I developed a COM+ Server application on my XP machine. It works excellent. I exported as server application and then installed it in a windows 2003 server. I then exported it as a Proxy Client from the Windows 2003 server and installed the proxy client on 2 xp machines and it works fine. When I try to install the proxy client to our windows 2000 adv server SP4 (production box) I get the error "Error 1928. Error registering COM+...
3
2278
by: gani | last post by:
hi, how to get the fullpath of created IsolatedStorage directory. thanks. -- gani
1
2256
by: Chirag Malvi | last post by:
hello all, I am developing the web application using ASP.net and VS.2003 IDE. here is the situation which i want to implement. 1) User is browsing some webform. I want to trap this event. this i am doing with Session_Onstart. 2) Now when user is exiting i.e. closing the browser window i want to trap this event and perform some operation. I tried using Session_OnEnd event,but
13
2492
by: scorpion53061 | last post by:
Very urgent and I am very close but need a little help to get me over the edge........ I need to write these columns to a html file with each row containing these columns (seperated by breaks). Currently this code write all columns to a single row which works but is not what the boss wants. If anyone has suggestions how you would do a report like this I very much would like to hear them as well. vb.net windows app. ...
16
2966
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In: http://www.mywebsite.org/WebResource.axd?d=5WvLfhnJp5Lc8WhQSD4gdA2&t=632614619884218750 -------------------------------------------------------------------------------- System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at...
0
1102
by: Joey Martin | last post by:
This is urgent, so any quick help is much appreciated!!!! I have an ASP page that pulls data from a SQL table and puts it into a basic html table. This is basic stuff. I moved my pages from a SQL 2003 Standard Edition server to a SQL 2003 Web Edition Server. After this, some of my data is not showing in a standard html table.
0
1359
by: Milan Mehta | last post by:
My server is Win 2003 Server R2 Computer Name of Server : ALCSERVER Domain Name is : ALCOCKDOM SQL Server instance is : ALCSERVER\SQLEXPRESS I have Win 2003 Supporting tools installed from Win 2003 Server CD and SETSPN.Exe is working. When I start the SQL Server, the error log mentions that, SPN registration has failed. Hence I am not able to connect to MS SQL Server from client computers. Can somebody guide me how to register SPN in...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10230
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10058
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10004
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8886
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5313
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2817
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.