Revealing Application Events

Posted Tue, May 24 2005 13:19 by bill

 

One of the really cool new features of VB.NEt 2005 is it's Application Framework which allows you to easily wire up to major Application Events.  One problem i found with it though is that code is often hidden, and you have to go via the project properties to get at it.  It feels a bit like someone hiding the Sub Main, and makes it not obvious as to what happens when the project loads etc.

 

So today, I noticed on Rob Copeland (who also has comments turned off, what up with that)'s blog a mention of a conversation he had with  Paul Kuklinski and Jay Schmelzer about this very issue.  

<twilight zone music>

Could this be in relation to the conversation I had with them a week or two ago ?

</twilight zone music>

 

Way cool in any case to hear it will be fixed smile

 

In the meantime, here's the work around I use:

- In Solution Explorer, click on the show all files button.  IF you are happy with that view, you're done smile

- If you want to make it more obvious for those who don't like that view, simply drag ApplicationEvents.vb out of the "Project" folder into the root folder for your project.  Note when you uncheck the "Show All Files", the ApplicationEvents.vb file may still hide. This seems to be a caching problem with the associated hide/show code and Solution Explorer, BUT it will show all the time next time you open the solution.

 

Now if we can only get them to give us the *option* to show the references node all the time as well smile

 

 

 

 

Filed under:

Comments

# re: Revealing Application Events

Tuesday, May 24, 2005 3:50 PM by bill

I don't know why comments aren't working. I have them turned on, so they should work. I'll have to figure out what's going on. Sorry about that.

# Re: Revealing Application Events

Tuesday, May 24, 2005 4:10 PM by bill

Hey Rob,

I'd double check to make sure you have comments set to on for the individual post as well as your blog.

For example :
http://blogs.msdn.com/robertco/comments/421236.aspx

should open up your comments page, but instead it redirects to your archive page:
http://blogs.msdn.com/robertco/archive/2005/05/23/421236.aspx

So that makes me think that for some reason the "system" thinks comments is off. I checked Jay roxes is working fine as he is using the same skin as you are. So I would log on via the web to your side, admin it and double check . Might be the blogging sw you are using ?