A common task when calling web resources from a code is building a query string to including all the necessary parameters. While by all means no rocket science, there are some nifty details you need to take care of like, appending an & if not the first parameter, encoding the parameters etc.
The code to do it is very simple, but a bit t...
Hi Guys,
I want to create an application which will take the web cam as an input
and save the captured video as an flv file.
I am looking at Adobe's Flash Live Media Encoder for the same but it doesn't have an API but has a command line tool for the encoding.
Please suggest some other alternatives i could look at.
...
I'm looking for a faster way to retrieve files from SVN than svn cat in .NET.
Currently I'm running a svn cat process for each revision, but it's extremely slow.
Then I've tried with SvnClient:
Stream st = Console.OpenStandardOutput();
SvnWriteArgs wargs = new SvnWriteArgs();
for (int i = 3140; i < 3155; ++i)
{
...
would you create 3 list(of coordinate) for
empty position
black position
white position
or just looping though the array when needed and play with the result every time?
what would be best? (speed wise)
...
Hi
I'm using WatiN testing tool and i'm writing c#.net scripts. I've a scenario where i need to change the theme of my web page, so to do this i need to click on a image button which opens a ajax popup with the image and "Apply Theme" button which is below the image now i need to click on the button so how to do this please suggest some...
Hi everyone,
I have written a simple .NET webservice, which I will be hosted on a different server may be on different continent. I don't really know. Now, I only had its URL and I tried to use webrequest and webresponse method to access that web service vai HTTP POST. Now, I want to know is there any way to secure the webservice access...
Hello everyone,
I am using Windows Vista x86 + VSTS 2008. When creating new Windows Media Encoder object using statement
WMEncoder encoder = new WMEncoder();
My program always crash in VSTS 2008. Here is the screen snapshot. Any ideas what is wrong?
http://i40.tinypic.com/2v96uqo.jpg
thanks in advance,
George
...
I'm witnessing a strange behavior in a .net program :
Console.WriteLine(Int64.MaxValue.ToString());
// displays 9223372036854775807, which is 2^63-1, as expected
Int64 a = 256*256*256*127; // ok
Int64 a = 256*256*256*128; // compile time error :
//"The operation overflows at compile time in checked mode"
// If i do this at runtime, I...
Dont know if you allowed to ask this sort of thing here... but as they say easier to ask for forgiveness rather than permission.
I have dipped my toe into "giving back to the community" and would like people's opinion on the project. In short it is a colleciton of generic crud controller and repository classes and interfaces to automat...
I've been receiving pdf files that I have been processing with the PDFsharp libraries. These files where 128-bit RC4 encrypted. Now I getting files that are 128-bit AES encyption.
I'm getting this exception "The PDF document is protected with an encryption not supported by PDFsharp."
Is AES just not supported, or do I need to change t...
I have following method in my Borland C++ code,
static bool UploadBitstream(void)
{
//Some code Implementation
}
And I'm trying to convert it to DLL and access it in C#.
What are the steps I need to follow to Convert the code DLL
and then use it in C# ??
...
To date I've done a lot of low-level programming (kernel-mode device drivers, native code, etc.) on both Windows and UNIX with C++, C and Ada95. I'm considering to make a career jump to application-specific programming where I can learn a business alongside software development and not just be a low-level hardware interface guy.
Beside...
On the server I would like to call into a dll from php. Using a COM object. This wasn't a problem, until I tried to use some WPF features.
I get the following error:
PHP Fatal error: Uncaught exception
'com_exception' with message 'Source:
mscorlib Description: Requested
registry access is not allowed.'
Thru the ProcMon uti...
Are there any open source Document Management Systems built on .NET ? We've found a plenty of Java-based open source DMS but none on .NET.
Also, please note that we do not look for (Web)Content Management solutions but Document Management.
Thank you,
Catalin
...
how can i do a form POST from a regular html file. and call a .net file that ends with .aspx
what would my html file require?
...
I have 14 LINQ queries to resolve in one method. None of them have a base query that I could hang them from as subqueries and then store the results as properties of an anonymous type instance.
Rather than making 14 separate calls to the database, how can I ensure that they are all called in the same operation?
UPDATE
I ended up using...
Consider the below:
#include <iostream>
public ref class TestClass {
public:
TestClass() { std::cerr << "TestClass()\n"; }
~TestClass() { std::cerr << "~TestClass()\n"; }
};
public ref class TestContainer {
public:
TestContainer() : m_handle(gcnew TestClass) { }
private:
TestClass^ m_handle;
};
void createContainer()...
Any recommendations for software to allow users to edit a workflow representing a business process? Ideally .NET, but any technology (winform / asp.net / wpf / etc) would do.
I would need to be able to initialize / investigate the layout through code to map it to my system - either via an object model or a file in a known format.
I've ...
Hi.
I have a web based system where users should be able to fetch data from a web service by entering the URL and the necessary parameter values.
My problem is, somehow I need to find out the structure of the parameters required in the soap body, which is not necessarily just one or two strings, but could be a whole object tree.
Trans...
I am designing a WCF service which have some operations that i expose to get some data. These operations accept a xml document as a parameter. Is there a way that i can map the nodes of this document to the classes i have created to be used internally?
EDIT: One of the reasons i accept a xml document rather than a strongly typed object ...