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

VB.NET Application Events not firing after install

After installing my program on Windows XP I run the
program and my Application Events do not fire unless I
manually Click on the Control.

I have a combobox that populates a data grid based on the
Selection. When the app starts it populates the combobox
and the first item in the list is selected. If I select
another item in the combo box the event fires and
populates the grid. I can then change the combobox back to
the first value and the Selected Index Change event fires.

On my development machine the program works fine however
when I install the app on another machine the events will
not fire unless a user selects the item manually.

Nov 20 '05 #1
2 3512
Actually non of the events fire after the form is loaded.
Only after a user selects an item in the combobox.

Private Sub cmbReportHeader_SelectedIndexChanged(ByVal
sender As System.Object, ByVal e As System.EventArgs)
Handles cmbReportHeader.SelectedIndexChanged
FormatHeader()
PopulateFormsData()
Me.dvCaption.RowFilter = "Dscr <> '" &
Me.cmbReportHeader.Text & "'"
AssignDataGridSource(Me.dgHeader,
Me.cmbReportHeader.Text)

End Sub
Nov 20 '05 #2
Subject: RE: Migration from Framework 1.0 to 1.1
From: "Bogdan Mihalcea [MSFT]"
<bo****@online.microsoft.com> Sent: 12/11/2003 9:08:25 AM


Hello Marlene,

VS 2002 is using always .Net Framework 1.0. My suggestion
will be to
rebuild your project in VS 2003. This one is using .Net
Framework 1.1.
You cannot make VS2002 to use .Net framework 1.1.

Regards,
Bogdan Mihalcea [MSFT]
Visual Studio Update Team
-----Original Message-----
After installing my program on Windows XP I run the
program and my Application Events do not fire unless I
manually Click on the Control.

I have a combobox that populates a data grid based on the
Selection. When the app starts it populates the combobox
and the first item in the list is selected. If I select
another item in the combo box the event fires and
populates the grid. I can then change the combobox back tothe first value and the Selected Index Change event fires.

On my development machine the program works fine however
when I install the app on another machine the events will
not fire unless a user selects the item manually.

.

Nov 20 '05 #3

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

Similar topics

14
by: JPRoot | last post by:
Hi I use the following syntax to have events inherited from base to child classes which works nicely (virtual and override keyword on events). But I am wondering if it is a "supported" way of using...
3
by: Mike | last post by:
Hi, I am adding controls dynamically in a WebForm, but none of these controls' events fire. Here is the class code I am using. I have tried so many things, but nothing works :-( namespace...
5
by: Raghu Raman | last post by:
HI, am using a simple project in asp.net using c#. if i put the break point in the application start & session start event , they are firing good .BUT WHEN i close my project while running on...
11
by: Jason | last post by:
Hi I have a "problem" i have got a ASP.NET application. in this application i have included logging. in the logging i have logged how many seconds it takes for this application to fully load....
6
by: Chase | last post by:
I'm pretty new to asp.net and am having problems with my application timing out. I've written an application that loops through all of the information on an excel spreadsheet and does certain...
7
by: Denise | last post by:
I just realized the DataTable_RowChanging events were firing when I called Fill method of the DataAdapter! It fires TWICE for each row loaded. I thought these were only supposed to be called when...
2
by: Ronald | last post by:
I just started with dotnetnuke, and with a wrong login (wrong password on a clean install i can crash the application pool from IIS. (when i login with the right username/password information the...
2
by: mswlogo | last post by:
I looked high and low for code to do this and finally found some VB code that did it right. This is a C# flavor of it. public event EventHandler<EventArgsMyEventToBeFired; public void...
4
by: Joergen Bech | last post by:
I sometimes use delegates for broadcasting "StateChanged" events, i.e. if I have multiple forms and/or controls that need updating at the same time as the result of a change in a global/common...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.