?
Solved

No Show

Posted on 2004-08-27
3
Medium Priority
?
164 Views
Last Modified: 2011-09-20
Hey Experts -

Can someone explain to me why I can't open a form using form.show?  That is the correct call to open a form from within a sub routine, isn't it?  When I try and use this command it says that "reference to a non-shared member requires an object reference."  Please help.

Erin
0
Comment
Question by:21erinswift
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Expert Comment

by:bramsquad
ID: 11916767
make sure to delcare the form and a NEW object

Dim frm As New Form1

Form1.Show()

~b
0
 
LVL 8

Accepted Solution

by:
bramsquad earned 300 total points
ID: 11916772
im sorry, it would be

frm.Show()
0
 
LVL 5

Expert Comment

by:thenrich
ID: 11916803
Yea .NET is an objected Oriented structure and your dealing with strict objects. You must intantiate the form then use the .show or .showdialog
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question