How do my program on Pocket PC (.Net CF v3.5)
can communicate with program on my Desktop (.Net application) ?
The Pocket PC is in cradle, connected via usb.
Update:
I know how to use socket to open TCP or send datagrams. I know how to use TcpClient/TcpListener.
I just don't know how to give configuration for opening sockets for this s...
I work in a great company (.net consultancy) with some great devs, but some of the older hands have approached me wanting me to help them become "more modern" in their approach to software development. they would like to get more into
Agile mindset
TDD/BDD
IOC/DI
I'm absolutely no guru, but I do have strong opinions on these matters,...
Hi everybody,
Somebody talking the python's code can embed into C#'s code. What the mechanism to do that? please explain for me.
Thanks a lot
...
Hello,
I'm going take a class on "Delegates and Callbacks" to students who are learning level programmers. They have basic c/c++ & c# background. Instead of directly showing how to use them. I want to show "Why Function Pointers?" first. I want to start with an example situation and ask them "How will you do this"? and make them realize...
Does extension method come under object oriented concept in c#?
Is it in good practice to use extension method?
In Software development life cycle, How should we consider this in design phase?
...
I have had a good trawl through related questions and implemented suggestions found, but I still have a problem with .NET TransactionScope.
I am calling two WCF services from a method and even though the second service errors (deliberately in this case) the first service doesn't roll back. I have created a simple test application to dem...
Hi everyone!
I'm faced with a couple of problems in VB.net: I have a series of objects, which properties I'm displaying in a grid for the user to edit.
My first problem is: how do I get a list of all the properties of an object? Is it even possible? The datagrid control that I'm using accepts string values with the name of the property...
Can someone point me in the right direction for handling a PK conflict error in c# .net using Sync Framework.
I am trying to sync between sql server 2008 and local data cache database (.sdf) and would like to keep BOTH rows that are conflicting in both server and client and NOT allow either the server or client win?
I get a pk confli...
I am using Moq - but could easily swap to another mock framework if needed.
I have a interface defined:
public interface IBaseEngineManagerImp
{
void SetClientCallbackSender(IClientCallbackSender clientCallbackSender);
}
I then mock IBaseEngineManagerImp with
mockEngineManagerImp = new Mock<IEngineManagerImp>();
EngineManager eng...
A client still uses Visual SourceSafe, but after showing the numerous dangers and deficiencies of VSS, they've decided to migrate from VSS to SVN Subversion.
The choice-to-be seems Tortoise SVN with AnkhSVN (good choice?). A migration aid is described here. The project contains two websites, a few web applications, several control and f...
Is there a .NET-library available for a continuous hopfield network. And if there is, is it open-source.
...
I'm using Prism for navigation in my Wpf application. I have a few modules, and each of them is registering themselves in a main menu through common commands sent using the IoC container in the bootstrapper. The menu entries are bound to common commands for navigation - which will open the correct view in some Region. All is based on rec...
I'm trying to do this, but it doesn't work. Some suggestions?
int test_i = 0;
DoSomethingThatTakesAgesAndNeedsToUpdateUiWhenFinished(test_i);
test_i <- still is 0 and not 3!!!
public void DoSomethingThatTakesAgesAndNeedsToUpdateUiWhenFinished(int i)
{
DisableUi();
m_commandExecutor.ExecuteWithContinuation(
() =>...
I want to build a fairly simple security sandbox for an application hosting service - the main goals are thus:
Applications running "in" the sandbox cannot install anything onto the system outside of the directory the executable is running in.
Access to the system in general is denied (registry access, et al.).
Access to the file syste...
In a sort-of-duplicate, the answer was :
\[start\](.*?)\[end\]
but that yields the [start] and [end] tag too. How do you omit them?
E.g.: f("[somestartstring]result[someendstring]") == "result"
UPDATE: the suggested answers are not working. My code is:
printfn "%s" (Regex.Match(@"[start]result[end]",
"\\...
I have a problem with facebook application when my applicatons still under development.
I currently have two developers both have granted permission (I mean when I see the Edit Settings under the additional permission: it does have the tick on the publish_stream, this was asked and granted during the prompted permission dialog). The str...
Please suggest me the best way to use .NET dll in VC++ project.
...
I am in the process of writing some test for a server that is implemented in WCF, as the messages are complex and call-backs are made to the clients I wish to include WCF in the tests.
(You may wish to call these “fit” or “integration tests” not unit tests, the code on both side of WCF will have more detail unit test that don’t use WCF....
Find the next TCP port in .Net says how to do this in raw .net, but not how to safely to this with WCF.
In my unit tests, I need to use the NetTcpBinding, I do not wish to hard code the port it is using.
Therefore how can I get the NetTcpBinding to automatically choose a free port when used in my ServiceHost?
How can I get it to tel...
Using LINQ, how can I get the column names of a table? C# 3.0, 3.5 framework
...