While answering this question I noticed that I got the following dialog while atempting to move the "cursor" while an exception was being handled:
Unable to set the next statement to this location. The attempt to unwind the callstack failed.
Unwinding is not possible in the following scenarios:
Debugging was started via ...
I’m trying to measure a request with WebRequest,
But I’m getting significant smaller results then measuring with FireBug.
I guessing it’s because some content like Images and CSS isn’t included.
Is there a way to measure a full web request?
My code:
public string GetPageHtmlTime(string strUrl)
{
WebRequest reques...
Hello.
My past CI experience is tightly coupled with CC.Net, but for sake of innovations I want to try Hudson server as CI Server.
I wondering, is there a possibility to embed into build report custom reports, by transforming XSLT output of various tools that runs on CI?
For example, I have hand-made IIS Log parser, that outputs XML, is ...
I have a scenario in a windows service type app where I need to load
up to several thousand entities, perform some business logic and then
save them. In regards to session management, this kind of falls
outside of the usual session per call that is often discussed.
Basically, in my case I certainly don't want one session for (x)
thousand...
Hi
I have a weird issue. Say you have the following:
Application.ThreadException += something;
try
{
Application.Run(new Form1());
}
catch (Exception ex)
{
}
Now given an exception happens somewhere in the app, Vista raises the ThreadException event, but XP just jumps straight to the catch block.
How do I get the handling to beh...
I am the lone .NET developer in an non-IT organization. I've been asked to develo ae .NET application using Microsoft Access as the back-end (existing DB).
I don't know where to start.
Since I'm developing by myself, what should I keep in mind to avoid during development? What situations does only a lone developer face?
Please inc...
I have made one function named SetControls(control controlName) which only takes control as a argument.And I want to pass the toolstripbutton which is in the tooltipcontainer.Function SetControls() consider toolstripContainer but does not consider toolstripbutton as control and there is error if I pass the toolstripbutton as control.
Th...
I am writing .Net application, which should connect to a webservice through a proxy (proxy with username password).
My (All) .net application automatically uses the internet explorer's proxy server settings, but not proxy username password settings. Can't i store proxy username password in internet options ?
Today i used Teamviewer and ...
Here's my problem. I have a middleware web service used by several web clients. The web service is a wrapper service that makes calls to several vendors' web services. The call to the vendor's web service is wrapped in a TryCatch but any exceptions generated aren't getting caught by my web service, they're getting caught in the client...
I know that Asycronous Delegates are used for implementing Call back functionality in .NET.
I want to know
Is it possible to use Callback using ThreadPool?
Can I use as many BackgroundWorkers as possible? What I exactly want to know is, Is there any additional overhead involved in using BackgroundWorker instead of ThreadPool/AsyncD...
I've loaded an HTML doc into a string with .NET. I have this REGEX which I can use to match URLs and replace them, but I need only to match ONLY URLs that are NOT fully qualified.
If this is my string:
djdjdjdjdjdj src="www.example.com/images/x.gif" dkkdkdkdk src="/images/x.gif
My result result would look like this:
djdjdjdjdjdj sr...
When I have a Model or ViewModel with values that are sent from the controller to the View but rendered in such a way that they are not submitted back to the controller when a form is posted, (e.g. a label whose contents is loaded from a data source) what is the preferred way to make those values available to the controller action that h...
Hi
I am trying to encrypt an email body to be stored at database, and that to avoid unauthorized person from reading it also to avoid SQL injection attack.
1- What do u think about encrypting the email?
2- Why it does not work? I want to learn encrypting a text anyway.
SymmetricAlgorithm symAlgo = SymmetricAlgorithm.Create();
...
When I create a new project of any kind (winforms app/classlib ..) using VS2010 beta2, all the projects have ProductVersion field set to 8.0.30703. I was expecting it to be something like 10.0.21006.1. Is this version so because its in beta or is there something wrong with the version that is generated?
...
I am in the process of rewriting an old application. The old app stored data in a scoreboard file that was encrypted with the following code:
private const String SSecretKey = @"?B?n?Mj?";
public DataTable GetScoreboardFromFile()
{
FileInfo f = new FileInfo(scoreBoardLocation);
if (!f.Exists)
{
return setupNewScoreB...
I have to decide whether to use .net 3.5 or 4.0 for a webportal, I have found that webparts cannot be moved accross the webpartzone also there is problem with verbs.
What is new in .net 4.0 for webparts and which is better 3.5 or 4.0 ?
...
Hi
I want to retrieve identity column value after running Insert or Update (using Access DB in C#). How can I do it?
i use a Typed dataset to fill and update...
...
Hi
I'm launching an Access ADE, using Tony Toews auto FE program. The AutoFE programs will, if newer version available, copy the latest version of the ADE from the server, then launch it.
My code looks like:
Dim stAutoFE As String = "V:\Apps\autofe\startmdb.exe /cmd /inifile: " & """" & "V:\Apps\AutoFE\SSP.ini" & """"
Shell(...
This is a WinForms application.
There is a many-to-many relationship between the rows in TABLEA and TABLEB. There is a record in TABLELINK for every row in TABLEA that is related to a row in TABLEB. Think "users" and "roles" or something similar, with each TABLELINK record indicating "user X has role Y."
I'm browsing through TABLEA rec...
Hi
I am Learning cryptography in .net, why method 1 works while 2 fired argument exception.
See http://stackoverflow.com/questions/2006394/symmetric-algorithm-exception
for a complete code
1- ICryptoTransform.TransformFinalBlock
2- ICryptoTransform.TransformBlock
Thanks
...