vb.net

checking for nothing warns that I might be using unitialised variables. Ways to suppress?

In visual studio 2008, when I use something akin to the following snippet: Dim myVar .... ' all sorts of stuff that might initialise myVar ' if not isNothing(myVar) then myVar = new Object() end if myVar.ToString() visual studio warns me on the last statement that myVar might be uninitialised, and a nullreference exception could oc...

copy data from datatable to dataset.datatable

how to copy data from datatable to table in dataset i ry this but its readonly property ds.datatable1=newdt.copy ...

[.net] Application.Exit raises `FormClosed` for all open forms from calling thread, generating invalid thread accesses

Hi all! My routine to check for updates is run as a separate process. Exiting the application is required to update, so a dialog asks the user, when an update is found, if they want to exit now. f they do, the code (from the update thread) calls Application.Exit(). However, if the FormClosed event of any form that needs to be closed ne...

Iterators in VB.NET vNext, and limitations of iterators in C#

I just saw on the Async CTP website that the next version of VB.NET will have iterators. I guess they included iterators because the rewriting process is similar to the one used for the new async/await feature. But reading the document that explains the feature, I realized that VB.NET iterators will actually have features that are not a...

How to eliminate redundant terms from the Quine-McCluskey solution

Here is the Method Plz help i really can't do it. ...