Situation
I have two .NET solutions (Foo and Bar) and a common library that contains ProjectA, ProjectB, and ProjectC. Foo and Bar reference one or more library projects, but the library projects are not located within the Foo and Bar Solution folders.
Directory structure:
-- My Documents*
-- Development
-- Libraries
...
Hello, i Heard that you can convert a matlab m-file to a .net assembly, does any one know how?
...
I have been looking for a solution to this problem for ages. I have tried many things, including BeginReceive(), but all to no avail. There must be a way to do this, make a UDP-Client receive call that is non blocking AND thread safe. I am trying to receive a message and write it to a Rich Text Box.
using System;
using System.Collection...
I ran the following code and found that finalizer is always called. But many articles said that finalizer is non-desterministic.
class Test
{
Test()
{
throw new Exception();
}
~Test()
{
Console.WriteLine("Finalizer is called");
}
static void Main()
{
try
{
n...
I'm going to create a new PayPal project. Should I just create a regular Class Library project then add the reference to the WSDL? We are not using WCF. I just want to know what the best project type / template I should use if I'm going to share this project with lets say another WAP web project. I simply want to create wrappers for ...
Hi all,
After getting the instruction from google, I was creating StrongNameFile thru this path
C:\Program Files\Microsoft Visual Studio 9.0\VC\sn -k StrongNameFile.snk
while i am running the above command, getting error message like... 'sn' is not recognized as an internal or external command, operable program or batch file.
I tried i...
I am opening a visual studio 2005 solution file and building it in release and debug mode.
while I am able to run the application in release mode.
but when I try to run the debug mode, I am getting following error:
"Unable to start program XXXX.exe".
"This application has failed to start because the application configuration is incorrec...
Aside from C#, VB.NET, C++ (Managed and C++/CLI), and F#, which .NET programming languages have their own CodeDom provider?
...
is there any tool to validate configuration file?
...
I have an assembly loading problem that's cropping up when I convert from Vista (32bit) to Windows 7 (32bit). It occurs when I try to load some very old Sybase ASE ADO.NET data provider DLLS.
The log from the fusion log viewer shows this:
*** Assembly Binder Log Entry (18/01/2010 @ 5:00:38 PM) ***
The operation failed.
Bind resu...
Hi all,
To add the Command prompt in VS 2008 express edition, i have done the following steps:
Tools->ExternalTools->Click on Add-> Then I have entered the following information.
Title: Visual Studio 2008 Command Prompt
Command: cmd.exe
Arguments: %comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86
Ini...
I have an application which I have been deploying releases for over a year now. I have no issues building the application, but today, when I tried to publish it, I got the following error:
An error occurred while signing: Failed to sign bin\Release\app.publish\\setup.exe. SignToolError:
ISignedCode::Sign returned error: 0x80880253
T...
Hi,
We have an application that uses messaging to send real time data to the
flex client from .NET (this data is real time status of some devices).
I have three different classes that serve real time data of
three devices that are connected (this may increase in future). I call these
functions when the page is initialized in Flex and wh...
Hi!
I'm using asmx web service to lock a folder on remote computer!
When I run web service on local machine everything working fine, but when I run it on remote computer nothing happen, folder on remote computer stay unlock!
I supose that I need to set security permission for this web service on remote computer, but i don't know wher...
Is a disconnected architecture too complex for the following story line? I'd be grateful if anyone could share any opinions or experiences that they may have.
There is a business application that runs inside the office network which consists of a desktop application and a SQL Server database. Some of the data is exposed to the general p...
Hello,
i would like to add OpenSearch to my C# webapplication.
does someone recommend a certain .net library? or does a custom webapplication require a tailormade opensearch implementation?
...
I need to identify a hour in a string in a Regex. The rules are the following:
The hour is in the format of %m or %h:%m (by %x I mean xx or x);
The hour should be till 31:59;
Should NOT pass strings like 000, 25:545; :12;
So, my actual variant of Regex is (with ExplicitCapture option, I verify it here):
((?<hours>([012]*[0-9])|([3...
I want to send a file in chunks by calling a function that calls a webservice using multithreading.
The following is a brief of the code:
int chunkSize = "whatever in byte";
byte[] fileBytes = ConvFileToByte("the pathe of the file");
int numberOfParts = (int)Math.Ceiling((decimal)fileSize / chunkSize);
for (int i; i< numberOfParts; i++...
Hi.
Recently I had a task to make a binary files parser, however it was the first time of using C#/.NET for this kind of problems. It was really simple to parse and extract data from the required binary files because of their simple structure (though I have to say it was unusual rather than the simple way C/C++; also as far as I digged ...
Again I want to talk about safety of the Thread.Abort function. I was interested to have some way to abort operations which I can't control really and don't want actually, but I want to have my threads free as soon as possible to prevent thread thirsty of my application.
So I wrote some test code to see if it's possible to use Thread.A...