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

C#

 
Questionmachine.config file Pin
Ananthalvan7-Feb-07 23:37
Ananthalvan7-Feb-07 23:37 
QuestionObject-Relational Mapping Tool to support multiple DB require [modified] Pin
Niraj Parikh7-Feb-07 23:14
Niraj Parikh7-Feb-07 23:14 
AnswerRe: Object-Relational Mapping Tool to support multiple DB require Pin
m@u8-Feb-07 0:10
m@u8-Feb-07 0:10 
GeneralRe: Object-Relational Mapping Tool to support multiple DB require [modified] Pin
Niraj Parikh8-Feb-07 0:37
Niraj Parikh8-Feb-07 0:37 
GeneralRe: Object-Relational Mapping Tool to support multiple DB require Pin
m@u8-Feb-07 2:55
m@u8-Feb-07 2:55 
GeneralRe: Object-Relational Mapping Tool to support multiple DB require Pin
Niraj Parikh8-Feb-07 3:42
Niraj Parikh8-Feb-07 3:42 
GeneralRe: Object-Relational Mapping Tool to support multiple DB require Pin
m@u8-Feb-07 4:57
m@u8-Feb-07 4:57 
Questionaccess to member of other method? Pin
jens1234567-Feb-07 23:13
jens1234567-Feb-07 23:13 
Hello,

I have an application with two buttons. First one connects to a server, second one should read data. But compiler does not know the name "master".
How could I manage this?

Thank you and regards,
Jens

private void Connect(object sender, EventArgs e)
{
TcpClient client = new TcpClient("127.0.0.1", 502))
ModbusTcpMaster master = ModbusTcpMaster.CreateTcp(client);
}

private void Read(object sender, EventArgs e)
{
// read five input values
ushort startAddress = 100;
ushort numInputs = 5;
bool[] inputs = master.ReadInputs(startAddress, numInputs);

for (int i = 0; i < numInputs; i++)
Console.WriteLine("Input {0}={1}", startAddress + i, inputs[i] ? 1 : 0);
}
AnswerRe: access to member of other method? Pin
Martin#7-Feb-07 23:20
Martin#7-Feb-07 23:20 
GeneralRe: access to member of other method? Pin
jens1234567-Feb-07 23:50
jens1234567-Feb-07 23:50 
GeneralRe: access to member of other method? Pin
Martin#7-Feb-07 23:51
Martin#7-Feb-07 23:51 
QuestionConvert string to Enumeration Pin
babutkchn7-Feb-07 23:10
babutkchn7-Feb-07 23:10 
AnswerRe: Convert string to Enumeration Pin
Stefan Troschuetz7-Feb-07 23:14
Stefan Troschuetz7-Feb-07 23:14 
AnswerRe: Convert string to Enumeration Pin
Martin#7-Feb-07 23:26
Martin#7-Feb-07 23:26 
GeneralRe: Convert string to Enumeration Pin
babutkchn8-Feb-07 5:13
babutkchn8-Feb-07 5:13 
GeneralRe: Convert string to Enumeration Pin
Martin#8-Feb-07 5:15
Martin#8-Feb-07 5:15 
QuestionC# with sounds Pin
Ahmed Fathy7-Feb-07 21:57
Ahmed Fathy7-Feb-07 21:57 
AnswerRe: C# with sounds Pin
Christian Graus7-Feb-07 22:13
protectorChristian Graus7-Feb-07 22:13 
AnswerRe: C# with sounds Pin
aSarafian7-Feb-07 23:24
aSarafian7-Feb-07 23:24 
GeneralRe: C# with sounds Pin
Christian Graus7-Feb-07 23:45
protectorChristian Graus7-Feb-07 23:45 
GeneralRe: C# with sounds Pin
aSarafian8-Feb-07 0:34
aSarafian8-Feb-07 0:34 
GeneralRe: C# with sounds Pin
aSarafian8-Feb-07 2:57
aSarafian8-Feb-07 2:57 
QuestionHow to open a windows form only once? Pin
akkram7-Feb-07 21:32
akkram7-Feb-07 21:32 
AnswerRe: How to open a windows form only once? Pin
Christian Graus7-Feb-07 21:46
protectorChristian Graus7-Feb-07 21:46 
GeneralRe: How to open a windows form only once? Pin
apsrising122-Sep-10 21:47
apsrising122-Sep-10 21: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.