Hello all,
I'm trying to implement to code described by this site to interface with the Connection Manager in Windows Mobile. However, I'm having trouble calling the ConnMgrMapURL function. Here is the function declaration:
<DllImport("CellCore.dll")> _
Public Function ConnMgrMapURL(ByVal url As String, ByRef networkguid As Guid, ByVal...
Hello,
I cannot find a 2D game engine to create hexagon maps for .net. The best I can find is Xconq (http://sourceforge.net/projects/xconq/) and pygame. Does anybody where I can find any? preferrably one like xconq.
Thank you for your time and effort. I really apprecate it.
Edit: I would like to have feature of a strategic nature. Lik...
The Microsoft.SqlServer.Management.Smo.SqlDataType enum has a value for the timestamp type but not rowversion. I'm looking for an updated version of the assembly or an alternate enum type that supports it.
The existing enum has a value for Timestamp, but according to the rowversion documentation, timestamp is "deprecated and will be rem...
Is there a better (shorter?) way than the following?
let cpucount = System.UInt16.Parse( reader.GetInt32(3).ToString() )
...
I want to ensure a user isn't editing the same form data in two different browser tabs or windows (of the same web browser instance). The intention is to stop the user from stupidly overwriting their own data as they continue through a very long form process. On the server, ongoing data input through the screens is collected into the Se...
Here's the problem: my input is XML file that looks something like:
<BaseEntityClassInfo>
<item>
<key>BaseEntityClassInfo.SomeField</key>
<value>valueData1</value>
</item>
<item>
<key>BaseEntityClassInfo.AdditionalDataClass.SomeOtherField</key>
<value>valueData2</value>
</item>
<item>
<key>BaseEntityClassInfo.AdditionalDataCla...
I am extending the ImageBox control from EmguCV. The control's Image property can be set to anything implementing the IImage interface.
All of the following implement this interface:
Image<Bgr, Byte>
Image<Ycc, Byte>
Image<Hsv, Byte>
Now I want to call the Draw method on the object of the above type (what ever it may be).
The probl...
I need some advice on what kind of pattern(s) I should use for pushing/pulling data into my application.
I'm writing a rule-engine that needs to hold quite a large amount of data in-memory in order to be efficient enough. I have some rather conflicting requirements;
It is not acceptable for the engine to always have to wait for a full...
I know it's a Windows PE32, but I also know that the unit of deployment in .NET is an assembly which in turn has a manifest and can be made up of multiple managed modules.
My questions are :
1) How would you create multiple managed modules when building a project such as a class lib or a console app etc.
2) Is there a way to specify t...
I have a lot of different UserControls and would like to maintain consistent UI settings (mainly colors and fonts). My first try was this:
public class UISettings
{
//...
public void SetupUserControl(ref UserControl ctrl)
{
ctrl.BackColor = this.BackColor;
}
}
to be called in every control like this:
settings.Setu...
I have created a windows service in C# VS2008 that uses a reference to an external class library to wrote. I have added the reference to it in VS2008. When I run start the service it throws an exception when trying to access the external DLL:
Could not load file or assembly 'vcribAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=n...
While inspecting delegates in C# and .NET in general, I noticed some interesting facts:
Creating a delegate in C# creates a class derived from MulticastDelegate with a constructor:
.method public hidebysig specialname rtspecialname instance
void .ctor(object 'object', native int 'method') runtime managed { }
Meaning that it exp...
Hello,
can anyone tell me if you know to be a problem with Bitmap and steganography for WM 6?
I am working on a project and i have to hide a digital signature in a bitmap. The algorithm works perfect, as in untill i have the image on the memory the bitmap contains the modified bytes.
But after i save the image (Bitmap.Save()) and I reo...
What is exactly the difference between the "old" Managed C++ and the "new" C++/CLI?
...
I have a Windows Service written in C# that handles all of our external hardware I/O for a kiosk application. One of our new devices is a USB device that comes with an API in a native DLL. I have a proper P/Invoke wrapper class created. However, this API must be initialized with an HWnd to a windows application because it uses the mes...
I'm wondering about the famous MSN chat clients conversation windows! I'm sure there must be a lot of different aspects but I'd like to focus on those little sliding panes. For instance where the pictures of the people in the conversation are displayed. When you click the collapse button the pictures disappear and the panel gracefully sl...
I installed my .NET windows service and right after installing I noticed mscorsvw.exe maxing out my CPU; this happens when I do a new install of my service.
Why is mscorsvw "interfering" with my windows service?
...
So I have a winform that has some winforms controls on it. But in the center of it, I want to show a transparent number on top of everything. Say 60 pixels size.
I tried a label and even tried to create a custom control but the transparency didn't work.
Any ideas how to do this?
This number will change programmatically at runtime seve...
Let's say I play a stereo WAV file with 317,520,000 samples, which is theoretically 1 hour long. Assuming no interruptions of the playback, will the file finish playing in exactly one hour, or is there some occasional tiny variation in the playback speed such that it would be slightly more or slightly less (by some number of millisecond...
I am creating a kiosk application and I want to ensure it is always, no matter what, on top of other Windows applications and the Windows task bar.
I am already blocking Windows keyboard commands (alt-tab, etc) but there are still situations that could cause an application to launch and steal the screen.
Is it possible to hook into Win...