Cesar Francisco's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. SkyBox Effect using a BasicEffect
HI Guys, I am currently creating a skybox for my game and I need help with the BasicEffect settings . Right now my skybox looks like a cube with a texture on each internal face. I would like the inside of the cube to appear like it is one continual texture, not showing the corners and edges. I will be creating a skybox with a custom effect later, but right now I would like to use a basiceffect. Can you tell me what basiceffect settings I should configure to create this effect. thanks in advance. Alan If I understand your question, then in your game code, when you update the camera position, you should update the position of the skybox as well, for example, If your camera moved 5 pixels in t ...Show All
Visual Studio Express Editions Making a Password form
Hello everyone, My question is regarding how I would make it where someone has to enter the right name and password inorder to bring up the next form, like they would have their own account as well and it would bring the form up when the correct info is entered. I am using VB Expresws 2005 , Thanks! This would just be a matter of creating a form... we'll call it PasswordForm that contains a pair of TextBoxes and a button... the whole thing would be called/displayed from a parent form or class that would inspect the specified credentials and if they are ok, continue executing, otherwise abort without continuing. Another option might be to have the PasswordForm itself check the username and password itsel ...Show All
Visual Studio August 2006 V3 RTM ???
Hi there, I think all are waiting Visual Studio 2005 SDK - August 2006 V3 RTM. But... already September begins... When are you (I mean VsSDK team) going to release August 2006 V3 RTM Has current iteration been completed already Thanks Before every RTW vX release, the team executes a "release sprint" to take care of the logistics of releasing an official RTW. (We did the same thing before the v1 and v2 releases.) So the v3 RTW is named 2006.09 and will be coming out in the next couple of weeks. ...Show All
Visual Studio Express Editions How do you propagate a SQL Sever schema change to an existing VB 2005 project
I am working with VB 2005 Express and SQL Server Express. I have an app up and working well based on the current SQL database schema. How can I change the database schema (add a table, change the data type on a column, etc.) and propagate this change into an existing VB 2005 application. I tried this once by trying to reconfigure the database via the Wizard and lost all of the previous customization of the database (queries, fills, etc.) in the VB application. (I resorted to a backup copy.) It will be hard to give a specific solution without knowing the specific schema change, but here goes... In general, do the things needed to change the database from the Server Explorer first, then alter the .xsd file with your TableAdapters t ...Show All
Windows Forms how to create an exe in the programs folder
Ok I can not find this answer or one that works on how to create a deployment (setup) that will install an application exe in to the programs folder of the computer being installed. I have tried to do the setup and deployment progject( using the wizard) but I can not find details on making it work Try these: http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/ http://www.simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/ http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All
.NET Development Detecting implemented locales
Hey all, Is there a way to dynamically detect which locales have been implemented in my application I want to present a list where the user can choose which UI culture they want the app to choose at next startup. I understand that as long as I have a default culture set up in the main assembly, then the user can choose any culture they want and it will be considered valid -- it just won't get them resources from anything other than the default culture. I just want to help narrow down the list to the cultures that will actually provide something I've implemented. The three ideas I have currently are: - Modify the registry whenever a new locale is installed for my app, and just present the values that are registered to the user. ...Show All
Visual Studio Team System Can't download
I can't seem to download the file from this location: http://www.microsoft.com/downloads/details.aspx FamilyId=5677DDC4-5035-401F-95C3-CC6F46F6D8F7&displaylang=en&hash=9T3JM2%2bFHKDyVXbaT88d7Cz33EtkhxA4t6WyXP3cBx4pq3yOgl8PG6C3bjFR4TmGRCFprOV38A9cYKKSvO4r8w%3d%3d I keep getting "100%" done, but with 0 bytes downloaded. Can someone please fix the link Our offices are interested in this product. SvenC wrote: Try to clean your temporary internet file cache. Maybe the download failed once and now you are served from your local cache. -- SvenC No that doesn't work. All my co-workers have the same issue. Does the download work for anyone else ...Show All
SQL Server Replicating structure only not data
I have a SQL 2005 database that I am using with a website. This basic website will be sold to other companies and ran on their servers with different URLs. Since, All of these databases will store different data, I'm not sure how I can make updates to original database and replicate those structure changes to the other DBs without changing the data also. Is there a way to automate the replication of structural DB changes without replicating the data along with it Thanks, Kirk Thanks Gary, I am not new to SQL 2005 but I have never done any replication. Could you lead me to a good reference that would explain how to do some of the things that you wrote about Any help is greatly appreciated. Kir ...Show All
.NET Development How message is transferred from Imessagesink to IClientChannelSink?
Hi, IMessageSink is the first sink to be called from the client, How the message is transferred to ICLientChannelSink. Regards ...Show All
Visual Studio Tools for Office Can you get an excel range object from the clipboard?
Is there away to get data off the clipboard when it is pasted on from excel in a range object Hi Brady Thank you for the additional information :-) If it's a Windows form app, it's not VSTO. When you have general questions about using Excel (or another Office application), it's best to try asking in one of the newsgroups listed in Mike Hernandez's "Please read first" post at the top of this forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174275&SiteID=1 In this case, the Excel programming forum would be best. But no, I don't believe it's possible to retrieve a Range object from the Clipboard, at least, not directly. The reason I say "not directly" is that, when ...Show All
.NET Development Reading a page which returns Error status 404 or 505
We have a web site where whenever a resource is not found , the server returns a cutomized error page displaying the error message along with status as 400 or 500 depending on type of error. The error page we are generating is cutomized and we display some common troubleshooting message in that page to help the user.We have a simple tool which takes a url and validates the page for missing links/images and some common strings.For this, the tool uses the System.Net.WebRequest() and System.Net.WebResponse() to validate the pages.But whenever we give the error page for validation www.foo.com/error.aspx the webResponse throws an exception, which is expected. So is there some setting in .net through which i can read pages which return sta ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Custom ModelImporter and textures
Hi. I've managed to create a custom importer that imports some meshes. But I don't understand how to assign textures to them(from within the importer). I've created a BasicMaterialContent, but it's Texture property wants an ExternalReference<TextureContent> value which requires an absolute path to the texture file. Do anyone know how this is done If your textures are being referenced from a mesh, you don't need to add them to the C# project. Just add the mesh to C# Express, and then the mesh points to the textures, so they will get picked up automatically. If you have a path to the file you are importing, and know the relative path from that to the texture you want to refe ...Show All
Visual Studio Team System Work Item Tracking Transistions: Automatic Field Fills
Can someone more enlightened than i explain if some / all of these fields are being filled by the WIT system automatically (system.id and system.history are pretty obvious, but what about changed date, created by, etc -- i don't see a place where these are copied from currentUser or clock like System.Activated.* or System.Closed.*) System.ID System.History System.ChangedDate System.ChangedBy System.CreatedBy System.CreatedDate If they are being filled automatically, are there any others As i'm looking for fields to fill automatically during a transition, i'm not sure whether i need to modify the changedDate / changedBy, or if this will be done for me automatically. I looked through the documentation, but can't seem to find anything about ...Show All
Visual C++ see reference to class template instantiation 'std::_Locbase<_Dummy>' being compiled
Has anyone seen this error I'm moving my VC++ project to build on Visual Studio 2005 standard edition. The old source code is #include <strstrea.h> // this causes and error "cannot open file "strstrea.h" ostrstream os; Then I got an error told me to use #include <strstream> instead. After I change from using strstrea.h to strstream, a lot of errors messages happened. demo2.cpp c:\program files\microsoft visual studio 8\vc\include\xlocinfo(125) : error C3861: 'localeconv': identifier not found c:\program files\microsoft visual studio 8\vc\include\xlocale(26) : error C2065: 'LC_COLLATE' : undeclared identifier c:\program files\microsoft visual studio 8\vc\include\xlocale(63) ...Show All
Visual Studio VS 2005 exits without error after choosing a Data Source Instance
I'm trying to set up a simple ReportView page using Local Processing Mode, VS 2005, C#, Web Application Project, and SQL server 2000. But when I try to choose the Data Source Instance -- VS 2005 complete exits without error. Here are the steps: - In the .aspx web form design view, open the ReportViewer smartview dialog - Click "Choose Data Sources" - On the Choose Data Sources dialog, the Report Data Source is already filled in appropriately and the Data Source Instance column displays "(none)". In the Data Source Instance field I navigate to me table adapter and then VS 2005 simply exits/quits completely. What am I doing wrong Should I be doing this programmatically instead of using the design tools. ...Show All
