|
Hi
I'm working on some kind of html&javascript editor
Now I stopped at point that I cant get over it !!
When I set the script to DocumentText Property of webBrowser control And if the script has an error the webBrowser control would handled the errors internaly and shows a dialog with some text about the error.
How can I get the error with my code and handle it by my self
Thank !
|
|
|
|
|
You might have better luck posting this in either the Web Development or ASP.NET forums.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines][ Articles][ Blog]
|
|
|
|
|
Sorry
what I have to do now !
|
|
|
|
|
No worries. The best thing to do is decide which forum you want to post in, create the new post in that forum, and then modify your original post to include a link to the new one.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines][ Articles][ Blog]
|
|
|
|
|
|
wsy r4er reyresertre trhh th trtt swr erswtt retr swtrtf rertr reerr sersr r
|
|
|
|
|
|
Hi,
I am trying to publish the web service. I created a new web service in VS2005, by default it has one web method HelloWorld, that returns a string. If I run the web service, and then try to add the web reference from windows application, by using http://localhost:2205/etc... Everything works fine.
Now, If I create a virtual directory in IIS, and then use the Publish Web Service option from VS2005, now by trying even to open the web in the browser gives me the error. This is the path that I put into the browser window: http://my_pc_name/ISS_Virtual_Folder_Name/Service_Name.asmx
Is there something that I am missing?
Thank you!
|
|
|
|
|
Ok Solved the problem.
Just in case if anyone will run into the same thing.
In command line navigate to C:\Windows\Microsoft.NET\Framework\v2.0.50727
and run: aspnet_regiis.exe -i
|
|
|
|
|
public void foo() {...}
public void foo(int x) {...}
public void foo(int x, int y) {...}
...
There has to be a better way...
anyone?
Clive Pottinger
Victoria, BC
|
|
|
|
|
It shows up in intellisense. I suppose the only better way is to put it in the design document.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
Well, not only does the current method mean having the same description entered over and over, but it is also prone to errors.
I have a number of these kind of functions where foo() and foo(int x) both end up calling foo(int x, int y). If I make a change to foo(int x, int y) and alter its documentation, I have to make sure that I go back and alter the documentation for the other two - which, sometimes I miss, or do incorrectly.
I was hoping for something more along the lines of
public void foo() {...}
public void foo(int x) {...}
public void foo(int x, int y) {...}
...
Something that would save typing the same function description over and over. And while I'm in pie-in-the-sky-land,
public void goo(int x, int y) {...}
...
Clive Pottinger
Victoria, BC
|
|
|
|
|
Updating documentation is an expensive and time consuming process. Considering the bad results I have seen from automated tools causing developers to use inferred documentation I am a big fan of the manual process.
Also, in general, an overloaded method should do the same thing as all of the other methods but with different parameters. Causing special handling is asking for disaster.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
I know this doesn't help you with the problem at hand, but I think you'll do just fine - you already use and think about documentation FAR more than most people I know.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
You might want to look at the <include>[^] tag.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines][ Articles][ Blog]
|
|
|
|
|
NDoc supports an "<overloads>" XML comment, but I'm not sure if SandCastle also supports it. There really isn't any other way currently.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines][ Articles][ Blog]
|
|
|
|
|
Thanks, Scott.
That looks pretty good. Unfortunately, it is not recognised by VS.
I must say that I am surprised that this seems to have been overlooked when the XML documentation ability was being created. It seems (to me, at any rate) to be an obvious feature to be included - much more so than the <seealso> or <include> tags.
But, I'm still hoping one you guru's out there knows a way...
Clive Pottinger
Victoria, BC
|
|
|
|
|
cpotting wrote: I must say that I am surprised that this seems to have been overlooked when the XML documentation ability was being created. It seems (to me, at any rate) to be an obvious feature to be included - much more so than the <seealso> or <include> tags.
I agree. You may want to check the Sandcastle documentation, as it may support the overloads tag.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines][ Articles][ Blog]
|
|
|
|
|
I have a scenario like the following:
I have a List of objects of type Base. But these objects are really an assortment of types that inherit from Base.
A user can extend type Base by adding their own classes dynamically compiled at runtime.
Typically, I would serialize these inherited classes by adding an XmlInclude reference in class Base. However, I cannot add such a reference for a user-extended dynamically-compiled class (since I don't know what they will be).
How does one serialize such a list and still pick up the properties from the dynamically-compiled class?
Thanks in advance for your help! I'm stuck without it!
|
|
|
|
|
Good Day,
I want to add a simple Windows context menu by adding entries to the registry See here http://www.codeproject.com/KB/shell/SimpleContextMenu.aspx[^]
However, when selecting multiple files, it will open multiple instance of the same exe with the different files opened? What I want to accomplish is like the in WinRAR - when you select multiple files, all of them will be opened using a single winrar instance.
Is there a simple workaround for this?
Thanks!
It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.
|
|
|
|
|
I think you'll need your app to check to see if it's already running, pass the data to the running instance if it is, then close the new instance.
Dave
|
|
|
|
|
I have already thought of that, but it will be more complicated since I need to have exe communication using WCF.
The real solution is using ContextMenuHandlers that aren't easy at all!
It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.
|
|
|
|
|
|
Exactly what I needed! Thanks thanks thanks!
It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.
|
|
|
|
|
Hi Everyone,
I am new to c#2.0.
can anybody help with a example and detail explanation of genercis.
Thanks and Regards,
Sekhar Reddy
|
|
|
|