Click here to Skip to main content
15,888,113 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionGrabbing file name and path info for a bootstrapper application Pin
normschaef9-Aug-10 6:12
normschaef9-Aug-10 6:12 
AnswerFileInfo Pin
David Mujica9-Aug-10 6:27
David Mujica9-Aug-10 6:27 
Questionreturn executable setup file path Pin
mehrnoosh8-Aug-10 20:22
mehrnoosh8-Aug-10 20:22 
AnswerRe: return executable setup file path Pin
Goutam Patra8-Aug-10 21:02
professionalGoutam Patra8-Aug-10 21:02 
GeneralRe: return executable setup file path Pin
mehrnoosh8-Aug-10 21:09
mehrnoosh8-Aug-10 21:09 
GeneralRe: return executable setup file path Pin
Goutam Patra8-Aug-10 21:30
professionalGoutam Patra8-Aug-10 21:30 
GeneralRe: return executable setup file path Pin
mehrnoosh8-Aug-10 22:05
mehrnoosh8-Aug-10 22:05 
QuestionHow to get real MAC address Pin
ivo758-Aug-10 2:35
ivo758-Aug-10 2:35 
Hi I use this code to get MAC address in network adapter, when I clone this MAC adress give me cloning MAC. I want to get real (fabric) MAC address.

Imports System.Management
Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim mc As New ManagementClass("Win32_NetworkAdapterConfiguration")
Dim moc As ManagementObjectCollection = mc.GetInstances()

Dim MACAddress As String = [String].Empty

For Each mo As ManagementObject In moc
If MACAddress = [String].Empty Then
' only return MAC Address from first card
If CBool(mo("IPEnabled")) = True Then
MACAddress = mo("MacAddress").ToString()
End If
End If
mo.Dispose()
Next
MsgBox(MACAddress)
MACAddress = MACAddress.Replace(":", "")
' Then youc an set anything to MACAddress
MsgBox(MACAddress)
End Sub
End Class
AnswerRe: How to get real MAC address Pin
LloydA1118-Aug-10 11:33
LloydA1118-Aug-10 11:33 
QuestionHow do we program Live chat? Pin
Syed Wayez Ahmed6-Aug-10 20:44
Syed Wayez Ahmed6-Aug-10 20:44 
AnswerRe: How do we program Live chat? Pin
Richard MacCutchan6-Aug-10 21:54
mveRichard MacCutchan6-Aug-10 21:54 
GeneralRe: How do we program Live chat? Pin
Syed Wayez Ahmed6-Aug-10 22:07
Syed Wayez Ahmed6-Aug-10 22:07 
GeneralRe: How do we program Live chat? Pin
Abhinav S6-Aug-10 22:38
Abhinav S6-Aug-10 22:38 
GeneralRe: How do we program Live chat? Pin
Richard MacCutchan6-Aug-10 23:14
mveRichard MacCutchan6-Aug-10 23:14 
GeneralRe: How do we program Live chat? Pin
Syed Wayez Ahmed6-Aug-10 23:48
Syed Wayez Ahmed6-Aug-10 23:48 
GeneralRe: How do we program Live chat? Pin
Richard MacCutchan6-Aug-10 23:53
mveRichard MacCutchan6-Aug-10 23:53 
GeneralRe: How do we program Live chat? Pin
Syed Wayez Ahmed7-Aug-10 1:17
Syed Wayez Ahmed7-Aug-10 1:17 
QuestionTreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Andraw Tang5-Aug-10 11:12
Andraw Tang5-Aug-10 11:12 
AnswerRe: TreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Andraw Tang5-Aug-10 12:08
Andraw Tang5-Aug-10 12:08 
GeneralRe: TreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Tom Deketelaere5-Aug-10 22:25
professionalTom Deketelaere5-Aug-10 22:25 
GeneralRe: TreeNode Add/Remove/Disable issue in vb.net 2005 Pin
Andraw Tang6-Aug-10 3:33
Andraw Tang6-Aug-10 3:33 
QuestionDataGridView and combobox issue Pin
mecca15-Aug-10 9:37
mecca15-Aug-10 9:37 
Question[VB6] Problem with search data in Access database (windows form application) Pin
_ASPAle_5-Aug-10 1:22
_ASPAle_5-Aug-10 1:22 
AnswerRe: [VB6] Problem with search data in Access database (windows form application) Pin
AnnieMacD5-Aug-10 5:19
AnnieMacD5-Aug-10 5:19 
QuestionGet table field size Pin
cyberexel4-Aug-10 8:14
cyberexel4-Aug-10 8:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.