cpurick's Q&A profile
Software Development for Windows Vista conime.exe
Hi Oliver, Could you please refer to the thread below http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1097952&SiteID=1&mode=1 Thanks for your help and answer! Vian Hi Mo, About this issue, I have an esay way to reproduce it, as below: 1) Compile these codes below, and produce an executable file (i.e. myConsole.exe). #include "stdio.h" #include "conio.h" void main() { printf("->Hello!\n"); getch(); } 2) New a folder (i.e. myFolder), and copy myConsole.exe into this folder. 3) Double-click and run myConsole.exe (the process conime.exe is brought up now). 4) Exit myConsole.exe, and delete the folder (myFolder). You will find that you can't del ...Show All
Smart Device Development Compacting data on compact framework 1.0
Hello, I have an smart device application which has being developed on vs 2003, using compact framework 1. Now what do I need is to pass dataset object, or if that wouldn't be a great solution - an string obtained from ds.getxml() from and to an smartdevice from and to an webservice. So far, I've searched some code sample in order to compress one of this two ways but I wasn't able to find it . Thank you for the support If you need a way to improve the performance of a dataset transfering between the mobile app and web service, consider the following: Design your application so that only the needed data is transferred. For example transfer only changed data. In case you are targeting CF2.0 you may use DataSe ...Show All
Smart Device Development Change size in other .resx
Hello , im using visual studio 2005. I have created localizable Form. For this form i have three .resx (for English, Czech, Finland). This .resx was created by visual studio 2005 in design mode. Each .resx has different form size. Exist possibility how to set global new form size for these .resx (language English, Czech, Finland) Possibility is remove form size from each language .resx and in Language = (default) set new size but i think is not good.... Exist some way how to make changes in all language .resx for one form Thanks Hi, thanks for your help , im looking for visual studio utility which allows you to change component property for all form's .resx. So at this moment I have the fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple Game
I can't wait until tomorrow. I have a idea for a hope a simple game which I believe could be a really addictive live game. I know I can't do multiplayer so I'll will be working on the single player game. I have no programming experience shock horror. So here it is. Im assuming this is going to be 'click and play' and then program something like Gamemaker. Will it be easy to swap a characters charistics ie basically swapping from one type of thing into another. I don't want to give too much away! I really do think this could not be acually ground breaker but really addictive. There isn't another game of its type out at the moment. I dreamt about it last night :) But will be more 'friendly' tha ...Show All
Smart Device Development Toolbar Images in VS 2005
Is there a way to make bitmaps on a toolbar have a transparent background I've tried every setting I can find for the button, as well as trying everything I can find in the image editor and Paint, but no luck. Alternatively, is there a way to get a toolbar button to accept icons instead of bitmaps Thanks, Mike Hi Mike737Aviator, You can't make the toolbar display a transparent pics, as the CF 1.0 and 2.0 don't support transparent images not in any control, like Picturebox or toolbars,..etc. you can use either icons in imagelist like suggested, or make the images' background color of the same toolbar color. If this post was helpful, please select "Yes". Regards, Ahmed H. Waly ...Show All
Visual Basic Accessing data from Exchange Server
Hi, I need to some some maintenace with old user and email accounts, and was wondering if there was a way to communicate with the Exchange server either by a class or namespace etc. I need to be able to "get at" the Primary Windows NT Account data, that is stored in the mailbox properties, so that I can compare this value with the "Pre-Windows 2000 User Name" in AD to ensure that the correct mailbox is being worked on. How would I achieve this using VB 2005 Thanks Andrew Perry ...Show All
Software Development for Windows Vista problem with VMR9 and UAC : vista bug ?
When vista displays an UAC window (also called ConsentUI), all other windows are feezed, including VMR7/9. I've done a quick test with graphedit (from June 2006 DirectX SDK), trying to render a sample clip. With the default renderer (VMR7), it works correctly : after I close the UAC window, the video window restart playing. With VMR9 (default mode, so windowed), after I close the UAC window, the video window doesn't refresh : the sample clip still plays, but the video is freezed until I move or resize the video window. Is it a vista bug, or do directshow players need to be updated to work with vista Hi, I already posted on this subject. Please have a look on. To sum up, under Vista, you have t ...Show All
Windows Forms newbie: Can't find the duplicate (xxx.Form1.resources) in "Resources" parameter, help please.
Using C# and the latest VS 2005. Hunted for just about every combination and twist on this error information. This happens when I try to 'create project from existing code.' Haven't yet found the answer for this Ultimate Question (42, doesn't work.) Probably a very fundamental thing but I'm missing it as yet. Output C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSHARP.Targets(147,9): error MSB3105: The item "obj\Debug\Webcam_Test.Form1.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. Done building project "Webcam_Test.csproj" -- FAILED. Error List The item "obj\Debug\Webcam_Test.Form1.resources" was specified mo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Collision Detection With Bezier Curves
Hi, I'm currently making a small 2D game in XNA Game Studio Express. It involves a player moving around a terrain and being able to collide with it. Nearly all the graphics and settings in my game are user generated so this allows for everything to be quite customisable. For collision detection the user specifies paths made of Bezier curves which are stored in a file. The game reads this file and stores a number of points on the curves in an array. The player is also made of Bezier curves that are converted into points: This shows how I want collision detection to happen; if any of the lines that make up the player intersect with any of the lines that make up the terrain, then a collision has occurred. Once a collision has occurred two t ...Show All
SQL Server Moving SQL2k to new appliance
I am moving a SQL 2k database from a Windows 2000 server to a Windows 2003 server (seperate appliances) and would like as little SQL downtime as possible. I have several applications that I believe are connecting to servernow by servernow’s name and don’t want to have to figure out how to change them to servernew . Would it work if I built servernew and copied/moved the SQL database to servernew , then take servernow off line and change servernew’s name to servernow I am open to any suggestions on other more appropriate methods. Thanks in advance Melonheads Sister That suggestions should work. Ensure you follow the instructions at http://msdn2.microsoft.com/en-us/library/m ...Show All
Visual C# Custom class convertor problems
Hy, I am trying to design a custom control. Some properties of this control are from a self made object I call "Voltage" witch consist of a float 'volts' and a enum 'soort'. to use this object in my custom control as a property I need to make a VoltageConverter to be able to set the propertys in design time. The problem is that I can not debug the VoltageConverter class since the Visual C# 2005 IDE Stops imidiately if I try to test the control in the Disign view. Is there some trick I can do to be able to debug this class, or is it yust a matter of trying and starting the IDE everytime again To be complete I will paste some code of the voltage class and the voltage converter. may be sombody can see where it go's wrong ...Show All
.NET Development SerialPort doing sone funny stuff...
OK, this may not even be a .net issue, but someone may be able to help... I am using SerialPort class to do data transfer between a PC and embedded device. When I use a direct serial connection everything works just grand, but when I use a USB-Serial converter it all turns sour. Basically it seems from my debugging that extra characters are appearing in the receive buffer... I use the DiscardInBuffer method before sending a request comand to the embedded device. Then I read received bytes... when using USB to serial converter, sometimes extra bytes appear ahead of my expected received bytes !!! Anyone got any ideas You shouldn't use DiscardInBuffer(). Whether or not it will discard anything critically dep ...Show All
SharePoint Products and Technologies Cannot "Edit Properties" on a document when workflow running
I have a simple workflow I created in the Sharepoint Designer that pauses until a specified date on the document then sends an email. I have seen the newsgroup postings saying that there are issues with the actual delay and rehydration, but I seem to be having another issue. As the workflow is running, in the paused state, I cannot go back and edit properties on the document (exception is thrown and I have yet to find the actual exception text). Am I missing something basic here I have a MOSS 2007 portal that's logging the same error: System.Data.SqlClient.SqlException: Could not find stored procedure 'proc_ar_GetCacheInvalidationCountersWithCount'. at System.Data.SqlClient.SqlConnection.OnError(SqlException ...Show All
Smart Device Development MSMQ Over http in .net cf 2.0
Hi, I am trying to use msmq over http (or srmp) in a smart device application (.net cf). I have been able to send messages over http in a desktop application ,but I am not able to do the same in .net cf. Is msmq over http supported in .net cf 2.0 For Windows Server 2003 I had to install a msmq over http component , is there something similar that needs to be done on the device/emulator Am I missing something here Thanks, Deepthi Thanks for the reply Michael ! I have been able to send and receive meesages on the local queues .net cf ,but not able to do so using direct addressing format (for eg @"FORMATNAME:DIRECT=TCP:ip_address\private$\testq" or @"FormatName:DIRECT= ...Show All
Visual Studio EnsureConnectionPoints on PortShape doesn't work
How can i force the connection points of a portshape (in the middle of its sides) The classic way with EnsureConnectionPoints and HasConnectionPoints doesn't work. Thanks for your answers, My problem was on the port not on its parent's nodeshape. You can reproduce this whith the 'example.Components' sample by changing the AssociationLink's routing style value from Rectilinear to Straight. (I saw this later) Now i change my model and i use another graphic representation without port. Thanks again. ...Show All
