Vidhan's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. How can I add characters/Character Creation to my game??
I finished making my background, so how can I make a screen that allows players to Develop Characters (ex. choose the color of their character, what it looks like, etc.) And, also, how could I Transition them from the character select to the actual game I have recently started XNA, and dont know how do to do very much of it, so help will be much appreciated! Thanks o.O If you're talking 2D, you can do things by mix and matching what textures you pull from an image sheet to make the main character. If you make a bunch of "hair" images, as long as they all fit on the similar type head and are transparent, you can just cycle through them as a user. Then once you know what the character ...Show All
Software Development for Windows Vista Windows Vista UAC - EXE ~Name~ Trigger Warnings???
Greetings, I have noticed that the actual “name” of the program seems to trigger a warning from Vista about unknown program wanting access to your PC. No matter how many times you answer to give the program access, Vista will ask you every time you run that program. We have a software updating service that we us to push updates our to our clients. We have noticed when testing with Vista that if we rename our updating executable to something else we no longer get a question about permission to run from Vista. Vista is obviously keying on the executable name to see what I mean try renaming a executable that normally runs with-out warning to “Patch.exe”.. Can anyone confirm that this is actually the case, and Vista has a b ...Show All
Visual C++ winnt.h(222): Error C2146 ...
All, line 222 in winnt.h reads like this: typedef void * POINTER_64 PVOID64; and creates the error message Error C2146: syntax error: missing ';' before identifier PVOID64. I am trying to throw VC++ 2005 Express on Windows 2000 Pro SP4 at a modifed version of the amcap sample program of DirectShow. This is the version I have downloaded with DirectX 9.0b on 11 Oct. 2004 and have successfully used with VC++ 6 SP5 on the same program. (The DXSDK involved is (one of) the last issue of DirectX that included DirectShow.) I have the platform SDK downloaded, and putting its include directory before or after the baseclasses and DXSDK include directories does not change a ...Show All
.NET Development Port Binding and Intercepts
I have attempted asking this question all over, and none of the responses I’ve gotten have proven to be helpful. I’ve created a listener and client in c# along with its related DLL. I’ve gotten the port to bind and the listener works fine with the client. My question is this – Logically, if you bind a port, you should be able, under some sort of event triggered, to intercept a soap request before it is dispatched to it’s relative service call, and after it has been dispatched to that service call , i.e. Before the request is carried out and after it has been carried out, but before the response is sent. I would expect some sort of OnBeforeDispatch event and OnAfterDispatch event, or something of that nature. My reason fo ...Show All
.NET Development How to create tabel name by concatinating values?
Hi all, I was looking to create a table named by concatenating the string “Grant" and a value that I am going to get from another table through a select statement and assigned to a variable declared. For example if the select value is “2006” the name of the table should look like “Grant2006”. Is it possible If so please I need your help. Thank you in advance. Create an SQL statement and execute it via a command object... MyTableName = "Grant" & "2006" MySQL = "Create Table " & MyTableName & ( Field1 datatype [ Not Null ],...) ...Show All
Visual C++ CreateFile to device in VB.NET 2005
I have an application that communicates with a USB or Serial device using CreateFile(). It was originally created in VB6 and I ported the project to Visual Studio 2005, and it works fine. But, I wanted to move the old C code to a dll or class and then use the new GUI features in VS2005, along with CLR, managed code, etc. With the class version (done in a mixture of managed C++ and the old C code compiled as not managed), it compiles fine and I can step through the code from my managed VB GUI to the unmanaged C code in the class, but now CreateFile fails, with a return code of 2 ("The system cannot find the file specified"). Can anyone explain why CreateFile works fine in the old unmanaged code, but now doesn't work in my new 2005 pro ...Show All
Connected Services Framework StockQuoteAppIdm sample (CSF 3.0) is not working..
hi i'm trying to run the sample. i did all steps in sample document. but sample didn't work. so i checked EventViewer, i got some info about SSO... sample doc doesn't explain SSO setting. however, using SSO and IDM management, i registerd Application info and Secondary Credentials. Now... i got this error. ---------------------------------------------------------------------------------------------------------------------------- Timestamp: 2006-12-18 8:23:48 Message: An internal server error occurred. Your call was not processed. Contact the site administrator for details. (System.IndexOutOfRangeException: . : Microsoft.ConnectedServices.Connector.IdentityManager.SsoUserMapManager.Read(Read ...Show All
Visual Studio Express Editions Selecting the three largest variables from a group of ten
I need to select the three largest variables from a group of ten, however I need to do it without a hundred ifs, also I need the variables, and not the values. Is there an easy way to do this that I am perhaps missing If so could someone please enlighten me Thanks. No, they are 10 independent variables I could put them in a collection but I need to be able to use the variables for what they indicate later like Item1 = 3 item2 = 6 item3 = 5 item4 = 9 I need to be able to order them by thier values yet stil retain the name of the variable and be able to pass it on. Array.sort() then array.reverse() works okay for the values but it mixes it up and I can tell where each value then came from. ...Show All
Connected Services Framework Eventing in CSF
Hello, I would like to get more details about how to use eventing when writing a WES for CSF. First of all I would like whether there is any difference between the Provisioning Events, Health Events and Usage Events The provided samples with the WES toolkit don't implement any of them (except usage) so I would like to know if they are all implemented in the same way. To the more importaint question: how do I configure the sample from the WES toolkit for Usage eventing to work What is the role of Usage Event Poller included with the WES toolkit Generally what I would like to know is how to send events Is there any more documentation written on this matter And one more dummy question. What is the difference between sending a message in CSF ...Show All
Visual Studio 2008 (Pre-release) svcutil excludetype doesn't work
I have 3 services that all have operations with a faultcontract specifying that they return a common error (GeneralError). For example, I have [ServiceContract] public interface IService1 { [OperationContract] [FaultContract(typeof(GeneralError))] void Operation1(); } and [ServiceContract] public interface IService2 { [OperationContract] [FaultContract(typeof(GeneralError))] void Operation1(); } When I use svcutil to generate proxies for each, GeneralError gets included in both. I've tried using /excludeType but it doesn't appear to work. Both of my services are in the same service library assembly. If I use /excludeType:MyNamespace.GeneralError,MyAssembly then GeneralError is still included in the output. How do ...Show All
Visual Studio 2008 (Pre-release) xmlns deisgner versus compiler assembly resolving
I have an assembly, sldcore, which has a namespace SolidCore in it, and the dll is named solidcoreud.dll. I assumed the namespace referennce would be: xmlns:SolidCore="clr-namespace:SolidCore;assembly=sldcore" But the assembly isnot resolved so I tried explicitly calling out the dll name xmlns:SolidCore="clr-namespace:SolidCore;assembly=soldcoreud" This works, types are resovled, at least from the aspect of compiling the xaml, however the designer gives Error 3 Assembly 'SldCoreud' was not found. The 'clr-namespace' URI refers to an assembly that is not referenced by the project. How do I carry on using the designer -- Dan If it helps, the assembly ...Show All
.NET Development calling managed code from c /win32 dll
hi, i have a dll wrote in visual c 6, and i have to receive inside this dll data coming from some managed assembly wrote in c#. i cannot upgrade to visual c++.net and make too man changes to the c code, because i have several header shared with a firmware, so i would like to expose some methods from managed assemblies and call as normal dll functions. is this possible to this or i have to create another dll with com support, so i can user standard interop to use the managed classes and wrap them and use this dll from my c dll best regards, Luca Morelli the problem is I need to call this code from an old c/sdk dll that has no support for com, and i cannot make to make too much chan ...Show All
Smart Device Development MVG implementation on the devices
hi all, Giving up the idea of svg icons, i came accross the mvg(microsoft vector graphics) for .net. Is there any api for the windows mobile or pocket pc devices I need help. Does any1 have idea of wht id PDB Pilot Db, tht i knw. But how to implement it on windows mobile can any1 provide me with the sample example thanx in advance. ...Show All
Visual Studio Anoying delay after every build cause and relief
We've just converted a large .NET 1.1 service application to .NET 2.0. The solution includes 17 projects. The build progresses roughly the same amount of time as the VS2003 build. But after success or failure, the IDE hangs for 30-45 seconds. There is no additional information sent to the output window, there is no additional information on the status bar, it just hangs, then the final line is sent to the output window: ========== Build: 17 succeeded, 0 failed, 0 up-to-date, 1 skipped ========== While this is only a few seconds it is very anoying and it always occurs even if we issue a rebuild all with no changes to any file! Is this a known issue and I should just suck it up Is this a know issue and is there a configuration ...Show All
SharePoint Products and Technologies "Explorer View" locks Active Directory accounts
We only recently began using Sharepoint corporation-wide, but have begun receiving support calls for locked accounts. We've noticed a pattern that the accounts were locking after the user was browsing around in Sharepoint. I myself am now able to "force" my own account lock by simply clicking "Explorer View" in any document share (note: I am full admin on all Sharepoint web sites). I do in fact get the explorer folder view and can get right-click options, but once I navigate off (for example, by clicking "Home"), I am immediately locked out and receive a login prompt in the browser. Has anyone else had this problem and can shed some light on possible solutions I've tried going through the troubleshooting s ...Show All
