Giber's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Need some basic information - i.e. help. :-)
We are looking at performing some work for the Army using this XNA technology. Before we jump in with both feet, we were wondering if someone could answers some questions: 1) Can we perform complex motion such as a person walking 1a) Can it be automated such as bi-ped motion 2) Can math equations be used such as wheel rotation matching the ground distance 2a) Can this be automated Any other help / links would be greatly appreciated! Thank you! Of course you can, and XNA is more thant a graphics API. It includes lots of Maths helper functions for matrix operations as you mentioned. It also supports bone operations for meshes, so you definetly can do complex motion as ...Show All
Smart Device Development Slow when retreiving data from database
Hi I have this problem of slow starting forms in my pocket pc application. Its only for the forms that starts with a connection to a database. the application is also slow when making any connection to the database. I was wondering if there is a proper way to speed this up, and whether using XML files (or even txt files) fatser (almost on the fly) I'm creating a database class that makes a connection and query the database using this code: private DataSet Query(string SQL) { SqlCeConnection cn; SqlCeCommand cmd; DataSet ds; SqlCeDataAdapter da; cn = new SqlCeConnection(LocalConnection); cn.Open(); // Initialize a new command cmd = new SqlCeCommand(SQL, cn); // Initialize a new dataset ds = new Dat ...Show All
Visual Studio There is no source code available for the current location. (Why???) - More Information
I have a VC++ solution configured as follows: a.exe b.dll c.dll All 3 projects are part of the solution, with a being the startup project, and running in debug configuration. All 3 projects output their .pdb files as expected. a is dependent upon b, and b is dependent upon c. I set a breakpoint in b at a point where the code is in c. When I do that, VS complains that "There is no source code available for the current location." There is source code, and current .pdb. Any ideas why this happens Thanks, -HS This has started happening to me also! I have cleaned out all of my project generated .dll and .pdb files. No help. If you guys come up with an answer please post it here. thanks ...Show All
Visual Studio Express Editions Commercial version of VC#?
Is there a commercial version of VC#, or do you really have to buy the whole $1000 Studio packet with VB, C++, Java etc. to get it Mike Danes wrote: You can have Visual Studio 2005 Standard Edition for ~300$. That's an option of course, if you can live without the pro stuff. Anyone who knows what the difference is between "Simplified menu options and defaults" and "Full" (on the comparison chart under "User experience") ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vectors
Hello, I'm new to vectors and I need to find a way to have the Vector X/Y postions more like a pixel X/Y. Would anyone be able to help me or point me in the right direction The SpriteBatch.Draw method has seven overloads. Three of them require a rectangle (i.e. X,Y, width,height) the sprite to be fitted in, with possibly size scaling. The rest use the output position as a Vector2 (i.e. X,Y), so the sprite is drawing in a full size. All you need is to declare Vector2 Position, then in your Update method calculate Position as needed and apply it to the overloaded Draw method using Vector2 as a parameter. ...Show All
Smart Device Development No sqlserverce.dll file with Windows Mobile 5.0 Smart Device SDK
Hi all, I have installed Windows Mobile 5.0 SDK for Smart Devices and Pocket PC but still don't have the SQLserverce.dll on my PC. Should this have come down with the install If not, then how am I suppsed to get hold of it Thanks It's not supposed to be in GAC on your desktop, it would be in GAC on device after SQL Mobile CAB is installed. SQL Mobile is not part of NETCF so this DLL can not be found in NETFC location you've mentioned. By default it should be here: "%ProgramFiles\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\" If you don't see it, try system wide file search. If that fails as well, you probably don't have SQL Mobile MSI installed - either it was removed or installation initi ...Show All
Visual C# C# and SQL Query
Ok... Ive started learning C#. I have loaded a datasource odbc connection and dropped 1 of my tables onto my form. Now I also have a textbox and button on my form. The text box takes the current date and converts it to excel serial date and stores that into a variable 'serial'. Now I need to make a query on my table. I can create a query comparing 2 columns without a problem. My problem is that I cannot use my variable 'serial' in my query. Here is what it looks like: SELECT ... FROM ... WHERE WHERE TranDetail.EndDateTime = TranHeader.EndDateTime AND (TranDetail.EndDateTime >= @serial) I am using the query builder. I cannot get the TranDetail.EndDateTime >= @serial to work. I know its not able to use my variable ...Show All
Visual Studio 64 bit version
I have a 64 bit machine. if I want to install Visual Studio 2005, which version I should you. Does it come with the 64 bit version ...Show All
Visual Studio Express Editions Getting a avi/video Length (duration)
The title should say it all but basically i am trying to get a AVI or VIDEO files duration. Duration meaning the length of the movie not the file size. Any help would be greatful. I am using VB Express 2005 and NET 2.xx Thank you ...Show All
SQL Server Update Table from Flat File source
Hi all, I'm trying to work out how to update a table from a flat file source. I could use the simple way of using OLE DB Command with UPDATE <tblName> SET Column1 = , Column2 = , <etc> WHERE ID = then using the mapping to join the parameter fields. However, this (maybe!) a slow process when you have potential 500k+ records in the source file (and approx 150 files to process!) What I would like to do is the following statement but I'm not sure if this is possible UPDATE <tblName> SET Column1 = sourceColumn1, Column2 = sourceColumn1, <etc> FROM <sourcefile> WHERE ID = sourceID I've also thought about importing the sourcefile into a Recordset Destination and trying to use the var ...Show All
Smart Device Development SerialPort Component IOException issue
I have a Ipaq Pocket PC. It connects to a bluetooth GPS Receiver (COM6). Whenever I try to open this COM Port using the SerialPort component I get an IOException. I have even tried listing all COM ports on the PPC, and opening each one inturn. Some work and some throw an IOException. Does anyone have a suggestion Hello, the same issue exists on my ipaq 1940. But after the exception is catched, the serial communications can be used - although i was not succesfull in using DataReceived event - it is never fired, so i had to use timer. ...Show All
Windows Live Developer Forums Download Messenger API
Hello Where can I download the Messenger API It's the API containing these files: Interop.MessengerAPI.dll, msgrua.h, msgruaid.h and the corresponding lib file. Here are pointers to two Messenger related SDK's: Activity Application SDK: http://msdn2.microsoft.com/en-us/library/aa751024.aspx Windows Live Alerts SDK: http://msdn2.microsoft.com/en-us/library/bb259752.aspx ...Show All
Visual Studio 2008 (Pre-release) WPF Clientside caching invalidation/notification from WCF Service?
Does anyone have good references/examples on how a WPF smart client application can receive notifications and update its cache from a WCF service (based on updates to server side cache). ...Show All
Smart Device Development 2nd try: What DLL are wave routines in?
I'm having trouble getting access to some wave routines: I have been using these routines to access sound under Windows XP using the winmm.dll DLL. I would like to know which DLL these routines are in under WM5 (if at all) [DllImport(DLL)] public static extern int waveOutGetNumDevs(); [DllImport(DLL)] public static extern int waveOutPrepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutUnprepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutWrite(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutOpen(out IntPtr hWaveOut, int uDevi ...Show All
Visual C# is as Keyword
I have a general event handler function. and has a general object passed to it, but I have to use a "is" or "as" to decode the type, is it possible that the base class can detect the type and call the function for that type I don't what to use methodinvoke because it is so slowwwwww. Another apporach would be to anonymous delegates would help but I don't like putting several delegates in one method to handle each type.. and I would have to use continutions to continue the event pump... (ie see robots framework for an example) And I don't want to declare delegates for each type because this means more work for the programmer... void handler(baseobject ev){ if (ev is MyEvent) { MyEvent evmy= (MyEvent)ev); ...Show All
