sacuza'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
.NET Development Run a method in another thread
Hi, I'm currently working on a network library that offers an XMPP stream to a server, written in C# (.NET 2.0). After the stream has been initialised, the client can send elements to the server and the server can send elements to the client independently. Now I thought I run a separate thread listening on the stream and put all incoming elements in a queue, member of the XMPP.Stream class, a client could then read from the queue when needed. Ad ...Show All
.NET Development XML document error, while accessing .NET webservice.
Hi all, I have a web service written in VB.NET. All it does is: 1. takes a STRING input, 2. converts it from ASCII to EBCDIC, 3. passes it over the socket connection to other system for processing. 4. Once the response is received, it converts the response from EBCDIC to ASCII 5. Returns the response as STRING to the CLIENT APP. Everything works fine except the last step. When I invoke the web service from my CLIENT APP, I get following error: " ...Show All
Visual C++ standard libraries
How do I compile a cross-platform code using standard libraries such as iostream, fstream, etc Cannot open include file: 'iostream.h': No such file or directory All standard library files don't have the extension .h. Always use #include <iostream> #include <fstream> and so on. Also the new standard library classes are located in the namespace std. So you have to use using namespace std; or to ...Show All
Visual Studio Tools for Office Pass argument to template
1) hello all, is there a way to send command line arguments to vsto template that i created, like we send in a normal windows application usage for I have a vsto 2005 word template that loads another doc file text into it so i could use the action pane on the document template. i want to open that template from command line and send as argument the doc file name from which i want the template to load all data. Is there a way to do so 2) ...Show All
Visual Studio Team System Feature request: Right-click on a message -> "Turn off this rule"
Currently, to turn off the rule that produced a particular message, I have to click on it, look down to see its RuleFile, find this rule group in "Rules" tree, expand it, find the rule and uncheck it. Too many actions for such a common task, don't you think so Andrew, You're right this would be a great feature. I'll add it to our list of requests for future versions. Thanks for the feedback! ...Show All
Visual Studio Link to relative URL's
I am using Report Viewer control in an ASP.NET application, showing local reports (not using report server). When i set "Jump To URL" property to an absolute URL (starting with "http://") it works OK but when i use a relative URL (for example: "/public/samplepage.aspx") it doesn't give me the option to click to jump over this page. Is there a way to use relative urls with this behavour Thanks. Pablo Espada ...Show All
Visual Studio Team System Problem with Team Foundation Install
If you have a problem with the install and it does not finish how do you clean the SQL databases to try again The "Enterprise Manager" is call "SQL Server Management Studio" in SQL 2005. -Scott ...Show All
Visual Studio Express Editions VC++E Forms Designer Hell
Hello all, while working on a form in my project i got the following error: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Either VCProject or VCCodeModel is not ready yet. Please close designer and try again. Hide at Microsoft.VisualC.CppCodeP ...Show All
Visual Basic how-to catch when data changed on form?
I have a form with both a TableAdapter and other TextBox. When the user changes the data in the fields connected to the TableAdapter and click the NEXT or PREVIOUS button, it calls the BindingNavigatorMoveNextItem.Click. My problem is: I checked me.dataset.HasChanges and it says FALSE (although the data was changed). What I don't understand is this: if the user click the NEXT or PREVIOUS button, the me.dataset.HasChanges says ...Show All
Visual C# Passing Arguments to new form
How can I do the same below, in C#: I am looking at some vb code that declares a new form with a variable like this Dim pastForm As New frmForm2( Me .Name) pastForm.Show() Then in the frmForm2 form it has 2 functions, one that takes an argument and one that does not, each executing separate code when executed. Public Sub New ( ByVal f As String ) { } Public Sub New() { ...Show All
Visual C++ How to change the color of Button
Dear Members, I need to color a button using ATL, WTL or WIN 32 API.. I can easily do it using MFC but because of the Application requirement I have to do it by using the above mentioned technologies only. Kindly help me out by sending tips and useful codes. Regards, Mayank Srivastava Start reading this http://msdn.microsoft.com/library/default.asp url= ...Show All
Visual Studio Team System Virtual Server Not in Config Database - TFS Beta 3
I can't browse to my Team Foundation Site. If I attempt to get to the site through SharePoint Central Administration, I get this error: "The virtual server that is referenced here is not in the config database." If I browse to http://localhost:8080/ , I get a 403 Error (Not Authorized to view this page). If I try to browse to any of the pages within http://localhost:8080/ , I get 404 Errors. I have installed Beta 3 of Team Foundation Serv ...Show All
Visual Basic Making object move continuously
How do I make a particular object move continuously after clicking the button once ...Show All
SQL Server SSIS Clustering Doubts
1. On a cluster how a running ETL process is handled when there is a failover 2. How the half-completed dataload is handled Regards, Balaji Thiruvenkataraju Balaji Thiruvenkataraju wrote: 1. On a cluster how a running ETL process is handled when there is a failover As Darren has said on your previous thread, SSIS is not cluster aware. I don't think the SSIS service falling over during ...Show All
