DRoden's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. PIX Shader debugging - no HLSL in debug view
So I followed the SDK docs for how to get PIX to do shader debugging. All I see is the shader Disassembly - no .fx file is visible even thugh this originally came from a .fx file. The docs say "If a shader contains debug information, there will be one or more additional source tabs.". What do I have to do to make sure a shader 'contains debug information'. - Use SWVP - Add D3DXSHADER_FORCE_VS_SOFTWARE_NOOPT At least that's what BasicHLSL does, and I can step through the HLSL source of the vertex shader in PIX. Great feature!!! Now if only they use a better cursor in the Render window (the hand is very imprecise for debugging pixels)... ...Show All
Visual FoxPro command window always on top
Hi, I am trying to figure this out for over an hour without much luck. When I open a table and browse it, the command window always stays in front. How can I get it to go to the back so it won't be in the way Thanks, Mark ...Show All
Smart Device Development DCOM source code?
Hi, we are trying to find a way to access a bag printing device in our plant that uses the OPC standard. We want to change the data that is being printed. The OPC Standard was created (with the help of Microsoft) to use DCOM to allow Windows applications to communicate with such devices. However, due to various project constraints, we are forced to use an AS/400 application for the communication to the printer instead. Therefore, it has been suggested to me that I try to determine the data string (preamble, data, and postamble) that is actually being sent in the "Windows application to printing device" scenario so that we can replicate this in AS/400 code. We would then send the data string via the AS/400 application to the I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shooting help
Can anyone post a website, code, or a project they have on making something shoot. I have tried, and it doesn't draw the bullet right, and some other ppl's code meses up I have shooting in my game Missile CommandeEr , but the code is probably too sloppy to follow. If you're looking for a quick and simple (but good) illustration of bullet firing, check out Jim Perry's bullet manager . ...Show All
SQL Server variables as column names?
I am using SQL Server 2005 and I'm creating a stored procedure that, in turn, creates some tables. The column namen in those tables will change depending on the input the user gives the stored procedure. I am having trouble getting the column names to be dynamic, however. Is this even possible If so, any tips Here is a small example (that doesn't work) of what I'm trying to do: DECLARE @ColName varchar(25) SET @ColName = 'Column1' select foo as @ColName from bar Thanks, Cam. I'm not sure I completely understand, however. I understand dynamic SQL, although I'm not sure how I could use it with a column name. Could you provide a real simple example based on the simple bit of SQL I provided ...Show All
Visual Studio Express Editions solution with several projects
I made a solution containing different projects. I'd like to write a .vb file containing some functions which should be usable by each project in the solution. How can I do Writing Imports.... lets me import only a file belonging to that particular project, not a general file belonging to the solution... Any ideas Thank you You can do this in VBExpress 2005 - Create your "main" application, and then go to file -> add -> new project and add as many class libraries as you want... Best regards, Johan Stenberg ...Show All
Windows Forms Data entry box and site navigation
hello, I'm wondering if it is possible to have a dialog box that allows data entry when you open the document; the data entered would populate parts of the form... also, would like to have navigation for the form but I understand this doesn't work in Word forms (Word 2003). Is there any way around this (such as having this available with the above mentioned entry dialog), short of having to do a digital software certificate I Just guess your requirement and I think maybe working with office core using InterOP can help you. follow an easy example for you: http://www.codeproject.com/useritems/C__Word_2003_Mailmerg.asp ...Show All
Visual Studio Express Editions XML Question
Simple XML file < GPS > < League1 > < TEAM > < NAME > Team1 </ NAME > </ TEAM > < TEAM > < NAME > Team2 </ NAME > </ TEAM > </ League1 > < League2 > < TEAM > < NAME > Team3 </ NAME > </ TEAM > < TEAM > < NAME > Team4 </ NAME > </ TEAM > </ League2 > </ GPS > User clicks on a button and the following code is executed. Dim sr As New System.IO.StreamReader( "text.xml" ) Dim xr As New System.Xml.XmlTextReader(sr) Dim TeamDoc As New System.Xml.XmlDocument TeamDoc.Load(xr) Label1.Text = TeamDoc.InnerText ...Show All
SQL Server Full-text catalog '' has been lost
Hi there, A while back I moved my sharepoint services content database from one Windows 2003 server to another. (SQL server 2000.) the move went fine, except the full-text catalog was lost as part of the move. As part of my investigation i figured I'd remove the catalog entry from sysfulltextcatalogs. Now, whenever I try and create a new catalog i get the error message "full text catalog '' has been lost. use sp_fulltext_catalog to rebuild and repopulate this fulltext catalog." I've tried sp_fulltext_catalog, but that won't run as there's no real catalog name; in any case it complains that the database isn't enabled for full text catalog. - sp_fulltext_catalog '','drop' Full-Text Search is not enabled for the cu ...Show All
Visual Basic Reoppen form
hi all is there any command which doesnot let the form to open that is already opened / loaded. e.g. ( I Openned FORM1 form menu, now if I click on menu again, the FORM1 should not be openned again, as it is already openned.) thankyou are you working with an MDI form if so, you can create a method in your parent MDI class like: private void ShowForm( Type formType) { foreach ( Form child in this .MdiChildren) { //if (formType.Name == child.Name) if (formType.IsInstanceOfType(child)) { child.Focus(); return ; } } Form frm = ( Form ) Activator .CreateInstance(formType); frm.MdiParent = this ; frm.Show(); } below is an example of how you can open ...Show All
Software Development for Windows Vista ConditionedActivityGroup Designer
Is it possible to make use of the ConditionedActivityGroup designer I am creating a custom composite activity that is going to act somewhat like the CAG. I assume the designer is an internal sealed class. Is this the case Actually, all I had to do was use the System.Workflow.ComponentModel.Design.ActivityPreviewDesigner as my designer. This has the design functionality that I wanted. Thanks for pointing me in the right direction. ...Show All
Visual Basic code snippet editor
I get an unhandled exception error the minute I fire up the code snippet editor and cannot continue from that point on. Is this a reported problem I'm running on XP Professional with service pack 2 and using Visual Studio 2005 Professional. Thanks for the suggestion. I downloaded the source, built it and it runs fine. The only thing now is that there is no menu at the top showing file, edit. etc. as shown in some of the tutorials on it's usage. ...Show All
Windows Forms Cannot get UserDeletingRow event to fire on a DataGridView
Hi, I have a DataGridView, populated with an array of objects, but I cannot get the UserDeletingRow method to fire when deleting a row. The handlers are added using the IDE, and the code within is a simple Messagebox.Show() Does anyone have any hints as to fixing this, I am tearing my hair out with it. I am using VS2005 Pro on XP Pro. Thanks David ...Show All
Visual Basic Why VB compiler is allways running !?
I’m sorry, i just don’t want to be rude. I have a few simple questions !!! 1o Microsoft want to KILL VB ! 2o if not, so why the stupid compiler start compiling a every line i wrote. 3a Why this experiencing is not lived by the C# compiler !! perhaps the C# team made very good job !!! 4o The performace patched release by you guys, work but the problem is not solved, the IDE continues flinking, the compiler is allways running, the bigger projects continues to be slow to work on them..... Sorry, but i’m working with VB.NET for a quite long time ( since VB.NET 2002 and 8 hours day) , and i’m doing a very large application since them and for the last 6 to 8 months i was experiencing something that i never imagine, slow pr ...Show All
Visual Studio Team System Rename directory gets warning?
I get a dialog popup saying. "Some of the files you are adding to your project are located outside of the project's binding root. These files cannot be source controlled unless they are moved. If the project's hierarchy on disk mimics the hierarchy in the source control database, you might be able to control these files by changing the project's bindings." Two conditions to note, I had built the code before so got a lot of warnings: <Directory> "Cannot be deleted because it is not empty" I also had the solution loaded when I did it, which probably wasn't a good idea. Is this expected, is there a way to avoid it Hi: From what I see in your ...Show All
