|
Your problem is not with the code attached. At least I do not get the error after 35 tries (.NET 1.1.4322)
|
|
|
|
|
Thanks for checking that out!
In "Help:About" from my "Visual C# .NET" IDE, I see I'm using "Microsoft .NET Framework Version 1.0.3705" (e.g., a very old version). It would appear to be a bug that has been fixed in updates to the .NET framework and/or the IDE.
Do you know where I can get the update(s) for my .NET Framework and IDE? I've tried the "Check for Updates" menu item (it fails without giving a reason), and looked around Microsoft's Support website for updates, but am not sure what I need.
|
|
|
|
|
i can't seem to find any audio stream related classes in the documentation.
thanks.
|
|
|
|
|
Look int he directX documenttatioan...
/\ |_ E X E GG
|
|
|
|
|
if i use directx classes in my app, will that force users to install directx separately? i am hoping to avoid that.
|
|
|
|
|
Have you looked into using the DirectX Managed SDK?
|
|
|
|
|
Hello,
I want to change the default setting for the option:
1) Just me
2) every one
in select installation folder and set the every one as default option,
but I don't know how should I do it.
Besides according to this option I want to set some data in different
keys in registry I do not how can I get the user selected optionin the
dialog and then use it for setting registry data ?
Thanks in advance,
Saeideh
|
|
|
|
|
um, you have to learn a language called 'orca'... i think that's what it's called.
It will let you make more advanced installers. Search the C# forum for stuff on that...
and also, check out InstallShield. I beleve you can do it in that.
/\ |_ E X E GG
|
|
|
|
|
Thank you for your reply, I could solve my problem by Orca ...
Regards,
Saedeih
|
|
|
|
|
Hello All,
We need help for a technical issue that we are facing in our application
(TA-RES) developed using .NET technology. The details of the issue are as
follows.
Steps for reproducing this problem:
1. Open 2 browser instances
2. In one instance start a product search
3. While the product search is on in the first window, perform a search or
request another page in the same application
It is observed that the execution of the second request starts only when
the processing of the first request is completed. We confirmed this by putting
log statements in the web pages. As per the time stamps the second request
is processed when the first request is completed. From the logs it is also
observed that when the first request is being executed, the init of the
second page is also not called indicating that the requests are being
executed serially by IIS.
When a test application was tried with the same server and configuration
files, we did not notice this behavior. Has anybody come across this
problem? Any help in resolving this issue will be appreciated.
The application has been developed using .NET 1.0 Framework. Please let us
know if you need any more information.
Take what you most fervently believe, what you most longingly hope for, what you most sincerely value, and put those things into practice. That's the way to truly make them real.
|
|
|
|
|
I don't know if this might help as I've never researched it but I've noticed that if a number of browser windows are open on a client and I try and make many connections to the same web site the requests appear to get sent almost in sequence (it seems to allow 2 or 3 concurrent requests at most [with each graphic counting as a request also]). Could this be it?
As I've said it is not something I've researched but just something I've observed.
Do you get the same results if the two client browsers are on different machines?
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
Colin Angus Mackay wrote:
it seems to allow 2 or 3 concurrent requests at most
It's something done at an HTTP level - it is regarded as good form to only make a small number of simultaneous HTTP connections to a web server, and 2 is a common value here. Some web servers also limit the number of simultaneous connections.
--
Ian Darling
"The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
|
|
|
|
|
The problem is not just with 2 instances but also with 2 users accessing the same site.
To isolate the problem we are putting up an application onto that server. This currently is working fine on another box and we will monitor the behaviour on the box where the problem is being noticed.
Any inputs will be appreciated.
Thanks
|
|
|
|
|
the http standard define a max two connects per client (http://www.faqs.org/rfcs/rfc2068.html[^] - 8.1.4 Practical Considerations).
However I suspect your problem might be unrelated to this.
Have you looked at the CPU usage during execution of the request? you might find that your system is busy handling one request and not switching to complete the new request.
Also your request may be blocking due to a request to a single handle resource - are you using a file or db - what is the locking mechanism...
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
Make sure you turn off session state for any pages that don't need it, otherwise requests from the same session will be serialized:
...the session state module implements a reader/writer locking mechanism and queues the access to state values. A page that has session-state write access will hold a writer lock on the session until the request terminates.
A page claims write access to the session state by setting the EnableSessionState attribute on the @Page directive to true. (This is the default setting.) A page, though, can also have read-only permissions on the session state, for example, when the EnableSessionState attribute is set to ReadOnly. In this case, the module will hold a reader lock on the session until the request for that page finishes. As a result, concurrent readings can occur.
If a page request sets a reader lock, other concurrently processed requests in the same session cannot update the session state but are at least allowed to read. This means that when a session read-only request is being served, awaiting read-only requests are given higher priority than requests needing a full access. If a page request sets a writer lock on the session state, all other pages are blocked, regardless of whether they have to read or write. For example, if two frames attempt to write to Session, one of them has to wait until the other finishes.
http://msdn.microsoft.com/library/en-us/dnaspp/html/aspnetsessionstate.asp[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
|
|
|
|
|
Can someone help me understand why HttpWebRequest doesn't return the same thing as IE with some sites?
I'm writing an app to rip some of Microsoft's online help pages. The URL I have works fine in IE or Mozilla, but when I try it with an HttpWebRequest it doesn't come back quite right.
<br />
http:
Please help me!!!
|
|
|
|
|
I have figured it out. I downloaded a Firebird extension that allows you to view the headers. After that, I just copied every single header value in the successful GET request into my program and it worked. I finally narrowed it down to the following header values that are required.
Accept-Language: en-us,en (of course, this is region specific)
User-Agent: (This can be set to whatever you want. I started with the standard "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)". After I got it working I changed it to "Bob's browser" and it still worked. Therefore, it's required, but doesn't need a specific value.)
|
|
|
|
|
We just started writing our Windows Apps in C# instead of VC++. We do a lot of string parsing and was shocked to see that the .NET String classes don't appear to have Find, Mid, Left, Right etc... How can you disect strings without those functions? Thanks
|
|
|
|
|
stephen wilkerson wrote:
We do a lot of string parsing and was shocked to see that the .NET String classes don't appear to have Find, Mid, Left, Right etc... How can you disect strings without those functions?
They do - but they're named differently, and are members of the String class.
Find=IndexOf, LastIndexOf, IndexOfAny
Mid=SubString(int startIndex, int length)
Left=SubString(int startIndex, int length)
Right=SubString(int startIndex)
|
|
|
|
|
also check out Regex
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
hdc1=pic1.handle '?
hdc2=pic2.handle '?
nRet = BitBlt(hDC2, 0, 0, SrcW, SrcH, hDC1, 0, 0, SRCCOPY)
|
|
|
|
|
in c# it would be:
Graphics g = Graphics.FromImage(MyImage);<br />
dc = g.GetHdc();
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
Hello,
I would like to learn .NET programming. I am an intermediate level C++ programmer. Currently I am looking at this book that I heard good things about:
Programming Microsoft .NET by Jeff Prosise
Has anyone read this book or can recommend a different one?
Thanx for the help.
-Flack
|
|
|
|
|
I've not read the book by Prosise you mention.
I've read "Applied Microsoft .NET Framework Programming" by Jeffrey Richter which I think is really good. You might substitute this for one of my earlier recommendations. As you are an intermediate C++ programmer, I'm guessing you probably need less hand holding as you get up-to-speed on C# and .NET. In which case ignore my recommendation for "Microsoft Visual C#.NET Step By Step" and go for the "Applied Microsoft .NET Framework Programming" by Jeffrey Richter instead. Its got most of the information, but explains it more in depth and less Click-X-then-select-Y-and-finally-push-Z.
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|
|
Oh! Yes... I forgot....
You can also get a lot of good information on this web site[^]
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
Enumerators in .NET: See how to customise foreach loops with C#
|
|
|
|