not able to see form design in C#

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2009
Posts: 22
Reputation: bk_bhupendra is an unknown quantity at this point 
Solved Threads: 1
bk_bhupendra bk_bhupendra is offline Offline
Newbie Poster

not able to see form design in C#

 
0
  #1
27 Days Ago
the design form show following error...
pls help...
  1.  
  2. <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; margin-top: 0; margin-bottom: 0}.StackStyleVisible { font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}.StackStyleHidden { display:none; font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}</style></head><body><DIV class="DetailsStyle" width="100%"><table border="0" width="100%" id="table1" height="100%" cellspacing="0" cellpadding="0"><tr><td height="40" bgcolor="#FF9999" width="8%" style="letter-spacing: 0" align="center"><img border="0" src="C:\Documents and Settings\fagmann09\Local Settings\Temp\1502A4.tmp" width="35" height="35" alt="ErrorImage" ></td><td height="40" bgcolor="#FF9999" width="91%" style="vertical-align: top; letter-spacing: 0" align="left"><b><font size="2" face="Arial" fontsize="70%">One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.</font><font size="2" face="Arial"></font></b></td></tr><tr><td colspan="2" align="left" valign="top"><DIV id="div1" class="ErrorStyle" width="100%"><span style="font-weight: 600"><br>The type 'System.Windows.Forms.OpenFileDialog' has no field named 'file'. </span><br><a href="" id="details0">Hide</a><font color="#0000FF">&nbsp;&nbsp;&nbsp;&nbsp</font><a href="" id="task0">Edit</a><font color="#0000FF"></font></span></DIV> </td> </tr> <tr><td colspan="2" align="left" valign="top"><DIV id="div20" class="StackStyleVisible" width="100%"><br> at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)<br> at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)<br> at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)</DIV></td></tr></table></div></body></html>
Last edited by bk_bhupendra; 27 Days Ago at 10:34 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,200
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast
 
0
  #2
27 Days Ago
Please use code tags when posting code on daniweb:

[code]
...code here....
[/code]


Please go back and edit your last post, or post the error message again in code tags. I cannot read your post with the formatting the way it is.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 249
Reputation: Antenka has a spectacular aura about Antenka has a spectacular aura about Antenka has a spectacular aura about 
Solved Threads: 65
Antenka's Avatar
Antenka Antenka is offline Offline
Posting Whiz in Training
 
0
  #3
27 Days Ago
Hello, there's a suggestion in error message:
Originally Posted by Error
Some errors can be fixed by rebuilding your project, while others may require code changes.
Have you tried rebuilding?

One more thing:
Originally Posted by Error
The type 'System.Windows.Forms.OpenFileDialog' has no field named 'file'.
Do you have such one? If no - remove the reference to it. Seems like the error lays somewhere near this field ..
So what if you can see the darkest side of me?
No one would ever change this animal I have become
Help me believe it's not the real me
Somebody help me tame this animal
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 22
Reputation: bk_bhupendra is an unknown quantity at this point 
Solved Threads: 1
bk_bhupendra bk_bhupendra is offline Offline
Newbie Poster

sucuess after rebuilding

 
0
  #4
27 Days Ago
thanxs...
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 22
Reputation: bk_bhupendra is an unknown quantity at this point 
Solved Threads: 1
bk_bhupendra bk_bhupendra is offline Offline
Newbie Poster

...help.....

 
0
  #5
26 Days Ago
HI, My new problem...


im developing a Lan chatting System...
i wnt to recieve data and accept at the same page....
its working only ig there is only two systems... 1 server n anthr 1 as client.....

can u help me....

also im new to ths community ...
im not able to strt new thread 4 new posts....
give solution....


  1. System.InvalidCastException was unhandled
  2. Message="Unable to cast object of type 'CSocketPacket1' to type 'CSocketPacket'."
  3. Source="AsyncClient"
  4. StackTrace:
  5. at AsyncClient.Connect.OnDataReceived(IAsyncResult asyn) in F:\BK1\projects asp\Lan Chatting sockets\Async_client\Connect.cs:line 124
  6. at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
  7. at System.Net.ContextAwareResult.CompleteCallback(Object state)
  8. at System.Threading.ExecutionContext.runTryCode(Object userData)
  9. at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  10. at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  11. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  12. at System.Net.ContextAwareResult.Complete(IntPtr userToken)
  13. at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
  14. at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
  15. at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 249
Reputation: Antenka has a spectacular aura about Antenka has a spectacular aura about Antenka has a spectacular aura about 
Solved Threads: 65
Antenka's Avatar
Antenka Antenka is offline Offline
Posting Whiz in Training
 
0
  #6
26 Days Ago
Hello again and welcome to DaniWeb
Ok, let's start from error, that you get:
Originally Posted by Error message
"Unable to cast object of type 'CSocketPacket1' to type 'CSocketPacket'."
I'm not sure if I'm right .. depends on what is CSocketPacket1 . Looks like a typo If it's not - is there any relationship between CSocketPacket1 and CSocketPacket (I mean inheritance)? If not - C# doesn't support implicit conversion from user-defined types to pre-defined types.

And regarding this:
Originally Posted by bk_bhupendra
im developing a Lan chatting System...
i wnt to recieve data and accept at the same page....
its working only ig there is only two systems... 1 server n anthr 1 as client.....
Could you provide more information about problem you're facing .. and maybe some code, that gives errors or is incorrect?
So what if you can see the darkest side of me?
No one would ever change this animal I have become
Help me believe it's not the real me
Somebody help me tame this animal
Reply With Quote Quick reply to this message  
Reply

Message:



Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC