Thomas Olsson's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Problem loading a Blender exported .X file
I've been searching these forums and on Google looking for a solution to my problem but have yet to find an answer. I have created a simple model in Blender and now I want to load it into XNA. From within Blender I use the DirectX exporter which creates a .X text file (not binary). I then add that to my XNA project (essentially just following the first 3D tutorial in the XNA help). However, upon trying to compile and run the program I get the error message "Could not read the X file. The file is corrupt or invalid. Error code: D3DXFERR_BADFILETYPE". I have tried a number of different combinations with the exporting settings in Blender, but I always get the same result. I found a tutorial on the web that had a .X file for download ...Show All
Visual FoxPro Variable '_REPORTOUTPUT' is not found.
I have had a few users start complaining that they are getting the following error when running reports lately: Variable '_REPORTOUTPUT' is not found. I have verified that they have ReportOutput.App on their machines and the users have the proper access to it. I have also uninstalled and reinstalled the VFP9 SP1 redistributables including the report functions. I have also tried setting the _ReportOutput variable in the code before the reports run. Originally they were able to run reports with no problems and they say they haven't updated anything on their machines. Again, this is only happening to a few clients and not everyone. What am I missing Any help or suggestions anyone could provide would be appreciated. Thanks, Brian ...Show All
SQL Server Dynamic Row Group in a matrix
Hi All ! I want to show row groups as hierarchy levels and need the sub total values belongs to each group and sub group levels. But the most important point is that my top next top group (from child to parent ) is not static its dynamic.i.e for a diffrent senario my under displayed example can have Universe--->Earth as parent for Australia and USA. eg: 1.Australia |-------sydney |-------Melbourne 2.USA |------North US |------North US(1) |------North US(2) |------South US |------South US(1) |------South US(2) Can I get some help from anybody for making a dynamic row groups in the matrix. Waiting for a kind help. Re ...Show All
Visual Studio 2008 (Pre-release) ServiceHost constructor without base address parameter
Hi there, According to the breaking changes between Beta2 and June CTP, base addresses can be added to your config file. Now you could create a new servicehost without specifiying addresses in your code. Pre june ctp : ServiceHost host = new ServiceHost(typeof(someclass), new uri("...")); Post june ctp : ServiceHost host = new ServiceHost(typeof(someclass)) I really do believe I've got RC1 installed currently, the september version if I'm correct. (I'm really getting version confused here ;-). I've checked with Reflector, but I can't find the ctor without the base address parameter. Where did it go June CTP Breaking Changes RC1 Breaking Changes ServiceHost constructors in SDK Thanks in advance ...Show All
SQL Server Issues with removing replication
SQL Server 2005 Standard replicating to an identical server. My issue: When we go into the database to remove a large number of rows, it says we are unable to delete since the database is in replication. Is there a way to pause, or stop replication temporarily I stopped the log reader but it still gave me the same error. The only way I have found around this is to delete the publication and re-create it when I'm ready. Now though, I'm unable to delete the publication. SQL Server Management Studio will freeze if I either try to delete something from the UI or command line. This happens with objects in SQL Server as well as rows and such. It will just freeze and I have to kill the process. Please Help! You ...Show All
.NET Development Why does the String CompareTo method return inconsistent results?
Does this make sense Why "*".CompareTo("A") -1 "*A".CompareTo("A") -1 //ok. compares as less than, both times. "_".CompareTo("A") -1 "_A".CompareTo("A") -1 //ok. same results... "-".CompareTo("A") -1 "-A".CompareTo("A") 1 //what ! inconsistent results... why This is causing problems in our application, because the sorting on the DataGridView is unpredictable, and the users of the application are complaining. I can't think of any reasoning that would explain these CompareTo results. Any ideas I can't think of a reason w ...Show All
Visual Basic FileSystemWatcher want see if file is changed?
Hello, I have a problem with an application I am building that should copy a bgi file (from the program BgInfo ) each time the file changes (when a user has edited the bgi file). But my application doesn't want to copy the file, when it changes. This is the source code: Imports System Imports System.IO Public Class FileCopyAgentMain ''Declare the public variables that can be used in all subs and functions Public errortext As String = Nothing Public PathToFileToWatch As String = "\\5.121.178.206\test\BgInfo\" Public FileToWatch As String = "test.txt" Public PathToCopyTo As String = "C:\BgInfo\" ''When the program starts, it copies th ...Show All
Visual C++ Visual C++ tutorial/e-book?
Can anybody tell me where are tutorials and/or books about the Visual C++ IDE-Compiler I don't want neither C++ nor C++.Net, only about the IDE and the compiler. I searched for it but found about C++ and C++.Net. Thanks. ...Show All
Windows Forms C# Respond to Windows Shutdown
I have a C# app that primeraly displays an icon in the system tray. The main form doesn't close but only get hidden when the close button is pressed. To shut down the app the user must right click the system tray icon and select exit from the popup menu. Everything works fine except when I got to shutdown windows and this app is running it doesn't respond to the system shutdown and remains running forcing windows to stay running. How can I have the app responde to the system shutdown message and close so windows can shut down properly Excellent Patrick! Thanks for the info! It also might be worth mentioning that the FormClosingEvent (along with FormClosingHandler and FormClosing ...Show All
Visual C++ Does CAtlHttpClientT support chunked responses (HTTP/1.1)?
Moderator: Please do not delete this post as a duplicate. Delete the one in the Visual C++ Language forum instead. Thanks for the reply, Jamie. I'm quite sure it's ATL 8.0... whatever comes with Visual Studio 2005. I will break on ReadChunkedBody to see what's happening with that. In the meantime, I'm using the WinHttp library and that seems to work quite well. We have other code that is using CAtlHttpClient though so I'd like to use the same client for everything. Dan ...Show All
Visual Studio The following module... error
Hi, I am developing a solution that contains an exe and 4 dll file. I am using .NET 2005 C# platform. When i add the dlls to GAC, i can't debug the dlls. The error message is; "The following module was built either with optimizations enabled or without debug information" In the forum there are 2 smilar threates but can't solve my problem. Any suggestion Thanks in advance... ...Show All
Visual Studio Team System Is a separate server required for MSF Agile and Project Management tools?
Hi, I have been struggling with this problem for weeks and cannot seem to find an answer to it: I would like to use all the MSF for Agile tools in Visual Studio Team Suite but I don't need a separate server. (I am working alone and want to design iterations, etc. I have only one machine) I installed Team Explorer but it only tries to look for a TFS. I try to open a team project, but it only tries to connect to a TFS. Is there a single-system solution Is this possible Thanks, Mark You can go for Single-Server Deployment on TFS, which means the Team Foundation data and application tiers on the same computer. If you are in single-server deployment environment, your team explorer only ...Show All
Windows Forms Multiview like control in C# Windows Forms App ?
Hi, Is there a Multiview control like in ASP.NET 2.0 (or like TNotebook component in Delphi), that can be used in a C# Windows Forms application I didn't found such a component among the standard components shipped with VS 2005. I need to change the displayed controls within a dialog, upon an event, but without tabs for each view (like in tab control). Can anyone post some info on how can that be achieved in C# Windows Forms App Or if there is any ready to use component even comercial, that would be fine too. Best Regards, Yas There's nothing out of the box, but it's simple enough to create one: You'll find the source code for a PanelManager on my site. In VS2003 you can just add the class to an exist ...Show All
Windows Live Developer Forums WISH LIST FOR THE NEXT RELEASE
Lets start a wish list for the features we want for the next release. My numba one wish is: I want the Altitude of the center of the map in the view object of the .onchangeview Event. Well, 1.id like more performant map-servers. The google-maps map-servers seem to deliver the map-tiles much faster than the VE-map-servers. 2.id like to have the option to choose between 2 ways of zooming: the default behaviour where the an empty tile is displayed until the map-tile of the new zoomfactor is loaded and the google maps style behaviour where the old map tile is scaled up/down until the new tile is loaded, so there are no empty tile-blocks while loading the new graphics. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bad Lines Appear with Sprite.Draw with Redist. but not with SDK
Hello Everyone, I am working on an isometric game pseudo 3D but using Direct3D. Primarily I am using one call to draw everything... (Sprite.Draw). Infact I even use only one sprite to draw all the images to the screen and have written all other collision detection and transforms myself using surface level operations... The only real hardware accelerated feature I am taking advantage of is color and alpha blending. Everything has been going fantastic and I am getting ready for a preview release in a few weeks but then I decided to test it on two more machines to make sure everything worked. Almost everything did... but some images are not being drawn to the screen correctly they will have shaded lines under or around them that were no ...Show All
