Ctrl+C works in "most" error message boxes. It copies the complete contents + title + buttons as text. I love it. You don't need to "select" anything except to have the message box focused. Sample: --------------------------- Microsoft Visual Studio --------------------------- Cannot move 'RandomFile.Debug.config'. The destination folder is the same as the source folder. --------------------------- OK ---------------------------
Corneliu Tusnea
Posts
-
There are times when I wonder what MS developers are smoking... -
HTTPS POST returning 100 Continue makes the WebClient throw protocol violation exception [modified]Hi, I use a WebClient to post some data to a server. (.Net 2.0) The server returns back: HTTP/1.1 100 Continue Server: Microsoft-IIS/5.0 Date: … HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Content-Type: text/xml;charset=ISO-8859-1 Content-Length: 929 This is valid as per the RFC: http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html[^] As per the http specs this is a valid way of returning content and is generally used when the server requires more time to process and sends you a 100 Continue. However from .Net I get the exception: The server committed a protocol violation. Section=ResponseStatusLine While processing the response. This seems to because the space in the headers is considered a possible security issue. This is a bit of chicken and the egg. Header splitting is a security issue however 100 Continue + header splitting is valid as per the specs. http://www.dotnet247.com/247reference/msgs/57/289086.aspx[^] Now reading a bit more I found this nice comment on an MSDN blog: http://blogs.msdn.com/david.wang/archive/2006/04/05/HTTP-SYS-IIS-and-the-100-continue.aspx[^] Clients which advertise to be HTTP/1.1 compliant and then crash on "100 continue" are the real problem (they are not following public specifications) The “fix” is to add a setting in the web config to disable the checking of split headers: [...] httpWebRequest useUnsafeHeaderParsing="true" [...] My problem is that Setting the flag in the config does not make any difference. Setting the flag using reflection does not help either. I still get the exception. Setting the Enable100Continue property on the ServicePointManager or ServicePoint does not help either. I still get the exception. Any help is welcome. Thanks, Corneliu. -- modified at 19:17 Sunday 25th February, 2007
My.Team www.re
-
Reuters Vs BloombergI used Bloomberg quite intensively a while ago. It has couple of different APIs. A C (not C++) one that is quite nice and complex but once you get the basics it's easy to use and super fast. AFAIK you can request realtime updates for up to 3000 instruments. There is also an ActiveX one that can be used from VB but not from .Net because of the declaration of the interface. There are some articles about how to hack it and get it working however I don't recommend that. There is also a .Net one which we tested intensivly. The first versions were very bugy especially when doing lots of subscribe/unsubscribe and performace was quite bad as well. If you do one batch subscribe at the begining and don't change it while the app is running it works nicely. This was a while ago. I've heard they updated it and it migth be better now. The only issue I've seen was that you had to have a BB Professional Licence on the development box to have the .Net or C API working. In number of fields there are lots of them :) The limitations are (as I was saying before) that you need BB Professional to on the box that gets the market feed and you are not allowed to redistribute it. There is a separate licence for that. Normal price is per workstation ($$$$$) with an extra fee (very small $) per market feed. You can pay for real-time market feed (I think about $50 / real-time feed and you get everything else 20 minutes delayed so good enough if you do development. Never worked with Reuters. Corneliu.
My.Team www.readify.net My.Blog www.acorns.com.au My.Tools Hawkeye - The .Net Runtime Object Editor - A developer's best tool. My.Shop www.bestgames.com.au
-
Damn snow crushed my carYeah .. echidnas are awesome. When you see one, move very slowly to get close to them and with a quick move try to get your hand under its front legs and pick it up. You can then play with them. Very cute animals. Just don't scare them :)
www.readify.net www.acorns.com.au Hawkeye - The .Net Runtime Object Editor - A developer's best tool.
-
Adding icons articles that won montly competitions and adding popularity in listings and searchesCP Guys, Would it be possible to add some nice icons to the articles that won in Monthly competitions? For example I enter this page: http://www.codeproject.com/cs/internet/[^] and I was looking for great async networking article that won last month's coding completion. I had to read all of them to remember which one it is. I would also be nice if you could add the Popularity value as a column near the score to help me choose which article I want to read. Thanks, Corneliu.
-
How to change Inactive Selection System ColorThis will turn almost all my windows into a dark gray/blue. I hoped there is a specific color only for the tree selection. http://www.acorns.com.au
-
How to change Inactive Selection System ColorGuys, How can I change the background color for an Inactive Selection in a tree for example? E.g.: You have the Solution Explorer, you click a file name, and then you click in the editor. The selection becomes inactive and is painted with a light gray. How can I change this gray? I use a Laptop LCD Screen most of the times on low brightness to save energy and that gray is never visible to me. Thanks, Corneliu. http://www.acorns.com.au
-
Can you accept your gf going vacation with another guy?Dude, Go watch Click[^] and start thinking about u'r life. Get a holiday and go with her. Else, ask her to wait one more week if u can't leave now. Watch Click, Wake up, Think abit, Get a life! Corneliu. http://www.acorns.com.au
-
Italy vs France videos !! -
The new look is not easy on the eyesYeah :( I found the reddish-orange too strong and the green not too appealing. Way to much contrast. It makes me anxious and restless. I preferred the previous more light and calming colors. Now I fell like in a rush while reading the website :( I quit visiting CodeGuru after earthweb bought the website, changed its colors to dark-blue & gray and filled 60% of the screen with commercials. :sigh: http://www.acorns.com.au
-
The Role of Patents?Guys, I was pondering one evening and got an interesting idea for a product. (Does not really matter what product.) I thought, wow, this is a great idea. How about I try to get a patent, prototype, build and try to sell it. Next day, I started to browse the www.uspto.gov to see if I am really the first one to have this idea. Of course I’m not the first one. You really thought I’m that smart. However, what surprised me was that exactly the same idea was patented about 5 times, with almost the same description. I can not give you the exact links as I plan to get the 6th patent on the same basic idea . Two of the patents are amazingly close in description and even claims. They were published about 3 month apart back in 2003. The third patent from the list of 5 is basically an improved version of the first two. Read: first two + a bit of sugar. We are now in 2006 and none of these made it on the market. One of the reasons might be that if you try to implement anyone of them you infringe on the other patents. So my first question: Is this logical? My second issue: If someone patents an idea/design, and that someone then does not take the necessary steps to try to produce/market/commercialize that idea isn’t that a lost idea? For 20 years while that patent is valid, no one is able to produce and commercialize that because they don’t own the patent. However the owner is unwilling to sell their patent. Is this fair? So, what are your experiences/ideas/opinions about this subject? Corneliu. http://www.acorns.com.au
-
More Memory Please!2Gb in Laptop (home) 2Gb in Desktop (work)
-
Where to go on Holiday.Oz? Beach, crocodiles, sun, surf, sharks, spiders, nature, outback ... It's winter overhere right now, so come next summer (December-March)
-
CPUStress?Hi, I know there is a CPUStress tool in the Win2k resource kit. But I don't have access to the resource kit. Do you know if I can find that tool or a similar one somewhere? I've spend couple of hours on google and found nothing relevant. I need a tool to stress my CPU to a specified % and use the "remaining" part to run my C# application to see how it behaves in low cpu and resources condition. Thanks, Tutu.
-
DataSet designer"Nice DataSet designer": a designer like the one that opens when you double click an ".xsd" file in the solution explorer, where you can define tables, keys and relations all visually, and then it gets converted using the MSDataSetGenerator to code. Tutu.
-
DataSet designerHi, I'm looking for a nice/good DataSet designer, where I can do nice layouts of the dataset and of the relations. Right now my dataset has 33 tables :) and about 50-60 or so relations. Ofcourse it looks more than miserable in the VS designer. Thanks, Corneliu. PS>> I _can't_ redesign it, brake it, split it, change it and so on ...
-
Source Control for VSHi, I was wondering what SourceControl solution you use for your VS projects. I've been using MS SourceSafe for a while and found it nicely integrated. However working with branches and merging files was always horible. Now we started using CVS using the (PushOK) CVSProxy SCC Plugin. However I started to hate it also, mostly for the strange number of errors that I get, lost files and more frustrating problems that I encounter. (Maybe it's not CVSProxy's fault. It just might be that CVS does not work as I expect it to work.). One more is the problem that we can't check out from 2 different branches at the same time. What are you guys using? What can I do to make my life easier when working with SourceControl? Thanks alot, Tutu
-
DatView DataBinding using Parent relationHi, I'm trying to create a DataBinding of a text box to via a DataView by using a parent relation not a child relation: eg: (the classical) Customers-Orders relation. I have a DataView on the Orders Table (for very good reasons it's impossible to set the DataView to the Customers Table). Now, I want to set a text box to the value of: Orders.Customers2Orders.CustomerName .. or something like that. If I do: textbox1.DataBindings.Add ( "Text", dataView1, "Customers2Orders.CustomerName" ) I get a nice: {"Cannot create a child list for field Customers2Orders." } System.SystemException: {"Cannot create a child list for field Customers2Orders."} m_paramName: null Message: "Cannot create a child list for field Customers2Orders." ParamName: null Is this possible somehow ? Maybe by implementing my own Binding object? Thanks alot, Tutu.
-
CP User StatusSome time ago there was a discussion about the rating of different articles. There were lots of posts regarding the fact that users with higher CP status weight more when voting. However I don't get something: How valid/important/relevant is the voting of a user that is "Silver" for example when he reached that "Silver" status because posting 6 articles: . 2 of them are in the Purgatory . 2 of them have a rating < 1.5 and popularity almost the same . 2 of them have a rating < 1.0 and a popularity value quite close http://www.codeproject.com/script/articles/list_articles.asp?userid=660295[^] Do you think his vote for an article should weight the same as articles from other "Silver" users? http://www.codeproject.com/script/profile/whos_who.asp?VT=arts&PN=47[^]. Maybe a "Cleanup" procedure should be done by CP in order to remove all Purgatory items or change the calculation of the "Membership Status" based also on Popularity/Voting of their articles. One more: I think authors should not be allowed to vote their own articles. For to many times you see an article with 1 vote of "5" (I suppose the author voted his own article, as it better with a red bar than with a white one). Comments? Tutu.
-
UserControl and interface implementationThanks for the answer. Unfortunatelly it does not help as none of your recomandations apply. I've already tried most of them before posting the question. I have the feeling that something has happend with my VS.Net after I've un-intalled some addin (I think it was ReShape or something like that). Since then VS behaves sometimes strange. I've just discovered that my example works perfectly on another sistem, thus I think I'll spend my day with reinstalling VS.Net with the hope that this will solve my problem. Thanks alot, Corneliu.