Click here to Skip to main content
15,914,408 members
Home / Discussions / C#
   

C#

 
AnswerRe: Add Icon Resource (Windows Forms app) Pin
Martin#2-Aug-07 0:26
Martin#2-Aug-07 0:26 
GeneralRe: Add Icon Resource (Windows Forms app) Pin
peterchen8-Aug-07 10:41
peterchen8-Aug-07 10:41 
GeneralRe: Add Icon Resource (Windows Forms app) Pin
Martin#8-Aug-07 19:56
Martin#8-Aug-07 19:56 
QuestionMigration from Visual Studio 2003 CF 1.0 into Visual Studio 2005 CF 2.0 Pin
Hani071-Aug-07 12:29
Hani071-Aug-07 12:29 
AnswerRe: Migration from Visual Studio 2003 CF 1.0 into Visual Studio 2005 CF 2.0 Pin
Luc Pattyn1-Aug-07 12:38
sitebuilderLuc Pattyn1-Aug-07 12:38 
QuestionVIRTUAL CD OR MOUNT VIRTUAL DRIVE Pin
Shargon_851-Aug-07 10:59
Shargon_851-Aug-07 10:59 
AnswerRe: VIRTUAL CD OR MOUNT VIRTUAL DRIVE Pin
Thomas Stockwell4-Aug-07 12:52
professionalThomas Stockwell4-Aug-07 12:52 
QuestionVB6 to C# Question Pin
jay in CT1-Aug-07 10:34
jay in CT1-Aug-07 10:34 
I have code that is functioning in VB6 that I need to update to C# and I am new to programming in C#. Please let me know if anyone can help. I am using the Datalink command to wait for a data string with a CRLF at the end of data, then I wait for the next string. The IP address of the server application is 192.168.255.3 port 5001.

'Auto connect the DVT vision system at this time using the IP address of the camera
DVTSID1.RemoteHost = "192.168.255.3"
DVTSID1.Connect

'Show the current images in the video display window
DVTSID1.PlayImages

'Connect to the Datalink of the DVT camera to import the data
DataLink.Connect (DVTSID1.RemoteHost)

'Receives data through the DataLink connection. Assumes EOL termination
'in the FrameWork setup is CrLf

Private Sub DataLink_DataArrival(ByVal bytesTotal As Long)

Dim strData As String
Dim data As String
Dim pos As Long
Dim txtdata As String
Dim ret As Integer
Dim work As Variant


DataLink.GetData strData, vbString
data = data + strData
pos = InStr(data, vbCrLf)

End Sub

Thank you.
Jason
AnswerRe: VB6 to C# Question Pin
Judah Gabriel Himango1-Aug-07 11:51
sponsorJudah Gabriel Himango1-Aug-07 11:51 
GeneralRe: VB6 to C# Question Pin
jay in CT2-Aug-07 2:03
jay in CT2-Aug-07 2:03 
GeneralRe: VB6 to C# Question Pin
Judah Gabriel Himango2-Aug-07 4:36
sponsorJudah Gabriel Himango2-Aug-07 4:36 
QuestionBinary conversion , Help please!! Pin
Fara761-Aug-07 10:22
Fara761-Aug-07 10:22 
AnswerRe: Binary conversion , Help please!! Pin
Luc Pattyn1-Aug-07 12:42
sitebuilderLuc Pattyn1-Aug-07 12:42 
AnswerRe: Binary conversion , Help please!! Pin
pmarfleet1-Aug-07 12:52
pmarfleet1-Aug-07 12:52 
GeneralRe: Binary conversion , Help please!! Pin
Fara761-Aug-07 13:19
Fara761-Aug-07 13:19 
AnswerRe: Binary conversion , Help please!! Pin
Vega021-Aug-07 19:37
Vega021-Aug-07 19:37 
GeneralRe: Binary conversion , Help please!! Pin
Fara762-Aug-07 15:54
Fara762-Aug-07 15:54 
QuestionAspect Oriented Programing in C# Pin
Kevin Kinnett1-Aug-07 8:33
Kevin Kinnett1-Aug-07 8:33 
AnswerRe: Aspect Oriented Programing in C# Pin
Not Active1-Aug-07 9:38
mentorNot Active1-Aug-07 9:38 
QuestionHow to adjust timeouts when loading from web (help!) Pin
doug11111-Aug-07 8:33
doug11111-Aug-07 8:33 
AnswerRe: How to adjust timeouts when loading from web (help!) Pin
Not Active1-Aug-07 9:07
mentorNot Active1-Aug-07 9:07 
GeneralRe: How to adjust timeouts when loading from web (help!) Pin
doug11111-Aug-07 9:27
doug11111-Aug-07 9:27 
GeneralRe: How to adjust timeouts when loading from web (help!) Pin
Not Active1-Aug-07 9:33
mentorNot Active1-Aug-07 9:33 
QuestionSimplify this code Pin
eggie51-Aug-07 8:16
eggie51-Aug-07 8:16 
AnswerRe: Simplify this code Pin
eggie51-Aug-07 8:31
eggie51-Aug-07 8:31 

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.