pattyg's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. .X file - Retrieve vertex and normal information
Hello, I am wondering if there is a way to retrieve the vertex information from a .X file while you load the file and create a mesh object like your going to display it Basically I am creating terrain in 3D Studio Max with no mats or textures, as all I would like is the vertice information. I think there was some type of mesh.GetVertice in C++ (dont remember the mdx version) But I am using C# & MDX 1.1 Is there some way to retrieve this information from the BaseMesh class Reason being is I would like to gather the data so I can then create an array of [X, Z] and an array of [ Y ] for the height from the .X file, as I dont want to just load up and display the terrain as a mesh object. I believe if I was to load and ...Show All
Visual FoxPro vfp 6 reports
I am using report format environment preview. When through terminal services, people are able to click the print icon, but they are not able to print out their report. Do I need to specify local printer I am newer to using FoxPro It is enought to have a default printer selected from Start>Printer&faxes and the printer to work fine. You may choose,change and check the default printer from vfp with getprinter() function. ...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 Thanks for your help. I began playing around with the Import/Export Wizard approach. Seems pretty straight forward. cool. I have another question though (sorry). The source database has a number of link tables that link only the autogenerated IDs on records on both the outer tables. How can I keep this relationship in the target database Thanks in advance ...Show All
Smart Device Development My second Combox does not like me. :)
string test = "30"; CoBoxProduct.Items.Clear(); ArrayList Products = new ArrayList(); Products = pdb.SelectProductIDandProductNamebyProductcategory(test); CoBoxProduct.SelectedValueChanged +=new EventHandler(CoBoxProduct_SelectedValueChanged); CoBoxProduct.DataSource = Products; CoBoxProduct.DisplayMember = "ProductID"; CoBoxProduct.ValueMember = "ProductName"; System.ArgumentException was unhandled Message="Det gick inte att visa nagot felmeddelande eftersom det inte gick att hitta en resurssammansattning for det." (Swedish mening, coukd not find errpr texet StackTrace: pa System.Windows.Forms.ListControl.set_ValueMember() pa Pelle.OrderNew.loadLvCurre ...Show All
SQL Server FK Constraint question
I have two tables GroupUsers and Alias GroupUsers -GroupId -AliasId -UserId Alias -AliasId -UserId When a user joins a Group he selects a default Alias for his group, so I have put a foreign key constraint from the groupusers table to the alias table. Now, if an alias is delete, is there any way through a foreign key constraint to set the value to null because all I've seen is Cascade and No Action A better solution I'm looking for would be a way to run a script that would use the value in the UserId column from the GroupUsers table to select the top alias from the Alias table with a corresponding UserId (if exists) and set it to that. I'm unsure as to if this solution is even possible. SQL Server doesn't ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 360 Controller Image in a help context
Anyone know the legal issues around using an image of the 360 controller in the context of a help screen. IE: What buttons on the controller perform what actions in the game. This is a Windows game so I'm wondering if MS allows for that. I'm sure it'd be perfectly fine as XNA and Xbox 360 are both developed by Microsoft. You'd have to check with someone else if this is going commercial at some point, though, because when money gets into things you're going to want to check everything over for license issues and things like that. ...Show All
Visual C++ Running an .exe file compiled in VC++ 2005 on a different computer
Hello, I've got a question regarding how to run a program compiled using VC++ 2005 on a different computer. Although I have seen the thread by suda5181 and the answer by RonaldLaeremans (http://forums.microsoft.com/msdn/ShowPost.aspx PostID=23371), I can't find the redistribution pack for the current Visual C++. I have found a page with the Redistribution pack for Visual C++ 6.0 (http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvc60/html/redistribvc6.asp) but I don't know if it'll work. With Thanks, Gal Beniamini. There are basically two ways of redistributing VC++ libraries on another computer. 1) D ...Show All
Visual Studio Express Editions Managed Code samples for WMP11
The WMP11 SDK contains a folder in 'WMP 11 SDK\WMFSDK11\samples\managed' which has some C# sample code for a Tag Editor. I have been trying to port the C# code to vb.net 2005 express. Unfortunatly for me I am new to VB.net and don't really know a lot about C#. Does anyone know of a successful port of that code. rctaubert, Have you converted your C# code into VB.NET Actually, I have seen the tool can convert VB but not .NET to C#, also my teacher invented a tool that can convert Java to C# :-) In .NET Framework, the CLR makes the VB.NET and C# language into the same language called MSIL, I don't know whether it is meaningful since you have realized the function you need. Why don't you use the C ...Show All
Visual Studio Express Editions MS Visual Basic 2005 has encountered a problem and has to shut down
This is an error message I get when I try to start my current project. Before that, I had a message saying that VB had not shut properly previously and it needed to recover some files. I'm pretty sure that the project was closed properly before but I sadi yes anyway. Now, whenever I try to open the project, I get the error message that VB has to shut down and it closes. This must be a VB problem as the solution was running fine before. Any idea on a possible fix I'll be really disappointed if I have to start all over again :( Use Search. There was a long discussion of the shutdown message in the VB IDE forum. I've had a similar IDE crash problem. The trouble is that VBE is unsupported and I don't ...Show All
Software Development for Windows Vista How to make an Activity appear like an image?
How can I make an activity appear like an image when I am re-hosting the workflow designer Thanks FassaBortolo, You can try this sample: http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,3d9fa285-76a1-423c-b72e-eee82ed5002f.aspx It contains a visibility control which can show workflow as image. Andy Ho ...Show All
.NET Development Microsoft.JScript.Vsa.VsaEngine
I have a simple function: public static string EvalJScript( string JScript) { return Microsoft.JScript. Eval .JScriptEvaluate(JScript, Microsoft.JScript.Vsa. VsaEngine .CreateEngine()).ToString(); } that is used all over my .NET 1.1 application and am currently porting over to .NET 2.0. What is the working replacement for this code I found the following code on the net: [ PermissionSet ( SecurityAction .LinkDemand, Name = "FullTrust" )] [ PermissionSet ( SecurityAction .Demand, Name= "FullTrust" )] [ PermissionSet ( SecurityAction .InheritanceDemand, Name = "FullTrust" )] public static string EvalJScript( string JScript) { string result = string .Emp ...Show All
Visual Studio Team System Schema Compare --> Write Updates doesn't seem to be working.
Hi, I have a view defined in my DBPro project as: -- View CREATE VIEW [dbo].[vINJECTION_VOLUME] AS SELECT PDEN_ID, CAST ( REPLACE (VOLUME_DATE, '-' , '' ) AS int ) TIME_ID, VOLUME FROM PDEN_VOL_SUMM_OTHER WHERE ACTIVITY_TYPE = 'INJECTION' AND VOLUME_METHOD = 'MEASURED' AND CAST ( REPLACE (VOLUME_DATE, '-' , '' ) AS int ) >= 20050101 I compare this to one of my external databases (DPPro project is the target) and Schema Compare says that the object in the source looks like this: -- View CREATE VIEW [dbo].[vINJECTION_VOLUME] AS SELECT PDEN_ID, CAST ( REPLACE (VOLUME_DATE, '-' , '' ) AS int ) TIME_ID, VOLUME FROM PDEN_VOL_SUMM_OTHER WHERE ACTIVITY_TYPE = 'INJECTION' AND ...Show All
SQL Server Scripting Task and VBA Macros
How do I run Office macros by using Automation from the Scripting Task in SQL Server Integrated Services I’m going to come out and say it; I don’t know what I’m doing. I’m going to peruse another avenue for this project. I think it will be easier for me to build a VB.Net executable that does what I need (I have found lots of information on this), then use an execute process task to run my executable. ...Show All
Architecture Same file on multiple server (Server Balancing)
Hi, I'm looking for a system that will copy a newly created file from a specific folder to a bunch of other server on the same network. I have a web site that host videos/images/sounds and it's cheaper to rent an other server than to buy bandwidth (I find that weird). When I upload a video (wmv) on Server 1 I want something to automaticaly copy this video to the other servers (the starting point will always be server 1). That way I can balance the bandwidth on multiple server http://video1.site.com , http://video2.site.com I tought of using ftp (not full proof if something crash), creating my own (can take a long time to have something bug free), mapping drive (coul'nt find how to do it). I'm looking for some suggestion, web si ...Show All
Visual Studio Team System The virtual server that is referenced here is not in the config database
I am sure almost everyone reading this forum has run into this problem before. What I am not sure about is how to fix it, except by doing a complete TFS/SharePoint reinstall (which is not acceptible). Here's how to reproduce this problem: I'm successfully using TFS and creating team projects. Everything works fine. I then stop the TFS/Report Server/SharePoint Web site in IIS. This is the Web site all my SharePoint sites run from (e.g. http://tfs/sites/MyTeamProject ). I start the Web site again. After this point I can no longer create new team projects. Any attempt results in this error: "The virtual server that is referenced here is not in the config database" Strangely enough, sometimes after that I am able ...Show All
