I'm using VB.NET for a small control software which analyzes the messages of a video router. I need to hook up to the DLL (which includes the needed interface to the router) using WndProc. Everything was running smoothly in the Lab, but on site (where the router sends more messages) I get a huge memory leak (inside the unmanaged heap).
...
Well I think the title explains for itself.
I'm trying to export a configuration object trough the wire, but it looks quite difficult, the class is not serializable and... it's sealed, so no heritage here.
As anyone did something like this before?
Regards
...
Hi,
I'm trying to create WCF proxy in unmanaged C++ (No .NET framework is installed on the client).
I've found the website "http://icoder.wordpress.com/2007/07/25/consuming-a-wcf-service-with-an-unmanaged-c-client-with-credential-passing/" which teaches how to generate such a proxy.
The problem is that I've found the sproxy.exe only i...
I have been spoiled by Ruby on Rails. However, my present 9-5 has me working with the Microsoft .NET framework--from classic ASP to ASP.NET to ASP.NET MVC. I'm struggling to understand more deeply our code, because I feel like I'm missing:
script/server, or a live tail of a development log, to provide debuggable runtime info
script/c...
Hi all.
Right now I clarify this may be a duplicated question from: http://stackoverflow.com/questions/1692383/right-aligned-labels-in-winforms
But non of the answers satisfied me.
The problem is very simple:
I have a right aligned label with autosize setted to true. The expected behavor is that when the text is increased the right co...
I was using Background worker at the user control level and it was working fine.But then I pushed the worker in one of the Helper function.My question is that it works fine until i try to cancel the task. In the DoWork function there is loop calling the web service each time and before calling the service it check cancellation pending an...
I am trying to write a test that covers my error handling in a particular class. This class is listening for an Error event with the following signature:
OnError(int ErrorNumber, string ErrorText, ref bool retry)
The problem is with the ref bool variable at the end. I am using Rhino Mocks to create a mock interface for testing and w...
If in C++/cli I write
ref class test {
void method() {<
std::vector<float> my_stack_vector;
native_function_call( & my_stack_vector );
}
};
Can the location of my_stack_vector change after its creation? I know that if it lived in the the underlying native stack then it wouldn't change, but with the extra lay...
Ok let's say I have an ObservableCollection<string> object. Within this object I have a variety of strings:
SomeString01
SomeString-02
somestring-03
SOMESTRING.04
aString
I want to take an input, we'll call it pattern and store it as a string from a User interface, and do some partial matching on the ObservableCollection. I need do to...
I am having trouble to upload(from Silverlight 4) a wav file to the server(WCF .NET 4). The file is uploaded from SL to server and write it to disk. But the uploaded file is changed. The two files(before uploading and the uploaded one) have exact same size but different content. And I tried the uploading in a normal console program, it w...
Has to be free.
Has to support all versions of Excel files.
Has to have C# .NET API.
I need to do all of the specified actions (reading/creating/updating).
Has anyone used any library l this kind sucessfully
Update:
I read a lot of bad things about Ole DB, and Interop is not an option since this is a web application running on a ser...
My c/c++ skills are non-existent
and
there's some custom string array data that needs to be returned from an old C dll
fyi - The C/C++ code can be modified as needed
...
In c# I'm trying to set the office field
When I do this:
ADEntry.Properties[ "office"].Add( "Alaska");
It says office does not exist.
Can anyone tell me where to get at this property?
Thanks,
Cal-
...
Hi experts,
I wish to add this type of graph in my datagridviewcontrol :-
Here the graph is to plotted for 12 months and I can either input percentages or comparative values in pixels for the 12 months....Please also tell how to color the graphs
Any ideas for doing this will be highly appreciated
Edit----Thanks for all the answers ...
is there a function that would do this
DateTime1.minute=50
if i add 10 minutes it would add 1 hour and set minute to 0 and likewise
...
Is this possible:
I have web application with usercontrols in the following directory :
C:\Users\Visual Studio 2010\WebSites\MS\Controls
I have another web application on my machine with the following location :
C:\Users\Visual Studio 2010\WebSites\TestSite
Can TestSite load the userwebcontrol from different directory.
I tried the...
I have:-
IEnumerable<IEnumerable<T>> items;
and I'd like to create:-
IEnumerable<IEnumerable<T>> results;
where the first item in "results" is an IEnumerable of the first item of each of the IEnumerables of "items", the second item in "results" is an IEnumerable of the second item of each of "items", etc.
The IEnumerables aren't n...
Has anybody used/evaluated both of these libraries and can tell me the difference?
Otherwise has anyone here used SmartXLS for reading/creating/updating excel files and can tell me his experience?
The later is considerably cheaper than the former.
...
I've spent an hour debugging this, and I finally eliminated the PEBCAK issue.
I have an internationalized application. A key part of the application uses reflection to load types from configured sources. So in configuration, there's an entry like this:
<component type="Application.Component" assembly="Application, Version=2.0.0.0, Cult...
I am curious to know what makes Robocopy (Robust File Copy) so fast and robust. Any body knows what is the API/Algo used for Robocopy? Anybody studied Robocopy?
I am asking since I have to write a method (in .NET/C#) which will copy directories/files fast and without errors... The amount of data can go up to 15Gb and I cannot simply cal...