I've recently discovered the awesomeness of SQLite, specifically the .NET wrapper for SQLite at http://sqlite.phxsoftware.com/.
Now, suppose I'm developing software that will be running on multiple machines on the same network. Nothing crazy, probably only 5 or 6 machines. And each of these instances of the software will be accessing an...
I am trying to setup a dev environment at home. My primary development environment is VS.NET 2008 (now it is VS 2010 Premium) with SQL Server 2008.
Objectives / Requirements :
- Should be simple and lightweight
- Should have a Visual Studio plugin (cost should be less than $50, if its not free)
- should work just fine with continuous ...
Hi,
Does anyone know of a solid C# library / approach to manage a hierarchy/web type collection?
This would be a library that would basic consist of the concept of nodes & relationships, for example to model web pages/files linked under a URL, or modeling IT infrastructure. It would have key methods such as:
Node.GetDirectParents()
...
Is it possible to write a key logger in Visual Basic.NET? Is this the right language to be using?
So far, I've gotten a console app to read input and append to a file.
1)How can I make a .NET program "catch" all keyboard input?
2)How do I make a process not show up in Task Manager?
This is not for a virus, but rather a parental contr...
Hi,
I have a enterprise application converted from VS2003 to vs2005 .
The converted application, in one page i do edit and save i am getting this error.
System.Web.HttpException: Multiple controls with the same ID 'hidWIPID0' were found. FindControl requires that controls have unique IDs.
But the same work fine in the code of vs2003 ...
I would like to know how to pass an array to a stored procedure which in turn will return an array from c# .net?
...
I have a function that returns me only the fridays from a range of dates
public static List<DateTime> GetDates(DateTime startDate, int weeks)
{
int days = weeks * 7;
//Get the whole date range
List<DateTime> dtFulldateRange = Enumerable.Range(-days, days).Select(i => startDate.AddDays(i)).ToList();
//Get only the frid...
I have a .net application which needs to expose a service consumed by a java client. The service can't be public. There should be some authentication mechanism for the client. What is the best way to do this? I'm new to web services and am confused by all the soap, wsdl etc. and have also heard a lot that it'll be a pain to get the two t...
Here I have the following bit of code:
private IList<IState> _states = new List<IState>();
private ReadOnlyCollection<IState> _statesViewer;
public IList<IState> States { get { return _statesViewer; } }
I believe that generally it is preferable to return interfaces rather than the concrete classes themselves, but in this ...
Hi
I'm working on a wcf service and I have the need for it to figure out it's own endpoint address (pref. in the constructor).
Is this possible and if so, could anyone point me to the right direction? The service is hosted on IIS.
Thanks.
...
Hello
Is there any utility available which does the inverse job as the al.exe ?
i.e converts a Myresource.resources.dll ---> Myresource.resources file ??
Regards
Srivatsa
...
Hi there,
I'm making an application and I'm using a timer in that application to change label content in WPF C# .NET.
In timer elapsed event I'm writing the following code
lblTimer.Content = "hello";
but its throwing an InvalidOperationException and gives a message "The calling thread cannot access this object because a different thr...
Hi!
How I can run handler from one application to another, for example:
In application one i have form1 and button.
In application two I have also form1 and button.
Now how I can run handler for button on form1 in first application from applicaton two?
Thanks!
...
How I can show header/footer of Asp.Net Gridview with empty data source?
...
Hello there,
my job is to access a CPRBA-server-application from .NET 3.5. After evaluating projets like IIOP.Net (undefined state) and products like VisiBroker (expensive) I'd like to do it "by myself" and write a .Net-Wrapper around C++-Stubs generated my Omniidl (the Omniorb IDL to C++ generator). This means writing some kind of laye...
;) I am writing a .NET application wher ethe user connects to a given server. ALl information within the application is stored in the server. But I want / need to store the following information for the user:
The server he connected to last
The username he used to connect last
(and no, no password, never ever).
Any idea where to stor...
Currently I'm working on a case where we don't want to change to much on a c#/wpf program, but like to add a feature. Currently we allow certain users to add sql queries to a database to retrieve customer data, hereby a custom connection string/ provider name must be specified. With this information it's possible to create the connection...
How to make a shadow for a 3D model in WPF?
...
We have this webservice created with jax-ws
@WebService(name = "Mywebser", targetNamespace = "http://namespace")
@MTOM(threshold = 2048)
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public class Mywebser {
@WebMethod(operationName = "doStreaming"...
I'd like to display a little popup window next to the notification area. It's similar to what Outlook/Skype/Live! Messenger/etc does when it displays the notification about a new message. In my case it will have some input controls (textbox, datetimepicker, buttons...) so a simple bubble won't do.
The trick is doing this correctly when ...