Click here to Skip to main content
15,910,471 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: RadioButtonList Enabled Problem Pin
Christian Graus9-May-07 1:43
protectorChristian Graus9-May-07 1:43 
QuestionPopulate Combobox from Command prompt results. Pin
jaysheel8-May-07 23:50
jaysheel8-May-07 23:50 
AnswerRe: Populate Combobox from DOS results. Pin
Colin Angus Mackay8-May-07 23:56
Colin Angus Mackay8-May-07 23:56 
Questionno dropdown listbox Pin
lee238-May-07 22:28
lee238-May-07 22:28 
AnswerRe: no dropdown listbox Pin
Christian Graus8-May-07 22:39
protectorChristian Graus8-May-07 22:39 
GeneralRe: no dropdown listbox Pin
lee238-May-07 22:57
lee238-May-07 22:57 
Questionsubclassing CBN_DROPDOWN Pin
lee238-May-07 22:10
lee238-May-07 22:10 
QuestionHow to Change this code to visual basic? Pin
braleping8-May-07 21:18
braleping8-May-07 21:18 
using System
using System.Collections
using System.Text
using System.Net.Sockets
using System.Net
namespace TrySocketLib;
{
Public Class MessEvent:System.EventArgs;
{
Public String mess;
}
Public delegate void MessageReceivedHandsler(Object sender,MessEvent evt)
Public Class ChatClient;
{
Private TcpClient myClient;
Private String clientIP;
Private byte[] data;
Private bool receivedNick;
Public event MessageReceivedHandler OnMessReceived;
Private static sortedLIST allClients=new sortedList();
Public ChatClient(TcpClient tcpC);
{
myClient=tcpC;
clientIP=tcpC.Client.RemoteEndPoint.ToString();
allClients.Add(clientIP,this);
data=new Byte[myClient.ReceiveBufferSize];
myClient.GetStream().BeginRead(data,0,myClient.ReceiveBufferSize,ReceiveMessage,null);
}
Public void AddMessReceivedRceivedHandler(MessageReceivedHandler handler );
{
onMessReceived+=handler;
Public void RemveMessReceivedHandler(MessageReceivedHandler handler);
{
onMessReceived-=handler;Public void SendMessage(string mess);
{
try
{
system.Net.Sockets.NetworkStream ns;
lock(myClient.GetStream())
{
ns=myClient.GetStream();
byte[] bytesToBeSent=System.Text.Encoding.ASCII.GetByte(mess);
ns.Write(bytesToBeSent,0,bytesToBeSent.Length);
ns.Flush();
}
}
catch(Exception ex)
{
System.Windows.Forms.MessageBox.Show(ex.Message);
}
}
Public void Broadcast(String messageReceived)
{
for(int i=0;i
AnswerRe: How to Change this code to visual basic? Pin
Jats_4ru8-May-07 21:29
Jats_4ru8-May-07 21:29 
AnswerRe: How to Change this code to visual basic? Pin
Christian Graus8-May-07 21:59
protectorChristian Graus8-May-07 21:59 
QuestionInsert data into a word template Pin
Jats_4ru8-May-07 23:37
Jats_4ru8-May-07 23:37 
AnswerRe: How to Change this code to visual basic? Pin
Dave Doknjas9-May-07 15:03
Dave Doknjas9-May-07 15:03 
QuestionDatabase connection problem in vb.net Pin
hbk_leo8-May-07 21:06
hbk_leo8-May-07 21:06 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad8-May-07 21:32
P P Vilsad8-May-07 21:32 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 3:18
hbk_leo9-May-07 3:18 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad9-May-07 4:18
P P Vilsad9-May-07 4:18 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 8:44
hbk_leo9-May-07 8:44 
GeneralRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 9:27
mveDave Kreskowiak9-May-07 9:27 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 19:24
hbk_leo9-May-07 19:24 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad9-May-07 17:51
P P Vilsad9-May-07 17:51 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 19:28
hbk_leo9-May-07 19:28 
GeneralRe: Database connection problem in vb.net Pin
P P Vilsad10-May-07 16:54
P P Vilsad10-May-07 16:54 
AnswerRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 4:38
mveDave Kreskowiak9-May-07 4:38 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 8:00
hbk_leo9-May-07 8:00 
GeneralRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 9:25
mveDave Kreskowiak9-May-07 9:25 

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.