In my application, client can request service from server side while server can send events to client side.
In .NET remoting the event mechanism is implemented by bi-directional channels, while in this case the actual client plays another role of "server" for events. Normally the client will open a free port for this kind of communicat...
Hi to all. I am facing problem with the control flajaxian.FileUploader i.e. after downloading the dll file while implement i am getting following error message i.e.
Request for the permission of the type 'System.Web.AspNetHostingPermission, System, version=2.0.0.0, culture=neutral, PublicKeyToken=b77a5c56193e089' failed.
Help me to sor...
Hello,
I'm working on redeveloping an Access based system into c#.net, however when MS went from office 2003 to office 2007 they removed the picture editor within access - which meant that previously stored pictures would no longer display in the system. The guys at the company did a hack that basically saved the images with VBA using e...
Hi,
I got a XML schema for which I used xsd.exe to generate a Class FooClass.
I am receiving xml requests from host which I get them from a directory and use the XmlSerializer.Deserialize() to get a Instance of my FooClass.
Well, this worked till now perfectly and it still does, but suddenly I started to get XML files which are larger...
How to simulate Mouse Click in C#?
...
Hi!
I'm using log4net for logging (duh!). Using the EventLogAppender, I can configure my application name, so that my events will show up in the Application/"My Application Name" event log. However, I'd like to log events to "Some other event log"/"My Application Name". How do I configure that?
Current config:
<appender name="EventLog...
I'm looking at the examples for overriding TryInvokeMember on DynamicObject to implement dynamic method binding. The signature is as follows
public virtual bool TryInvokeMember(
InvokeMemberBinder binder,
Object[] args,
out Object result
)
Obviously result is used to pass the result back to the caller.
Since there is no ...
I know that i could return the index of a particular character of a string with indexof() function.
But how i could return the character with the particular index?
...
I have a Visual Studio 2008 solution with number of DLLs and web application uses them as a main project. It's a commercial banking and accounting software (thin client) and I don't want a client getting access to the source in circumvention of mine.
I want to obfuscate all resulting assemblies before publishing them onto a web server v...
Using C# and WinForms in VS2008, I want to create a file browser control that looks and acts like the left pane in Windows Explorer. To my astonishment, such a control does not ship with .NET by default.
Ideally, I would like its contents to be exactly the same as in Explorer. For example, on Windows 7, it should show the Favorites and ...
Hi.
Is it possible to get a return value other than error level from .net exe? The exe is to be called from a script, batch or rexx.
If not, can you invoke a method in an assembly from batch or rexx and retrieve a return value?
...
I release several modifications a week for my Windows Services and my users have to update it manually. I was think in rolling my own auto-update component, but I heard of ClickOnce, which seems to suit only Windows Forms and not Windows Services. Is there any similar solution for my case?
And if I should develop this feature myself, sh...
I am in the process of upgrading an older component which shares references to custom assemblies of differing versions.
To compare the properties of references from two different projects I have been copying and pasting the property values individually from the two different references to a text file for easier overview and comparison....
We're investigating the cloud for a couple of solutions and for our core product. We're new to this area so would like to ask a question of your experience.
The various cloud services seem to be oriented around web applications. This is great, but our application is a web application fronting a .NET Windows Service/.EXE. Can we execute ...
The web provides an abundance of tutorials for developing and testing WCF services along with client applications that reference them all within the Visual Studio IDE.
However, in a production setting, one needs to deploy services and clients on various hosts where Visual Studio is not available, and the clients need to be configured ...
Hi,
would anyone suggest a free solution to programmatically convert Office documents (mostly .doc) to PDF in the form of a .NET library or a command-line application i can call from my program? Thanks
PS: I know I can use SaveAs PDF in newer versions of Office, but some of the clients where the program will run still have older versio...
Hello,
I'm wondering whether I should create extension methods that apply on the object level or whether they should be located at a lower point in the class hierarchy. What I mean is something along the lines of:
public static string SafeToString(this Object o) {
if (o == null || o is System.DBNull)
return "";
else {
...
We are getting this error:
System.ServiceModel.ServerTooBusyException:
The request to create a reliable
session has been refused by the RM
Destination. Server
'net.tcp://localhost:50000/' is too
busy to process this request. Try
again later. The channel could not be
opened.
As I understand it, I need to increase the v...
I would like to bind multiple dependency properties of other activites to a dependency property (of type object[]) in my custom activity. Is it possible to define this multibinding :
In the workflow markup (probably somehow combining multiple ActivityBind's)
Set up the property editor in such a way that I can even edit this binding in...
How to check/confirm that whether SQL connection pooling is enabled for a sharepoint 2007 web-application ?
...