473,397 Members | 2,068 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,397 software developers and data experts.

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_managePhotos = CType(Me.Parent.Parent.Parent,
uc_status_managePhotos)

But now it can not even find uc_status_managePhotos.

Thanks

-Wayne
May 22 '06 #1
1 979
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_managePhotos = CType(Me.Parent.Parent.Parent,
uc_status_managePhotos)

But now it can not even find uc_status_managePhotos.

Thanks

-Wayne

May 22 '06 #2

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

Similar topics

5
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
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...
4
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...
2
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...
5
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...
2
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...
18
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...
3
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...

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.