Software Development Network Logo
  • Smart Device
  • Visual C++
  • Visual J#
  • Windows Live
  • SQL Server
  • VS Team System
  • Visual Basic
  • .NET Development
  • VS Express Editions
  • Windows Vista
  • Architecture
  • Windows Forms
  • Visual FoxPro
  • Visual Studio
  • Visual C#

Software Development Network >> WetRivrRat's Q&A profile

WetRivrRat

Member List

lanceAReading
PMKern
Acky
James_Steven
Luan
SDevenshire
Pat O
CodeCanvas
justwanttoreportabug
Ademaure
dcallaghan
Shiloy
rSmoke
rlasker3
DavidDawkins
Marty_M
max265
JessicaM
NicolaColacicco
DarKlajid
Only Title

WetRivrRat'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 anybody have any inside about how that comes Thanks! Two screenshots from the meshes saved to x-files and opened with the dx viewer: original mesh fine mesh   Nico ...Show All

  • Visual C# Link Form

    I know some C# but I don't use it often enough to know this. I wanted to know the code that you put at the top of your form to link that form to another form, for instance in C++ you would type: #include "Form2.h"; But what would you type in C# Hi I think you can use Form2 frm2 = new Form2 (); Hope this helps ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Realistic Movement using Rotation & Translation Matrices

    I have been learning DirectX in C# using .NET 2.0 and have had some difficulty working out how to model realistic movement in all directions and rotations, by this I mean the kind of movement a ship in space would have. Maths is not my strongest subject and I am relatively new to C# and DirectX so there may be better ways of doing this (if so I would appreciate any comments to that effect). With that in mind this comment is written by a beginner and aimed at beginners so may seem to state the obvious somewhat. A ship in space can strafe in any direction (Left & Right, Up & Down, Forward & Backward). It can also rotate arou ...Show All

  • .NET Development web service access issues

    first I'd like to apologise if I'm starting a duplicate thread here, but after searching for a half hour I was unable to solve this issue. I am new to developing in a microsoft enviroment, more used to unix so please bear with me. I have written a web service using visual studio 2005. Just a sample to try get things working. I then consume it in a windows app (also in VS2005). Both using C#. at first I was using the ASP.NET development web server that launches with VS2005 to serve the web service locally, which was fine. I decided to install IIS (5.1) on my windows XP machine to serve the web service across the network to do some speed tests ...Show All

  • Visual Studio Tools for Office Error loading the requested managed object: Version 2.0 is not a compatible version.

    Hi there, I have been developing an Excel 2003 (Version 11) Smart Tag DLL in Visual Studio .NET 2005 for a few months. Everything was working fine until early this week when I did a get latest on my source code. Now everytime I go to execute Excel my smart tag DLL does not load. I have checked and tried everything I can think of, registry paths etc. I even created a brand new skeleton smart tag DLL to test the problem and that also does not load. So I downloaded the Smart Tag Explorer tool to see if it would help debug the problem. It shows my two Smart DLLs (1 original and 1 test stub) but under observations it reports the followin ...Show All

  • Visual Studio Express Editions can I download only Visual C++ Express Edition

    I want to download only Visual C++ Express Edition. I don't need the other tools in Visual Studio Express Edition. Is it possible to do so. Kindly help if you know the answer tooparam wrote: I want to download only Visual C++ Express Edition. I don't need the other tools in Visual Studio Express Edition. Is it possible to do so. Kindly help if you know the answer See http://msdn.microsoft.com/vstudio/express/visualc/ ...Show All

  • Visual C++ Compiler error - HELP

    Hi all So I just converted a huge project from MetroWerks CodeWarrior to Visual Studio 2005. The project converted fine and ran... ran I said, since now I cant run anymore. What did I change, well, I was changing some setting with 'struct member alignment' and trying some #pragma pack(1). After some tests I changed it back to default, and removed the pragma's. Now the code runs, but not very well, since some members of structs are not being read correctly anymore. example: class CA_QueryObj { public : CA_QueryObj( char *inFunc, char *inQuery, long inType,Boolean inAutoDelete); ~CA_QueryObj(); char function[1024]; char query[4096]; ...Show All

  • .NET Development How can i accesses my static variable from one class to another ?

    hi all I am using vs2003 how can i access my static variable from other calss... actully i am working on dersktop appl and i want to keep the track of user from one page to another i tryed many logic to access the username so i am trying to use the static variable any body know how to store username for globel use Use the AppDomain.CurrentDomain.GetData() and AppDomain.CurrentDomain.SetData() to solve your problem.Though you can still solve the problem by using static variables for example,if your class is Class1,then class Class1 { public static string userName; } you can use it in ...Show All

  • Visual Studio Team System Testing in Visual Studio .NET 2003

    Hi! Are all testing features integrated in Visual Studio 2005 for the first time Was there any testing tools integrated before In case this helps, I can tell you that we are currently building our application in VS 2003, then building and running just the testing tools in VS 2005. We are using VS 2005 to test an app built with VS 2003. ...Show All

  • Visual Studio VC++ Directories

    Hi,   How I can get the VC++ Directories and VC++ Project Settings from the Tools::Options... Dialog thanks, -z Hi,  You can use the Microsoft.VisualStudio.VCProject and VCProjectEngine to co-create ta VCProjectEngine object and use that to get to platform specific paths. The macro below does it for you. Public Sub DumpPaths()  Dim vcEngine As VCProjectEngine = CType(CreateObject("VisualStudio.VCProjectEngine.8.0"), VCProjectEngine)  Dim coll As IVCCollection = vcEngine.Platforms  Dim platForm As VCPlatform = CType(coll.Item("Win32"), VCPlatform)  MsgBox(pla ...Show All

  • SQL Server Miltivalue Parameters with Max Pool connections

    I am trying to write a report with many different records needed (way the database was designed). Client will need multivalue parameter and I have reached max pool connections(can anyone please give me the number). Normally I would handle this with a stored procedure to create a temp table with the needed information for each section(one row per section), but this will not work with the multivalued parameters(more than one in this report). Any help on this issue would be appreciated. Thanks! Terry I'm not sure I understand the issue why you are running out of connections, but if all datasets are based on the same data s ...Show All

  • Visual C# interface implementation versus activex library

    Hi I am using an ActiveX library. For example, I have one object in this library with a method, accepting one object as parameter. This object is defined as an interface of this same library. So, I implemented the interface to make my own object, and use it to call this method. The code compile but I have a runtime exception. EIntfCastError Interface not supported I have no idea about this error message but maybe that the library was written in Delphi... Any idea how to get more info about this error The error append when I call the activex object with my objectg as a parameter for example line1 I build a ...Show All

  • Software Development for Windows Vista Validation Fails on Build

    Hi, I've written a custom validator for my Activity which works fine in the IDE - I get the expected error indicators. However, my project still compiles OK - i.e. I don't get a build error saying that my custom Property is not set. Code is below. I need to ensure that the workflow builder supplies a value for this property before deploying the workflow. Any ideas Thanks. ______________________ public override ValidationErrorCollection Validate(ValidationManager manager, object obj) { ValidationErrorCollection vecmyProperty = base.Validate(manager, obj); myActivity ma = obj as m ...Show All

  • Smart Device Development KeyDown-Event when I'am in gameloop

    Hi, I write a little Game for my pocket-pc. When the program runs into the gameloop how I can handle some key events Will they fire although Yup, you can handle KeyDown event. A PPC app has autogenerated code for key handling as follows private void Form1_KeyDown( object sender, KeyEventArgs e) { if ((e.KeyCode == System.Windows.Forms. Keys .Up)) { // Up } if ((e.KeyCode == System.Windows.Forms. Keys .Down)) { // Down } if ((e.KeyCode == System.Windows.Forms. Keys .Left)) { // Left } if ((e.KeyCode == System.Windows.Forms. Keys .Right)) ...Show All

  • Visual Basic Totalling the hours of a column

    I am using vb.net express and fairly new to database programming. In my program, one of the columns shows the hours worked for each employee. How do I show in a datagridview control the total of all the hours in the column mentioned above. I tried using the following sql command but it doesn't work for me Select EmployeeID,LastName,FirstName,SUM(HoursWorked) AS TotalHours From Employees       Hi, If you want to have a SUM for each employee then you'll have to use a GROUP BY clause: SELECT EmployeeId, LastName, FirstName, SUM(HoursWorked) AS TotalHours FROM Employees GROUP BY EmployeeI ...Show All

©2008 Software Development Network