We have an application that needs the 3.5 SP1 framework and when we click on the prerequisite option in the setup kit we made, we only see the framework without the SP1. When we install, it does not indeed install the correct one.
Is there a way to make this work?
The application was made in WPF if that changes anything.
Thanks!
...
I am currently using sequential workflows in Windows WF, but need to break up the process because I now have multiple workflows that need to share a piece of functionality. I believe there's a way to create custom code activities in WF that would basically accomplish this, but my plan is to eventually ditch WF in favor of Stateless; the...
Hello
I am creating a .NET User Control. Do I need to implement the IDisposable interface for my User Control?
...
Good Afternoon,
I am looking to add a local database file (.sdf) into my .Net Project, so i go right click on my project, click "Add" -> "New Item", select "Local Database" and rename it to what i want.
I then click the "Add" button and get the following error
"The data provider required to connect to the local data file could not be f...
Consider this:
Dim StartDate As DateTime = #06/12/2010 6:32PM#
Dim EndDate As DateTime = #06/13/2010 10:47PM#
Dim ElapsedSpan As TimeSpan = StartDate - EndDate
Does the TimeSpan object retain the original Start and End datetimes that make up the span period? It doesn't appear to and only seems to store the amount of time elapsed not t...
In a new class I'm writing, I need to take the contents of an external XML data feed and convert it into an HTML table via C# and .NET 2.0 (cannot go any higher due to server constraints). Since we reuse the code, I'm putting this functionality into a class. Here is the XML Loader class:
using System;
using System.Web;
using System.Data...
Unfortunately we used intellilock to licence our software.
A licence file works in everywhere but not in one of our clients. It's a really stupid situation because we have no inner knowledge or way to debug the licencing component:
Intellilock doesn't answer support emails, they don't have a phone number either
Intellilock exceptions ...
I have a DataGridView bound to a DataTable in a DataSet.
I set all columns of the DataTable to System.Double.
I want the last row of the DataGridView to display "PASS" or "FAIL" depending on some condition of the values in that column.
How do I do this?
Ideas:
lastCell = IIF(condition, Double.PositiveInfinity, Double.NegativeInfinit...
How to know which application is using an Assembly in GAC? I want to remove unwanted assemblies from GAC but it is not getting removed as it is used by some other application.
...
In all the books I've read on reflection they often say that there aren't many cases where you want to generate IL on the fly, but they don't give any examples of where it does make sense.
After seeing Reflection.Emit as a job requirement for a gaming company I was curious where else it's being used.
I'm now wondering if there are an...
Say I have a basic interface like the following:
public interface IObjectProvider
{
IEnumerable<IObject> GetObjects();
}
The object source is some backing store that might be updated, and the implementation of this interface takes care of using that backing store. Now I'd like consumers of this interface to be able to take actions...
Hi, i've a c# wincontrol that depends on a bunch of c++ unmanaged dlls.
dotnetctrl.dll
+
+--myliba.dll
+
+--mylibb.dll
Is there a way to include these mylib[a|b].dll when deploying the dotnetctrl.dll?
i.e. When in a project I add a reference to dotnetctrl, is there a way to make the mylib dlls available in the right path just li...
Technology Used:- Asp.Net 2.0
Code:- See Below
Description:- hello code given below is working fine in i.e. and other but not working in all mozila version.javascript is simple to devide two textbox's value. you can easily understand.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="javascript_test.aspx.cs" Inherits="javascript_...
Is it possible to use a primitive-typed Collection, such as List<long>, as the DataSource for a DataGridView?
After a half-hearted attempt to make it work, I gave in and created a simple struct so I could give DataGridViewColumn a PropertyName. But now I have to box my values when I deal with the UI, unbox them for the rest of my app (...
I am pretty new at C# and .NET, but I've made this code to call a stored procedure, and I then want to take the returned DataTable and convert it to JSON.
SqlConnection con = new SqlConnection("connection string here");
SqlDataAdapter da = new SqlDataAdapter();
SqlCommand cmd = new SqlCommand("getDates", con);
SqlParame...
I'm going through some old C#.NET code in an ASP.NET application making sure that all SqlConnections are wrapped in using blocks.
This piece of code used to open cn and da and close and dispose them in both the catch block and the end of the method. I added the usings and can't figure out for certain if the using blocks still handle dis...
What's going on behind the scenes in .NET (de)serialization that makes it behave the way it does in the following scenario? (This is a test app that just illustrates my setup.)
I have a class with a NameValueCollection property:
[Serializable]
public class MyClassWithNVC
{
public NameValueCollection NVC { get; set; }
}
It, in tur...
I'm using .net. Is there some code somewhere that can change
$11,456.50 -> eleven thousand four hundred fifty six and 50/100 Dollars
I can do it myself, but don't want to rewrite something that's already there.
...
I have an Exception Handler that email our Help Desk software whenever there is an error. All properties for the Mailer are handled in app.config. One of which looks like this --> <add key="from" value="[email protected]"/>
Is there a way to have the value set to Environment.Username + '@ourcompany.org.
As a side note this ...
I'm going through some old C#.NET code in an ASP.NET application making sure that all SqlConnections are wrapped in using blocks.
I know that using is the same as try / finally where it disposes of the object in the finally no matter what happens in the try. If I have a method that returns a value inside the using, even though execution...