Hi everyone,
I am exploring the possibility of plugging webcams (preferrably any webcam so I don't get tied to a particular hardware vendor) into a Windows Mobile 5 or 6 device, and write a piece of software app that allows user to click a button in that software app to get the webcam to take pictures or video streams.
So, I will need ...
Hello everyone,
I am using VSTS 2008 + C# + .Net 2.0 to develop Windows Forms application. I found by default, the new Form we created will be marked as public partial.
My concern is whether expose class as public has any security risks? Should we mark it as private? Any impact for functionality if we mark it as private?
BTW: I met wi...
I have a console application written in C# which processes some data then prints the results. Until the results are available there is a little animation ( / - \ | ) and progress percentage ( xx% ) which is constantly updating.
Obviously if the user redirects the output of my application this will be printed to the text file where outpu...
I have to get the data from a User site. If I would work on their site, I would VPN and then remote into their server using username and password.
I thought getting data into my local machine than getting into their server where my work is not secured.
So, I thought of using Ironpython to get data from the remote server.
So, I still V...
I'm reviving this question, and making it more specific: Is there a .NET framework library that supports numbers with arbitrary digits of precision?
...
I recently got excited by the idea of statically check design by contract in .net 4.0 / Visual Studio 2010.
However I was saddened to find out that it will only be available in Visual Studio Team System. http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx
Are there any alternatives which give statically checked design by contract fo...
I have a contact page where there is a datalist of people and if you click on one of them you get a contact form that I want to send to that particular person.
I use sqldatasource dscontactemail to get information about that person to place on the contact form but how do I get information out of dscontactemail from the code behind for w...
I don't understand when an output parameter should be used, I personally wrap the result in a new type if I need to return more than one type, I find that a lot easier to work with than out.
I have seen method like this,
public void Do(int arg1, int arg2, out int result)
are there any cases where that actually makes sense?
how a...
Hello everyone,
How to get local host (machine) name in PowerShell? I am using PowerShell 1.0. Thanks!
regards,
George
...
There is a command line tool for which we need to write automated tests. Our test framework is written in C# and I was looking for .NET libraries which would let me do the automation (I know I can use the Process class; redirect the IO; do the validation, but I don't want to reinvent the wheel if possible). Ideally I'm looking for someth...
I've been using Fiddler for a few days now, extending CustomRules.js with my own logic. However, the file is becoming quite heavy (it's fairly heavy to begin with). I'm not very familiar with .NET or JScript, but I would like to be able to split CustomRules.js into several smaller files that I can just include into CustomRules.js. Is thi...
I am developing a windows application in c# in which I am showing a web page using web browser control, and I want to store the content of the web page in a cache. How can i do?
...
Can C# .net be used to create a win32 dll. If possible can someone tell me how to do it?
...
Hi
some simple types like int, string , ....are easy to realize that they are ValueTypes Or RefrenceTypes. But I wanna to know is there any way to distinguish?
...
Hi
Is there any API available to find the whether the .NET framework installed or not in the system. or atlest can any one give me idea how to do this our own in c++ and also how to find the path where .NET installed if it is installed??
How can i do this ...
Any Help in this regard will Be Appreciated Greately.....
...
Possible Duplicate:
What static analysis tools are available for C#?
At work we tend to use two tools for analysing our projects, FxCop to analyse our managed code and StyleCop to have consistent code layout.
I found these tools pretty much by accident and it has led me to wonder what other tools are available that I might of ...
I develop and compile a Winform Application in C# with a unmanaged C++ library on a XP computer.
This application works perfectly under XP.
On Vista, everything works fine (launching the C++ DLL, results and curve displaying, ...) except a problem of displaying the text of the Label component.
F (t/m) is displayed (F (t/m
El (%) is ...
Hello !
I'm designing a UI, and I found myself itching my head : how can I align a TextBox text and a label text, which are side by side.
In design mode, it's easy, you move one with your mouse, a purple line appears and voila ! the alignment is good, but mine are code generated, so how can i align their contents ?
Thank you !
Edit :...
Hi,
I have this project where I would like to go from regular ADO.NET code to a more productive, more understandable, leaner and meaner OR/M system. I have the following scenario that currently works but has to work with the OR/M as well:
Orders:
id
stuff
Documents:
id
order_id
path
When I create a new order I attach a document...
My Windows mobile application crashes sometimes with an exception that happens in the finalizer of System.Net.HttpReadStream.
It only happens sometimes, but then it brings down the whole program. Is there anything I can do to make the program continue when such an internal finalizer throws? Or alternatively, how can I prevent such an e...