Marco Kotrotsos's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Animation in directX
I have a bird (drawn in 3dmax, without animation). Wings are separate object. I want to get the wing (in directx) as a vector of points to find the leftmost (rightmost), to use it as a rotation axis for other points. How to do it I'd like to add a 3Ds max model in a C# pictureBox ( just view it) then apply script from MaxScript and view the .max file again in the form is it possible ...Show All
Windows Forms troubleshooting AppUpdater
Has anyone had problems with reliability of the AppUpdater Any ideas on how to troubleshoot it I had it working on a win 2003 server yesterday, but the app does not update anymore. I have the following setup: client computer: ..prog files\my app\ -AppStart.config and AppStart.exe. The config points to my executable in a subdirectory called 1.0.0.0 Web server inetpub\wwwroot\ ...Show All
Visual C# Changing a control's selected color
hi there, how does one change the SELECTED color of a control e.g. button which is in a Toolstrip i.e. when the cursor hover's over or clicks on it There are many ways to do that. One of them is to create your own custom control that inherts from the control you want to modify. Then override the OnPaint method (or any other paint method that is for your desire) and "Paint" your way to your control. At the beginning this might seem very troublesome but once you're in it will become pretty easy. Here is a nice example on developing your own controls with custom graphics http://www.codeproject.com/cs/miscctrl/Scrolling ...Show All
Visual Studio Express Editions Registration Key
I have downloaded and installed Visual Basic 2005 Express Edition, but when I am lloking for the registration key, it is empty, were do I get the key from, Then you are registered and do not need to do anything more. If you go to Help->Register product... it will say that it is already registered. If it does not you can choose to get a new registration code, copy the code from the webpage that you get to and put it into the field for registration code. Then choose complete registration. ...Show All
Windows Forms setup version and app version should equal
i wrote an app1 that auto increments some defines in a header file. #define vFILEVERSION 1,0,165,0 #define vPRODUCTVERSION 1,0,165,0 #define vFileVersion "1.0.165.0\0" #define vProductVersion "1.0.165.0\0" These constants are in my resource file for app2. Everytime i rebuild my app the version number changes. I have a setup project for app2. I would like to include these defines in the setup project, so that everytime app2 gets rebuilt the setup project uses app2's version info as its version info, and is auto incremented too. Could i accomplish this the same way as app2 is doing it include a header in th ...Show All
SQL Server SQL 2005 April CTP Setup WMI Error
Hello, I am trying to install SQL 2005 April CTP on a laptop running XP SP2. (Using the MSDN DVD Pack - VSTS etc). The pre-requisites get installed but then i get this error message below. The link it points to just says that there is no info available on that topic. Can someone help cheers benjy The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine <MACHINENAME Error:2147944122 (0x800706ba). For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft%20SQL% 20Server&ProdVer=9.00.1116&EvtSrc=setup.rll&EvtID=50038 ...Show All
Visual Studio Team System Team Build: Change history
I have customised my team build so that test builds get deployed automatically and an item is added to a sharepoint list in the project portal. I'd like to include some text with the list to tell users what is in the build - much like I get from the build logs, eg: Work items, change sets, checkin comments etc. Is this possible You can use the web UI of Team Build for this. Check the page - http:// MyServer:8080 /Build/Build.aspx TeamProject= MyProject &BuildNumber= MyBuildnumber This page is very similar to the VS client UI. You can include link to this page in your portal. Thanks, Gautam ...Show All
.NET Development Terminating Processes from a Windows Service Cleanly (c#).
Hi, Recently, I have created a Windows Service in C#; that calls a process (writen previously in c). It starts fine, however im unable to terminate the process cleanly, when the Onstop() is called. Process.Kill() works, but prevents my process from shutting down cleanly (loses data - that I need). Ideally I need to use the CloseMainWindow() method... but this does not seem to work within a service (as a service does not run an interactive GUI... and does not take advantage of the WM_CLOSE message)... Is there a way to send the process a signal; to enable a clean termination Any ideas Best Regards Rober ...Show All
Windows Forms in arrays...
Hi, I'm trying to read a text file, somewhat like this: #15-07-2001 sdkfhksdfhsdc cskjmcdfcsd #13-12-1999 asljkdaksjxd dcjdvf etc... I want to save the dates... so I put up something like this: string line; string date; StreamReader sr = new StreamReader(...); while((line=sr.ReadLine()) != null) { if(line.StartsWith("#")) { line = line.Remove(0,1); ...Show All
Visual Studio data set name is missing in the data region 'DataSetName'
hey guys. I got this error when working with reportviewer in local mode. Using a connection string and Dataset which is new I created another viewer with a .rdlc. Everything was working fine. I check in to source safe, close up, and re-load visual studio and now I get this weird message coming up saying: \ \\\\ \\\\ &n ...Show All
SQL Server SQLExpress Intermittent Login Errors
This is very strange... After installing the Advanced Services package, I started getting errors connecting to a database (.MDF) that I've been using for weeks/months. The error was something like "login failed for machine\user". After twiddling with the connection string and starting and stopping the SQLEXPRESS service it started working again. Did some more work, everything was fine, shutdown and went to bed. This morning, I am unable to connect to the database - nor any other database, it seems. This time I'm getting "cannot find the physical file" type errors. Any leads on solving this would be much app ...Show All
Smart Device Development configure the desktop machine for Windows Mobile 5.0 development
Hi, While installing Windows Mobile 5.0 Pocket PC SDK on my desktop PC, I'm getting following error, anyone know the solutions ---------------------------------------------------------------------------- Software development tools required to use this SDK for application development are not installed on this workstation. Before trying to run the Setup Wizard again, verify that the required software is installed. To determine which software development tools are required, see the Microsoft Web site at http://go.microsoft.com/fwlink/ linkid=21615&clcid=0x409,which you can open in an external browser window by clicking the Open Browser but ...Show All
SQL Server Reg Database design
I am wondering whether this is the right forum, if not please provide me the details of the correct forum where I can post this question. I am trying to design a data base for a document request tracking system. The users request documents as hard copies in various sizes, color/b&W., soft copies in various formats that may be checked out with a chekin date. Now how do I create the tables for this My current design is to have a table for users, documents, request. The request table will reference the userid in user table and the document id in document table. This database will be used for a web application that processes 10 documen ...Show All
Visual Studio Team System WebRecorder / Fiddlertool and its limitations - Best way for recording IE's 'non-navigational' events
What is the current recommended way for recording requests into webtests when IE does not recognize as 'navigation' I am assuming that the WebRecorder relies on IE's NavigateComplete events (or something similar) and records those requests into the webtests (probably the same reason it doesn't record redirects, but not relevant here). However, as people know, there are limitations to this approach. IE has a limited notion of navigation - e.g. AJAX (and if I had to give a example, it would be the *ahem* Google Maps), and one suggested workaround was to use the Fiddlertool(proxy) to record things at the HTTP level so that it captures ...Show All
SQL Server Unable to uninstall SQL Server Express 2005 Tools
I get an error message when trying to uninstall the SQL Server Express 2005 Tools. It reports, The setup has encountered an unexpected exception in datastore. The action is Write_CommitFlag. The error is: Unable to write property into cache: flagCommit. XmlRW Error: Failure loading XmlRW.dll CheckAllProcedures() It is currently preventing me from installing the full Sept CPT because it needs to have the express components removed. Any Ideas, this is really frustrating. Hi Rich, Try by command line Start /wait D:\SQLServer2005_June\setup.exe /qb REMOVE=ALL Start /wait msiexec /qb /X D:\SQLServer2005_Ju ...Show All
