Vamshi Raghu's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Model Exporting From Maya (.fbx)
I have a question and concern regarding the .fbx model exporting from Maya. Problem: Whenever I load a model into my game that has been exported using the latest .fbx exporter plugin from Maya the model is arranged such that some of the pieces of the model are lined up along its x axis. I did some research on the .fbx file format and found out that while it was designed to be an open document 3D model format, it has been grossly revised by just about all modeling programs which have edited it to suit. Which is why you can't export a model in Maya and then import it into Max and expect it to be the same. My question is this, being that the .fbx file format is flaky at best; what make and version of the .fbx exporter/importer is XNA designed ...Show All
Visual C++ Running thread as a different user
Hi, I am trying to an application which runs as Local System user. I want to spawn a thread which executes a particular function as a Run As user. Is it possible Thanks, Sushanth I don't really have a sample so I would have to look at those sites myself to find samples and such. Since this is outside the scope of this forum, it is better for you if you get help from a site in which people experienced with the subject are more likely to help. Someone might provide you a sample here but it is better for you to get a sample from a site in which SDK security is appropriate. For one thing, for this subject, a sample might not be enough; I think it is necessary to learn about security to be able to get something such as this to work. ...Show All
Visual Studio 2008 (Pre-release) Tracing not working in WCF
I can't get a simple trace to work in WCF. Tried lots of things doesn't work. The "Tracing and Logging" VB sample only logs the Service events and not it's own. The exact same config settings work on the client. It just does nothing for the WCF service. Doesn't even create a file permissions error in the Application Event log. I've tried everything from making the IIS virtual directory use my own account to explicitly giving access to the temp folder. <system.diagnostics> <sources> <source name="DefaultSource" switchName="DefaultSwitch"> <listeners> <add name="FileLog"/> </listeners> </source> </sources> ...Show All
Visual Studio Team System Users added to Contribute group are unable to view/create workitems
Hi I have the following problem, I have created a project with an administrator account that is added as admin in reporting services, tfs and sharepoint. All works perfect. I now add a user to my projets Contribute group, I then add this user on the project portal as contributor and I add him to Reporting services as browser. I then log on as that user, I see the project, I can view reports, add documets etc but I can't view the Work Items, it doesn't give any errors, the page is just empty. When I try to create the work item it just says that i don't have permission. I have tried clearing the cache and connecting from another computer. Also when I want to assign a task to a user I can only view a few users that are admins and service acc ...Show All
Visual C# Custom app crashes with 0x800736b1
I'm developing a custom application (GUI.exe), primarily in C#. My business objects (BOLData.dll) are in a managed C++ dll that's part of the overall project. The other dlls are all C#. The program runs just fine on the developers machines. We're all using VS2K5 w/SP1. It works under XP Pro, Win2K3 and Vista -- if VS installed. When I tried running the program on a clean XP Pro computer, it immediately crashes with a cryptic reasons: EventType clr20r3, P1 gui.exe, P2 1.0.0.23358, P3 45d76c7d, P4 bol, P5 1.0.0.23357, P6 45d76c7b, P7 a4, P8 13, P9 system.typeinitialization, P10 NIL. In the Program.cs file, I threw in a try/catch around the main form loading and then ran it again. This time I got a lot more info about why it's failing: System ...Show All
SharePoint Products and Technologies Workflow condtions don't work with SharePoint Designer 2007 RTM
After developing my workflows with SharePoint Designer 2007 B2TR, I upgraded to SharePoint Designer 2007 RTM. After that and on more than one installation, workflow conditions would not propogate. That is the drop down would appear, but the selected condition would not appear on the workflow designer. Repair install of all components, Asp.Net 2.0, 3.0, and SPD didnot fix it. And to make matters worse, attempts to roll back to B2TR failed with "Cannot install over pre-release version" error, even though I unistalled RTM both with the installer, and manually deleting from the drive and registry. Has anyone else seen this problem I am stuck in the middle of a project using an old laptop with the B2TR bits to complete the ...Show All
SQL Server sql 2000 to sql 2005 upgrade
I have a sql 2000/2005 side-by-side install on a single server. I right-click a sql 2000 database, select All Tasks, and the Copy Database to upgrade a sql 2000 database. In the "Copy Database Wizard" I see the message: "To use the detach and attach method SQL Server Agent must run under an Integration Servicers Proxy account that can access the file system of both the source and destination servers." 1. What does that mean 2. I decided to click "Finish" in the wizard, and the database copy seemed to work fine. Whaterver 1) means does, by default, the SQL Server Agent already run under this "Integration Services Proxy" account. (Rememberr the upgrade process did work). TIA, ...Show All
Visual Basic i want to open a url in a browser and i want to move cursor all over the brower???
hiii kindly help me, my problem is.. I want to open a url in a browser and I want to place my mouse cursor anywhere I want in the browser window and perform the mouse pressdown operation programatically.. Plesa tell me, how to do it, what I have to read. Kindly give me some detailed information since I'm beginner to Visual Basic. If possible give me some code. P.S -- i prefer to do it in visual basic. any help is welcome. Eswar thanks for that. but you didnt tell me about mouse cursor movement. i will really appreciate if anybody tell me how to move cursor in that opened browser window and apply mouse click operation programaticallly. even i dont know is it possible or not.. thanks, Eswar. ...Show All
Internet Explorer Development IE7 Crashes when undocking
Since I upgraded to IE7, I notice when I undock my laptop (to carry it to another location with an ethernet connection) IE7 disappears. I assume it crashes but does not produce any kind of message. It disappears from the task list altogether. It doesn't prompt me to close tabs or anything. FYI, I have a second monitor in my docking station but I move IE to the laptop screen before I undock. My enabled addins are as follows: Adobe PDF Reader Link Helper (Version 8) Diagnose Connection Problems Shockwave Flash Object SSVHelper Class Sun Java Console Windows Messenger I do not have any Office 2007 apps installed. Only Office 2003. Have you tried startin ...Show All
Visual C++ After installing VS 2005 SP1 the debugger doesn't show MFC source files
Having installed Visual Studio 2005 SP1 and rebuilt all my C++ projects I find that I no longer have source-level debugging available for the ATL MFC classes. Is there a fix for this If not I'll have to consider reverting to the original setup. I haven't applied SP1 yet, but chances are, you simply need to open one of the source files explicitly while debugging and you're all set again. The PDB file effectively stores the complete path of involved source files on the build machine. Since things were probably build somewhere in Microsoft's build labs, there path won't match the path on your own box. The VC debugger does some kind of mapping. This is complete speculation on my part, but it's how I'd desi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ID3D10Counter usage
I'm trying to test Counters, with some problems. Here is a code snippet: const int nCounters = 5; const D3D10_COUNTER type[ nCounters ] = { D3D10_COUNTER_GPU_IDLE, D3D10_COUNTER_VERTEX_PROCESSING, D3D10_COUNTER_GEOMETRY_PROCESSING, D3D10_COUNTER_PIXEL_PROCESSING, D3D10_COUNTER_OTHER_GPU_PROCESSING }; int Value[ nCounters ]; ID3D10Counter *Counter[ nCounters ]; for ( int i=0;i< nCounters ;i++) { D3D10_COUNTER_DESC d = { type[ i ], 0 }; HRESULT h = pDevice->CreateCounter( &d, &(Counter[ i ]) ); if (FAILED(h)) throw i; } The counter creation failed when the third counter is created (I tried permutations) with the following error: First-chance exception at 0x767edde0 in ezDXUT2console.exe: Microsoft C++ ex ...Show All
Visual Studio OutputDir has different behavior with msbee
I want to build 1.1 and 2.0 projects with msbuild and I don't want them treated differently during the build process. I want my 2.0 build results to be put into the same outputdir as my 1.1 build results, however, in MSBuildExtras.Fx1_1.Common.targets there is logic in there which changes the value of the OutputDir to include a [debug|release] subdirectory which I cant seem to get rid of. I don't want this. Is there a simple work around that won't have me modifying this file Help please. Thanks. use NAnt with NAntContrib, then use the msbuild task that is in NAntContrib. I got fed up with msbuild and went with NAnt instead. ...Show All
Visual Basic open a form with only systray icon
Hello, how do i open a form so the form does not show and only an icon appears in systray I know how to make the icon but everytime I do this the form appears. I want to make the form only appear when I right click on the icon and say "appear". Thanks! Well I can get the form to hide on load but in the taskbar the icon is still there. I accomplish this by: (page load) me.hide() Me.opacity = 0 me.visible = false me.showintaskbar = false 'doesnt seem to work But if I right click and select the option from the contextmenu to sho the form I use: me.opacity = 100 me.visible = true me.showintaskbar = true If I have an option on the form once it is show to the user that sa ...Show All
SQL Server How to recover from dropped tempdb?
I am testing sql server 2005 in different disaster situations happened under 2000. I was reading a lot about no update on system tables, so: sp_detach_db 'tempdb' In sql 2000 i could issue something like the following command to recover: use master sp_configure 'allow updates' , 1 reconfigure with override go insert sys.sysdatabases ( name , dbid , sid , mode , status , status2 , crdate , reserved , category , cmptlevel , filename , version ) values ( 'tempdb' , 2 , 0x01 , 0 , 8 , 1090520064 , '2007-01-27 13:03:10.873' , '1900-01-01 00:00:00.000' , 0 , '90' , 'D:\beep\mssql\temp\tempdb.mdf' , 611 ) go sp_configure 'allow updates' , 0 rec ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D Platform Game Help
I'm making a remake of super mario world. The project is going good, i have the basic physics down and just need to draw the level and set the bounding boxes. The question is, does anybody know a program that could create an image from tiles. I have tried creating the map in XNA GSE but all the drawing slows it down. What i need specifically, is a map/image of a level. I could use the original from the game, but i want to have custom levels that i created, also there levels have slopes and stuff and my project isnt fitted for slopes. Besides that i figured once i get it up and running i would try and make a tutorial. I had also my doubt of the XNA performance, so I decided to test this. I am drawing a 80*80 tile 600 times ...Show All
