Jeff Drummond's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. D3DXComputeTangentFrame() question
I use the D3DXComputeTangentFrame() function on a mesh loaded from a x-file. Then I create another finer mesh by using the first meshs' vertices and additional intermediate vertices. The new vertices use averaged normals and tex coords from the original mesh. The vertex order remains the same (CW). When I now do the D3DXComputeTangentFrame() on the new mesh, I get swapped binormal and tangent vectors in comparison to the original mesh. Does ...Show All
Visual C++ Basic DLL Problem, I hope...
I just got VS Studio 2005 and upon running my first code for my homework I can't get it to compile and was hoping someone may know how to fix this without having to reinstall VS. Thanks in advance! 'HW5.exe': Loaded 'C:\Documents and Settings\charles gray\My Documents\Visual Studio 2005\Projects\HW5\HW5\Debug\HW5.exe', Binary was not built with debug information. 'HW5.exe': Loaded 'C:\WINDOWS\SYSTEM32\NTDLL.DLL', No symbols loaded. 'HW5.exe': L ...Show All
SQL Server SQL Subquery with TOP
Hello I try to get the TOP 3 of a left joined subquery. Problem: Each employee in my DB could have one or more children. I like to get for each employee in my DB the first 3 Children ordered by birthdate. I don't like to use a while loop or a cursor. I just tried with this, but it doesn't function: SELECT Emp.FullName, Chi.Name FROM Employee Emp LEFT JOIN ( SELECT TOP 3 Name FROM Child ORDER BY Birthdate DESC ) Chi ON Chi.Emp_ID = E ...Show All
.NET Development How do I open an existing Excel file and display the information in a form using VB.NET
http://support.microsoft.com/default.aspx scid=kb;en-us;311731 Try this - I don't know exactly what it is you are after, but this is a good start. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to get start with Game Development?
I'm a student, and I want to get into game development. but I don't know from where to get start, some one can give me a straightforward path to enter this realm I'm reading <Beginning Direct3D Game Programming> by Wolfgang F. Engel. and tried to write some simple samples, is this a good start or some one can suggest me some good books beside, I have a <Tricks Of The 3D Gamming Programming Gurus> by Andre LaMothe, I have read ...Show All
Visual Basic MsgBox always return "no" regardless of what the user click
I am using VS2005 and have a messagebox inside of an event that does not work properly. The code is below: If Microsoft.VisualBasic.MsgBox( "Do you want to save your changes" , MsgBoxStyle.YesNo) = MsgBoxResult.No Then Exit Sub End If The problem is regardless of whether the user clicks Yes or No, it always returns No. If I add another MsgBox in the code immediately before the if statement, then the if statement w ...Show All
Windows Forms Find Values in a DataTable
I am trying to create a log-on form for my application. I have two textboxes, one for UserID (txtUserID) and Password (txtPassword). I need the application to search through rows in a datatable and find the txtUserID.text and txtPassword.text values in the same row. If the application cannot find the values in the same row, then it should not continue to the next form. If anyone could help me, that would b ...Show All
Visual Studio Team System Add classification field to Bug work item type
The functionality in Team System that allows developers and testers to create, track and manage Bug work items will be extremely useful, but there is no way to classify or report on what types of bugs are present in the system. It would be very beneficial to teams if the VSTS team could add a bug "type" classification field to Bug work item type to allow classification of and reporting on different types of bugs. This would allow the team to rep ...Show All
Visual Studio Express Editions Express Activation Website and Key
Does anyone know how I can get to the website for registration I can't get the activation key thing to work. I keep getting page not found error. Thanks. If you are trying to register any of the Express Editions (other than SQL Express), you must do so from inside the product. There is not a registration web site. Please see the Registration FAQ . Note that registration requires you to set your default browser ...Show All
Windows Forms Parent label showing on child form
I have a project in a class I am taking that has a parent form with 3 child forms. The main form has a label with text set at design time. When any of the child forms is opened, the label from the parent form also&nbs ...Show All
Visual Basic Opening New Applications
I am trying to create an application which can open a web browser and automatically navigate to a certain page. I've already added the line Process.Start( "iexplore.exe" ) How do I make it so it reroutes to a certain adress I know in Command Prompt you can just type something such as " start iexplore.exe www.msn.com " and it will automatically take you there instead of the home page. Can I do this in Visual Basic ...Show All
Software Development for Windows Vista ConsoleTrackingService Example
Hi, This question relates to ConsoleTracking example. For UserTrackingRecord type, I was able to use the TrackData call in the ' code1_ExecuteCode' to supply an object of my choice (replacing the existing string). However, I could not figure out how I can add Annotations and other objects to TrackingRecord that is of WorkflowTrackingRecord type or ActivityTrackingRecord type. Can someone please explain. Thanks a lot. kr ...Show All
SQL Server Broker:Corrupted message
Hello, Has anyone seen this in profiler I have two brokers on different servers with one of them being the initiator. All messages end up sitting in the initiator's transmission queue. Profiler on the target broker's machine displays this for every attempt to send by the initiator: A corrupt message has been received. The End of Conversation and Error flags may not be set in the first sequenced message. This occorred in the message with Co ...Show All
Visual C# How Can know the file type when the file without extension ??
Hi I have 10 files in folder but all the files without extension .. How Can I know the type for each file And thanks with my best regarding Fraas Hi! Since you are talking EPS, can you please tell haw can I Display an eps file in my windows form I'm new in this so please help me. Thanks! ...Show All
.NET Development Disabling Command Window - System.Diagnostics.Process
Using the class System.Diagnostics.Process proc.StartInfo.CreateNoWindow = true ; proc is a process that runs a batch file. This "CreateNoWIndow" command DOES NOT actively disable the command shell window. Is it possible to run a batch file process in the background without having the Command Window from being displayed Using .NET, how can I run batch commands in a hidden mode without ...Show All
