473,802 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems converting from 1.1 to 2.0... Problem 1

I am having a tremendous amount of problems converting a current web
application over to ASP.NET/VB.NET 2.0.

I have managed to fix all the errors except 7 to 10 of them (depending on
the mood of VS.NET 2005 when it builds).



A couple of the remaining errors have to do with the way I go from a User
Control, find the parent and call a function or populate a control. The
problem is, I can not seem to find a way to do this in 2.0; it can not even
find the name on page or user control. Keep in mind all this code worked
before the conversion.

For example, in 1.1 this worked.

Dim pCntrl As uc_status_manag ePhotos = CType(Me.Parent .Parent.Parent,
uc_status_manag ePhotos)

But now it can not even find uc_status_manag ePhotos.

Thanks

-Wayne
May 22 '06 #1
1 994
Try putting your usercontrol codebehind files in the APP_CODE folder. That's
what ASP.NET 2.0 expects. Or, download the new Web Application Projects
add-in and convert the project that way (much more like VS.NET 2003 model).
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Wayne" wrote:
I am having a tremendous amount of problems converting a current web
application over to ASP.NET/VB.NET 2.0.

I have managed to fix all the errors except 7 to 10 of them (depending on
the mood of VS.NET 2005 when it builds).



A couple of the remaining errors have to do with the way I go from a User
Control, find the parent and call a function or populate a control. The
problem is, I can not seem to find a way to do this in 2.0; it can not even
find the name on page or user control. Keep in mind all this code worked
before the conversion.

For example, in 1.1 this worked.

Dim pCntrl As uc_status_manag ePhotos = CType(Me.Parent .Parent.Parent,
uc_status_manag ePhotos)

But now it can not even find uc_status_manag ePhotos.

Thanks

-Wayne

May 22 '06 #2

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

Similar topics

5
3409
by: Jørgen Cederberg | last post by:
Hi, using Python 2.2.1 on Windows and QNX I'm having trouble understandig why int() raises a ValueError exception upon converting strings. >>> int('-10') -10 >>> int('10') 10 >>> int(10.1)
4
5786
by: Russell | last post by:
I'm having a fit with a query for a range of dates. The dates are being returned from a view. The table/field that they are being selected from stores them as varchar and that same field also stores other fields from our dynamic forms. The field is called 'FormItemAnswer' and stores text, integer, date, float, etc. Anything the user can type into one of our web forms. The query looks like, select distinct from...
4
2304
by: David | last post by:
Hi, I want to work with Access 2002. I will need to be able to distribute my application to users that may still have access 2000 on their computers. I know access 2002 has a function that enables you to convert a database to a format of an earlier version of Access. I wanted to check for any unforeseen problems so here is what I did: I used Access 2002 to convert my Access 2000 application to the 2002
2
1968
by: John Ortt | last post by:
Hi All, I have a database in Access 97 which works fine but our company is converting from NT4 to XP Pro and in the process changing Office 97 for Office 2003. I have tried to convert the 97 database into Access 2003 but the Autoexec macro falls over on the query below. I have tried running it separayely and the computer just hangs. I realise there is a lot of code below, but I'm hoping somebody may know what they are looking for...
5
1432
by: Dan Smith | last post by:
When I try to create a new C# Web Reference in Visual Studio 2003, I get an error message "The proxy settings on this computer are not configured correctly for web discovery. ..." This web reference is to a service on my machine - http://localhost/... - so I don't know why any proxy configuration should be necessary. Doing the same thing in Visual Studio 2002 works fine (i.e., no error about "proxy settings"). However, when I update...
2
6198
by: Map Reader | last post by:
Greetings, I am converting an old VB6 application to use .NET. One of the old controls loads icons from the disk and displays them. However, the transparent color turns to blue somewhere in the process. I narrowed it down to the conversion to IPictureDisp by first loading and saving the icon as a bitmap with no problems; and then repeating the process but adding the step of converting to an IPictureDisp as well. The first operation...
18
2272
by: __PPS__ | last post by:
Hello, I'm a university student and I'm preparing for my final today. I'm reading course notes, I found completely strange piece of code. It makes me laugh, I think the teacher needs to prepare herself for this course. so I ask for your point of view. here's the piece of code: Memory management by client!! // Listing 9.4. Memory management by client rather than by server object
3
3005
by: scoots987 | last post by:
What do others do if you need to import excel files into SQL Server? My main problems are 1) zipcode formatting issues. If the column is a mix of zip and zip+4, I have problems retrieving all zipcodes. 2) If the last column contains NULL no information is imported. All this with using the Management console using Import data in SQL Server 2005. I am simply trying to import the data into NEW databases.
1
744
by: Robin9876 | last post by:
When converting an Asp.Net (VB) from version 1.1 to 2 the project wizard converted the project and the code can be compiled without any errors. However when opening the web page and trying to switch to design mode there are a number of error messages appearing. Such as can not nest TD within a Table, non matching tags, nesting tables within a form and some properties no longer available. What is the best method of converting the web...
0
9562
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
10535
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
10061
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
9111
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...
1
7598
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.