Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Object as database Pin
nemopeti17-Oct-06 23:17
nemopeti17-Oct-06 23:17 
Question2 Sql Server Process ID created for 1 query. Pin
coby cai17-Oct-06 22:56
professionalcoby cai17-Oct-06 22:56 
AnswerRe: 2 Sql Server Process ID created for 1 query. Pin
Mike Dimmick18-Oct-06 1:14
Mike Dimmick18-Oct-06 1:14 
GeneralRe: 2 Sql Server Process ID created for 1 query. Pin
coby cai18-Oct-06 17:11
professionalcoby cai18-Oct-06 17:11 
QuestionCompare dates Pin
Mamphekgo17-Oct-06 22:45
Mamphekgo17-Oct-06 22:45 
AnswerRe: Compare dates Pin
Christian Graus17-Oct-06 22:48
protectorChristian Graus17-Oct-06 22:48 
Questionhow can i select text from .chm file through C# Pin
sikandarhayat17-Oct-06 22:28
sikandarhayat17-Oct-06 22:28 
Questionsending file over MSMQ in C#.net Pin
nmandaliya17-Oct-06 21:59
nmandaliya17-Oct-06 21:59 
hi Guys,
i have to send xml files via MSMQ. I am very new to this.
Can anyone guide me for this?
---------------
I dynamically create XML file and try to save it on share folders and as well as try to send to destination server via MSMQ. XML file is generating without any error.
-----------------------------------------------
I have given the code what i have written (code in C#.net 2003). It's not giving me any error, but as well as not sending file also.(transfer would be one server to other server. and both server is in different domain. I can access destination server from source server- Ping servername)
string QueuePath = @"FormatName:DIRECT=OS:server \private$\DEVqueSERVICE";
MessageQueue queueA = new MessageQueue(QueuePath);
file = new FileStream(fullName,FileMode.Open,FileAccess.Read,FileShare.Read);
XmlTextReader xtr = new XmlTextReader(file);
System.Messaging.Message msg = new System.Messaging.Message();
msg.Label=getcounter();
StreamWriter wr = new StreamWriter(msg.BodyStream,System.Text.Encoding.Unicode);
wr.Write(file);
wr.Flush();
try
{
queueA.Send(msg, MessageQueueTransactionType.Single);
}
catch
{

}
finally
{
queueA.Close();
}

Questionformating (erease) USB Stick Pin
Martin#17-Oct-06 21:47
Martin#17-Oct-06 21:47 
QuestionProblem abt threading!! Pin
samtam17-Oct-06 21:31
samtam17-Oct-06 21:31 
AnswerRe: Problem abt threading!! Pin
Guffa17-Oct-06 21:47
Guffa17-Oct-06 21:47 
GeneralRe: Problem abt threading!! Pin
samtam17-Oct-06 22:04
samtam17-Oct-06 22:04 
AnswerRe: Problem abt threading!! Pin
Guffa17-Oct-06 22:11
Guffa17-Oct-06 22:11 
GeneralRe: Problem abt threading!! Pin
samtam17-Oct-06 22:16
samtam17-Oct-06 22:16 
AnswerRe: Problem abt threading!! Pin
Guffa17-Oct-06 22:25
Guffa17-Oct-06 22:25 
GeneralRe: Problem abt threading!! Pin
samtam17-Oct-06 23:24
samtam17-Oct-06 23:24 
AnswerRe: Problem abt threading!! Pin
Guffa18-Oct-06 1:57
Guffa18-Oct-06 1:57 
Questionuninstalling windows services Pin
DownBySpj17-Oct-06 21:17
DownBySpj17-Oct-06 21:17 
AnswerRe: uninstalling windows services Pin
sundar15618-Oct-06 8:15
sundar15618-Oct-06 8:15 
QuestionReflections Pin
ParagGupta17-Oct-06 20:59
ParagGupta17-Oct-06 20:59 
AnswerRe: Reflections Pin
Nader Elshehabi17-Oct-06 21:16
Nader Elshehabi17-Oct-06 21:16 
QuestionNeed to know about prolog connectivity with C# application Pin
Ahsanzm17-Oct-06 20:43
Ahsanzm17-Oct-06 20:43 
QuestionParent-Child Forms : MDI Pin
IamHuM17-Oct-06 20:38
IamHuM17-Oct-06 20:38 
AnswerRe: Parent-Child Forms : MDI Pin
Martin#17-Oct-06 20:51
Martin#17-Oct-06 20:51 
AnswerRe: Parent-Child Forms : MDI Pin
sam#17-Oct-06 20:57
sam#17-Oct-06 20:57 

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.