Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

The limitations of Reflection.Emit

Question: Is Reflection.Emit a comprehensive API that lets you build any assembly you want? Answer: No. There are some things that are valid IL, and yet can't be built with Reflection.Emit. Thanks to Eric Lippert for showing me the following example.
Posted by ljw1004 | 3 Comments
Filed under:

I'm a VB at PDC

Hello from PDC! The VB session was here: http://microsoftpdc.com/Sessions/FT32 - I'll post the code from it shortly, and let you know when the video goes live. The talk covered many of the new features in VB10, and showed a Silverlight4 application written
Posted by ljw1004 | 0 Comments

I'm a VB

Check out the license plates on my new motorcycle!
Posted by ljw1004 | 0 Comments

Web-scraping with VB's XML support

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
Posted by ljw1004 | 1 Comments
Filed under:

System.Diagnostics.Process: redirect StandardInput, StandardOutput, StandardError

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
Posted by ljw1004 | 0 Comments

Romeo and Juliette and Windows Azure

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
Posted by ljw1004 | 1 Comments
Filed under:

Where are the SDK tools? Where is ildasm?

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
Posted by ljw1004 | 0 Comments
Filed under:

My dog has no type (Expressions with "Superposition" types)

"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
Posted by ljw1004 | 2 Comments
Filed under:

LiveRun - a VS plugin to see the output of your program immediately

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.
Posted by ljw1004 | 1 Comments
Filed under:

Reflection on COM objects

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.
Posted by ljw1004 | 1 Comments
Filed under:

Co- and contra-variance: how do I convert a List(Of Apple) into a List(Of Fruit)?

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
Posted by ljw1004 | 4 Comments
Filed under:

Hello!

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
Posted by ljw1004 | 0 Comments
 
Page view tracker