Click here to Skip to main content
15,909,437 members
Home / Discussions / C#
   

C#

 
GeneralRe: random numbers Pin
Jad Jadallah24-Oct-06 12:24
Jad Jadallah24-Oct-06 12:24 
AnswerRe: random numbers Pin
Guffa24-Oct-06 13:11
Guffa24-Oct-06 13:11 
AnswerRe: random numbers Pin
Guffa25-Oct-06 7:44
Guffa25-Oct-06 7:44 
GeneralRe: random numbers Pin
Jad Jadallah25-Oct-06 8:44
Jad Jadallah25-Oct-06 8:44 
Questiondelete files from a directory Pin
keroed_edmond24-Oct-06 10:18
keroed_edmond24-Oct-06 10:18 
AnswerRe: delete files from a directory Pin
Jim Conigliaro24-Oct-06 11:03
Jim Conigliaro24-Oct-06 11:03 
QuestionTransactions between layers Pin
Luis C. Lopez24-Oct-06 9:32
Luis C. Lopez24-Oct-06 9:32 
AnswerRe: Transactions between layers Pin
Dustin Metzgar24-Oct-06 9:46
Dustin Metzgar24-Oct-06 9:46 
That depends on what you're using. If you're .Net 2.0 and all on the same machine, just use the System.Transactions namespace. Open up a TransactionScope and every call that gets made within that will subscribe to that transaction automatically. If you're in .Net 1.1, you could use COM+ (System.EnterpriseServices) and carry the transaction that way. If you're on different machines separated by web services or remoting, it gets a little more complex. In .Net 1.1 and 2.0 you can use TIP (Transaction Internet Protocol), which is a part of COM+ to handle transactions across machines. But an even better solution comes with .Net 3.0 where WCF gives you the ability to carry transactions across services very easily.

I have an article on TIP[^] and an article on WCF[^] that explains how to spread those transactions across machines.  Essentially you can start a transaction in the presentation layer and even if the DAL is on another machine, it can subscribe to it.



GeneralRe: Transactions between layers Pin
Luis C. Lopez24-Oct-06 10:01
Luis C. Lopez24-Oct-06 10:01 
QuestionShould I have outlook in order to show mht file in my c# application? Pin
AngryC24-Oct-06 7:47
AngryC24-Oct-06 7:47 
AnswerRe: Should I have outlook in order to show mht file in my c# application? Pin
Dave Kreskowiak24-Oct-06 8:11
mveDave Kreskowiak24-Oct-06 8:11 
AnswerRe: Should I have outlook in order to show mht file in my c# application? Pin
bradsnobar24-Oct-06 8:43
bradsnobar24-Oct-06 8:43 
QuestionMessagebox pop up behind mainform Pin
bradsnobar24-Oct-06 7:34
bradsnobar24-Oct-06 7:34 
AnswerRe: Messagebox pop up behind mainform Pin
engsrini24-Oct-06 18:53
engsrini24-Oct-06 18:53 
QuestionTranslating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 6:25
Shy Agam24-Oct-06 6:25 
AnswerRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 6:32
Ed.Poore24-Oct-06 6:32 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 6:48
Shy Agam24-Oct-06 6:48 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 12:08
Ed.Poore24-Oct-06 12:08 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 12:09
Ed.Poore24-Oct-06 12:09 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 12:43
Shy Agam24-Oct-06 12:43 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 13:06
Ed.Poore24-Oct-06 13:06 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 13:19
Shy Agam24-Oct-06 13:19 
Questionodbcdatareader hangs on close Pin
BlackDice24-Oct-06 5:19
BlackDice24-Oct-06 5:19 
AnswerRe: odbcdatareader hangs on close Pin
ednrgc24-Oct-06 6:27
ednrgc24-Oct-06 6:27 
GeneralRe: odbcdatareader hangs on close Pin
BlackDice24-Oct-06 6:47
BlackDice24-Oct-06 6: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.