473,387 Members | 1,453 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,387 software developers and data experts.

Vb.net express - problem messagebox

Hi,
I start with a class project and after compiling I add a form to the project
and change the project properties to run a windows application
This project don't recognize the method messagebox in the form code
I can't find out what the reason is
Thanks for any response
Jul 23 '06 #1
1 1040
I found the problem
I had to place
Imports System.Windows.Forms

at the beginning of the code although I added a form to the project
"andreas" <an*****@pandora.beschreef in bericht
news:KD***********************@phobos.telenet-ops.be...
Hi,
I start with a class project and after compiling I add a form to the
project and change the project properties to run a windows application
This project don't recognize the method messagebox in the form code
I can't find out what the reason is
Thanks for any response

Jul 23 '06 #2

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

Similar topics

0
by: alex_f_il | last post by:
The class centers MessageBox inside the parent rectangle. Enjoy! using System; using System.Windows.Forms; using System.Text; using System.Drawing; using System.Runtime.InteropServices; ...
17
by: J.S. | last post by:
I have a text file with parameters like the following embedded in the text: @@TextBox1@@, @@TextBox2@@, etc. I know how to read this text file. However, I am trying to figure out how to...
2
by: James | last post by:
User has a input as "SwitchName = ON" or "SwitchName = OFF", how to use C# Regex to get SwitchName and the value? Regex.Match(line, @"(\S+) = {ON|OFF}") does not work.
0
by: Slawomir Nasiadka | last post by:
Hi, I'am new to this group so I would like to say "Hello" everyone and here is my problem: I'm writing a simple application (code is at the end of this message) witch would list all mails...
2
by: Jaap Bos | last post by:
Normally if I close a project after making changes to Form1.vb I get a message "Save Changes to the following item's". That's nice, because if you did not like the changes you answer "No". Now all...
3
by: collinsd | last post by:
I am trying to connect to a database in SQL Server Express on my PC. The SQLConnection open() method appears to work without generating any exceptions however as soon as I try to do anything to the...
1
by: vbnetcadude | last post by:
ok so i have to make a simple program that when a user enters a password, the verify button will run and will check to make sure that the password meets 2 criterias. 1. 6 characters or more 2. must...
6
by: | last post by:
Hi, I'm steel trying to read and update my XML file with Visual Basic Express but i am unable to find the right way to read my xml file and update it if neccessary... Here is my problem :...
0
by: garyluk6 | last post by:
Dear All I am working a project which using pocket pc 2003 connect to sql 2005 express database. When I try to deploy a testing program on C# 2005, i cannot create the connection with a Sql...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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
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,...

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.