jgunning's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. [mdx] How to check if my camera "intersects" with a mesh?
Hi, I am programming a game using C# and MDX. I create a mesh from an X-file containing my 3d map. It's like a corridor: walls and floor. At first the "player" is just moving the camera around. Now, I want to check wether the camera "intersects" with the scene-mesh and where if it does. So I looked up what to do and found: Mesh.Intersect(Vector3 rayVector, Vector3 rayDir, out IntersectInformation closest, out IntersectInformation[ ...Show All
Windows Forms Close button problem...URGENT!
Anyone know how I can conrol what happens when a user presses the close button on the for ( the x int the top right corner). My problem is that the form doesnt close when the button is pressed. Please help!!!!! Fou ...Show All
Visual C++ How do i use the complier?
Hi there. I just got some VTM's on using C++, but they are using an older build. Before you could just click "Build" then "complier". How i can not do that. So how do i open the complier Please explain in a simple way since im completey new at this. Thank you. Hi, What exact version did you install If you open a project from an earlier version, the upgrade wizzard shpuld upgrade your proj ...Show All
Windows Forms progressbar help
hi, i have a form that has a button, when the button is clicked it will create an excel report. what i want to do is to add a progressbar while the excel report is being processed, and also to put the progress bar in the sta ...Show All
Visual Studio Tools for Office "'Computer' is not a member of 'Integer'" compile error
Help, Code: 'My.Computer.' and anything else here no longer works I am now getting the error mentioned in the subject line. This error just occured today. My project has been in development for 2 months without this happening. Did I mistakenly do something to cause this If I uncheck 'Microsoft.VisualBasic' namespace and compile the program - this error goes away. Other errors happen because I am using msgbox, etc. Dave ...Show All
Visual J# Microsoft Java++, Sun Java, Redhat Java
I need to develope in Microsoft Java++. Can I port to SUN Unix, RedHat Linux, SCO Unix. If it is possible to port, will the application run the same in all the platfoms. Can anyone please give me advice Although I am not a Microsoft employee, I can tell you this: Microsoft J++ and J# are NOT Java. They have similar syntax, and allow you to use some of the java core system libraries ( for instance in J# and I believe in J++ as well, ...Show All
Visual C++ Trying to get metainfo sample application to compile
I am currently trying to get the metainfo sample application that comes with VS 2003. The application code is located at (for a standard VS.Net install): C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Tool Developers Guide\Samples\metainfo Since I am learning VC++ and the ins and outs of the VC++ IDE in VS.Net (tons of settings I haven't a clue about yet) ... I just can't the application to compile. Currently I am gettin ...Show All
Visual Basic Reading Serial COM-port with IRQ interrupt handler
I am writing a program for RFID registration in VB.NET I am searching for a (VB).net class to read/write from/to my COM-port. But the reading should be interrupt triggered. I already found some programs to read from my com-port but I haven't found anything of how to make this interrupt triggered. So that the port is only read when data is send trough. Ps: I prefer VB.NET solutions, but if you would only have a C# solution you are always alo ...Show All
Visual Basic DefInstance()
I have upgraded from VB6 to VB.NET. The application contains a form which in turn contains a Timer which activates other processes. The sub main() contains frm. DefInstance.Show() in it. But after migration, the above form is not being activated and the timer is not being executed. How can I make it work Welcome to the MSDN fora. I hope you find an answer to your question. In order to assist you with ...Show All
.NET Development .Net version 2.0.50215 and aspnet_webadmin folder
When I installed my first version of the .NET Framework on my remote Win2K server I discovered a folder automatically created in each of my virtual servers (webs) called aspnet_webadmin. Inside that folder was a sub-folder named after the version of the Framework installed. After I installed version 2.0.4607 I found a separate sub-folder named 2_0_40607. Upon installing version 2.0.50215, I expected to find a third sub-folder in each aspne ...Show All
Windows Forms Vertical scrollbar only
1. Is there anyway that I can make the vertical scrollbar shown only The AutoScroll property will make both vertical and horizontal scrollbar active. 2. The horizontal scrollbar is shown automatically just because the vertical scrollbar added reduce the original width. The horizontal scrollbar is quite useless as only a bit of information is hidden. So, is there anyway that I can make the vertical scrollbar appear at the very beginning So tha ...Show All
Visual Basic Writing to a notepad
When keyboard key is pressed, less say key A then a message " you have clicked A" should be entered into a notepad in the applications path. If the note pad already has messages, new messages should be entered after them, not in another new notepad I think you are confused. Notepad is an application that reads and writes text files. If you're talking about specifying a path then I'd say you mean a text file, ...Show All
SQL Server Error when create a Server object using SMO
Please help: I got this error and can't figure out what went wrong. The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. on the line that create Server object. This is the code (Visual C# 2005 - SQL Server 2000 - Windows Active Directory) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; ...Show All
.NET Development How to get key, value by sequence
I used Hashtable to store Key, value. But When print all keys later, I find it not in sequence as I added. Do you kwon if otherway I can store Key, Value and get it in the sequence as I added Unless you write your own implementation of a hashtable, I don't think there's a way to get it done. This is usually a problem in lots of languages. You could probably get away with something like an array[][], but it's not going to be effici ...Show All
Windows Forms Get the local account domain name
How can I get the windows domain name for the locally logged in user Try one of these .... m_Name = Environment.UserName m_Workstation = Environment.UserDomainName ...Show All
