ketparm's Q&A profile
Smart Device Development Mail API
Hello all, i have followed microsoft sample to send emails from pdas and made a dll out of it. the problem is that when i submit the message to the message store it gets stored in the text message outbox instead of the outlook outbox. here are the mesage properties : memset(( void *)pMsgVal, 0, cbMsgVal); pMsgVal[0].ulPropTag = PR_MSG_STATUS; pMsgVal[0].Value.ul = MSGSTATUS_RECTYPE_SMTP; pMsgVal[1].ulPropTag = PR_MESSAGE_F ...Show All
Visual C++ NAFXCWD.LIB
Now i am using microsoft visual C++ but i need the NAFXCWD.LIB that required in my project is that have any way to alternative or to solve this problem because i don' t have the license of Microsoft Visual C++ 6.0 Pro Edition I get this every now and again. Usually I get it when I switch to/from MFC or threading models. It's a real pain and would be nice if Microsoft fixed it. Check this article out on ways to fix your project: htt ...Show All
SQL Server Reporting Services and multiple data sources
I have a group of reports that are the same for 3 different companies, the difference is the data connection. Is there a way I can change the data connection based on a variable passed in at the time of report execution thanks The credentials can only be changed if you go with the SetDataSourceContents approach or if you have your own custom data extension which controls the credentials for the actual data sourc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Buffering areas of a window?
I have a Managed DirectX program that makes use of what you might call "virtual" windows inside a main windows form. Each one of these virtual windows can contain a lot of lines and polygons that don't always need to be updated, but are subsequently re-rendered everytime I update the windows form. Right now I'm trying to figure out the best way to "buffer" these windows so that I can just redraw them as a sprite instead of ac ...Show All
Visual C++ Ok I am in dire need of some help here :/
I cant even get a hello world console app to work. I downloaded Visual C++ 2005 express beta 2, and the Platform SDK. I just chose to do a Win32 console application, chose to use the pre compiled header, and typed in the very simple code. #include "stdafx.h" int _tmain( int argc, _TCHAR* argv[]) { cout<<"Hello World!"<<endl; return 0; } When I go to compile it, I get a compi ...Show All
Visual Studio System Exception...
Hi, I have just formated my drive installed all the update and Crystal Reports 8.5 wiyth VS2003 and when I try to run an project that I created I got the message on my browser sayinbg System Exception, and on my other compter it runs without any problem !!! What can it be Thanks I've installed all the updates... There is no futher information...I tried on another computer and it worked....I'm reinstalling visual studio...to try to re ...Show All
Visual Studio Team System Create a Database Project in VS 2005 Beta 2
I am trying to create a database project in VS 2005 beta 2. The database already exists on the sql server, the sql server is SQL 2000. I am receiving the following error when trying to create the database project: "The SQL server specified by these connection properties does not support managed objects. Please choose a different server." Is there something special that needs to be installed on SQL 2000 Or do the databas ...Show All
Smart Device Development Taking photos, Windows mobile 2005, without CameraCaptureDialog dialog?
Hi, I am working on some pocket pc application for in VS 2005 and I am using Windows mobile 2005. Application must take pictures from camera built in device, without user control. So I can’t use CameraCaptureDialog, I need C# code for taking pictures. Something simple i.e. Camera cam=new Camera(); Cam.Shoot(); String ImagePath=Cam.Path; :) Any help You can use the dialog and still automatically ...Show All
.NET Development How to get all child processes of a process?
Hi all, I'm try to build up a process tree for a process. What i'm doing now is: 1. use Process.GetProcesses to get a list of running processes on current system. 2. use PerformanceCount class to find parent process id of a process. code is like: PerformanceCounter pc = new PerformanceCounter ("Process", "Creating Process Id", "some_prg"); long parent_id = pc.RawValue; The problem is: s ...Show All
Visual C++ malloc error in C
>c:\s.t>cl /MD /GS- a.c >Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40310.41 for AMD64 >Copyright (C) Microsoft Corporation. All rights reserved. > > x.c > Microsoft (R) Incremental Linker Version 8.00.40310.39 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:x.exe > a.obj > > T:\s.t>x > 3000000000 0 > > c:\second.try>type a.c > // cl /MD /GS- > #include&l ...Show All
Visual C# import a dll written in c++ into c#.NET
Dear redaers, I have an SDK written in c++ that has a (.dll) file and (.lib) that i can include in project to access this specific SDk's functions and objects. I need to include this dll file in my c#.NET smartDevice project, but as soon as i add this dll file to my project it sayys this file is not recognized by the .NET So what can I do. I really need this SDK One option would be to use P/Invoke. There is good information about usi ...Show All
Visual C# Looking for Book Recommendations for C# (was: hello)
hello i am interested in c#,but i known nothing about it. i want to read some book ,can you tell me what book is i need thanks TAG wrote: itisapple wrote: hello i am interested in c#,but i known nothing about it. i want to read some book ,can you tell me what book is i need thanks Nothing can be better then language specification: For C#1.0 = http://msdn.microsoft.com/net/ecma/ ...Show All
Windows Forms Problems with binding controls
Hello. I fill my dataSet1 with DataAdapter da. Then I want to show the records in dataase in my form on my textboxes,comboboxes etc. So I write: textBox1.DataBindings.Add("Text",dataSet1.library,"bookname"); what is my wrong I can not correct this.Can you help me If "library" is the name of your table and "bookname" is the name of your field then try: textBox1.DataBin ...Show All
Software Development for Windows Vista Locking WorkflowInstance
Let us assume 2 systems are executing the same sample(here workflow definition is stored in database and we are getting in form load) here if one user get the workflow and try to update data, other user should get View mode of same data. Note: only one user is avaliable for editing at any one time. i am using Sqlpersistenceservie, database. how to implement such scenario Hi Ravi, I am not sure if ...Show All
Smart Device Development Inserting data from file to SQL 2005 Mobile
Hi, I have a file with a lot of records (abt. 10000) and I have to insert them to database on smart device (I'm using SQL Mobile 2005)... Using INSERT for each record is too slowly... Could anyone tell me how I can insert data in faster way Opening a transaction for all INSERTs helped me to speed up this process twice. But it is still not satisfactory... Probably the fastest way to insert data would be to ...Show All
