Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
QuestionLayout takes time to rearrange after rezise, how to fix? Pin
leeoze5-May-08 1:59
leeoze5-May-08 1:59 
AnswerRe: Layout takes time to rearrange after rezise, how to fix? Pin
Anthony Mushrow5-May-08 2:13
professionalAnthony Mushrow5-May-08 2:13 
QuestionHyperlinks to access outlook items Pin
asasov5-May-08 1:49
asasov5-May-08 1:49 
AnswerRe: Hyperlinks to access outlook items Pin
Anthony Mushrow5-May-08 2:19
professionalAnthony Mushrow5-May-08 2:19 
GeneralRe: Hyperlinks to access outlook items Pin
asasov5-May-08 2:31
asasov5-May-08 2:31 
GeneralRe: Hyperlinks to access outlook items Pin
Anthony Mushrow5-May-08 2:37
professionalAnthony Mushrow5-May-08 2:37 
GeneralRe: Hyperlinks to access outlook items Pin
asasov5-May-08 2:40
asasov5-May-08 2:40 
QuestionAsynCallback Pin
AlexPizzano5-May-08 1:28
AlexPizzano5-May-08 1:28 
Public AsynCallback pfnWorkerCallBack; //Define a global reference
public void WaitForData(System.Net.Sockets.Socket soc,int clientNumber)
{
try
{
if( pfnWorkerCallBack == null )
{pfnWorkerCallBack = new AsyncCallback (OnDataReceived);}
SocketPacket theSocPkt = new SocketPacket (soc, clientNumber);
soc.BeginReceive (theSocPkt.dataBuffer, 0,
theSocPkt.dataBuffer.Length,SocketFlags.None,pfnWorkerCallBack,
theSocPkt);
}
}
public void main()
{
WaitForData(Socket1,1);
WaitForData(Socket2,2);
}

Question:
1.When the 1st WaitForData(Socket1,1) started, pfnWorkerCallBack is definitely equal to NULL so a new AsynCallback is created and assigned to pfnWorkerCallBack. What happen to pfnWorkerCallBack when the second WaitForData(Socket2,2) started?
2.When a same method was started asynchronously for several times. Are all method's variables refer to the same variables?
QuestionHow to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Deepali Dhingra5-May-08 0:48
professionalDeepali Dhingra5-May-08 0:48 
AnswerRe: How to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Peter Josefsson Sweden5-May-08 3:01
Peter Josefsson Sweden5-May-08 3:01 
GeneralRe: How to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Deepali Dhingra6-May-08 19:27
professionalDeepali Dhingra6-May-08 19:27 
GeneralRe: How to access the rights and authorised users of a shared folder (in C# web based application)? Pin
Peter Josefsson Sweden6-May-08 22:04
Peter Josefsson Sweden6-May-08 22:04 
QuestionWhile editing a cell that is newly created in GridView throws Index out of range error Pin
vytheese4-May-08 23:19
professionalvytheese4-May-08 23:19 
AnswerRe: While editing a cell that is newly created in GridView throws Index out of range error Pin
Luc Pattyn4-May-08 23:33
sitebuilderLuc Pattyn4-May-08 23:33 
GeneralRe: While editing a cell that is newly created in GridView throws Index out of range error Pin
vytheese5-May-08 0:13
professionalvytheese5-May-08 0:13 
QuestionProblem with Modal Form Pin
MehmetFurkan4-May-08 22:21
MehmetFurkan4-May-08 22:21 
AnswerRe: Problem with Modal Form Pin
Anindya Chatterjee4-May-08 22:39
Anindya Chatterjee4-May-08 22:39 
AnswerRe: Problem with Modal Form Pin
Luc Pattyn4-May-08 23:14
sitebuilderLuc Pattyn4-May-08 23:14 
QuestionException : RowNotInTableException was unhandled by user code Pin
cocoonwls4-May-08 22:04
cocoonwls4-May-08 22:04 
QuestionHow to intercept Rapidshare file download in WebBrowser control? Pin
Anindya Chatterjee4-May-08 21:39
Anindya Chatterjee4-May-08 21:39 
AnswerRe: How to intercept Rapidshare file download in WebBrowser control? Pin
Vikram A Punathambekar4-May-08 23:14
Vikram A Punathambekar4-May-08 23:14 
GeneralRe: How to intercept Rapidshare file download in WebBrowser control? Pin
Anindya Chatterjee4-May-08 23:36
Anindya Chatterjee4-May-08 23:36 
GeneralRe: How to intercept Rapidshare file download in WebBrowser control? Pin
Vikram A Punathambekar5-May-08 0:07
Vikram A Punathambekar5-May-08 0:07 
QuestionThis application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
Member 39190494-May-08 21:05
Member 39190494-May-08 21:05 
AnswerRe: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Pin
Christian Graus4-May-08 21:10
protectorChristian Graus4-May-08 21:10 

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.