|
try with others protocols
SslProtocols.Tls
|
|
|
|
|
OK, can someone here confirm for me that MS screwed up here?
VS2008 allows you to use Debug.WriteLine to send data to debug stream where I can pick it up via a tool like DebugView.
VS2010 DOES NOT seem to allow this at all. I can see the debug data in the immediate window in the IDE but nothing appears to make it out past there...
If I run the EXE file I created in VS2010 as an administrator (right click and use the run as admin option) I can see the output written to the DebugView window but can't obviously catch any errors in the IDE and use that like normal.
VS2008 allows me to see the data in both areas without having to run as an admin at all.
If I start the process outside of VS2010 and see the debug in the debugview window then attach to the process using the IDE, the IDE horns in on the debug stream and stops it from going to debugview also.
UGH!
I really don't get this 'progress'.
BTW - I put this post here because I was really NOT sure where to put it... this is not a C# vs. VB thing.... Maybe an IDE thing but we don't have an area just for that
|
|
|
|
|
Sorry, I can't help you out as I don't use Debug.WriteLine at all.
However a little rant like this normally appears in Da Lounge to maximize reaction.
|
|
|
|
|
Luc Pattyn wrote: However a little rant like this normally appears in Da Lounge to maximize reaction
Regards,
Sathesh.
The best way to express one's gratitude to the Divine is to feel simply Happy..
|
|
|
|
|
Your question is little bit confusion for me whatever,
you should focus on the given link it is full with lots of thread
Link1[^]
and this one for know how to trace debug in VS
Link2[^]
Hope it will works for you.
|
|
|
|
|
Yes, I know how to use the statements themselves. I have been using them for years now.
The oddness seems to be specific to VS2010 and how it allows, or rather does NOT allow the output from these statements to leave the VS environment.
In previous versions of VS I used to be able to fire up a unified debug collection tool like windebug and gather all my debug statements in one log file This was helpful when trying to gather coordinated debug between several different processes together in one area.
Now it appears as if the IDE gets in the way and blocks that ability. You can see the output from Debug.WriteLine in the IDE area but it never makes it out into the standard debug stream like it used to so collecting it together from several instances of VS at once is not possible.
This also means that now I have to write my debug statements to provide a date and time component in them where collecting them in the windebug tool used to do that for me, and once again, used to do it from several instances at once.
|
|
|
|
|
So does anyone have any tutorials or white papers on how to begin with a registry cleaner, I am working on an all in one utility that wields a service controller and process controller to help with a friends pc repair shop, I know how to manipulate the registry to an extent I just dont understand how it compares version numbers or seeks old information in th registry with the programs that are installed and spews out what the errors are.
|
|
|
|
|
Hi guys i need to extract audio from a WMV file. I never try this kind of task before. So any one tell me how can i achieve this in .NET
|
|
|
|
|
ganesh_IT wrote: i need to extract audio from a WMV file
There's plenty of command-line tools that offer this kind of functionality. The easiest way would be to launch one of those from your own application.
ganesh_IT wrote: I never try this kind of task before
That doesn't entitle you to a walk-through. It's generally a good idea to research the topic and attempt something - that way you can ask more specific questions.
ganesh_IT wrote: So any one tell me how can i achieve this in .NET
There's an article over here[^], might be a good place to start your adventure
I are Troll
|
|
|
|
|
See here[^].
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Hi
I am using asp.net3.5. I want to create CMS development project and I got one CMS model project in demo version but don't understand that. How do I learn that concepts and work flows? If you know guide me.
Regards,
Karthik
|
|
|
|
|
Cross post. You already asked this question in the Q&A section.
|
|
|
|
|
Hi
i developed one application using Visual studio 2008 (5.1.6 connector) and another in VS 2008 (6.1.3 connector) and MYsql database used. But i am using one server. I want run both the application in one system so that i should not use another server.
We need to install both the connectors and particular applicationn should use particular connector. How to do this. So that i can run in one IIS.
Please reply me. Thanks in advance.
modified on Thursday, November 25, 2010 8:40 AM
|
|
|
|
|
To do this you need to be in separate Web Applications so each will have its own copy of the necessary assemblies in the bin folder.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Sir i created one web application in VS 2005(5.1.6 connector) and another one in VS 2008 (6.1.3 connector). Why i used VS 2008 because some ajax control we used which support only in 2008 and it will not support in VS 2005. SO now i need to run both the application in IIS. Even i cannot install both the connectors in one system. Either i nedd to uninstall one and install another connector in a system. So I cannot run both the applications in one system developed on different version.
How to do this. Please reply me.
|
|
|
|
|
You don't have to repeat yourself. I told you how. What part of it don't you understand?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Thank you very much sir. I did as per your information. Now it is working.
|
|
|
|
|
When a reply is helpful, you could show your appreciation and vote for it.
|
|
|
|
|
Hi,
I am using Sgen tool to create my own Serializer class. I have a silverlight class library (4.0) and using Sgen tool I am creating my Serilizer class. When I add the dll as a reference to my silverlight class library, it gives an error "You can't add a reference to the dll as it was not build against Silverlight runtime."
The command i used to create the dll is :
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETF
/compiler:/keyfile:"C:\dll\abc.snk" /a:"C:\dll\sample.dll"
Thanks
|
|
|
|
|
You've asked it once. That's enough.
|
|
|
|
|
The assembly format of silverlight is little bit different than straight-up .Net, and when attempt is made to use add Reference from Silverlight project to a plain-old-.Net assembly it just not work because of backward compatibility.
|
|
|
|
|
I have a custom web control that formats links. Here is a typical example of it being used:
<mine:DispatchLink ID="DispatchLink1" runat="server"
NavigateUrl="#"
Text="Test "double" and apostrophe’s"
ExtendedText="Test "double" and apostrophe’s"/>
This creates a link with href set to NavigateUrl , the inner value of the anchor set to Text and both the title attribute and text following the link set to ExtendedText . (There are other properties and a number of standard layouts not shown in this example.)
My problem is that the left double quote and right double quote entities are going into the control as plain double quotes; instead of getting Test “double” and apostrophe’s, I'm getting Test "double" and apostrophe’s. Yes, this affects only the double quotes and not the right single quote.
The code for both Text and ExtendedText look like this:
<Bindable(True), Category("Details"), DefaultValue("")> _
Public Property Text() As String
Get
Dim o As Object = ViewState("Text")
If o Is Nothing Then
Return ""
Else
Return o.ToString
End If
End Get
Set(ByVal value As String)
HttpContext.Current.Response.Write("<!-- ExtendedText: " + value + " -->" + vbCrLf)
ViewState("Text") = value
End Set
End Property
The test output in the Set part shows that value already contains the quote literals; this is not a matter of them somehow being translated by ViewState.
I can get the right output by using the entity numbers -- “ and ” -- but I use the entity names everywhere else on the site, and it will be confusing when I have to come back latter and make updates.
My questions: 1) Is this a known issue and 2) is there any way to pass these entity names into a custom control and have them not get changed?
|
|
|
|
|
It seems that this is a Framework "by design" annoyance: several entities get translated automatically before they go into a web control property, and there is nothing at all you can do about it. The solution is to go through and use &ldquo; and &rdquo; in place of the simple entities when I want to assign them to a web control property. And because & gets translated to a simple amperstand, I have to use && to generate the amperstand entity, which is necessary if I want my pages to validate (a "naked" amperstand is not valid XHTML.)
|
|
|
|
|
Use the HtmlTextWriter[^]
"When did ignorance become a point of view" - Dilbert
|
|
|
|
|
I got screwed on this when I bought VS 2008 Standard, and cannot make the same mistake twice. Nor am I interested in spending $11,000+ for the "Ultimate" edition.
|
|
|
|