Sign in
Lucian's VBlog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
async
COM
covariance
iterators
mvvm
phone
plugin
PostVB10
spec
talk
tools
web
win8
Archive
Archives
February 2013
(3)
December 2012
(3)
November 2012
(6)
July 2012
(1)
May 2012
(1)
April 2012
(1)
March 2012
(3)
November 2011
(1)
October 2011
(1)
May 2011
(4)
April 2011
(6)
October 2010
(2)
June 2010
(1)
April 2010
(2)
March 2010
(7)
February 2010
(29)
January 2010
(12)
November 2009
(2)
August 2009
(1)
February 2009
(1)
December 2008
(1)
November 2008
(3)
October 2008
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Lucian's VBlog
How to await a button click
Posted
5 months ago
by
Lucian Wischik, MSFT
1
Comments
[This post is part of a series How to await a storyboard, and other things ] Sometimes we want to await until a button has been clicked. Once place where this is useful is, for instance, when displaying the message “Click button to continue”...
Lucian's VBlog
Await HttpClient.GetStringAsync() and cancellation
Posted
5 months ago
by
Lucian Wischik, MSFT
1
Comments
I’m a big fan of supporting cancellation on async methods. I was recently wondering how to do this for HttpClient.GetStringAsync(). This post has some answers. Async Function TestAsync(uri As Uri , Optional cancel As CancellationToken = Nothing...
Lucian's VBlog
How to write a custom awaiter
Posted
5 months ago
by
Lucian Wischik, MSFT
0
Comments
[This post is part of a series How to await a storyboard, and other things ] The normal behavior of the "await" operator on a task is to suspend execution of the method; then, when the task operand has finished, to resume execution on the same SynchronizationContext...
Lucian's VBlog
Talk: Async Part 2 - for architects, under the hood
Posted
3 months ago
by
Lucian Wischik, MSFT
0
Comments
Talk: Async Part 2 - for architects, under the hood This talk tackles some more advanced async topics. Async idioms - the "TAP" Task Asynchronous Pattern, when and when not to expose async APIs, the unexpected trouble with Task.Yield Integrating...
Lucian's VBlog
MVVM with Async - sample code
Posted
2 months ago
by
Lucian Wischik, MSFT
0
Comments
How do you combine MVVM with async? -- Well, really, there's not much to it. Just the same as always. Here's an example Silverlight MVVM project. It first shipped with the Async CTP, and I've updated it to use VS2012 and Microsoft.Bcl.Async. Download...
Lucian's VBlog
How to await a MediaElement (PlaySound in Windows 8)
Posted
5 months ago
by
Lucian Wischik, MSFT
0
Comments
[This post is part of a series How to await a storyboard, and other things ] Let’s look at making MediaElement awaitable. This is the kind of idiom I’d like to use: Try Await mediaElement1.OpenAsync( New Uri ( "ms-appx:///Assets...
Lucian's VBlog
How to await a drag operation
Posted
5 months ago
by
Lucian Wischik, MSFT
0
Comments
[This post is part of a series How to await a storyboard, and other things ] In my app, I want to await a drag operation. Here’s how I’d like to await it: Private Async Sub rectangle1_PointerPressed(sender As Object , e As PointerRoutedEventArgs...
Lucian's VBlog
When is a non-breaking language fix, breaking?
Posted
10 months ago
by
Lucian Wischik, MSFT
0
Comments
In VS2012 we fixed some method-resolution problems from VS2010. These were method-calls that failed to compile in VS2010, but now compile cleanly in VS2012. VB: Dim numbers As IEnumerable ( Of Integer ) = {1, 2, 3} Sub f( Of T )(x As T ) Sub...
Lucian's VBlog
Core8: Attribute Targets
Posted
over 3 years ago
by
Lucian Wischik, MSFT
0
Comments
[This post is part of a series, " wish-list for future versions of VB "] IDEA: Attribute Targets. We should allow some more attribute targets of the form < Target : SomeAttribute ( )> . Currently the only permitted targets are Assembly: and Module...
Lucian's VBlog
Hello!
Posted
over 5 years ago
by
Lucian Wischik, MSFT
0
Comments
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...
Lucian's VBlog
I'm a VB
Posted
over 4 years ago
by
Lucian Wischik, MSFT
0
Comments
Check out the license plates on my new motorcycle!
Lucian's VBlog
I'm a VB at PDC
Posted
over 4 years ago
by
Lucian Wischik, MSFT
0
Comments
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...
Lucian's VBlog
System.Diagnostics.Process: redirect StandardInput, StandardOutput, StandardError
Posted
over 5 years ago
by
Lucian Wischik, MSFT
0
Comments
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...
Lucian's VBlog
[placeholder] How to write a connected VB phone app
Posted
over 2 years ago
by
Lucian Wischik, MSFT
0
Comments
This blog article has been moved and enhanced: http://blogs.msdn.com/b/lucian/archive/2011/05/20/talk-how-to-write-an-async-connected-app-for-windows-phone-7.aspx
Lucian's VBlog
How to write a VS2010 Extension using Statement Lambdas
Posted
over 3 years ago
by
Lucian Wischik, MSFT
0
Comments
Here's how to write a VS2010 extension (".vsix") in Visual Basic. The code is made a lot easier thanks to one of the major new features in Visual Basic 10, "statement lambdas". This extension renders comments in a new typeface, Comic Sans Bold Italic...
Lucian's VBlog
Talk: How to write an [Async] connected app for Windows Phone 7.1
Posted
over 2 years ago
by
Lucian Wischik, MSFT
0
Comments
Talk: How to write an [Async] connected app for Windows Phone 7.1 This talk is all about writing a connected app for the Windows Phone. The talk covered: (1) Azure/WP7 toolkit for the server-side of the phone app. Most good phone apps will need some...
Lucian's VBlog
Talk: What's new in VB10 (VS2010)
Posted
over 2 years ago
by
Lucian Wischik, MSFT
0
Comments
Talk: What's new in VB10 (VS2010) This talk details the new VB language features that arrived in VS2010 -- Implicit Line Continuations - http://www.unemployedunderscores.com/ Array Literals Collection Initializers Auto-implemented Properties Multi...
Lucian's VBlog
Async CTP Refresh - its state and direction
Posted
over 2 years ago
by
Lucian Wischik, MSFT
0
Comments
Async CTP Refresh - its state and direction We really appreciate everyone who has installed the Async CTP. It has given us tremendous feedback. We appreciate all the discussion and bug reports that have come from users. We made the CTP uninstallable...
Page 4 of 4 (93 items)
1
2
3
4