Click here to Skip to main content
16,016,477 members
Home / Discussions / COM
   

COM

 
GeneralRe: Using COM component invalid pointer error Pin
KarstenK27-Nov-09 2:50
mveKarstenK27-Nov-09 2:50 
GeneralRe: Using COM component invalid pointer error Pin
Richard MacCutchan27-Nov-09 3:46
mveRichard MacCutchan27-Nov-09 3:46 
QuestionCOM Error: error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
Ash_VCPP25-Nov-09 23:09
Ash_VCPP25-Nov-09 23:09 
AnswerRe: COM Error: error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
cariolihome27-Nov-09 10:20
cariolihome27-Nov-09 10:20 
Questionnew to COM Pin
mailgirish99@yahoo.com25-Nov-09 4:26
mailgirish99@yahoo.com25-Nov-09 4:26 
AnswerRe: new to COM Pin
Stuart Dootson25-Nov-09 21:33
professionalStuart Dootson25-Nov-09 21:33 
Questioncom component in asp.net Pin
pravinmishra24-Nov-09 5:42
pravinmishra24-Nov-09 5:42 
QuestionIn Socket server How insert into Oracle? Pin
TheCodeVB21-Nov-09 16:03
TheCodeVB21-Nov-09 16:03 
I'm using IPPort from nsoftware (IP*works) to implement a socket server
and I want to Insert de data received from client in OnDataIn event.
How should I implement the Oracle Connection and insert command?
Here is the code Example of Socket Server:


namespace nsoftware.Demos
{
public class echoserverDemo : System.Windows.Forms.Form
{
internal System.Windows.Forms.Label lNotice;
internal System.Windows.Forms.TextBox tbPort;
internal System.Windows.Forms.Label lPort;
internal System.Windows.Forms.Button bRun;
internal System.Windows.Forms.TextBox tbLog;
private nsoftware.IPWorks.Ipdaemon ipdaemon1;
internal TextBox tbMessage;
internal Label label1;
internal Button bSend;
private IContainer components;

public echoserverDemo()
{
InitializeComponent();
}

protected override void Dispose(bool disposing)
{
if (disposing)
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose(disposing);
}


STAThread
static void Main()
{
Application.Run(new echoserverDemo());
}

private void bRun_Click(object sender, System.EventArgs e)
{
if (bRun.Text == "Start")
{
ipdaemon1.LocalPort = Convert.ToInt32(tbPort.Text);
ipdaemon1.InvokeThrough = this;
ipdaemon1.Listening = true;
bRun.Text = "Stop";
tbLog.AppendText("Starting server.\r\n");
}
else
{
ipdaemon1.Listening = false;
//to disconnect all clients:
ipdaemon1.Shutdown();
bRun.Text = "Start";
tbLog.AppendText("Stopping server.\r\n");
}
}

private void ipdaemon1_OnConnected(object sender, nsoftware.IPWorks.IpdaemonConnectedEventArgs e)
{
ipdaemon1.Connections[e.ConnectionId].AcceptData = true;
tbLog.AppendText(ipdaemon1.Connections[e.ConnectionId].RemoteHost + " has connected.\r\n");
ipdaemon1.Connections[e.ConnectionId].EOL = "\r\n";
}

private void ipdaemon1_OnDataIn(object sender, nsoftware.IPWorks.IpdaemonDataInEventArgs e)
{
tbLog.AppendText(ipdaemon1.Connections[e.ConnectionId].RemoteHost + " - Echo '" + e.Text + "'.\r\n");
ipdaemon1.Connections[e.ConnectionId].DataToSend = e.Text;
}

private void ipdaemon1_OnDisconnected(object sender, nsoftware.IPWorks.IpdaemonDisconnectedEventArgs e)
{
tbLog.AppendText("Disconnected " + e.Description + " from " + e.ConnectionId + ".\r\n");
}

private void bSend_Click(object sender, EventArgs e)
{
foreach (Connection conn in ipdaemon1.Connections.Values)
{
conn.DataToSend = tbMessage.Text;
}
}
QuestionOutlook 2007 automation Pin
NiceNaidu19-Nov-09 23:18
NiceNaidu19-Nov-09 23:18 
AnswerRe: Outlook 2007 automation Pin
ScottM129-Nov-09 20:01
ScottM129-Nov-09 20:01 
Questionproblem access com methods - unhandled exception [modified] Pin
Vijjuuu.18-Nov-09 20:40
Vijjuuu.18-Nov-09 20:40 
AnswerRe: problem access com methods Pin
Jonathan Davies19-Nov-09 1:55
Jonathan Davies19-Nov-09 1:55 
AnswerRe: problem access com methods - unhandled exception [modified] Pin
cariolihome27-Nov-09 10:17
cariolihome27-Nov-09 10:17 
QuestionCheck whather the monitor is on or off. Pin
SHRIDHAR TL18-Nov-09 3:25
SHRIDHAR TL18-Nov-09 3:25 
Questionexcel problem Pin
kathassis14-Nov-09 9:01
kathassis14-Nov-09 9:01 
AnswerRe: excel problem Pin
serzh8323-Nov-09 0:01
serzh8323-Nov-09 0:01 
QuestionInterop Excel Pin
mithun narayanan12-Nov-09 17:40
mithun narayanan12-Nov-09 17:40 
AnswerRe: Interop Excel Pin
cariolihome13-Nov-09 11:44
cariolihome13-Nov-09 11:44 
QuestionPlease recommend me a com book. Pin
crazy6612-Nov-09 10:54
crazy6612-Nov-09 10:54 
AnswerRe: Please recommend me a com book. Pin
«_Superman_»12-Nov-09 16:40
professional«_Superman_»12-Nov-09 16:40 
AnswerRe: Please recommend me a com book. Pin
cariolihome13-Nov-09 11:40
cariolihome13-Nov-09 11:40 
GeneralRe: Please recommend me a com book. Pin
apraev22-Nov-09 19:43
apraev22-Nov-09 19:43 
GeneralRe: Please recommend me a com book. Pin
serzh8323-Nov-09 0:14
serzh8323-Nov-09 0:14 
GeneralRe: Please recommend me a com book. Pin
KarstenK27-Nov-09 2:53
mveKarstenK27-Nov-09 2:53 
AnswerRe: Please recommend me a com book. Pin
Baltoro14-Nov-09 10:15
Baltoro14-Nov-09 10:15 

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.