¡@

Home 

c# Programming Glossary: vb

Problem with converting int to string in Linq to entities

http://stackoverflow.com/questions/1066760/problem-with-converting-int-to-string-in-linq-to-entities

c.Name Is there anyway I can achieve this Note that in VB.NET there is no problem use the first snippet it works just.. is no problem use the first snippet it works just great VB is flexible im unable to get used to C#'s strictness c# asp.net..

What are the most important functional differences between C# and VB.NET?

http://stackoverflow.com/questions/11632/what-are-the-most-important-functional-differences-between-c-sharp-and-vb-net

the most important functional differences between C# and VB.NET Certainly there's the difference in general syntax but.. I would note the following C# has anonymous methods VB has these now too C# has the yield keyword iterator blocks VB.. has these now too C# has the yield keyword iterator blocks VB supports implicit late binding VB supports XML literals VB is..

Win32 API function to programmatically enable/disable device

http://stackoverflow.com/questions/1438371/win32-api-function-to-programmatically-enable-disable-device

a disable option then the code below ported to C# from a VB sample I found here should let you disable and re enable the..

switch / pattern matching idea

http://stackoverflow.com/questions/156467/switch-pattern-matching-idea

matches for example an InRange ... match comparable to the VB Select...Case x To y usage. I'm just trying to gauge if people..

Recommend an Open Source .NET Barcode Reader Library [closed]

http://stackoverflow.com/questions/191192/recommend-an-open-source-net-barcode-reader-library

The author James improves and credits a previously written VB library to decode barcodes from an image using only .NET code... The barcode library written in C# The test app written in VB I have successfully used the C# code in VS2008 against a JPG..

Why is the C# “as” operator so popular? [closed]

http://stackoverflow.com/questions/2139798/why-is-the-c-sharp-as-operator-so-popular

construct in C# you might consider switching to VB or some other language. In case one desperately hates the cast..

Read/Write 'Extended' file properties (C#)

http://stackoverflow.com/questions/220097/read-write-extended-file-properties-c

share improve this question For those of not crazy about VB here it is in c# public static void Main string args List string..

Tips for optimizing C#/.NET programs [closed]

http://stackoverflow.com/questions/2473666/tips-for-optimizing-c-net-programs

vbscript their jscript their active server pages their VB their C# code. I always resist this. Emphasizing tips and tricks..

When should I dispose of a data context

http://stackoverflow.com/questions/389822/when-should-i-dispose-of-a-data-context

MoveNext method instead of a foreach statement in C# or VB you can exit the enumeration prematurely. If your application..

Get File Icon used by Shell

http://stackoverflow.com/questions/462270/get-file-icon-used-by-shell

File Icon used by Shell In .Net C# or VB don't care given a file path string FileInfo struct or FileSystemInfo..

How do I suspend painting for a control and its children?

http://stackoverflow.com/questions/487661/how-do-i-suspend-painting-for-a-control-and-its-children

And to whom it may concern this is similar example in VB Declare Function SendMessage Lib user32 Alias SendMessageA ByVal..

Best way to copy the entire contents of a directory in C#

http://stackoverflow.com/questions/58744/best-way-to-copy-the-entire-contents-of-a-directory-in-c-sharp

classes without lots of recursion. There is a method in VB that we can use if we add a reference to Microsoft.VisualBasic..

Why are unsigned int's not CLS compliant?

http://stackoverflow.com/questions/6325/why-are-unsigned-ints-not-cls-compliant

languages have the concept of unsigned ints. For example VB 6 had no concept of unsigned ints which I suspect drove the.. which I suspect drove the decision of the designers of VB7 7.1 not to implement as well it's implemented now in VB8 ... VB7 7.1 not to implement as well it's implemented now in VB8 . To quote http msdn.microsoft.com en us library 12a7a7h3.aspx..

ObservableCollection Doesn't support AddRange method, so I get notified for each item added, besides what about INotifyCollectionChanging?

http://stackoverflow.com/questions/670577/observablecollection-doesnt-support-addrange-method-so-i-get-notified-for-each

by myself FYI hope it to be helpful I updated the VB version and from now on it raises an event before changing the.. show an Are you sure confirmation to the user the updated VB version is in the bottom of this message . Please accept my.. is too narrow to contain my code I don't like it either. VB.NET Imports System.Collections.Specialized Namespace System.Collections.ObjectModel..

Mixing C# & VB In The Same Project

http://stackoverflow.com/questions/1278024/mixing-c-sharp-vb-in-the-same-project

C# VB In The Same Project Can you mix vb and c# files in the same project for a class library Is there.. to make a new project just for it. Edit added haven't c# vb.net share improve this question No you can't. An assembly.. because a VB.NET project will only actually compile the .vb files and a C# project will only actually compile the .cs files...

Reading doc and docx files using C# without having MS Office installed on server

http://stackoverflow.com/questions/14455268/reading-doc-and-docx-files-using-c-sharp-without-having-ms-office-installed-on-s

installed on server I'm working on a project asp.net c# vb 2010 .net 4 and I need to read both DOC and DOCX files that..

Is it possible to intercept (or be aware of) COM Reference counting on CLR objects exposed to COM

http://stackoverflow.com/questions/2223147/is-it-possible-to-intercept-or-be-aware-of-com-reference-counting-on-clr-objec

screen to show it has terminated. I'm sticking totally to vb here in .NET and script to keep things simple but the .NET portion.. component exposing the .NET Component. dim comWrapper dim vbsCalculator set comWrapper CreateObject Calculator.Lib set vbsCalculator.. set comWrapper CreateObject Calculator.Lib set vbsCalculator comWrapper.GetMathLibrary msgbox 10 10 vbsCalculator.lib.Add..

Is there a list of changes for C#4.0 that work in .Net 3.5?

http://stackoverflow.com/questions/2561022/is-there-a-list-of-changes-for-c4-0-that-work-in-net-3-5

ed_maurer archive 2010 03 31 multi targeting and the c and vb compilers.aspx The short list from Ed's post is named arguments..

How to stream your images/files with VLC?

http://stackoverflow.com/questions/2738228/how-to-stream-your-images-files-with-vlc

fake fake file c 1.jpg vvv sout #transcode vcodec mp4v vb 1024 scale 1 duplicate dst std access udp mux ts dst localhost..

C# Drawing Arc with 3 Points

http://stackoverflow.com/questions/2898089/c-sharp-drawing-arc-with-3-points

dx dx dy dy Vector va new Vector a.X cx a.Y cy Vector vb new Vector b.X cx b.Y cy Vector vc new Vector c.X cx c.Y cy.. xaxis va float sweepAngle float Vector.AngleBetween va vb Vector.AngleBetween vb vc path.AddArc float cx distance float.. float Vector.AngleBetween va vb Vector.AngleBetween vb vc path.AddArc float cx distance float cy distance float distance..

Default value for generics

http://stackoverflow.com/questions/354136/default-value-for-generics

do I do this in VB If this just returns null C# or nothing vb then what happens to value types Is there a way to specify for.. calling a parameterless constructor on my class. c# .net vb.net generics share improve this question Question 1 Dim..

C#'s edge over VB [closed]

http://stackoverflow.com/questions/380274/cs-edge-over-vb

to consider when choosing C# VB for a project. c# .net vb.net platforms platform comparison share improve this question.. following are equivalent statements c# if foo is FooObject vb If TypeOf foo is FooObject then Also as mentioned in the comments..

Parse Math Expression

http://stackoverflow.com/questions/3972854/parse-math-expression

out http stackoverflow.com questions 1452282 doing math in vb net like eval in javascript Note I haven't used these myself...

Best way to update LINQ to SQL classes after database schema change

http://stackoverflow.com/questions/40022/best-way-to-update-linq-to-sql-classes-after-database-schema-change

You can use SQLMetal.exe to generate your dbml and or cs vb file. Use a pre build script to start it and target the directory..

Counting the Frequency of Specific Words in Text File

http://stackoverflow.com/questions/4520876/counting-the-frequency-of-specific-words-in-text-file

word in the dictionary. For example Text file i love love vb development although i m a total newbie Dictionary love development.. ~200kb each . I appreciate any kind help. c# .net regex vb.net text share improve this question var dict new Dictionary..

VB.net equivalent of C# Property Shorthand?

http://stackoverflow.com/questions/460027/vb-net-equivalent-of-c-sharp-property-shorthand

End Property But I can't seem to google up an answer on a vb shorthand. c# vb.net language features share improve this.. I can't seem to google up an answer on a vb shorthand. c# vb.net language features share improve this question There..

What is Linq and what does it do? [closed]

http://stackoverflow.com/questions/471502/what-is-linq-and-what-does-it-do

express queries directly in their languages such as c# and vb . The techniques for forming these queries do not rely on the.. of the .Net Framework and available from any .Net language vb.net c# iron python cobol.net ... . Ok on to language features...

How to get recommended programs associated with file extension in C#

http://stackoverflow.com/questions/6679385/how-to-get-recommended-programs-associated-with-file-extension-in-c-sharp

The component does not have a resource identified by the uri

http://stackoverflow.com/questions/7646331/the-component-does-not-have-a-resource-identified-by-the-uri

Library called Controls UserControl Called GridView XAML vb ViewBase x Class Controls.GridView xmlns http schemas.microsoft.com.. markup compatibility 2006 xmlns vb clr namespace Core assembly Core Grid DataGrid DataGrid Grid.. namespace Core assembly Core Grid DataGrid DataGrid Grid vb ViewBase Code Behind using Core public partial class GridView..

How to Hide gif or mp3 files in my project?

http://stackoverflow.com/questions/773718/how-to-hide-gif-or-mp3-files-in-my-project

use code something like this untested translation from vb sorry to get the thing back out as a stream. It's up to you..