trillian74's Q&A profile
Visual C++ installation
i'm trying to install VC++ express on my computer, without internet. I read the guid for this, but when I exracted all the .img files, and started the setup, & an error would occur. It would say insert the EMU disc (whatever that is), and wanted a certain file. Please Help! Normally we are using ISO images, which is virtually mounted to some drive in your machine. See the link below to know more about it and get the list of tools. http://en.wikipedia.org/wiki/ISO_image ...Show All
Visual Studio Express Editions stdafx.h problems - a linking issue
I'm not very familiar with how to use "stdafx.h" so I imagine this is the problem... I have my main entry point: // Tester.cpp : Defines the entry point for the console application. #include "stdafx.h" #include "Other.h" int _tmain(int argc, _TCHAR* argv[]) { printHelloWorld(); return 0; } ...and my header file: //Other.h #pragma once const char* str = "Hello World.\n"; void printHelloWorld() { printf_s(str); } ...and this works as expected. But if I replace my header file with the two files Other.h and Other.cpp below: //Other.h #pragma once const char* str = "Hello World.\n"; void printHelloWorld(); //Other.cpp #include "stdafx.h" #in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reading the buttons of Joystick Saitek x52
Hi all, Did anybody come across a C# sample that relates to Saitek X52 I have found some generic Joystick samples which help me read the buttons EXCEPT the Mode button. The GetButtons() function returns the codes of the pressed buttons, but I cannot get the status of the Mode button out. I just spoke to Saitek support - No .NET samples whatsoever. Any tips will be appreciated. Best Moni. Does the mode button show up on the DirectInput setup wizard in the control panel You can test all the buttons in there. If it does NOT then this means the driver does not expose it and no DirectInput application could read it, managed or native. ...Show All
SQL Server Management Studio - creating scripts without "use database"
Hi. In Management Studio, Object Explorer, Databases, ex. database pubs I'm choosing "Modify" (or "Script stored procedured as...") on Stored Procedures and I'm getting this: USE [pubs] GO /****** Object: StoredProcedure [dbo].[byroyalty] Script Date: 11/14/2006 12:56:09 ******/ Where can I turn adding "use database" and "script comment" off In QA2000 there was option for this but I cannot find it in SSMS. Kamil ...Show All
Visual Studio Team System Steps to install SP1
I cannot find the answers on any of the SP1-sites/blogs. I have a number of PC's running VS2005 against TFS. When i update TFS to TFS SP1, must i also update all the client machines to VS2005 SP1 Or can i just update TFS and not (yet) update all the clients On the TFS-server, must i also install VS2005 SP1 I know that i must install the 'pre-SP1-patch' and the TFS-SP1, but since there is VS2005 installed on the server (not for C# or VB, etc, but Team Explorer) must i install the VS2005-SP1 for that part Thank you, Dennis Ok, thnx for the info. We will update to VS2005 SP1 on the clients soon, but i can't update them all at once ;-) At least they don't stop working... ...Show All
SQL Server query for recordset data into sql table
Hi, i have a recordset on an asp page and put into session now i want to move this recordset data from session to sql server table.how can i query this.Pls suggest me... any suggestion will be appriciable... Thanks Hi, depending on your version of ASP the work to be done can differ, but here is the ASP.NET 2.0 approach, if you have the data in the session: -Get the data from the session -cast it to a usable data object (like datatable) -Use a sqlcommand or datadapter to update the data on the database (depending on your implemented database interface, DML Command Access or SP access this can differ) HTH; Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development cannot install 'Security Update for .NET Framework v1.1 sp1 (KB886903)'
Hello, Just got a new computer running Windows XP Pro. After running windows updates, I've downloaded the Security Update Microsoft .NET Framework, v1.1 sp1, but every time I try to install it fails. http://support.microsoft.com/kb/824643/ I've searched and tried to solve this issue, but nothing has seemed to work: unregister/reregister Windows Installer, manually remove/reinstall NET framework 1.1. I have not been successful at 'repairing' the framework using the cmp, because I cannot locate anything using cmp. Help. All advice is greatly appreciated. And thanks! The sticky is here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=880553&SiteID=1 ...Show All
Visual FoxPro The size of a formular
Please tell me, how can I know everytime, the size (widht and height) of the formular (Sizable) Thank you. In Version 9.0 you can use the ANCHOR property of the Image control. If you are using earlier version of FoxPro, then you will have to add code to the Form's RESIZE() event to ensure that the image stays centered. ...Show All
.NET Development how to send SMS to mobile from pc via webservice
I need to send userid to pocketpc client from server through webservice.Since am the newbie,i do not know, to create webservice for sending SMS.Any sample code snippet for this.I heard about some webservice provider,is there any free webservice provider.please sent me thanks Im also in need to find a way to do the same!Pls anyone help to acheive this...to send sms through workflows.My scenario is like,after a particular task is completed(in banks)..the customer must get the sms notification of that.. Waiting 4 ur valuable inputs... Thanks in advance Sunath ...Show All
Smart Device Development can i make a today-plugin with vb.netcf?
can i make a today-plugin with vb.netcf or only in c#.netcf has someone a simple sample in vb.netcf. thx mfg. You can only make today plug in with C++, at least partially. For managed part language does not really matter. This sample has managed part in C#, but you should be able to convert it to VB using any online converter and/or manually. http://www.microsoft.com/downloads/details.aspx familyid=5a37056b-a2b7-4968-89cb-5f7c3da1edaa&displaylang=en Here's VB/C# syntax description, translation is actually very mechanical: http://www.harding.edu/USER/fmccown/WWW/vbnet_csharp_comparison.html ...Show All
Visual Studio Team System Schema compare not working between local db and project
I am able to compare my database project with anything other than my local db (the db created by a "build"). When I attempt to compare with the local db, no differences are found, even if I have modified the local db. To reproduce: 1) Import data from DB #1 into Database Project. 2) Build database project. This will create Database #2 locally. 3) For Database #2, modify a table (add a column to it). 4) Run Schema compare and compare Database #2 with the database project. 5) It shows no differences. 6) Now do steps 3 and 4 but use Database #1. 7) It will show the differences. What am I doing wrong All of this steps from the fact that I do not want to hand edit scripts to modify tables. I want to use the GUI. Therefore I need to r ...Show All
Windows Live Developer Forums TileSourceSpecification not working for me in 3D
Our tile overlay app works fine in 2d but fails to display tiles in 3D - I have tried everything and simplified the test case down to the same code as what is in the interactive SDK...the only difference is we are using an ASHX (custom http handler) for the TileSource instead of a static PNG...anyone out there seen this or have any ideas why 3d is not working in V4 --Brian One commonly encountered issue is the use of GetTilePath, this is not supported in 3D. The other commonly encountered issue is getting the bounding box backwards. 2D appears to allow this, 3D does not. If you could post a code sample it would help to diagnose. ...Show All
SQL Server Scheduled SQL Server Agent SSIS Package Job Problem
HELP! I have been banging my head against a brick wall on this one all this morning AAAAAAGGGHHH! 1. I have an SSIS package that runs a simple SQL script and then updates a few tables by downloading some XML of the web. It runs fine when I kick it off manually under SSMS. 2. I created a SQL Server Agent job to run it every day. This always fails. The error information in the log is useless ("Executed as user: domain\user. The package execution failed. The step failed." - I had already figured that out!). It fails almost straight away, and when I enable logging for the SSIS package, no info is ever logged (text file, windows event log, whatever). 3. Out of desperation I have changed Agent to run under the same domain user ...Show All
Visual C++ m_pModuleState undefined
Hello, I have the following line of code defined in my stdafx.h and it worked fine in VS 2003 but in switching to VS 2005 m_pModuleState now throws an error and seems to be undefined. #define METHOD_PROLOGUE_ATL AFX_MANAGE_STATE(m_pModuleState); Can anyone help Thanks in advance! It is an unmanaged c++ project. m_pModuleState should be an AFX_MODULE_STATE*. I replaced m_pModuleState with AfxGetStaticModuleState() and it's compiling. I just don't understand what happened to m_pModuleState. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XACT enumerations
Several feature request for the XACT API: - Add enumerated values for the possible variable names of the cue instance (GetVariable, SetVariable). Right now you have to pass a string and a float in. I think it would be nice if we could pass a well known enumerated value in and a float in. - Add the ability to get all of the cues in a sound bank (enumerate or array) - I haven't been able to find a way to change the pitch, volume, etc. of a cue. Is this possible If not can this functionality be exposed (Edit: I saw this is available in the XACT editor, but I'm hoping for a programatic way of doing this) Thanks! -Jeff Add your suggestion to microsoft connect There is ...Show All
