DKUS007's Q&A profile
Visual C++ noobs r us: need a basic thing to get me started
i need a basic code or program to learn off and change so i can learn it more. i feel so noob asking this but meh I would suggest getting a good book on C++ and using the examples in that to learn from. This thread discusses books: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107484&SiteID=1 ...Show All
Visual C++ how to hide cmd (command | dos) window...
. i am using system() function to run comands/apps and collect the return value. now, whenever i call system() function, a command(dos) window is being popped up and remains on screen untill the system() function returns. Any ideas / methods to hide this dos window while running system() You can call WaitForSingleObject on the handle returned by CreateProcess (via a handle in the ProcessInfo struct ). Here's one example (you'll need to ignore the HTML junk ). http://www.adp-gmbh.ch/win/misc/create_process.html ...Show All
Smart Device Development Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\test\system.wind
hi, I have wrote a simple C# device application program intend to call the function from the managed C++/CLI Class library in the form of *.dll file. The *.dll is named as pll.dll. My procedure is added the pll.dll file as 'add reference' and i Rebuild the C# device application project concurrently. Afterthat, i tried to deploy it to the PC Pocket emulator. Somehow the deploying process failed all the time and the error is like below. Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\test\system.windows.forms.dll'. Error 0x80070070: There is not enough space on the disk. Device Connectivity Component Is there anyone can help me to solve this problem and tell me the ...Show All
SQL Server MDX Query/Caching/Performance Questions
I am having trouble trying to improve processing speed for an MDX Query. This one is driving me bonkers so I’m hoping someone can help me. Here is my MDX Query: SELECT CROSSJOIN ([Year],{[Measures].[Quick Ratio]}) ON COLUMNS , CROSSJOIN ( DESCENDANTS ([Department]), DESCENDANTS ([GL Company])) ON ROWS FROM [GLRatios] Year Count: 9 Department Count: 33 GL Company Count: 41 GL Summary Category ID.Category Count: 25 Quick Ratio is a Calculated Member calculated as follows: 'IIF(([GL Summary Category ID].[Category].&[Current Liabilities],[Measures].[Balance]) <> 0,( (([GL Summary Category ID].[Category].&[Cash],[Measures].[Balance]) +([GL Summary Category ID].[Category].&a ...Show All
Software Development for Windows Vista baseclasses don't be builded in VC2005,why?please help me
error description: ..\DXSDK\Samples\C++\DirectShow\BaseClasses\ctlutil.h(278) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Is there any new version dxsdk can solution the problem Must Rewrite these codes to solution the problem thinks for answer. Take a look at http://blogs.msdn.com/mikewasson/archive/2005/05/23/421116.aspx . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bullet Fires Only Once--Never again
Hi there, Like everyone else here, I have a problem. Basically, whenever I fire a bullet, it will fire only once. It fires just fine, only, when I hit space to fire a second bullet, a second never fires. Or any other number. So, I think this is all the relevent code for the bullet: void FireBullet() { for ( int x = 0; x < bulletnumber; x++) { if (BulletVisible[x] == false ) { BulletVisible[x] = true ; BulletPos[x].X = PlayerPos.X + 40; BulletPos[x].Y = PlayerPos.Y + 32; } } } Another section where there could be issues, this time in Draw(): for ( int x = 0; x < bulletnumber; x++) { if (BulletVisible[x] == true ) { SpriteBatch.Dr ...Show All
Visual Studio 2008 (Pre-release) wsHttpBinding IIS Integrated Windows Authentication set up not working
My WCF sercive is hosted on a Windows 2003 Server through IIS. I hvae installed a certificate on the server. The directory security for my virtual directory requires SSL (128 bit encryption not required), ignores certificates and uses 'Integrated Windows Authentication' Here is my web.config < xml version="1.0" ><configuration xmlns=" http://schemas.microsoft.com/.NetConfiguration/v2.0 "> <system.serviceModel> <services> <service behaviorConfiguration="credentialConfig" name="WCF.Server.FileTransfer.Services.FileTransfer" > <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBindingForFileTransfer" con ...Show All
SQL Server SSIS Newbie - ETL question....
I am tasked with loading the data from one SQL Server 2005 database into another of the same type and schema on the same server. I'd like to use this task to get my feet wet in terms of using SSIS. Can someone suggest a way of doing this Thanks in advance Hi, thanks for your response. Would the Control Flow Task be easier than say using the Data Import/Export Wizard or maybe even a Data Flow Task Thx ...Show All
SQL Server Error in Transacitonal Replication - SQL Server 2005
Hi, I'm deploying tran repln between 2 SQL Server 2005 databases and when viewing the 'Distributor to Subscription History' see a error message: Incorrect syntax near the keyword 'where'. (Source: MSSQLServer, Error number: 156) On the subscriber, I don't see the snapshot being generated....Please advice. There are a couple of known issues related to the generation of reconciliation procedures for concurrent snapshot that will lead to the kind of error that you are seeing. These issues can be classified by the following scenarios: 1) You are publishing a table with only timestamp as the primary key column, and the article is configured to replicate timestamp as timestamp on the subscriber (def ...Show All
.NET Development The best practice of using DataSet
Hi all! I'm developing an application under Framework 2.0, Visual Studio 2005. The business-logic model I'm using is a Table Module using DataSet. I want to do the application in a "classical" style of using DataSet and Table module business-logic and I want to use only standard "Microsoft-recommended" solutions. So I'm doing the following: to handle some use case (for example, to show joined data in a grid from several database tables) I'm creating a DataSet with the tables I want to join. Then I'm creating the big table to be shown on presentation layer. To insert the data into this "supertable" I'm using relations which I'm designing in the DataSet designer and xpression property of columns as ...Show All
Software Development for Windows Vista June CTP Orcas Tools Installation problem
I've got the June CTP WinFX Runtime, the June CTP SDK. But the June CTP Orcas won't install. I get the following error messagebox. Setup has detected that a prerequisite is missing. To use Microsoft Visual Studio Code Name "Orcas" Community Technology Preview - Development Tools for WinFX you must have the WinFX runtime installed. Please install the WinFX runtime and restart setup. Does anyone know how to resolve this I know that WinFX is correctly installed, because I've run many samples, and Expression and XamlPad run fine too. Is there any way to convince the Orcas installer into believing that WinFX is installed Hi Nish, Finally succeeded to download the right file and insta ...Show All
SQL Server Scheduling Maintenance Jobs
Hi, I have setup some maintenance jobs in SQL 2005 but when I try to schedule them I and then "save" the changes I get an error in a popup dialog saying Caption "Microsoft SQL server management studio" Error "Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)" I have no idea what is causing this but it is preventing me from schduling my maintanance tasks. I would really appriciate any assistance with this. Many thanks Derek Hi Derek, The link http://support.microsoft.com/kb/922651 provides a workaround for the problem. Thanks, Kuntal ...Show All
Commerce Server DataWareHouse DTS package fails
Hello All I've created a new class in the DW and am trying to import the data via the DW Import Wizard. I have done the mappings in the TransDimension/Category tabl + a view. When I run the package it fails. Is there any log where I can see what step or what is going wrong wih the import. The event viewer just sais "Transaction DTS task :Execution failed". Regards Adam Hey Adam, What exactly are you extending - what objects If you are creating a new class - did you run the VB Script that was associated with the class creation task (you don't mention this in your previous post) One way to get more information from the DTS Tasks is to execute the DW/A debug server. Here are the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Applying a texture transformation
Hi - simple problem here - I've got a cube, to which I apply a texture made from the backbuffer - so far so fairly straightforward. However I want to only use a part of the Texture2D I've created - how do I apply a texture transformation to a Texture2D before mapping it over my cube I assume this is the way to change UV coords. Sorry if this is a chump level question - I'm not quite ready yet for anything that involves writing a custom shader. Cheers, Jubber Wait I just had a flashback of how I was never able to get a texture applied using a BasicEffect even though some things I read suggested it should work. I guess disregard my previous statement, sorry. Here's a document that may help though: ...Show All
Visual Studio Express Editions join 2 projects
hello could anyone tell me if its possible to join two small projects together to make one project.. and if so, how would I go about it thanks Of course it's possible. Since these are user written projects there are no presciptions for how to merge your project, since you are the worlds expert on it. It should be easy IF you made well defined classes and had well defined interfaces to those classes. I don't know how many forms you have or how complex they are. All of these questions are factored into a merge Here's how to begin at least: Notice that a form actuall has three files. The Form (form1.vb), a designerfile form1designer.vb and a resource file form1resx.vb. When you copy a file from an old p ...Show All
