| | |
not able to see form design in C#
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Oct 2009
Posts: 22
Reputation:
Solved Threads: 1
the design form show following error...
pls help...
pls help...
C# Syntax (Toggle Plain Text)
<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">  </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; 26 Days Ago at 10:34 am.
0
#2 26 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.
[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.
0
#3 26 Days Ago
Hello, there's a suggestion in error message:
Have you tried rebuilding?
One more thing:
Do you have such one? If no - remove the reference to it. Seems like the error lays somewhere near this field ..
•
•
•
•
Originally Posted by Error
Some errors can be fixed by rebuilding your project, while others may require code changes.
One more thing:
•
•
•
•
Originally Posted by Error
The type 'System.Windows.Forms.OpenFileDialog' has no field named 'file'.
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
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
•
•
Join Date: Oct 2009
Posts: 22
Reputation:
Solved Threads: 1
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....
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....
C# Syntax (Toggle Plain Text)
System.InvalidCastException was unhandled Message="Unable to cast object of type 'CSocketPacket1' to type 'CSocketPacket'." Source="AsyncClient" StackTrace: at AsyncClient.Connect.OnDataReceived(IAsyncResult asyn) in F:\BK1\projects asp\Lan Chatting sockets\Async_client\Connect.cs:line 124 at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Net.ContextAwareResult.CompleteCallback(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.ContextAwareResult.Complete(IntPtr userToken) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
0
#6 25 Days Ago
Hello again and welcome to DaniWeb 
Ok, let's start from error, that you get:
I'm not sure if I'm right .. depends on what is
If it's not - is there any relationship between
And regarding this:
Could you provide more information about problem you're facing .. and maybe some code, that gives errors or is incorrect?

Ok, let's start from error, that you get:
•
•
•
•
Originally Posted by Error message
"Unable to cast object of type 'CSocketPacket1' to type 'CSocketPacket'."
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.....
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
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
![]() |
Other Threads in the C# Forum
- Previous Thread: C# Project Ideas
- Next Thread: Issues on uninstallation
| Thread Tools | Search this Thread |
.net access algorithm array barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom cyclethruopenforms data database datagrid datagridview dataset date/time datetime degrees development dll draganddrop drawing encryption enum event excel file finalyearproject form format forms function gdi+ getoutlookcontactusinfcsvfile globalization httpwebrequest image index input install installer java label list listbox mandelbrot math mono mouseclick mysql operator panel path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox save server silverlight sleep socket sql sql-server statistics stream string table text textbox thread time timer timespan update usercontrol users validate validation visualstudio webbrowser wia windows winforms wpf xml






