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

Not 'breaking' or executing statments.

Hi,
I have a project, that doesn't appear to process frmMain at all - I break at
form_load, and nothing happens. The form shows, but has done no processing
in the form load.

I have tried having frmMain as my startup object, and also
Dim frmy As New frmMain
frmy.ShowDialog()

But my frmMain appears, without going thru the form_load.

This is driving me mad. If I change to startup with a different form, all is
OK.

Anyone any ideas please

Thanks

Pete

Jun 26 '06 #1
2 957
TDC
Make sure your "Handles" statement is still intact where your Load
event handler is declared.
Pete Vickers [MVP] wrote:
Hi,
I have a project, that doesn't appear to process frmMain at all - I break at
form_load, and nothing happens. The form shows, but has done no processing
in the form load.

I have tried having frmMain as my startup object, and also
Dim frmy As New frmMain
frmy.ShowDialog()

But my frmMain appears, without going thru the form_load.

This is driving me mad. If I change to startup with a different form, all is
OK.

Anyone any ideas please

Thanks

Pete


Jun 26 '06 #2
Hi,
thanks - that did it.

Wood - Trees :)

Pete


"TDC" <NO***********@lycos.com> wrote in message
news:11*********************@u72g2000cwu.googlegro ups.com...
Make sure your "Handles" statement is still intact where your Load
event handler is declared.
Pete Vickers [MVP] wrote:
Hi,
I have a project, that doesn't appear to process frmMain at all - I break
at
form_load, and nothing happens. The form shows, but has done no
processing
in the form load.

I have tried having frmMain as my startup object, and also
Dim frmy As New frmMain
frmy.ShowDialog()

But my frmMain appears, without going thru the form_load.

This is driving me mad. If I change to startup with a different form, all
is
OK.

Anyone any ideas please

Thanks

Pete

Jun 26 '06 #3

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

Similar topics

1
by: Phil | last post by:
Hi, I have my create statments for tables, procedures, views, etc in individual Transact-SQL script files (.sql). I wnat to write another script file that executes these scripts in the...
5
by: Angelina | last post by:
Hi, I need some help in writing a 'if-then-else' statement. I currently have wrote one that looks something like this.. If Combobox1 = xxx and textbox1 <> "" then 'run stored procedure 1 to...
4
by: Jesper | last post by:
Hi, I would like to issue three statements to the database (mysql v4.1) each time the server starts up. Is there any built in way to do this? Like a init file to put them in? At the moment I...
3
by: Vinny Vinn | last post by:
I have used simple batch statments with C#.for example: string select = "select model from cars where id = ?;select * from trucks where model = ?"; where ? is a parameter whose value i have...
5
by: orencs | last post by:
Hello, I am using Microsoft.Practices.EnterpriseLibrary.Data. I am running the following sqlCommand = "SELECT var1 FROM table1 WHERE var2 IN (4,5,6) ; SELECT var3 FROM table2 WHERE var2 IN...
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...
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
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
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
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,...

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.