I have a DB4O server listening on a port
IObjectServer server = Db4oClientServer.OpenServer("filename.db40", 11978);
How do i register for callbacks? For example how do i execute some custom code before an object is read or stored?
...
I have seen threads on many sites regarding extending the gridview control so obviously this will be a duplicate. But I haven't found any that truly extend the control to the extent that you could have custom sorting (with header images), filtering by putting drop downs or textboxes in header columns (on a column by column basis) and cus...
I am trying to nest TransactionScopes (.net 4.0) as you would nest Transactions in SQL Server, however it looks like they operate differently. I want my child transactions to be able to rollback if they fail, but allow the parent transaction to decide whether to commit/rollback the whole operation. The problem is when the first complete...
Is it possible to log calls of .NET methods made while an application is running?
...
I am looking at a possibility to change my ASP.NET 2.0 application to the Mono framework. I have used the Mono Migration Analyzer tool and it does detect some P/Invoke and interop dependencies.
For example:
1) We use Excel interops and on Linux we are looking to use StarOffice/OpenOffice instead. Is there an easy way of substituting E...
Hi,
VS2010/EntityFramework - Is it possible to execute generated sql for a Sqlite database? (like you can for SQL Server).
When I try to do this I only seem to get SQL Server type options re which database to execute the SQL against (even though my Entity Framework design was based on the initial/successful upload from a SQLite databas...
.NET 4 introduced some types to nicely support cooperative cancellation. I would like to be able to cancel an operation which is running in a different AppDomain. The CancellationToken type is a struct. If I pass it to another AppDomain, will it work as normal?
...
Hi,
I am downloading yetanoherforum open source and install the application
but url rewriting is not working ..
pls give me any ideas how to work url rewriting in yetanotherforums
...
Is there any relevance of a 'public' constructor in an abstract class?
I can not think of any possible way to use it, in that case shouldn't it be treated as error by compiler (C#, not sure if other languages allow that).
Sample Code:
internal abstract class Vehicle
{
public Vehicle()
{
}
}
The C# compiler all...
What am I trying to achieve?
I am writing a windows-form based application in C# .NET 2.0. The application should behave like this: No form should be visible; just a system tray icon is the entire application. So, I have to hide the form during startup and make a NotifyIcon available in the system tray with a ContextMenuStrip attached to...
I am trying to fetch a column value from a datasource when some value is selected from a dropdownlist on its change event.
<asp:DropDownList ID="ddlCityName" runat="server" DataSourceID="dsCity"
DataTextField="CityName" DataValueField="CityID" AutoPostBack="True"
OnTextChanged="C...
Hello all,
my question is stated in the title. How exactly do I do that?
I have an open connection and I want to "hijack" it and send my custom messages through it. From my understanding that is done with sockets and their handlers.
Any language would do but C#.NET is preferred.
Thank you
UPDATE: What exactly am I trying to achieve...
Somehow a file has appeared in one of my directories, and it has space at the end of its extension -
its name is "test.txt ". The weird thing is that Directory.GetFiles() returns me the path of this
file, but I'm unable to retrieve file information with FileInfo class.
The error manifests here:
DirectoryInfo di = new DirectoryInfo("c...
or, in other words:
Can an object referenced by a local
variable be reclaimed before the
variable goes out of scope (eg.
because the variable is assigned, but
then not used again), or is that
object guaranteed to be ineligible for
garbage collection until the variable
goes out of scope?
Let me explain:
void Case_1(...
Hi,
I'm getting very confused about how to call my EF classes in a Class Library from the Client Project I have? Things worked fine when they were in the same project. Now I'm getting errors such as "Unable to load the specified metadata resource ".
I've see various ideas / suggestions re how to fix the connection string (e.g. creat...
Hi,
I get to understand the .Net 4.0 provides a better approach on multi-threading with tasks. Is there a way that it is possible to do the same approach in .Net 3.5 or .Net 3.0.
Thanks,
Priya.R
...
Is there any book that goes beyond "how to create a webservice" but still for java or .net.
...
I wonder if there is a supported way to access the SharePoint 2010 SQL Server through an API?
I'm not talking about modifying any SharePoint Database directly (I know that that is still unsupported), but I'd like to store some data that my application needs, and instead of asking the user to enter a Connection String, I'd prefer to crea...
Is it possible to express this in a Query Table in FitNesse with SLIM for .net:
contains(data)
startswith(data)
endswith(data)
I know from a previous question it was possible for FitNesse/Fit with cell handler loader. I'm looking for the equivalent in Slim.
...
Hi,
I need to connect to a provider's web service with a Windows Form application. He gives me a certificate to access it but I have a security problem.
I have done these following steps :
Add certificate to personal store (on IE & Firefox)
Generate a proxy with the remote wsdl (no problem)
Use this code to call a method :
`using (...