Tag | VB.NET Posts

OMG I'm exhausted. I feel like I've been beaten with a bag of tshirt bricks. As the first official day of Tech*Ed draws to a close, let me just say one thing... “NOBODY throws a bash like Microsoft”. I have not spent a dime since I left SC. Everything at Tech*Ed is covered. Breakfast, lunch, dinner, after-parties, etc... It's amazing. (Ok yeah, technically I owe the state of Florida 75 cents but that's a whole other issue.) Met more cool folks today, and also got a chance to get better ...
The day started off well. Sara picked me up at home around 11:30 and took me to the airport. Being the AR type, I always try to get there about 2 hours early. As usual, I was glad I did. There aren't many things in this world more entertaining than folks who are running late for a flight, blaming everyone but themselves and trying to take it out on folks who just do not give a damn. I show up two hours early, check in, let them search my checked luggage, get in line... no hurry. Open my backpack, ...
So I'm at favorite bookstore and this Game Programming book catches my eye. Ok, the title was interesting, but it was actually the 40% off sticker that REALLY sucked me in. Hmmm I think to myself... a game programming book that focuses on VB.NET, from one of my favorite publishers, and 40% off?? Well, needless to say, $30 later (do the math) I'm flipping through my newest acquisition. Preliminary opinions are not good. (There will be a review, and the tech editor will be crucified...) However, I ...
I am currently working on a grid-based game for the VB.Net Compact Framework in VB.Net 2003. In order to minimize the footprint, I am using a grid drawn courtesy of GDI+. It works very well; it is small, and is fast (once I got the double-buffering working like I wanted). However, I've run into a new snag that I am trying to work out. I have a panel control that basically provides the graphics object to the class responsible for rendering the grid. I invalidate the grid, which fires the paint event...which ...
First of all a big thanks goes out to Jeff Julian & John Alexander for telling me about geekswithblogs.net at DevCon in St Louis! Let me introduce myself since this is my first blog post to geekswithblogs.net. My name is Clint Batman and I am a principal in a company called ThinkGeo. Our company provides .NET mapping controls/components that allow developers to easily build mapping functionality into their software applications. I didn't want to bore everyone with a hello world or first post ...
Reviewer: Theo Moore (Greater Charleston .NET User Group) Publisher: Apress Title: Pro ADO.NET with VB.NET 1.1 I’ve been involved deeply with DB access applications for the last 5 years, and I’ve read many books on the subject. I’ve read some that were bad, and I’ve read some that were amazing. This book is definitely a good one. Note that this not intended to be a full reference on the intricacies of the object model, but more of a “this is what it can do, and here’s ...
First off, I am sorry I pulled Jason to the front of the class with my previous entry; I was just trying to make a point. As far as the main feed goes, this has been under review for some time because we know a lot of good information comes out of this site and feel it could be filtered better than we have done with one feed. We still want to offer the non-”Greatest Hits” feed, so you will still be able to get all the content from this community, but with our growth into other realms ...
Let me start by saying this book does not attempt to be something it is not. It's not a generic book on Windows or ASP.NET programming. It deals specifically with one topic. Having said that, GDI+ is a broader topic than you might think and this book does a terrific job of breaking the information up into relevant subtopics. The material is presented in an interesting, conversational tone that uses REAL WORLD EXAMPLES. You actually build several small GDI+ applications by the time you finish the ...
This is distilled from my Charlotte Code Camp presentation yesterday. The “Gang of Four” AKA “GoF”: Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides are authors of the code patterns reference book. The title is “Design Patterns - Elements of Reusable Object-Oriented Software”. This book is so standard, other books refer to pattern names with the page numbers from this book in parentheses like Singleton (127). For legacy coders (Java, C#, C++, etc.), look ...
Don Demsak recently posted an article “VB.Net Event Implementation and Serialization Doesn’t Mix”. Being the culprit VB developer in Don's post I have to say there is no excuse. I didn't know there was another way to create event handlers. The same old (VB) way I've been handling events seemed to work just fine for me. Then Don discovered the serialization problem. I say there is no excuse, but I am not referring to my chosen code implementation. I am referring to VB.Net continuing ...
First, What is Refractoring ? Refactoring is the process of making small changes to working code, to improve the internal structure without altering the external behavior of that code. As an analogy, consider the math statement 2*4*5*3, you can convert this to 1*2*3*4*5 without changing its meaning and from there into 5!. They all mean the same thing but are increasingly easier to read. Refactor! does the same thing but with working source code. Refactor! for Visual Basic 2005 Beta 2 is a free plug-in ...
Click here for a Video version of this Article Most of us who develop Web Applications would have used an IFRAME during some stage of our lives. IFRAME's are an easy way by which you can embed another page within your original page such that you can show some important information like Stock position/Weather from another site without worrying about the changes happening to that site and updating the same. The Frame can also be used to show another page from your own application. ASP.NET also provides ...
I can't believe I did not blog this all ready but Alan and I had an amazing conversation with Philippe Ombredanne (of Eclipse open source fame) Wednesday night about how we may be able to help each other in our respective projects. It was difficult due to the fact that he is three hours behind us but the conversation was well worth not getting sleep for a day. The guy is super smart and knows aheckuvalot about open source projects and the community. I guess they are trying to accomplish the same ...
Probably old news by now (expires April 15, but I found it humorous. On the heels of the classic COM VB petition, RealBasic offers a free version for disgruntled VB6 programmers until April 15. Of course, you'll have to learn the differences between RealBasic and Visual Basic 6.0, so why not just spend that time learning VB.NET or C# instead. Some of the RealBasic community is beginning to build some RealBasic .NET namespace lookalikes. You can run, but you can't hide :) Nice, but no thanks, if I ...
From Jay Roxe, Product Manager, Visual Basic: Today, I'm happy to announce the launch of VBRun: The Visual Basic 6.0 Resource Center at http://msdn.microsoft.com/v... VBRun is a subsite of the VB Developer Center that exposes some of our best Visual Basic 6.0 content from the extensive MSDN library, highlights new content that shows developers how to make VB 6.0 and VB.NET work together and also provides training for developers interested in moving their skills from VB6 to VB .NET. This will make ...
It seems that there are a few developers out there that are trying to petition Microsoft to keep VB6 alive. I'll repeat that. There are those that want VB6 to stick around. I'm pretty sure I know who a couple of them are. If ever there was a group of folks that just don't get it, it must be them. They have even gone so far as to suggest that VB6 and VB.NET should co-exist in the same IDE and that developers could even use both in the same solution and the interop could be handled seamlessly by the ...

For the total VB.NET newb, Betsy Aoki of the MSDN team offers some tongue-in-cheek advice.

http://msdn.microsoft.com/vbasic/default.aspx?pull=/library/en-us/dv_vstechart/html/VSFreakOut.asp

As I have seen many people argue and debate a lot about programming languages, I now see it matters less not more. With the idea of common language runtime, the differences among languages are much reduced. Although you use different language, you can still leverage the very same APIs. Apart from that, you can write in different languages to interface the code from different languages. I think now what matters more is about API. Watch how in the future it will make other languages other than C#, ...
Hey! Just a few quick things to throw out there... Just got back from the Hartford CT presentation of the Winter 05 MSDN event today, where Joe Stagner did a great job showing off some non-traditional win forms apps, some cool ASP.NET debugging techniques, and some new features of Visual Studio 2005. Check out the MSDN Events page for more information on a session near you. Also, Joe has a pretty interesting security web cast tomorrow (Feb 18th). Visit his Digital Black Belt site for more information. ...
The Feb/Mar issue of CoDe Magazine hits the shelves on the 20th of this month. This month I have two articles in it - one on ASP.NET Application Skinning using MVC and the other Declarative Programming: A Custom WebControl Approach to ASP.NET Development. If you read them, please leave me feedback at www.code-magazine.com and/or as feedback for this posting. I don't think I blogged about it in the past, but I started writing for CoDe Magazine last year when they published two other articles, one ...
CLR6Coder is definitely a better name than Visual BabyTalker, which was just unnecessary and inflammatory. However, I'd like to think that as time marches on, there are gradually less of those than Scott Belware implies recently. Personally I don't consider myself one, but I'm not on the jagged bleeding edge either... somewhere in the middle. And while I don't necessarily agree (ok... not at all) with his post generalizing VB.NET developers, I have to concede that I've been somewhat remiss in learning ...
Hear-ye, hear-ye: I am officially coining a new term. In Scott Bellware's posting, he refers to a breed of VB.NET developers who still code like they did in VB6. He and I both agree that this group contributes to the continous war that brews between VB.NET and C#; a war that I do not feel should exist. I'm going to let Scott's posting continue that conversation as opossed to branching one out here. However, I am officially coining the term CLR6Coders (pronounced Clear-six-coders). You heard it here ...
11. If I have a function in InstallScript that accepts a STRING by reference, let me pass in (and get back) a value from a STRING array. Where ReadKey is my function and the 4th parameter accepts a STRING ByRef...STRING szWebConfigKey(20); ...ReadKey(ISMSI_HANDLE, szInstallDir, "szWebConfigKey(6)); This throws an error at compile time. So I have to do this instead...STRING szWebConfigKey(20), szTemp;...ReadKey(ISMSI_HAN... szInstallDir, "szTemp);szWebConfigKey(6) = szTemp; I can do this in VB.NET ...
Welcome back, this post is a completetion to another post. Please read it first in order to get all of this one. Where did I stop last time? Oh, yes. The lunch ;-). After I had my lunch and met some people from and out of . i didn't find myself interested in any of the following 4 concurrent seesion for the 4th period of the day. The I though I could see Hossam Khalifa again and try the “Visual Basic 2005” session though I'm a SHARP guy. The session was more targetted to the simplifications ...
David L asks how to convert legacy VB6 code to C#. There's a lot more to this than one might think. There are significant differences that may make it necessary to rearchitect anything but the simplest application (non deterministic finalization comes to mind.). I would recommend looking at Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic .NET for starters. If you still think it's a good idea to “convert”, you can start with the VB.NET upgrade wizard in visual ...
Updates are at the bottom. Everytime I show someone pictures of my home-office I receive “wow's” or “holy s#$%'s” so by popular demand, here it is: This is my development/main workstation. The computer in place is actually newer than the one pictured (on the right). It is now a P4 3.4 with 1gig ram and dual 120gig ATA150 drives in a SATA Raid 0 configuration. The sound is standard on-board and it drives a nice set of Creative Labs 2.1 speakers. Super sound is not crucial on ...
Recently I found myself working on some player messages (for HA!) and was less than thrilled with how words were getting chopped in half on the linebreak. I came up with this fairly tidy vb.net solution: 1. Build the sentence(s) as normal, with proper spacing and punctuation, and store them all in one long string variable. Dim strMessage As StringstrMessage = "The smelly kobold swings his broken dagger at you. You see a door opening. You cleave the smelly kobold in two." 2. Dim a string array and ...
Welcome to the latest SolidSoft blogger to grace CyberSpace with BizTalk musings - that well known author (we'll forgive the fact it was a VB.NET book ;-) ) and general guru, Richard Case.
No, I'm not talking about C# here. I encountered this while creating a custom Config section in the app.config file. The registration of the configuration section in the part of the app.config file seems to be case sensitive when you define the 'type' attribute. The standard format for a type that will be instantiated by a 'Activator.CreateInstance' call is “fully qualified classname,assembly name”. This is used all over the place and is a .NET standard. It appears that the classname ...
C# and VB.NET compiler treat Generics as CLS-Compliant from Nov 2004 CTP onwards! Thus, all CLS-compliant grammars would now need to support Generics. For details, read http://blogs.msdn.com/bclte... ...
For those of you interested in game development, this short article talks a little about the random dungeon generation I did with VB.NET when writing a roguelike game. If anyone has any specific questions about the source code I refer to (not included in the article, for brevity sake) let me know and when I revamp the article I'll include code snippets along with answers to your questions ...
My local user group http://groups.yahoo.com/gro... is having a Game Programming contest. Starts in January, ends in July. We've already got some cool prizes lined up, with hopefully more before long. So far we have an XBox, 1 year of PocketPC Magazine & VB.NET Standard as prizes. I've been thinking about what I want to do, and whether or not I can finish it in 6 months and have it look fairly good. I'm thinking I'll do a card game. Something other than solitaire though. Something with a ...
Rec.Games.Roguelike.Develop... (my favorite newsgroup) has this interesting thread going on:http://groups-beta.googl... If you are a game developer, or just interested in random dungeon (or other terrain) generation, this is a good one to read. My own experiences with it were fun but extremely frustrating at times. The VB.NET code I wrote is available for free download to anyone who wants it at http://www.heroicadventure.com ...
I've been spending a lot of time working with Installshield X (yes I know there's a newer version) lately and I'm pretty frustrated. I wrote some pretty cool install helper functions in VB.NET and bundled them all up into a .dll. According to InstallShield, I should be able to call functions exposed in this dll in my InstallScript. Well yeah, sorta. The problem is, InstallShield only really supports this in two ways. The first way is great if you're using a C/C++ dll. Just prototype the functions ...
After my last post , which is now a long time ago, David Weller has picked up the topic about my open question if VB.NET discriminates directly DirectX and Tom Miller posted also his thoughts about it. And he made it clear what also my originally thought was , it is just a simple Bug and will be fixed in a future release. I NEVER wanted to presume that this was intentionally against VB developers (because i am not one of the die hard vbies , i am just using vb due to my laziness on writing punctuations ...
Well for those of you that attended either Code Camp (comparable to the original Woodstock) or Code Camp II, and can’t wait for Code Camp III (rumour has it we’ll see one in February ’05), then I have news for you!!! Carl “the Lumberjack” Franklin has been kind enough to offer his service to a mini Code Camp, VB.net style. The fun takes place in Waltham, MA, on Sunday, Jan 23, and it's FREE you cheap bums! So wash your hair and put away those f*&#ing semicolons and ...
Let's go over some of the out-of-the-box options for executing a pipeline from inside your orchestration. It struck my mind first that the MSMQT adapter IS in fact the messagebox. MSMQT Set up a schedule with 1 MSMQT send port and 1 MSMQT receive port sharing the same MSMQT queue name (for example ' loopback' would make a lot of sense) Create a correlation type and set based on the my MSMQT label property. Assign the MSMQT message-label to a newly created GUID inside your orchestration. Try to do ...
You know, this book was a pleasant surprise to me. I wasn't surprised by it being a good book. In fact, I kind of expected it to be a book of quality since David Weller had a hand in it. What surprised me was just how good the book was. I am a strong believer that now matter how much you “think” you know about a subject, if the book is good enough, there is always *something* you can learn from a book (even if it is a “beginner's” book and you are an “expert”). ...
Yes I haven't posted in quite awhile, I have been pretty busy with the birth of my son as well as deciding on the direction I want go with my career. I have hit a sort of brick wall with my job. The problem being I am no longer writing code, a major problem indeed. I rather not go into the direction my career has been going as I pretty much tired of talking about it. The reason for this post is that I am toying with the idea of learning C#. I have been using VB.Net for quite sometime and have noticed ...
Who doesn't love FREE? Check this out, ASP.NET has a whole bunch of webcasts, free for you! They have a *huge* list of webcasts available, and if you view and evaluate 3 or more webcasts, you can snag a free copy of VB.net and a choice of a couple free ASP.NET books!!! Definitely worth the price, go give it a look! They have 100,200, 300 and 400 level webcasta available, sifn up NOW! http://www.aspnetwebcasts.com

So far, I like C# a lot. However, sometimes, I feel like C# is inferior to VB.NET. VB.NET provides financial library within Microsoft.VisualBasic.dll while C# doesn't have one. I wouldn't argue that you can add a reference to that dll and use it in C#. I just think that it should be available under System.Math or a more generic namespace.

No, I am not talking about the point that there are no more VB.NET samples in the new 9.0c SDK. I even like the fact that they are now concentrating on one language to have more examples, so please keep up the good work and give us more manged DirectX stuff (I want to see more managed examples then C++ stuff). I mean the following thing in the Font Class (Which is used also in GUI example) : Public Function DrawText( _ ByVal sprite As Sprite, _ ByVal text As String, _ ByVal rect As Rectangle, _ ByVal ...
This is my first post to a blog. I've been a geek my whole life, but just introduced to blogging recently. I work for Vision Data Solutions (with Jeff Julian and John Alexander). I've worked in several languages; FORTRAN, BASIC, C, Pascal, several assembly languages and currently with Visual FoxPro. I'm learning C#, VB.Net and that whole thing. I've done mostly technical programming. I worked for 17 years developing test equipment, automating power supplies, voltmeters, spectrum analyzers and so ...
I got a request from a blog reader on the details of my certification journey: 1) Top 5 reasons you decided to get certified? 2) What books/resources/courses/web sites/etc.. did you use for your studying? 3) In what order did you take the exams? 4) How much preperation time did you need for the exams? 5) If you had to do it again, what would you do differently, if anything? 6) What level of experience did you have before starting your studying? So, to answer these questions: 1) Top 5 reasons you ...
Maybe someone here can help me out with this little problem I've been having. I've been studying the remoting framework, mostly using Ingo Rammer's Advanced .NET Remoting book. In chapter 6, he presents a sample application on Enhanced Distributed Events.I've been trying to understand how this works and for the most part it all makes sense. The disconnect comes when comparing the C# to VB.NET version of the sample code. Here are the sample projects in both languages: C# Sample Solution VB.NET Sample ...
Hello everyone! Jeff Julian Was kind enough to set me up with a new blog, thanks Jeff. Anyway, for those of you who don't know me, which is probaly most of you, here is a quick and dirty bio of myself... I'm Living in Lawrence, Kansas. I am a contract .NET developer currently working on contract at FHL Bank in Topeka. I am an (MCP, MCSD, MCAD.NET, MCSD.NET) in both C# and VB.NET languages. I prefer writing code in the C# language, maybe just because its new, and feels different than VB.NET, although ...
The language wars are heating up again. Carl responds to a link to this page: Reasons To Convert From VB.Net To C#. The comments on Carl's blog were fast and furious but I can't really understand the crap that some of the C# people pile upon VB developers. Rory picked up on the thread as well, adding his two cents in his usual humorous way. My point of view falls in line with these two guys; Use the best tool for the job and for your situation! If you're a C++ developer, it's natural to gravitate ...
I just got a copy of my latest book, WROX's Professional VB.NET 2003, in the mail last week, so I am guessing the book is out and ready for sale even though Amazon at this moment says it hasn't been released yet. This was a fun book to work on and I got to write it with the likes of Billy Hollis and Rocky Lhotka - two icons in the VB world! Enjoy ...
OK for the most part, I am a VB6 maintainer / VB.NET and VB ASP.NET Developer. I recently inherited a bunch of C# apps at work, some complete, some not. Two little whines here. First, I guess this is my 'reward' for shipping my latest solution like 2 months early on a 12 month cycle. No 'good job', just OK now we can cut that consultant and you can finish/maintain his work now. Second whine, all his work is in C#. I have *no* problem with C#, I like it, I am not as productive with it as I am in VB, ...
From Scooblog: RE: Refactoring in Whidbey for VB.NET Ouch. Now, I've spent a bunch of time in VB.NET. (Most of our VS test automation is written with it.) But this was too funny not to pass along. If you can't laugh at yourself, who can you laugh at?[Via { public virtual blog; }]Via secretGeek According to Microsoft's Paul Vick, Refactoring support in VB.net will differ from that in C#. Terminology and structure of available features will be simplified to cater for the less rigorous intellect of ...