Click here to Skip to main content
15,914,419 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsorting using IComparer in VB.NET Pin
smutukundu27-Aug-07 12:35
smutukundu27-Aug-07 12:35 
AnswerRe: sorting using IComparer in VB.NET Pin
Colin Angus Mackay27-Aug-07 12:52
Colin Angus Mackay27-Aug-07 12:52 
GeneralRe: sorting using IComparer in VB.NET Pin
smutukundu28-Aug-07 6:25
smutukundu28-Aug-07 6:25 
QuestionClosing ContextMenuStrip When Clicking on the Desktop Pin
Paul .27-Aug-07 10:38
Paul .27-Aug-07 10:38 
QuestionRemoting with Strong Names problem [modified] Pin
ramonb27-Aug-07 10:31
ramonb27-Aug-07 10:31 
QuestionSetting the IP address of the local computer (XP Pro) Pin
dhchicago27-Aug-07 9:10
dhchicago27-Aug-07 9:10 
AnswerRe: Setting the IP address of the local computer (XP Pro) Pin
Dave Kreskowiak27-Aug-07 9:51
mveDave Kreskowiak27-Aug-07 9:51 
GeneralRe: Setting the IP address of the local computer (XP Pro) Pin
dhchicago3-Sep-07 12:46
dhchicago3-Sep-07 12:46 
Thanks for your response,Dave. I think I have this one almost worked out with the exception of the following.

strIPAddress = "192.168.1.141"
strsubnetMask(0) = "255.255.255.0"
strGateway(0) = "192.168.1.1"
strGatewayMetric(0) = 1

For Each objNetAdapter In colNetAdapters
    errEnable = objNetAdapter.EnableStatic(strIPAddress, strsubnetMask)
    errGateways = objNetAdapter.SetGateways(strGateway, strGatewayMetric)
Next


The MSDN web site indicates passing the ipaddress variable into the Array(string) function prior to calling EnableStatic. There is no support for the array function in .net. Using conventional 1-demensional arrays throws a type mis-match exception. The exception is just a pretty unhelpful "type mismatch" message. Anyone see something i am missing?

dave

GeneralRe: Setting the IP address of the local computer (XP Pro) Pin
Dave Kreskowiak3-Sep-07 16:30
mveDave Kreskowiak3-Sep-07 16:30 
QuestionConnection String Pin
jds120727-Aug-07 5:29
jds120727-Aug-07 5:29 
AnswerRe: Connection String Pin
Dave Kreskowiak27-Aug-07 5:52
mveDave Kreskowiak27-Aug-07 5:52 
GeneralRe: Connection String Pin
jds120727-Aug-07 7:30
jds120727-Aug-07 7:30 
QuestionPrepare Templates & Mail Pin
Trupti Mehta27-Aug-07 4:32
Trupti Mehta27-Aug-07 4:32 
AnswerRe: Prepare Templates & Mail Pin
Dave Kreskowiak27-Aug-07 5:45
mveDave Kreskowiak27-Aug-07 5:45 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta27-Aug-07 19:32
Trupti Mehta27-Aug-07 19:32 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak28-Aug-07 1:30
mveDave Kreskowiak28-Aug-07 1:30 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta28-Aug-07 1:55
Trupti Mehta28-Aug-07 1:55 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak28-Aug-07 3:31
mveDave Kreskowiak28-Aug-07 3:31 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta28-Aug-07 19:20
Trupti Mehta28-Aug-07 19:20 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak29-Aug-07 12:32
mveDave Kreskowiak29-Aug-07 12:32 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta4-Sep-07 23:14
Trupti Mehta4-Sep-07 23:14 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak5-Sep-07 2:20
mveDave Kreskowiak5-Sep-07 2:20 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta5-Sep-07 4:09
Trupti Mehta5-Sep-07 4:09 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak5-Sep-07 14:07
mveDave Kreskowiak5-Sep-07 14:07 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta5-Sep-07 17:36
Trupti Mehta5-Sep-07 17:36 

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.