 |
|
1.
|
If you've used IsNumeric in the past and thought it was pretty handy, then you may be interested in TryParse, another nifty little method that's been slipped into VB2005 without much of a fanfare.
TryParse takes a string and tries to parse it to a particular type. It will return True or False to signify whether the attempt to parse has succeeded. If it does succeed, then the method will pass back the parsed value as an output parameter.
Of course there has been a Parse method around for ages, bu...
|
 |
|
2.
|
Check out the latest MS PR event for .NET - Made In Express Contest
|
 |
|
3.
|
Explicit content warning! Wow! That got your attention, I bet!
Actually I just wanted to warn you explicitly that this blog item contains nothing that is the slightest bit VB.NET related. So if you were hoping for some meaningful insight into a nagging technical VB problem, you’ll probably be disappointed.
Then again, if you’ve read my other blog items that are VB.NET related, you’ll be no stranger to disappointment.
Anyhow, moving quickly on, I was bro...
|
 |
|
4.
|
We have an intranet at work (yes really :D) And we generally trust its contents. So it would be preferrable if we could just drop a .net application and run it. All righty then: we have to set the local intranet to fulltrust. Didn't work :shock: To make a long version of trial and error short: unless enterprise level security contains fulltrust on either all_code or on the proper zone (intranet, a trusted zone or both), the machinelevel settings will not be used, and vice versa. I still don't know the details on the .net security, but I just wanted something that would trust our intra...
|
 |
|
5.
|
Wanted to have a wrapper around the drag and drop outlook attachments for the File Select Control, but that turned somewhat harder than expected. Saving one attachment was easy enough. It could be done completely managed (found some other examples that do the same on the net), but saving multiple wasn't to be found in .net (at least not as far as I could find :-/) and even though the File Select control doesn't support multiple files (yet), the wrapper certainly should :p
The problem is that with the windows forms DataObject created when dropping, you can only get data on the default ...
|
 |
|
6.
|
There are many times when you need to display a large amount of data to a user. When this need arises, you could of course use a DataGrid and make use of the in-built paging mechanism which makes paging a breeze. However, what if you can't use a DataGrid? Maybe the data you are displaying does not fit the structure of a DataGrid. Fortunately, we can borrow the DataGrid's paging mechanism and use it to create our own paging control which will allow us to add paging capabilities to a wider range of controls.This post aims to give you an alternative that will allow you to create your own custo...
|
 |
|
7.
|
I've want to shy away from using the term 'post' with this entry - but Dave Jeavons' blog entry inspired by to 'throw' up my version of a custom paging control (I have been meaning to post it up - honest Dave) - but with a twist...
Working on certain quasi-public sector web projects, issues such as accesibility are always bounded about by individuals who simply haven't got the first inclination about what they mean OR the implications of implementing such 'guidelines', e.g. Section 508 for the States, the UK has a similar one, W3C, etc. When I initially checked out the paging and the samp...
|
 |
|
8.
|
Had some interesting feedback from readers who used other ways of disabling code blocks. It made me think that I should probably have said something like "Of course, this - as usual with Visual Studio - isn't the only way. It just happens to be the way I find easiest, so I thought I'd pass it along to you. "
You can of course use your mouse and navigate to the Edit menu and:
Select Edit
Advanced
Comment Selection
or even use the hotkey combo of Alt & e - v - m .
There's even a fairly contrived ...
|
 |
|
9.
|
Well, having spent the last few days trying to migrate our website from Classic ASP and ASP.NET 1.1 to ASP.NET 2.0, I had just about given up.A little background. The website I am talking of was written using classic ASP and is the backbone of the company I work for. Now, this website, does not actually need to be upgraded in order to suceed but the development costs and turnaround times of new features would be better served by using ASP.NET. So, about eight months ago, we decided to write all new products for the website in ASP.NET 1.1 with a view to upgrading these products and also clas...
|
 |
|
10.
|
Here's a little tip. Actually, it's so small that it's probably no more than a Tipette, A Tipchen (for German readers) or a Tipling .... oh wait! Isn't that what I do every night after work?
Anyway, enough preamble. If you are in one of those not uncommon situations where you temporarily want your project to ignore a block of code, how do you do this? Maybe your preferred way is to comment out each of the lines in that code block? That is, manually go do...
|
 |
|
11.
|
a.k.a. YOU decide when the application closes!
VB.NET 2002 and 2003
In the original versions of VB.NET if the Form used to start the application is closed then the application automatically exits. You know this, of course. You probably also know that if you want to include Splash screens. Log in forms or in fact any temporary form at the start of the application’s life, you have to jump through coding hoops to do this.
Of several variations of ways I’ve seen of cracking this one, I have always liked the AppMg...
|
 |
|
12.
|
Want to assign your application to a certain file extension? The .net setup project has all those options build in. hoorray. But if you want to have that control in your own program, you'll have to do it with a (bunch of) registry settings. no hoorray. It can be a bother to get the setup right. So.. time for another wrapper. There might be others available, but couldn't really find reusable code at first glance.
The wrapper supports simply quickly assigning a application to a certain extension, but also the other properties such as iconfile, printto and some others can ...
|
 |
|
13.
|
Recent article by Mike Gunderloy on SearchVB.com -
VB developers: Second class no more
|
 |
|
14.
|
Maybe it’s just me.
Maybe I’m just having a bad day.
Or maybe the Help isn’t as intuitive in VS2005 as it was in VS 2003.
Or maybe it’s just that there’s so darn much new stuff in VB/VS2005 that I just can’t track it all down in the Help files.
Whatever the reason, I really do feel as though I’m spending far longer trying to pinpoint the answers to relatively easy questions these days.
Today, for instance, I wanted to put some code in the OnPaint event of a ...
|
 |
|
15.
|
I found a pretty good example while browsing through some technical blogs on the web. As of late, with the migration to ASP.NET 2.0, I've found that using javascript with Master Pages, it a real pain in the... well you know. At any rate here is the link to the example.
Master Page & Javascript Example
|
Jump to Page: 1 2 3 4 5 6 7 8 9 10
|