¡@

Home 

c# Programming Glossary: microsoft.visualbasic

Run one instance of program

http://stackoverflow.com/questions/11923785/run-one-instance-of-program

like this using System using System.Windows.Forms using Microsoft.VisualBasic.ApplicationServices Add reference to Microsoft.VisualBasic namespace.. Microsoft.VisualBasic.ApplicationServices Add reference to Microsoft.VisualBasic namespace WindowsFormsApplication1 class Program WindowsFormsApplicationBase..

C#: How to logon to a share when using DirectoryInfo

http://stackoverflow.com/questions/1232120/c-how-to-logon-to-a-share-when-using-directoryinfo

for me to logon in none windows server via UNC. using Microsoft.VisualBasic using System using System.Collections using System.Collections.Generic..

Which control to use for quick text input (inputbox)?

http://stackoverflow.com/questions/1643924/which-control-to-use-for-quick-text-input-inputbox

messagebox inputbox share improve this question Microsoft.VisualBasic.dll has an InputBox method which you can use from C# to get.. C# to get a single string. For example Add a reference to Microsoft.VisualBasic.dll first using Microsoft.VisualBasic string response Interaction.InputBox.. Add a reference to Microsoft.VisualBasic.dll first using Microsoft.VisualBasic string response Interaction.InputBox Enter a string MyApp DefaultString..

What is the correct way to create a single instance application?

http://stackoverflow.com/questions/19147/what-is-the-correct-way-to-create-a-single-instance-application

two reasons. First it does not require a dependency on the Microsoft.VisualBasic assembly. If my project already had a dependency on that assembly.. in the accepted answer. But as it is I do not use the Microsoft.VisualBasic assembly and I'd rather not add an unnecessary dependency to..

Best way to limit textbox decimal input in c#

http://stackoverflow.com/questions/3125463/best-way-to-limit-textbox-decimal-input-in-c-sharp

decimal symbol . Add this class to your project using Microsoft.VisualBasic using System using System.Collections using System.Collections.Generic..

How to get the size of available system memory?

http://stackoverflow.com/questions/3296211/how-to-get-the-size-of-available-system-memory

memory diagnostics share improve this question Use Microsoft.VisualBasic.Devices.ComputerInfo.TotalPhysicalMemory. Project Add Reference..

Reading csv file

http://stackoverflow.com/questions/3507498/reading-csv-file

of what's already in .NET BCL. add a reference to the Microsoft.VisualBasic yes it says VisualBasic but it works in C# just as well remember.. as well remember that at the end it is all just IL use the Microsoft.VisualBasic.FileIO.TextFieldParser class to parse CSV file Here is the sample..

Multi-threaded splash screen in C#?

http://stackoverflow.com/questions/48916/multi-threaded-splash-screen-in-c

a ClickOnce app that I deployed in the past we used the Microsoft.VisualBasic namespace to handle the splash screen threading. You can reference.. the splash screen threading. You can reference and use the Microsoft.VisualBasic assembly from C# in .NET 2.0 and it provides a lot of nice services... a lot of nice services. Have the main form inherit from Microsoft.VisualBasic.WindowsFormsApplicationBase Override the OnCreateSplashScreen..

How to write unicode chars to console?

http://stackoverflow.com/questions/5750203/how-to-write-unicode-chars-to-console

a little console test app you may find handy imports Microsoft.VisualBasic imports System public module MyModule Sub Main Console.OutputEncoding..

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

is a method in VB that we can use if we add a reference to Microsoft.VisualBasic new Microsoft.VisualBasic.Devices.Computer . FileSystem.CopyDirectory.. can use if we add a reference to Microsoft.VisualBasic new Microsoft.VisualBasic.Devices.Computer . FileSystem.CopyDirectory sourceFolder outputFolder..

What is the C# version of VB.net's InputDialog?

http://stackoverflow.com/questions/97097/what-is-the-c-sharp-version-of-vb-nets-inputdialog

vb.net share improve this question Add a reference to Microsoft.VisualBasic InputBox is in the Microsoft.VisualBasic.Interaction namespace.. a reference to Microsoft.VisualBasic InputBox is in the Microsoft.VisualBasic.Interaction namespace string input Microsoft.VisualBasic.Interaction.InputBox.. Microsoft.VisualBasic.Interaction namespace string input Microsoft.VisualBasic.Interaction.InputBox Prompt Title Default 1 1 share improve..