I have a clickonce application that is available online or offline. The program takes an argument. When online I pass the argument on the url like so "url?argument" and it works well. Offline i start a process with the startmenu link to the application.
My question is, is it possible to pass an argument to my application via this link?...
Our ClickOnce application is reporting "Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC" when one user tries to run the application.
It's interesting to note that the GAC (c:\windows\asssembly) does not have stdole installed in it. Any ideas how to get it there?
We are using .N...
I just recently started a new personal project, with a goal of having it able to scale from the start.
I got a suggestion for the structure, to create something like this:
<solution>
|-- project.client.sql.queries
|-- project.admin.sql.queries
|-- project.client.business.logic
|-- project.admin.business.logic
|-- project.client.web.ui...
I have a large .NET remoting project using the 2.0 framework. The server's API is exposed via interfaces and shared types are contained in an assembly shared with the client application.
I have some methods that accept arrays of a base class that has many different classes inheriting from it.
For example I have base class "Vehicle" tha...
What is the best / most flexible way to have WCF output XHTML? If there is no "WCF Way" (tm) to do XHTML output - is there any common tooling out there for it? Or do I need to roll my own?
...
I'm moving from .NET Framework 2.0 to 3.5.
I'm not a big fan of LINQ. So beside of that and "extensions" what should I do know and take advantage of in .NET Framework 3.5?
...
Is there a PHP CMS that works the same way as the .NET CMS Umbraco?
Ie. All data output comes as XML and is transformed with xslt. And you as a developer have more or less total freedom to create any structure and output as you wish.
Reason for asking: Working primarily on OS X / Mac and I'm not very experienced with .NET and the Micro...
I'm trying to create an html table for order logs for customers. A customer is defined as (I've left out a lot of stuff):
public class Customer
{
public LazyList<Order> Orders { get; set; }
}
The LazyList is set when fetching a Customer:
public Customer GetCustomer(int custID)
{
Customer c = ...
c.Orders = new LazyList<O...
I'm trying to decide what database system to use for my next project which will be using VS.NET 2008 and will likely have a bit of LINQ code in it. No LINQ support may be a dealbreaker for any database system. Is DB_LINQ mature enough to allow other DBMS' to stand on even footing with SQL Server? Or should I just not even look into other...
Lets say you are working in SQL 2005 with a copy of Northwind database installed.
Your working on an ASP.NET application with an Employees "browse" page.
At the top of the page you have a "Title" filter where you would like to display these 5 choices in a dropdown:
[ALL]
Vice President, Sales
Sales Representative
Sales Manager
...
We are planning to develop a Flex application that must make AMF calls to retrieve data from a secure server. However, we are not allowed to connect directly to that secure server with AMF. We can only make WSDL/SOAP or .net remoting calls to the secure server. Therefore, all instances of the flex application running on a client machi...
I am doing some work with T4 (Text Template Transformation Toolkit) and am trying to get to a point where I can create my own custom text template host. However, all of that relies on the Microsoft.VisualStudio.TextTemplating assembly and I cannot find it on my system!
I first tried adding a reference to the assembly in Visual Studio, b...
I want to take a .NET class (let's say FileInfo for the sake of discussion) and have it implement my interface. For example:
public interface IDeletable
{
void Delete();
}
Note that the FileInfo DOES have the Delete() method, so this interface could make sense.
So that I can have code like this:
FileInfo fileinfo = ...;
DeletOb...
I'm looking for a thread pool library in .NET
I should able to push about 100.000 tasks, therefore should provide support for "blocking" . (obviously I can't push so many tasks at once, so should support some blocking while adding new tasks, and should block the thread until a new slot is available)
Not overly complicated
Not so expen...
I have a small program where I have been trying to create collections of a particular object I have created (Job).
Regardless of whether I am using an array, collection or list, each time I add a new instance of the object to the array/collection/list, it overwrites all previous items with the same object.
For example, let's say Job ha...
Take the example here:
public static IEnumerable<BigInt> EvenNumbers(IEnumerable<BigInt> numbers)
{
foreach (BigInt number in numbers)
{
if (number % 2 == 0)
{
yield return number;
}
}
}
This will return only the values which match the criteria (n % 2 == 0). B...
For a large project, would it make sense to have one datacontext which maps out your database, which you can interact with from your classes?
Or would it make more sense to split this up into small datacontexts which are focused on the specific tasks within the database that will be required.
I'm curious as to the performance. It's my...
Hello All,
I've been perplexed over a .NET dilemma for the past couple months. I can't seem to find any support for standard protocols in the framework. I would imagine that support FTP and SNMP would be pretty simple to port into the main framework. However, I've found that I either have to jump through hoops and read through all ki...
I'm a newcomer to the idea of aspect-oriented programming but I would like to explore the idea of using it on my project for handling logging, reporting, etc. To this end I have some questions:
Should I bother exploring this path of AOP for these limited purposes?
What .NET Frameworks supporting AOP are available?
Which of these frame...
I have a Forms C# application where I would like to use a toolTip on one of the text boxes. I Initialize the tool-tip in the constructor of the Form class, and it works the first time. So when I hover over the text box with my mouse it works, but once the toolTip times out and it goes away, it does not re-appear when I move my mouse awa...