Answer Questions
COOPERMAN refresing page (F5) should redirect the user to a different page
Hi, I want my ASP.net C# application to punish the users who refresh page using (F5) by redirecting them to a different page Please post ASP.NET specific questions to the ASP.NET web forums at http://forums.asp.net. Daniel Roth and how would i do that I guess users would also like to punish us, programmers, that build applications that do not behave well when they hit F5. "Standard" behaviour would be to ...Show All
kal11 Cannot find member name System.Data.SqlClient.SqlError
[reposted from newsgroups] Hello, We've got a WinForm application that uses remoting to connect to our servers. Fairly recently, we've started seeing the above error instead of the SqlException we should be getting. I've found one thread through google that seems to be about this problem, but the post that supposedly solves it is no longer available and the KB article for hotfix 887549 doesn't mention this particular error. The problem ap ...Show All
Filousov .NET High Speed Timers - Precision/Accuracy
There are 3 timer types in .NET (System.Windows.Forms.Timer, System.Timers.Timer and System.Threading.Timer) From the documentation the System.Windows.Forms.Timer timer interval precision is one-eighteenth of a second (55.55 milliseconds). http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbconlimitationsoftimercontrolsintervalproperty.asp I cannot find any details on the other timers precision/accuracy. I want ...Show All
Farithjhg Where o' where has my "HasChanges() gone"?
Hiya, I have a windows form displaying a dataset from a select query and I am trying to find a way to determine when my datset has changed so I can pop a message box when the naviagte to a different record or close the form asking the user if he/she would like to save. I came across the HasChanges() method which seemed like a grand idea but when I try it like: if (myDataset.HasChanges()) { pop me a MessageBox() to save or discard; } ...Show All
Bitnius Getting data from the server to the client?
I have a server that does lots of stuff. I have a client that can create remote objects on the server. I need to get data from the server to the client but I am having problems. I think there is an obvious solution but I am just not seeing it. Here is the scenario: The sever starts up and makes a configuration list instance. The server holds this list in its memory and often updates the data with ...Show All
emailAtul Who can solve this problem? Is there any genius?
Hi all (genius people), I am getting a problem consuming a web service. Here is the scenario, I have a web application in vb.net 2005 (ASP.NET 2.0) and a web service made in c#.net 2003. I have deployed the web service well. It can be accessed through browser. Even I can successfully add its web reference in my web application. After deploying ...Show All
cbwick problem writing & of the   into xml file
I need to write a text of   in the node's text. I have <Project> <project>Text</project> </Project> I need output as <Project> <project> Text</project> </Project> I get the output as <Project> <project>&#160;Text</project> </Project> Anytime i write &, it converts it to &. Is there a ...Show All
newWiki Reading ConnectionString from .config
I am interested to know how the ConnectionString line of code works. It appears to search machine.config, app.config and web.config. Anybody have any background on how this process works Does it really search all three files and in what order Protected Function DB( ByVal DatabaseName As String ) As String Return ConfigurationManager.ConnectionStrings _ (DatabaseName).ConnectionString End F ...Show All
Diptic Framework is the problem...
I am having the following problem: I am having lessons Visual Studio 2003 on school and i am making exercises for my lessons at home with Visual Basic 2005 Express. When I open the files I've made at home, when i am at school, I get the error message that the Framework that is installed is not capable to open my executable. Can someone tell me how i can get my programs running on the school computers without installing a new Framework at sc ...Show All
jcorra TimeSpan or Stopwatch not as accurate as Environment.TickCount
Can someone, maybe preferably from Microsoft, confirm a behavior that I'm noticing concerning the lesser accuracy of using TimeSpan and the Stopwatch object to time something in milliseconds versus using Environment.TickCount. Specifically, I'm noticing that in my Ping class that when I use Environment.TickCount to measure how long a host responds to my message, the result in milliseconds is accurate compared to the results when I use ...Show All
John Tom SslStream client authentication fails
I have set up a client and server app for testing SslStream. Connecting and authentication works fine as long as a client certificate is not requested. When I call AuthenticateAsServer with the clientCertificateRequired parameter set to true, authentication fails. In the RemoteCertificateValidationCallback (on the server) the sslPolicyErrors parameter has a value of SslPolicyErrors.RemoteCertificateNotAvailable, the certificate and chain parame ...Show All
AlexisP WSE 3.0 problem
I am developing a web services app in compact framework and want to use only MTOM feature of WSE 3.0 for dending data but if possible would love to use other features also I enabled WSE 3.0 in my web services app but as soon as i built my code I got a lot of errors. So I tried msdn and found foll article . This did a great work and most of the errors were removed except one "The type 'System.Web.Services.Protocols.SoapHttpClientProtoc ...Show All
Anurodh about RasHangUp
hello.. my question is about RasHangUp... Does it set DTR(Data Terminal Ready) to OFF already or I need to perform separate SetCommState for this Thanks, maui Please repost this to a forum dedicated to the RAS apis. This forum is geared towards questions relating to the system.net namespace in the .Net Framework. Please see http://www.microsoft.com/community ...Show All
Gerd71 Scalability application writing in C#
Dear expert, I want to write a game software, which will have Server Program (Service, in C#) and Client Program (in MFC). I need to develop server program, which should be scalable. The no of add on server is not fixed, so extra server will add as processing speed will slow down. So how would I design my application so that I could easily achive the scalability Do I write own code for scalability Or what ...Show All
Matt Peirse C#'s world
Hi I'm making an investigation about C#sharp language and compiler, and I would like to ask you How many C# developers are over the world , I will really apreciate that you if you tell me the source of the your information, if you don't know, could you suggest me any action ., thanks in advance ComputerWorld had made a user survey about this early this year, you can find the result from their web ...Show All
