Display: Cloud | List
Most Popular Tags
Results (4 total) All > vb.net (x) > example (x)
Wish there was a clearer, more VB way VB.NET example (SmtpClient Class (System.Net.Mail))
The user submitted VB examples are a good effort but really there should be an official VB.NET example. One clear tutorial is in a paper book - Murach's ASP.NET 3.5 with VB 2008 by Anne Boehm.
Last modified by AnandaSim on 2/19/2010 2:31:53 AM
Tags:  example  murach  vb.net
vb.net example (SfcIsFileProtected function (Windows))
Example: Messagebox.Show(WRPDisplayFileProtectionStatus("C:\Windows\explorer.exe")) <DllImport("sfc.dll")> Public Shared Function SfcIsFileProtected(ByVal hRpc As Integer, ByVal ProtFileName As IntPtr) As Boolean End Function Public Shared Function WRPDisplayFileProtectionStatus(ByVal Filename As String) As String If SfcIsFileProtected(0, Marshal.StringToHGlobalUni(Filename)) Then
Last modified by dmex on 5/7/2009 8:08:43 AM
Tags:  contentbug  example  vb.net
How to display file/folder properties dialog (VB.net) (ShellExecuteEx function (Windows))
Input: File Patch to display File Properties and handle to FormPublic Shared Sub DisplayFileProperties(ByVal xFileName As String, ByVal hwnd As IntPtr)Const SEE_MASK_INVOKEIDLIST As Integer = &HCConst SW_SHOW As Integer = 5Dim shInfo As New SHELLEXECUTEINFO()With shInfo.cbSize = Marshal.SizeOf(shInfo).lpFile = xFileName.nShow = SW_SHOW.fMask = SEE_MASK_INVOKEIDLIST.lpVerb = "properties".hwnd =
Last modified by dmex on 4/17/2009 1:29:58 PM
Tags:  example  vb.net
VB.NET Example: Update Two ProgressBars asynchronously (Control.Invoke Method (Delegate, Object[]) (System.Windows.Forms))
Following example illustrates updating multiple ( 2 progressbars ) asynchronously by UI thread invoke a delegate, which updates progressbar valueThere are three files for this example 1. Form1.vb: creates two new threads and updates progressbars 2. Form1.Designer.vb: Windows Form designer code 3. Calculate.vb: Emulates a heavy work(by letting current thread sleep)Fi
Last modified by skim milk on 9/12/2007 4:47:59 AM
Tags:  example  threading  vb.net
Page view tracker