Hi
Edit:
I am using Visual Studio 2005. I wrote a Setup Project to install my application. After setup is complete, I need to get the destination folder that the user chose to install to (not the default destination folder, but the one the user actually chose during the install.) Is It possible to get this path and save the string into ...
Is there a simple way to read from the global application.exe.config file from a dll?
Currently I am loading the file as an XmlDocument but I wonder if there is a better solution.
That's what I mean:
If I create a new WinForms Project I have a Settings Tab in the Project properties where I can add some simple values (And I want to acc...
Asp.Net Pipeline
Transaction Management in .Net/Sql Server
...
I have the following code and I am trying to work out how to multiply all values in my IEnumerable.
I thought there might by a Multiply method like there is with Sum. I guess I could do a foreach over each item but these days this seems tedious.
Any suggestions?
//1:2:6
string[] pkgratio = comboBox1.SelectedRow.Cells["PkgRatio"].Valu...
Hello,
In process of internationalizing our .NET applications we stumbled to the fact that there is a lot of room for human error.
Most popular is that a string is present in neutral culture resource file, but is not in culture-specific resource file. So, at runtime a neutral string gets loaded (which has been written by a programmer, n...
OK.. I am sorry for asking an often asked question once again, but I AM CONFUSED!
First my requirements.
To develop/ deploy on Windows XP/ 7.
Easy to use and visually appealing for a not so tech savvy user.
Regular reporting of data of a Non Profit Org.
Having .NET as the preferable back end, as I have already devoted a year learning ...
Hi,
My question is probably a simple one to people used to ASP.NET, So here it is:
I have a webform in a master page that has a listbox which populates itself with numbers which serve as unique id for my objects.
The only problem is that the selected index property of the listbox is always -1 and it automatically deselects itself, no ma...
Hi,
Will a regex created with the following terms match the same results?
"canon| eos" "1d"
and
canon|eos 1d
Now I do not want to match the quotation marks (") in the string. Will the fact they are in there make a difference.
Will the first term match "canon but not canon?
Am I right in what I am saying?
...
In our application we need to import transaction data from paypal through an API for the users of my application and store in the database. I've thousands (approx 5k now) of users and it is increasing day by day.
This application is a .net windows service.
This imports data on hourly basis for all the users. At present we are importing...
While pursuing a spearate problem I've come to a very peculiar situation. A demo code would be:
public class Global : HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
Log("In Application_Start");
SomeClass.SomeProp = ConfigurationManager.AppSettings["PropValue"];
}
protecte...
Unable to understand the difference bettwen GoToPlaylistItem and GoToPlaylistItemOnNextTick, though GoToPlaylistItemOnNextTick clicked on scenarios where GoToPlaylistItem din't work.
If you wonder if there are any differences, Have a look at this Post for a problem solved by using GoToPlaylistItemOnNextTick while it was throwing null...
Hello!
Does anybody knows how to unselect ALL the rows on a Windows Forms DataGrid control, using C#? By default, the first row is always selected... Also, I don't want to allow any kind of selection; do you guys know any method to this?
I've already searched here but can't find...
Any help would be great!
Cheers!
Edit:
Ok, i've fou...
I have a .NET based Excel addin that displays a custom toolbar in Excel. There are about 30 commands that can be executed through this toolbar. The commands are executed on the same (Excel) thread.
I want to display progress dialog for some of the commands that take some time to execute for which I used a non-modal dialog. The dialog wo...
I have inherited a web site that has all of the paths set using relative paths, that only work when the site is located in the web root.
I have put the site in a virtual directory, and none of the paths work correctly.
<img src="/img/logo/BadCo.gif" width="156" height="55" alt="BadCo" />
I can resolve this as follows:
<img src='<%= ...
I have been very intriuged by design patterns lately, and specifically following correct design patterns in my classes that implement one or several interfaces.
Let's take an example. When a class implement IDisposable you should follow a specific pattern to make sure that your resources are properly cleaned up, by creating a private Di...
I Want to build a .NET application that can Communicate with Joomla so that i can Access the Joomla Database and components to Perform Various Functions.
So how do i get started in order to do so. I need to access the Joomla Articles and Jcal Event Calender and display the Data on .NET WinForm and Windows Mobile Application later on.
...
I have written a method that accepts a TextWriter as an argument (Usually Console.Out, but not necessarily).
When I call this method, some progress info is written to the TextWriter.
However, since this method can run a long time, I want to update my UI with some status information.
Currently, I am using a StringWriter but it does not ...
I have a RFID reader which reads my employee code. Now i want to log the date and time of the chip when it is scanned by the reader (ie) for an attendance system Login time and logoff time. I would like to use asp.net MVC and sql server 2005. Any suggestion how to integrate RFID with an asp.net mvc web application. Where should i start? ...
Is it possible to set up an a process that runs over night (every night) to run Visual Studios Code metrics Analysis?
...
Hello guys,
I have the option to use a regex to validate some values and I would like to know the best way to do it.
I have several ranges (not in the same regex/validation) such as 1-9 (this is easy :P), and:
1-99
1-999
1-9999
Also, I need to check for leading zeros, so, 0432 is a possible match.
Any ideas?
I know that Regex might...