/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





Channel: Lucian's VBlog

There was an interesting article about using VB's XML support for generating HTML: http://www.infoq.com/news/2009/02/MVC-VB . I've been using VB and XML for the reverse purpose -- scraping web pages to retreive information. I enjoy sailing , and I wanted to find historical data on windspeeds to know when would be the best time of year to set out on a long trip. (Answer: March and April have the best winds around Seattle). I found an excellent site, to scrape from, http://www. ... [ read more ]


Sometimes you want to launch an external utility and send input to it and also capture its output. But it's easy to run into deadlock this way... ' BAD CODE Using p As New System.Diagnostics.Process     p.StartInfo.FileName = "cat"     p.StartInfo.UseShellExecute = False     p.StartInfo.RedirectStandardOutput = True     p.StartInfo.RedirectStandardInput = True   &nb ... [ read more ]


1. Juliette sends a message "I'll take a drug which makes me look dead but I'm not really" 2. Romeo receives the message 3. Romeo finds Juliette looking dead, but knows she's not really dead 4. They live happily ever after vs. 1. Juliette sends a message "I'll take a drug which makes me look dead but I'm not really"                 [the message is lost in a plague-related network outage] 2. Romeo nev ... [ read more ]


C:\Program Files\Microsoft SDKs\Windows\v6.0\bin\ildasm.exe C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\ildasm.exe C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\ildasm.exe C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\x64\ildasm.exe C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\ildasm.exe C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\x64\ildasm.exe C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\ildasm.exe C:\Program Files (x86)\Mi ... [ read more ]


"My dog has no type." "How does he smell?" "Awful!" This article originally was called "Expressions with no types" but that was a misleading title. This article is really about expressions which have a "quantum superposition" of several types: that's to say, the expression on its own could be one of several different types, but then the immediate context of that expression makes it collapse down to just one of those types. Superposition types are used in two ... [ read more ]


Say you're demonstrating a compiler at a conference. What's the best way to do it? Should you just type in code in the code window? Doing this, you're relying on the audience's imagination -- that they form a mental picture of how the program will behave. You're also relying on their trust that your code really does what you say it does. Or should you execute your code every minute or so, so the program's output window pops up and the audience can see that the code really wor ... [ read more ]


I'd like to own a "Gestalt Camera". When you photograph an object it wouldn't just save a flat 2-dimensional projection of the object onto an SD card; instead it'd record the "gestalt", an understanding of the whole object and its complete web of relations. This would include a 3d representation of the object from all angles, an essay on its historical significance, a description of the cultural and economic role it plays, detailed internal diagrams showing how it works ... [ read more ]


This is the first in a series of posts exploring how we might implement generic co- and contra-variance in a hypothetical future version of VB. This is not a promise about the next version of VB; it's just one possible proposal, written up here to get early feedback from potential users.   Sub EatFruit( ByVal x As IEnumerable( Of Fruit)) ...   Dim x As New List( Of Apple) x.Add( New GrannySmith) x.Add( New GoldenD ... [ read more ]
Hello! I'm starting this blog as a way to communicate with VB users -- to hear what you want, to answer what questions I can, and to share my ideas about things the language could include in the future. I've recently become the Visual Basic specification lead, taking over this role from Paul Vick . He did a great job, and I'm happy that he'll continue as "VB Language Designer Emeritus". Since joining the VB compiler team a year ago I've worked on new features for Visual Studio 2010 rela ... [ read more ]


© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC