Click here to Skip to main content
15,908,173 members
Home / Discussions / C#
   

C#

 
GeneralI have problem to make connection on Access database. Pin
SasaTod22-Jun-04 8:56
SasaTod22-Jun-04 8:56 
GeneralRe: I have problem to make connection on Access database. Pin
Heath Stewart22-Jun-04 10:38
protectorHeath Stewart22-Jun-04 10:38 
GeneralRe: I have problem to make connection on Access database. Pin
SasaTod23-Jun-04 6:19
SasaTod23-Jun-04 6:19 
Questionsend ICMP packet like PING in .net? Pin
vista2722-Jun-04 7:51
vista2722-Jun-04 7:51 
AnswerRe: send ICMP packet like PING in .net? Pin
Daniel Turini22-Jun-04 8:18
Daniel Turini22-Jun-04 8:18 
AnswerRe: send ICMP packet like PING in .net? Pin
eggie522-Jun-04 8:49
eggie522-Jun-04 8:49 
AnswerRe: send ICMP packet like PING in .net? Pin
yoaz22-Jun-04 22:26
yoaz22-Jun-04 22:26 
Generalconverting vb.net code to c# Pin
vijju0422-Jun-04 7:44
vijju0422-Jun-04 7:44 
Hi,

can anyone help me converting vb.net code given below into c#. I tried some converting tools but it will put the same code in c# and will give reference to Microsoft.VisualBasic.Compatibility, but i don't want that. i want the c# code for this method without using the reference to Microsoft.VisualBasic.Compatibility, also, if i have .dll project, how do i convert the .dll executable at the same time.. i appreciate ur help. Thanks...

vb.net code
-------------


Private Function GetSingleProperty(ByRef sElementName As String) As String
Dim vValues As Object
vValues = g_pPropSet.GetProperty(sElementName)

If IsNothing(vValues) Then
GetSingleProperty = ""


ElseIf VarType(vValues(LBound(vValues))) <> VariantType.String Then
GetSingleProperty = ""

Else
GetSingleProperty = vValues(LBound(vValues))
End If

End Function

vijju
GeneralRe: converting vb.net code to c# Pin
Heath Stewart22-Jun-04 8:18
protectorHeath Stewart22-Jun-04 8:18 
GeneralRe: converting vb.net code to c# Pin
vijju0422-Jun-04 10:28
vijju0422-Jun-04 10:28 
GeneralRe: converting vb.net code to c# Pin
Heath Stewart22-Jun-04 10:36
protectorHeath Stewart22-Jun-04 10:36 
GeneralRe: converting vb.net code to c# Pin
Heath Stewart22-Jun-04 8:29
protectorHeath Stewart22-Jun-04 8:29 
GeneralRe: converting vb.net code to c# Pin
LongRange.Shooter22-Jun-04 10:00
LongRange.Shooter22-Jun-04 10:00 
GeneralRe: converting vb.net code to c# Pin
Heath Stewart22-Jun-04 10:32
protectorHeath Stewart22-Jun-04 10:32 
GeneralAuto adjust column width Pin
vcorn22-Jun-04 7:44
vcorn22-Jun-04 7:44 
GeneralRe: Auto adjust column width Pin
Heath Stewart22-Jun-04 8:12
protectorHeath Stewart22-Jun-04 8:12 
GeneralHelp me with an e-mail. Pin
svenakela22-Jun-04 7:36
svenakela22-Jun-04 7:36 
Generalconverting vb.net code to c# Pin
vijju0422-Jun-04 7:35
vijju0422-Jun-04 7:35 
GeneralRe: converting vb.net code to c# Pin
Heath Stewart22-Jun-04 8:06
protectorHeath Stewart22-Jun-04 8:06 
GeneralSaving a collection of a class into form`s code. Pin
Member 114126622-Jun-04 6:41
Member 114126622-Jun-04 6:41 
GeneralRe: Saving a collection of a class into form`s code. Pin
Heath Stewart22-Jun-04 8:04
protectorHeath Stewart22-Jun-04 8:04 
GeneralRe: Saving a collection of a class into form`s code. Pin
Member 114126622-Jun-04 20:00
Member 114126622-Jun-04 20:00 
GeneralRe: Saving a collection of a class into form`s code. Pin
Heath Stewart22-Jun-04 20:11
protectorHeath Stewart22-Jun-04 20:11 
QuestionSuppress click at load??? Pin
betterc22-Jun-04 6:39
betterc22-Jun-04 6:39 
AnswerRe: Suppress click at load??? Pin
Heath Stewart22-Jun-04 8:02
protectorHeath Stewart22-Jun-04 8:02 

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.