473,545 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MSDN Code Broken for VB.NET

I have been working all day to try and make the following VB.NET Code work
at
http://msdn.microsoft.com/library/de...mmandevent.asp
If I put a break on the onitemchange Event it never fires. However if I use
the C# code provided everything works great. Can anyone help me spot the
coding error.. or if im doing something wrong.. I copied the code exactly.

Thanks
Nov 19 '05 #1
3 1095
Sorry wrong URL
http://msdn.microsoft.com/library/de...trolsample.asp

Any help would be very much appreciated

Thanks
"Bill Smith" <no@spamplease. com> wrote in message
news:OT******** ******@TK2MSFTN GP09.phx.gbl...
I have been working all day to try and make the following VB.NET Code work
at
http://msdn.microsoft.com/library/de...mmandevent.asp If I put a break on the onitemchange Event it never fires. However if I use the C# code provided everything works great. Can anyone help me spot the
coding error.. or if im doing something wrong.. I copied the code exactly.

Thanks

Nov 19 '05 #2
Check if ViewState is set on the control on which you placed the
breakpoint

Bill Smith wrote:
Sorry wrong URL
http://msdn.microsoft.com/library/de...trolsample.asp
Any help would be very much appreciated

Thanks
"Bill Smith" <no@spamplease. com> wrote in message
news:OT******** ******@TK2MSFTN GP09.phx.gbl...
I have been working all day to try and make the following VB.NET Code work at

http://msdn.microsoft.com/library/de...mmandevent.asp
If I put a break on the onitemchange Event it never fires. However if I use
the C# code provided everything works great. Can anyone help me

spot the coding error.. or if im doing something wrong.. I copied the code exactly.
Thanks


Nov 19 '05 #3
Thanks for the reply,

I do have viewstate enabled on it. When I click on each item the page
preforms normally and highlights the item selected. Its just for some reason
not calling the event MyList_ItemCrea ted and MyList_Selected IndexChanged

Here are the SUBs that I placed the breaks on:

Protected Overrides Sub OnLoad(e As EventArgs)

Protected Sub MyList_ItemCrea ted(sender As Object, e As
TemplatedListIt emEventArgs)

Protected Sub MyList_Selected IndexChanged(se nder As Object, e As EventArgs)

Thanks

<rj******@gmail .com> wrote in message
news:11******** *************@c 13g2000cwb.goog legroups.com...
Check if ViewState is set on the control on which you placed the
breakpoint

Bill Smith wrote:
Sorry wrong URL

http://msdn.microsoft.com/library/de...trolsample.asp

Any help would be very much appreciated

Thanks
"Bill Smith" <no@spamplease. com> wrote in message
news:OT******** ******@TK2MSFTN GP09.phx.gbl...
I have been working all day to try and make the following VB.NET Code work at

http://msdn.microsoft.com/library/de...mmandevent.asp
If I put a break on the onitemchange Event it never fires. However if I
use
the C# code provided everything works great. Can anyone help me

spot the coding error.. or if im doing something wrong.. I copied the code exactly.
Thanks

Nov 19 '05 #4

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

Similar topics

12
3277
by: Steven T. Hatton | last post by:
This is something I've been looking at because it is central to a currently broken part of the KDevelop new application wizard. I'm not complaining about it being broken, It's a CVS images. Such things happen. The whole subsystem is going through radical changes. I don't really want to say what I think of the code just yet. That would...
0
982
by: ATS | last post by:
PRB: .NET 2.0 and .NET 2.0 SDK breaks MSDN 2004 Please help, I have installed the MSDN Library 2004, which was working GREAT for searches. If I entered into the search window "CDC landscape" it would ONLY bring back those topics that had both "CDC" AND "landscape" in them. But two days ago I downloaded .NET 2.0 and the .NET 2.0 SDK, and...
3
5018
by: S. van Beek | last post by:
Dear reader, I still have a problem with my reference libraries. In my frond end application a check procedure for missing references is available. The problem I confronted with is that in case there is a missing reference
5
1560
by: clintonG | last post by:
Neither MSDN code examples nor will function. Has anybody figured out how to use the 2.0 classes, methods and properties to dynamically create HTML in the HTML <head> element? I've burned through everything I could find using google. <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT...
0
891
by: bda | last post by:
Hello, the XSL-Debugger Sample (MSXML 4 SDK) was removed from the MSDN website, so that download is impossible now. The download link exists in the VS 2003 help collection and in some webpages in the internet., but all these links are broken. Does anybody know a valid download location? Best Regards
1
3222
by: fiaolle | last post by:
Hi I Can't get the MSDN's example for Listbox to work.The example is below. I get an error in Listbox's sub ListBox1_SelectedValueChanged at row textBox1.Text = ListBox1.SelectedValue and it happens after the line ListBox1.ValueMember = "ShortName" is run. The error says Cast from type 'USState' to type 'String' is not valid. I don't know...
13
2143
by: Steven Bethard | last post by:
Jean-Paul Calderone <exarkun@divmod.comwrote: Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
11
1388
by: Bill Cunningham | last post by:
Richard can you or anyone else tell me what's wrong with this code. It's just a simple error I'm sure. #include <stdio.h> int main(int argc,char *argv){ char name="Enter Code -"; printf("%s",&name); fflush(stdout);
2
2206
by: Nariban Barkan | last post by:
I need this page ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WEBDEV.v10.en/dhtml/workshop/author/dhtml/reference/commandids.htm The online link ( http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/commandids.asp ) is broken and i had to find it in local vs2005 documentation. But i have not vs2005. Could someone...
0
7478
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...
0
7410
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7668
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7437
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...
0
7773
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...
1
5343
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...
0
3448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1025
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
722
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...

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.