473,486 Members | 2,476 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Switching pages in vb.net, please help.

I have what I think is a simple problem and yet I can't seem to find a
solution. All I want to do is switch from one page to another within
the same vb.net project.

I expected frmThank.show to work, but it doesn't. I get the following
error:

error BC30456: 'Show' is not a member of 'PurchasePhone.frmThank'.

After viewing some of the postings within groups I found what I
thought might be a solution:

'Show thank you
Dim Thanks As New frmThank
'show new form
Thanks.Show()

but it results in the same error:

error BC30456: 'Show' is not a member of 'PurchasePhone.frmThank'.

I hope that someone can help me with this. I learned vb in version
6.0 and I was still at beginner level so vb.net is proving more
difficult than expected.

Thank you,
-M
Nov 20 '05 #1
4 2088
Um...

Are you shure that frmThank is a Form (that which inherits
system.windows.forms.form, or the like.)

-CJ
"m_evergreen" <m_*********@yahoo.com> wrote in message
news:f4**************************@posting.google.c om...
I have what I think is a simple problem and yet I can't seem to find a
solution. All I want to do is switch from one page to another within
the same vb.net project.

I expected frmThank.show to work, but it doesn't. I get the following
error:

error BC30456: 'Show' is not a member of 'PurchasePhone.frmThank'.

After viewing some of the postings within groups I found what I
thought might be a solution:

'Show thank you
Dim Thanks As New frmThank
'show new form
Thanks.Show()

but it results in the same error:

error BC30456: 'Show' is not a member of 'PurchasePhone.frmThank'.

I hope that someone can help me with this. I learned vb in version
6.0 and I was still at beginner level so vb.net is proving more
difficult than expected.

Thank you,
-M

Nov 20 '05 #2


Now that you mention it, no, I was not and it is not. What I have is,
well, this:

Inherits System.Web.UI.Page

Under these curcumstances how would I change pages? Can you help me? I
just tried .visible = true, but it seems to be pretty much ignoring
that. What I really want to do anyhow is close frmRep and switch to
frmThank...

Thank you,
-M

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3
Hello,

"Dawn Kopp" <m_*********@yahoo.com> schrieb:
Now that you mention it, no, I was not and it is not. What I have
is, well, this:

Inherits System.Web.UI.Page


You may want to turn to the ng for ASP.NET questions:

news://msnews.microsoft.com/microsof...amework.aspnet

Web interface:

http://msdn.microsoft.com/newsgroups...amework.aspnet

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #4

Thank you for the advice. It occured to me after I replied that asp.net
might be where I needed to go. I really appreciate your quick replies!

-M
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #5

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

Similar topics

1
9205
by: Kenneth Keeley | last post by:
Hi I wish to have a web site that has most of the pages as normal HTTP pages but has some areas that use HTTPS. I want to have it that if a user selects a link to a HTTPS page that they go there...
1
1940
by: Shamet | last post by:
Dear Listmembers, I am setting up data entry for a questionnaire. In the Form I have created, I have 2 pages with 50 questions on each page. My question is: How can I go from the last question...
2
2385
by: Johann Blake | last post by:
The following is a bug I have discovered using tab pages and threads and I am looking for a workaround. Create a new Windows Forms application and add a tab control with two tab pages. Add a...
4
2048
by: Jeremy Holt | last post by:
Hi, In a windows.forms application I would BeginInvoke a delegate on the UI thread to collect data from a database. When the call returns to the AsyncCallback, if the Control.InvokeRequired =...
1
5715
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
15
2496
by: greg.landrum | last post by:
After using numeric for almost ten years, I decided to attempt to switch a large codebase (python and C++) to using numpy. Here's are some comments about how that went. - The code to...
5
1565
by: maya | last post by:
hi, I'm using this script to switch stylesheets dynamically (in response to user input..) http://www.dynamicdrive.com/dynamicindex9/stylesheetswitcher.htm (sorry can't show url, am in...
4
554
by: K Viltersten | last post by:
We have a project working well today and it's developed on VS2005. Since we're planing to switch to VS2008 in a soon future, i've been trying to move the project to VS2008 Express (Web...
1
1661
by: Dave Rado | last post by:
Hi A while ago I discovered a way of creating css pseudo-frames, that offer users the important benefits of real frames (i.e. the navigation remains visible when you scroll down the page), but...
0
7105
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
6967
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...
0
7132
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
7180
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
6846
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
7341
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...
1
4870
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
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
600
muto222
php
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.