|
Click File/New/Project. Click Visual C++.NET, and scroll down. The last project type is Windows Service. Click OK. Now you have the source code for a Windows Service project, at least an empty one. As it's a managed C++ project, the methods you call and the libraries you use will be the same as in C#.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
What do I need to download if an App requires the .NET 1.1 framework.
(I am NOT a devloper) I just need to get the framework but the site at
Microsoft seems to have a number of not so obvious choices to a non-programmer...
|
|
|
|
|
All you need is .NET Framework Version 1.1 Redistributable Package.
http://www.microsoft.com/downloads/details.aspx?FamilyID=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en
|
|
|
|
|
|
I have a splash screen that I want over an OpenGL window while things load. Currently the splash screen flickers alot when it is over the OpenGL window. I am wondering if anyone knows how to fix this problem?
|
|
|
|
|
Hi All,
I am newbie to Pocket PC development; I have decent experience in .Net
Windows and Web. I am writing this not to ask any technical question but to
get an idea for developing an application. My employer asked me build a
Stocktaking application in PPC. The database has around 30,000 items and they
want the ability to do off-line and on-line stocktaking. The Item table has
around 25 columns, but for off-line basically I download 5 columns ( code
nvarchar(25), description nvarchar(30), quantity float , price money ,
location nvarchar(25) ). Now my question is when I download 30,000 items
into PPC; what sort of approach I should take into consideration because I
built small apps in PPC and that apps connected to SQL Server 2000 and
downloads the items into the local SQL Server CE 2.0 database. It takes hell
lot of time to download these items. What will I do in this scenario? What is
best way of building these sort of application. What is the best way to
approach this issue? Please guys help me in this issue and share your ideas.
give me some solution???????????
Thanks
Tom
|
|
|
|
|
I don't understand it!
I want to test a pocket pc 2003 base application written in compact framework 2 beta.
I have tried to run an application on the Visual Studio beta 2 (the latest one) and also in other versions (windbay), but the emulator simply won't start.
In the latest version it tells me he's got some problems with the "TCP connection" and in the Windbay he tell me even if i run a new blank form after build that he's got "Development Errors".
What can i do? i want to use the Compact Framework 2, but i can't test if without the 2005 built in emulator which does not work.
P.S: in the lastest version when i tried to connect through the active sync my Ipaq 3360 which has a pocket pc 2003 OS, it says that my operating system is not updated. what should i update there? what does this mean?
|
|
|
|
|
Hello,
You could fine .NET links by clicking here http://www.insidedotnet.com
|
|
|
|
|
hcmuns wrote:
You could fine .NET links by clicking here
Except you couldn't work out how to make a link.....
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
And its just a squatter site with a few links.
|
|
|
|
|
|
The site is being built for Microsoft .NET
If you would like to develop the site with me, please send your email to hcmuns@gmail.com
Thanks in advance
|
|
|
|
|
No i'm sorry, way too busy...
But some links would be nice, you could start with one to CP
|
|
|
|
|
Hi. I was wondering if anyone know of a simliar project for .Net projects which Maven (http://maven.apache.org) is for Java projects? Or is anyone using Maven for .Net project (if it's possible), if so, could you post a description of how you went forth to accomplish it?
Thanks.
|
|
|
|
|
Hello There My Article Updated I soluted Soruce code Problem
Ahmed Erarslan
MCAD,MCDBA,MCP
MCSD.NET
|
|
|
|
|
Help please!
How can I convert dynamic charts inside a web page into images. Is there a way to get the active-x object to draw into a blank image container or a way to convert the container into an image? The problem is the active-x displays the chart inside a web page and I need a way to get the image without loading it inside the web page / browser?
cheers
|
|
|
|
|
|
Does anybody know how to get the Windows master volume level for display in a Windows Form Application? I am trying to do this without using the DirectX implementation.
|
|
|
|
|
Hello all.
Would anyone know a good free WebService benchmark tool?
I'm creating 2 different implementations of custom-made proxy with extra logics and would like to find the performance differences.
Thanks
|
|
|
|
|
That depends on exactly what you want to time. The complete round trip or just a section of the call.
A WebService is nothing but a web page with a very specific purpose. For a complete round trip, you could use a HTTP stress tool to do this.
For timing various parts of your service code, you can put in timing code and have that code report to a log or database on the server.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I wanted to get section of the call. For example, time to make the invocation to the service but not time to get the response.
I wanted to avoid putting in a timiing code because that always seems to get affected by the background processes or any traffic on the servcer.
I guess I might have to use the stress tool.
Thanks for the reply.
|
|
|
|
|
Does the .Net Framework have any classes to view TIFF files? I find a lot of references to TIFF files in the online documentation, but none of them say anything about viewing.
Man Learns from History that he never learns from History
|
|
|
|
|
I'm not sure whether the TIFF files need to handled any differently. I believe you can directly instantiate an Image object using the FromFile() method and use it howsoever you desire.
|
|
|
|
|
I load an image, convert it to bitmapData using the 24bppRGB pixel format, binarize it using a simple routine (shown below) and save it using the Image.Save() method. The image saved however is still 24bppRGB - although all colours have the same value, either 0 or 255 - and shows up as an RGB image in Photoshop.
Any ideas on how I can change it to binary, ie a 1bpp format?
Code:
------
Bitmap bMap=new Bitmap (iMage);
BitmapData bData = bMap.LockBits(new Rectangle(0, 0, bMap.Width, bMap.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb);
System.IntPtr Scan0 = bData.Scan0;
int iStride=bData.Stride;
int iht=bMap.Height;
int iwd=bMap.Width;
int iPix=new int[iht][];
unsafe
{
byte *p = (byte*)(void*)Scan0;
int nOffset = iStride-iwd*3;
for(int y=0;y<iht;++y)
{
iPix[y]=new int[iwd];
for(int x=0;x<iwd;++x)
{
if (conditionA) p[0]=p[1]=p[2]=0;
else p[0]=p[1]=p[2]=255;
p += 3;
}
p += nOffset;
}
}
bMap.UnlockBits(bData);
bMap.Save(fileName);
|
|
|
|
|
You need to convert it to a different format. It won't magically detect how many colours you've used and therefore change itself. There is a Clone method that takes a bit depth, but I think it's buggy. You can create a new image of the required bit depth and copy your old image onto the new. Or you could create a new image to start with of the right bit depth, and set it's values instead of setting values on your existing image.
Christian Graus - Microsoft MVP - C++
|
|
|
|