Click here to Skip to main content
15,894,720 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Saving Image with with transparent back groung as .gif Pin
Dave Kreskowiak18-Sep-08 1:44
mveDave Kreskowiak18-Sep-08 1:44 
QuestionHelp me! Dynamic crystal reports Pin
tinh cau15-Sep-08 19:21
tinh cau15-Sep-08 19:21 
AnswerRe: Help me! Dynamic crystal reports Pin
pdnet15-Sep-08 23:52
pdnet15-Sep-08 23:52 
GeneralRe: Help me! Dynamic crystal reports Pin
Steven J Jowett16-Sep-08 3:00
Steven J Jowett16-Sep-08 3:00 
QuestionHow to share data between two different windows applicaiton in Vb.Net Pin
Member 427095115-Sep-08 17:50
Member 427095115-Sep-08 17:50 
AnswerRe: How to share data between two different windows applicaiton in Vb.Net Pin
Christian Graus15-Sep-08 19:47
protectorChristian Graus15-Sep-08 19:47 
AnswerRe: How to share data between two different windows applicaiton in Vb.Net Pin
Steven J Jowett15-Sep-08 21:53
Steven J Jowett15-Sep-08 21:53 
QuestionTCP timed Stream.Read()? Pin
alexvw15-Sep-08 16:36
alexvw15-Sep-08 16:36 
Hi everybody,

I am using a Sockets.NetworkStream to request approval or denial from another machine, but I do not want to sit and wait for it indefinitely. Could anybody offer some guide?

This is the code I am using:

....
Dim iMsg() As Byte
Dim Stream As Net.Sockets.NetworkStream
Dim iTPC As New Net.Sockets.TcpClient()

MgrIp = Get_UpdloadApprovIP()

If MgrIp = "" Then
Msg("No manager's available to service this request!", 16, "Cannot Proceed!") : Return
Else

iMsg = System.Text.Encoding.ASCII.GetBytes(sClerk & "|" & MyIp & "|")
'//sClerk & MyIp are local variables

iTPC.Connect(MgrIp, 10002)

Stream = iTPC.GetStream

Stream.Write(iMsg, 0, iMsg.Length)

ReDim iMsg(1) '//honestly can't remember why I am doing this

Stream.Read(iMsg, 0, iMsg.Length)

iTPC.Close()

iMsgStr = System.Text.Encoding.ASCII.GetString(iMsg)

If CType(iMsgStr, Short) = 1 Then
UploadFrm.ShowDialog()
Else
Msg("Your request to upload your data has been denied!", 16, "Cannot Proceed!")
End If

End If
....

Thanks for your time and help Smile | :)

Alex.
AnswerRe: TCP timed Stream.Read()? Pin
Dave Kreskowiak16-Sep-08 1:52
mveDave Kreskowiak16-Sep-08 1:52 
GeneralRe: TCP timed Stream.Read()? Pin
alexvw16-Sep-08 2:24
alexvw16-Sep-08 2:24 
QuestionHow to save and restore values in multi textbox,Datetime picker,combo box when the form close using vb.net !? Pin
GAWAK15-Sep-08 9:59
GAWAK15-Sep-08 9:59 
AnswerTry application settings ... Pin
David Mujica15-Sep-08 10:31
David Mujica15-Sep-08 10:31 
GeneralRe: Try application settings ... Pin
GAWAK16-Sep-08 1:16
GAWAK16-Sep-08 1:16 
QuestionLotus 123 Pin
chuckf15-Sep-08 9:29
chuckf15-Sep-08 9:29 
AnswerRe: Lotus 123 Pin
jzonthemtn15-Sep-08 10:48
jzonthemtn15-Sep-08 10:48 
GeneralRe: Lotus 123 Pin
chuckf15-Sep-08 10:58
chuckf15-Sep-08 10:58 
GeneralRe: Lotus 123 Pin
jzonthemtn15-Sep-08 11:10
jzonthemtn15-Sep-08 11:10 
GeneralRe: Lotus 123 Pin
Scott Barbour15-Sep-08 12:12
Scott Barbour15-Sep-08 12:12 
AnswerRe: Lotus 123 Pin
Johan Hakkesteegt16-Sep-08 10:06
Johan Hakkesteegt16-Sep-08 10:06 
GeneralRe: Lotus 123 Pin
chuckf16-Sep-08 11:03
chuckf16-Sep-08 11:03 
QuestionAtom RSS Feed Content - No Items displayed Pin
ModelMkr15-Sep-08 6:32
ModelMkr15-Sep-08 6:32 
Question'Error in Visual SourceSafe Pin
prubyholl15-Sep-08 6:08
professionalprubyholl15-Sep-08 6:08 
AnswerRe: 'Error in Visual SourceSafe Pin
John_Adams15-Sep-08 9:27
John_Adams15-Sep-08 9:27 
GeneralRe: 'Error in Visual SourceSafe Pin
prubyholl16-Sep-08 3:40
professionalprubyholl16-Sep-08 3:40 
QuestionProduct Id Pin
Gagan.2015-Sep-08 5:47
Gagan.2015-Sep-08 5:47 

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.