Tag | VB.NET Posts

Now that I've had a few hours of sleep, here's a bit more involved report on Alt.NET day 1. Also, if you want to see video of the opening of the conference, Jeffrey has video of it on his blog here. First off, we went over the 4 principles of open space: - Whoever comes is the right people - Whatever happens is the only thing that could have happened - Whenever it starts is the right time - When its over, its over Now these might seem a bit airy at first glance, but they make a tonne of sense. The ...
[code:xml] ASP.NET 2.0: Use VB.NET and C# within the App_Code folder Original Article: http://pietschsoft.com/post... Thanks to Chris Pietschmann There is a way to partition the App_Code folder into sub-folders, one for each set of code files written in the same programming language. Awesome, I didn't have to spend a couple hours converting code from VB.NET to C#! <configuration> <system.web> <compilation> <codeSubDirectories> ...
VB.NET peeps had a kewl thing to end their summit track: they let some of the MVP's do short presentations. Cory Smith Showing how to integrate Glass into your win-form applications...kewl tip! Chris Williams Chris is showing us that you can actually use Visual Basic with XNA. He's getting mad applause. OMG, Rob Windsor *just* threw a pair of underwear at Chris! He is a *rockstar*! Steele Price Very kewl demo...might be NDA (?) Not sure... Some guy from Europe Um...yeah I have no idea...OH...DasBlog? ...
I'm in a few VB.NET sessions this morning here at the Microsoft campus. We went through a bit of an overview of where the Visual Studio language team is at, where things are moving, and where VB.NET fits into that picture. Donald decided to infiltrate and see what was going on with the non-semicolon kids. He's now become a convert and ran out of the room tearing off his badge and saying "I can't believe I've been so blinded!" I've been sitting with Chris Williams and Jason Olson... The first demo ...
*Moved to: Creating a better TFS Sticky Buddy (Core) Over the last week I have been looking at the source for the Family.Show application from Vertigo. I needed to look at methods of presentation of hierarchical information graphically using WPF and I saw this as a good representation of that sort of data. So I se about not only converting it to VB.NET but adding generics to the mix. The first part of the application is the core objects that represent the data and allow interaction in a way that ...
Since my Tilt has an integrated GPS I've been anxious to try development with it. I've started now by converting the GPS helper that comes with the Windows Mobile 6 SDK from c# to VB.NET and working with that. I've noticed (like many other VB developers) that more and more examples are not being done in VB so this is my little part toward making spreading VB.NET to the mobile world...since especially in Windows Mobile most examples are either c# or c++. Eventually I'd like to use this little app ...
As I prepare for my yearly pilgrimage to Microsoft (also known as the MVP Summit), I also happen to be wrapping up my current gig through Magenic. When I get back from Redmond, I'll have a day left here and then the weekend. After that, I'm off to whereever Magenic sends me next. I also got some good news via email today. I've been appointed to the Magenic Technology Council. From the email: The purpose of the MTC is to recognize Magenic consultants/associates who are evangelizing Microsoft technologies ...
When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. When was the first version of .NET released? The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on 15-Jan-2002. At the same time, the final version of Visual Studio.NET was ...
I have a stored procedure that I want to call from my VB.net code. The problem is that the stored procedure input parameters may change. Rather than recompiling the stored procedure, and recompiling the assembly that calls the stored procedure, I want my VB.net assembly to query the stored procedure for its parameters, and return them back to me in a list. I've done some blog searches for this, and I couldn't find anything that did anything like this (or my search terms were not explicit enough). ...
Well, I can finally start releasing the name of our product / company / web site since 1 - we are officially expanding the team and hiring more people and 2 - the placeholder page is up at juggle.com. But I can't tell you what we are building yet. Hey, here is a good way to find out. Join the company! Hiring in St. Louis We are a small web development group looking to expand our team. Plain and simple, we are looking for great developers. We are focused on finding people who have a passion for development ...
Hello everyone This is my first blog entry at this site and first in a couple of years, but I wanted to share something I created with some help. Since generics came out with VS 2005 I wondered if it were possible to create a completely generic data access layer. I also wanted to take advantage of some cool features like custom attributes, enterprise library, and reflection. One that could get and update objects regardless of the type of object being manipulated. With the help of some great authors ...
In our previous tutorial we have seen how we can use XML axis properties to consume XML returned from a web service in Silverlight applications, in this example however we will look at how XML Literals and Embedded Expressions can be used to easily write fast and efficient Web Services. *Note XML Literals and Embedded Expression are Visual Basic 9 Exclusive features you might need Visual Studio 2008 and .NET Framework 3.5 installed. XML Literals and Embedded Expression are not limited to Silverlight/WPF ...
There might be a few samples of working with web services in Silverlight but I promise I'll keep you interested with VB.NET exclusive feature VB Literals. This is going to open a whole new way of looking and working with XML and Web Services. *Note: Don't attempt to do everything I do in this tutorial in C# (espcially consuming WebService in Silverlight 2) because you simply can't, C# or any other language doesn't have this feature, so stick to VB.NET for consuming you can use C# for the rest, I'll ...
I have been very busy lately with different projects and now I have a little bit of time on my hands to play around with Silverlight 2. As I have promised before loads of Tutorials are coming your way. So stay tuned. I am little late in blogging, so there are many tutorials already available, so I'll cut the long way and come directly to doing complex things in Silverlight, so if you are expecting "Hello World" in Silverlight then look else where. I will be posting tutorials in VB.NET, and if possible ...
As I've noted before, Dave Laribee was recently interviewed by Scott Hanselman on Episode 104 of Hanselminutes. The reaction that I've seen has been pretty positive from what I've seen. It's great to see the ALT.NET message being spread outside the core believers group. Many people can be turned off after a few discussions on the altdotnet mailing list and not get the real gist of what the group is about. Dave did a great job explaining the core principles of ALT.NET which are: Use the right tool ...
I had a question recently about how to quickly convert all the attributes in a given database from UPPER CASE to Title Case. Now you could certainly write a C# or VB.Net based program, but I feel that a script is the way to go for a once off requirement like this and what better scripting environment could we ask for than PowerShell. So here is a short PowerShell script that does the job. [System.Reflection.Assembly... > $null [Microsoft.AnalysisServices... ...
Working with multiple threads is never easy and every now and then I keep running into seemingly bizarre issues and learn something new by fixing it.. This time it was about how to use the object lock statement (C# lock / VB.NET SyncLoc, .NET Monitor.Enter) properly. See I had this method that was acting as a callback handler form a Delegate.BeginInvoke call. I had a dataset that was to be updated by multiple threads, so I had written code like following DataSet _sharedDataset = new DataSet(); private ...
This was something else that gave me fits recently. I have a web app that uses a formview, which wasn’t that big a deal to me. Until I tried to have the value in one dropdown affect the value(s) in a second dropdown. For my problem the first dropdown holds manufacturer names and then the second displays the models by the selected manufacturer in the first dropdown. I could get the dropdowns to load up proper on the first load based on a SQL query, but the issue came about when I was testing changing ...
Serious VB Booklist Looking for VB.NET books that don't insult your intelligence? Tired of "Hello World" examples? Ready to get your hands dirty with some hardcore programming? Look no further than this list of serious VB.NET titles: Expert VB 2005 Business Objects - Rocky Lhotka Doing Objects in Visual Basic 2005 - Deborah Kurata LINQ in Action - Fabrice Marquerie, Steve Eichert, Jim Wooley (VB Samples) The Rational Guide to SQL Server CLR Integration - Greg Low Hitchhikers Guide to Visual Studio ...
I know it's been a little bit too long since I began this series from when I continued, but plenty of distractions came up along the way. I intend to go a little deeper today into what functional programming means and why you should care. As always, check out my previous post on the matter here. Getting Sidetracked Last night at the DC ALT.NET meeting, Craig Andera and I discussed Lisp, F# and functional programming as a whole. His language of the year was Lisp and I thought that was an interesting ...
If you're a VB.NET geek like me, and you're working on something fun or interesting in VB.NET, I'd like to hear about it. If you're doing samples in VB.NET for a technology that only shipped with support for C# (for example), I want to know about that too. If you need project, blog or forum space for your VB.NET work, I have you covered. Come by www.ILoveVB.net and I'll get you all set up. No charge, No monthly nonsense. If you're looking for XNA VB Code Samples, we've got that. If you're looking ...
I recently posted the VB.NET Mersenne Twister code (rewritten from C# courtesy of Paul Vick) over at ILoveVB.NET. If you haven't looked at it before, it's pretty neat stuff. It wasn't even possible in VB.NET 1.1 because of a lack of support for unsigned integers, with VB.NET 2.0 that problem went away. If you don't know what a Mersenne Twister is, or why I would want one over, say, System.Random or System.Security.Cryptograph... then you may want to read this fine piece of ...
No, I'm not leaving GWB. I am however setting up a couple of vertical blogs on Chris Williams new baby, www.ILoveVB.net. That's right, not one...but TWO blogs to add for your reading enjoyment! The first is on architecture and design with VB.NET. Over the next few weeks I'll be posting about how you can implement different patterns in your applications and how to do it with...wait for it...VB.NET! Check that one out here. The other one will have a web-focus and talk about how to work with VB.NET ...
I've been subcontracting for a company recently, and I gotta tell you its been one of the best experiences I've had in a long time...and I'm not actually coding anything! Hmm...so I'm slacking? Not at all...in fact this has been some of the more intense months of my life. I've been teaching two courses and gearing up to teach my third under their banner. One was an ASP.NET course that was a lot of fun (although it was an intro level so there was mostly drag/drop stuff, but still good presentation ...
Alright, as much as I try to avoid using FindControl() sometimes I need to get a control by its ID. I came across what seems like a good idea here : http://www.thescripts.com/f... It's in C#, but here is the VB.NET adaptation... 549 Private Sub BuildControlHashTable() 550 Dim cName As String = String.Empty 551 For i As Int16 = 0 To Me.Controls.Count - 1 552 cName = Me.Controls(i).ID 553 If Not (cName Is Nothing) Then 554 cntrlHashTbl.Add(cName, Me.Controls(i)) 555 End If 556 Next ...
*Moved to: Returning an Anonymous type... In VB.NET it is actually possible to return an Anonymous type from a function and use it somewhere else. In VB.NET you need to use late binding so you can't change the "Option strict" compiler option to true as I have always done in the past. This option, that defaults to "Off", is the main reason that C# developers scoff at VB, but this feature is now available, controversially in C#. In this example I created an anonymous type that has three properties.Read ...
Here is the quandary most coders face. Most of us are extremely talented, and from time to time venture out into the freelance world, especially students, most using a coding site like Kasamba, Rent-A-Code and some other up and coming ones. The problem we face is there are coders on there, with little or no talent at all, offering to do entire e-commerce sites for $100. Does that not make it difficult for those of us who actually know what we're doing? now dont get me wrong, I do freelance work on ...
woke up early. really early. Still functioning on Central time. checked email for a bit then got up and started working. First thing we did was talk about level design for a bit. Captured a little video and then we made a quick trip out to pick up some Woodchuck (cider), Peach Fresca and a large drawing tablet so I could work on some rough sketches for the level design. I also had an opportunity to have lunch w/ some of the VB team from Microsoft, specifically Paul Yuknewicz, Amanda Silver & ...
With the new year, I did some reorganizing. I got a little 3 shelf book case, stuck it next to my desk and pulled some of my tech books out of the garage... finally. Top shelf is all game programming books: Game Coding Complete, Programming Sudoku, AI for Game Developers, Physics for Game Developers, 3D Math Primer, Theory of Fun, and about 15 others. Middle Shelf is more to do with work: C# Cookbook, Expert C# Business Objects, CLR via C#, UI Design for Programmers, Code Complete, Framework Design ...
I've run into a bit of a snag in some of the conversions I've been doing. C# has this thing called Anonymous Delegates that VB.NET doesn't. I don't really understand what they do, and as I said, VB.NET doesn't have them, so I don't have a clue how to convert them. I've done some googling, but haven't found anything that really jumps out as the right answer. So any suggestions or help would be appreciated. The code in BOLD ITALICS is what I'm having trouble with. /// <summary> /// The constructor ...
The last few days have been incredibly productive for me, in terms of cranking out VB.NET XNA samples. Not only did I post several new conversions, but I also managed to wrap up two that had been giving me trouble since day one. The Bloom PostProcess sample and the Billboard sample have both been a real pain to convert, and I had pretty much given up on both of them until just recently. I've learned a lot from converting some of the recent samples (I've learned something from all of them really) ...
One of the earlier XNA samples I tried converting from C# to VB.NET was the Bloom PostProcessing sample (original sample here.) After converting the code, I fought with it nearly every night (after work) for several weeks trying to debug it and get it to perform properly. It seemed I was plagued with problems and eventually shelved it, writing it off as one of those things you just can't do in VB.NET. After I knocked out several more samples, and learning a lot more about what works and what doesn't, ...
If you're interested in XNA Code Samples, Starter Kits and Tutorials then the XNA Creator's Club Website is a fantastic resource. Unless of course, you're looking for samples in VB.NET... Fortunately, all is not lost. Yours truly has been very busy this holiday season, converting the various Code Samples and Tutorials to VB.NET just for you... I've still got a long ways to go, and I haven't touched the starter kits, but I have finished converting the 2D Collision code. (This includes all three examples ...

Scott Hanselman has recorded a podcast with Paul Vick and Paul Yuknewicz about VB.NET yesterday, today & tomorrow.

Enjoy: http://www.hanselminutes.com/default.aspx?showID=110

I guess the first post of my blog should be to tell you who I am. My name is Rick Eberle and I am currently developing a WPF windows application in VB. I have been a developer for 20+ years, though most of it was not with Microsoft products. For the first 15 or so years I developed mainly on IBM mini’s(AS400). I wrote programs in languages like RPG and Cobol, I also did a few PC projects in dBase/FoxPro during that time. About 5-6 years ago I decided I needed to jump from the old technology giant(IBM) ...
I just read Don Box's Languages and Beauty Contests post and was surprised to see him praising the aesthetic value of VB.NET. Am I mistaken or has the collective self-esteem of millions of VB.NET programmers just risen considerably? Perhaps the word 'just' is a bit of a stretch since the post was actually written several weeks ago. I would have come across it sooner, but I am currently living in mortal fear of my RSS Reader which has somehow managed to swell in size to a couple of hundred subscriptions ...
If you are not familiar with the new LINQ syntax in .NET 3.5 I recommend you read up on that first. Language Integrated Query (LINQ) is the new foundation for querying anything (I mean anything) in .NET and a lot of effort has been put into LINQ and XML integration. I did some research a few months back on it but it was only recently that I realized how much Microsoft put into LINQ to XML. I am a huge fan of intellisense. That is the best thing that MS ever perfected in Studio. I spend a lot of time ...
Geek Speak on LINQ to SQL December 5th Despite some technical difficulties on my end, Lynn Langit and Mike Benkovich, from the MSDN team co-hosted my appearance on an excellent web cast today. We gave a good introduction into the basics of LINQ to SQL. This feature of Visual Studio 2008 and the new .NET Framework 3.5 provides and elegant way for us to retrieve data and hydrate usable objects from the database. Here are some links you can look at now. Look for another post in a day or so for where ...
It's time for the next installment of the monthly Caffeinated Codey awards, where the link love flows for my favorite posts from the month. For Most Likely to Cause My Co-Workers Grief...Jeff Atwood's post Don't Forget to Lock Your Computer where he talks about the wonderful world of goating. Don't get excited, you'll have to go elsewhere for your daily dose of bestiality. However, this post does offer plenty of good ideas on how you can punish your co-workers the next time they leave their computer ...
Anyone using XML in .NET projects is probably aware of the several options available for working with XML within the .NET Framework (which I will tell you up front - I am a huge fan, nay, a cheerleader for .NET). .NET provides a full set of classes to work with XML data and XML schemas. With the release of Visual Studio 2008 and .NET 3.5 there are several new ways to work with XML using LINQ and many improvements to working with XML schemas (Intellisense support, etc). The last few projects I did ...
Goodbye to the C# to VB.NET converters! Kudos to Chris Williams on creating a site where VB.NET coders can find the code in VB.NET (not C#). If you've ever found code snippets in C# and had to translate them to VB.NET for your application, now is the time to share! The more we all share, the quicker the VB.NET resources grow. Read more here ...
By now, if you read the main GWB feed, you've probably noticed a few posts mentioning the www.ILoveVB.NET community. One of the perks of being a Microsoft MVP is that you occasionally get free software and services from various companies. This give me an opportunity to try new things and experiment without a big investment up front. The I Love VB.NET community is one of those experiments. So, what's it all about? I suppose you can think of it as a safe haven for VB.NET developers. When I first registered ...

Are you a VB.NET developer, enthusiast, evangelist, MVP?  Just really like blog bling?

Show your VB.NET love on your blog or website.


www.ILoveVB.net

(Link to www.ILoveVB.Net greatly appreciated.)

Crossposted from the VB.NET XNA Project blog at www.ILoveVB.NET First... how to cause the problem. 1. Create a new C# Windows Game 2.0 project in VS2005. If you take a look at this point, in the Configuration Manager, you will see 2 entries. One is for the Content project and the other is for whatever you named your new project. So far, so good. 2. Add a new VB.NET Class Library project to your solution. (Make sure to add it to the solution, not create a new one.) Take a look in the Configuration ...
Well, the Man is probably more like all those out there that only release samples and examples in C#, ignoring the millions (and millions) of VB.NET developers out there. Chris Williams has championed a new online community meant to bring all anti-semicolon peeps together to share experiences and skills together at ilovevb.net. So if you're down with the VB way of things, check out the site! D ...

Chris Williams, MVP (VB.NET) has a new site running.  It promises to be a great collaboration community for VB.NET developers.  Check it out!

http://www.ilovevb.net

 

I just read the Silent Majority post by Paul Vick, which challenges conventional wisdom by offering some evidence that VB.NET is more popular than C#. The VB.NET vs C# flame war that ensued in the comment section led me to the following thoughts. 1. The difference between these languages truly is trivial. The recruiters I talked to a few months ago when I was switching jobs from a VB.NET to a C# shop looked more than a little skeptical when I told them that I was just as qualified for a C# position ...
Day 1 of our little Dev Teach adventure seems like it was enough to fill an entire week already! Others have already started blogging about it, so make sure to keep an eye on those who are here and commenting on the general happenings around Dev Teach. But I digress, back to Day 1. UG Summit Monday was the User Group summit, which Microsoft graciously hosted for us at their new downtown Vancouver offices. This also coincided with the Canadian MVP summit at the same location. Our user group discussions ...
Well, most of the web developers today develop Enterprise Web Applications. While the challenge lies on different parameters like designing the different layers, transferring data between the different layers etc., let us examine how Visual Studio 2005 and ASP.NET 2.0 help you create Enterprise Web Applications quite easily. Designing your Data Layer The first step in designing your application would obviously be designing your database and I would leave that part entirely at your discretion. Once ...
I know you're probably sick of reading about how awesome it is here in MN... tough! We had snow today. Not a lot, and none of it stuck, but it was definitely snow. Awesome. As a point of reference, it was 76 degrees today in Greenville. No snow there. Moving to the home office was the smartest thing I ever did. Not only is there enough work here in town that I'll practically never have to travel (unless I want to) but it gives me the opportunity to do all the fun, awesome community stuff I love to ...