473,806 Members | 2,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1057
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*****@pandor a.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
4092
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; namespace Utils {
17
2018
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 replace these parameters in the text file with values of the textboxes on my Windows Form called Form1. For example, replace @@TextBox1@@ with value of TextBox1, replace @@TextBox2@@ with value of TextBox2, replace @@ComboBox1@@ with value of...
2
2690
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
2213
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 from a directory from Outlook Express. I have: - OE 6.0 - .NET Framework 1.1 - interface definition language for OE 6.0 - msoeapi.idl
2
894
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 of a sudden I don't get that message anymore, the project closes and saves all the changes, so I have to re-open the project and remove them by hand. Any idea's how I can restore the old situation? --
3
4535
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 connection such as BeginTransaction the program fails as it claims that the connection is not open! If I change the uid or password to garbage the SQLConnection Open method fails so I know the database is being read. The database is...
1
1030
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 contain atleast 1 letter and number. If Isvalid(CStr(True)) Then MessageBox.Show("That is Valid", "VALID") Else MessageBox.Show("That is invalid", "INVALID") txtPassword.Focus() ...
6
7278
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 : evry day, i store the number of children in my classroom in my XML file. For exemple, on monday, my app ask me something like this : msgbox ("Are the 28 children here today ?",vbyesno)
0
1301
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 Exception error. Do anyone have such experience and provide me a solution.
0
9718
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10364
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10370
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10109
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
9186
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
7649
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
5545
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3849
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.