Mansoor Ali's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. How I get the skin weights?
Hey, I am trying to understand how animations works in XNA. I have modified the content processor to get the vertex buffer of a mesh from a model in a raw data, and I believe that it is in the vertex buffer where the skin weights indices of each vertex for each bone is stored. Does anyone has some clue how to get the skin weights or how they are stored in the vertex buffer Or even better, does anyone know the proper way to retrieve the vertex buffer, index buffer and skin weigths from a model Yes! I find that much more interested. Now, my problem is I dont have any idea how to do that. The only example I have found is to modify the processor in order to ret ...Show All
Windows Forms The selected rows aren't displayed
Hi I have a DataGridView control in my C# application and i want to select some rows in this control in the Load event of the containing form of the grid. The problem is that the rows aren't displayed as selected. The same code i use when a button is pressed (after the page is loaded) and it works fine. Is this a normal behaviour What should i do to select some rows before display de window with data grid Thank you im trying to work on that one, i just dont understand why that would be the case with what you are doing. If I find anything ill be sure to post but im sure other members will also help :-) try this also... when selecting the rows on form_load, check the SelectedRows/SelectedCells ...Show All
Visual Studio Team System not able to add db schema objects
Hi, I have recently downloaded CTP4, but am now having problems with adding new items to the project. For example, I am unable to add a database schema object to the database project. If I right-click the "Schema Objects" folder, and click "Add New Item", the dialog window that pops up has no templates available at all. Am I missing something How can I add object such as a db schema Thanks, Vitaly It looks like 'Add New Item' from the Solution Explorer is not supported yet. If you open the Schema View window and from there choose Add, you get the schema item templates and can go from there. ...Show All
.NET Development halt a databind in progress?
I have a very large query, and I'd like to present the user with per-page results. I have no interest in using the datagrid to do this, and have written my own paging object. For various reasons I want to halt a databinding operation once a certain condition is met. I do NOT want to use e.Item.Visible = false; which solves only the display problem and yet iterates unecessarily when really what I want the code to do is "stop binding, and exit gracefully". Ideally I could use the SqlDataReader object and set some sort of bounds (which it doesnt currently have) that could tell it to "jump to record X, and close out at Y records". This should not be confused with the SqlDataAdapters ability to fill within bounds ...Show All
Windows Forms How to add the .net setup file into a project setup file?
We have developed the project using c#. We have created the setup file of our project, while installing the project, first it should check in that system, wthr .net framework is there or not, if it is not there means automatically it has to install the .net framework. so for that purpose how to add the .net setup file into my project setup file If you are using Studio 2005 it is incredibly easy. Select the Setup project in the Solution Explorer, right-click and select Properties. Click on the Prerequisites button. Then you'll get a list of built-in installers for Dot Net, VC runtime, SQL Express, etc,Windows Installer 2.0. Select the one(s) you want. Be sure to do this for both debug and release builds. These installers are ...Show All
Visual Studio 2008 (Pre-release) ORCAS DEC CTP
What happened to the ORCAS DEC CTP There was a post about it yesterday and now its gone Maybe you could have just said that on the forum thread... rather than deleting it and supressing the information that was there... *jokes*. ...Show All
SQL Server Whats the different between SQL Express & SQL Server 2005?
Hi, I'm working in a small company (less than 30 user), we can't buy MSSql Server 2005: Q1: can we use the Express edtion do access our data I mean for commersial purpose.. Q2: dose the Express edition stand to (30 connection) at the same time Q3: can I add users to it HI, 1. yes , Refer http://www.microsoft.com/sql/editions/express/redistregister.mspx 2. Refer http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx 3. Yes Hemantgiri S. Goswami ...Show All
Smart Device Development Problem - connect to Crossbow PPC emulator
Hello, During building emulator image with Crossbow AK(BSP 'deviceemulator') The problem is: 1. I cannot build PPC emulator with default config.bib & memory.cfg.xml because PPC emulator image exceeds the default NK size(around 32MB). 2. I modified above 2 files to accommodate bigger emulator image. And it worked. 3. But I cannot download bigger emulator image with visual studio 2005. 4. I can download only default size of emulator image(32MB) Can I download PPC image exceeding 32MB How Thanks a lot in advance, Mohit, Thank you very much for the reply and help. From your posting, I got a hint what had made me confused a lot. Exactly as you said, I was using wince6.0 plug-in to connect to wm6.0 emulator image. I cl ...Show All
Software Development for Windows Vista MPEG decoding exception
Hi, I am developing an application which uses a third party mpeg2 decoder. I keep getting the following errors. MPEG decoding exceptionFirst-chance exception at 0x01b02187 in tux.exe: 0xC0000005: Access violation reading location 0x072b90e0. Is there any way I can investigate the cause After a number of these errors, the audio and video seem to go out of sync progressively. I am at a loss to find the relation between these errors and the clock. No source is displayed but disessemby can be seen ! Regards, pcd. Well, if playing with the graph clock is going to help, there is always IMediaFilter::SetSyncSource. Given that, you can write your own clock routine. ...Show All
Visual Studio Missing namespace summary information ... where should the information appear?
Using the latest Sandcastle build plus the Sandcastle Help File Builder ... I'm documenting an API that uses a single namespace. In the created .chm file, I'm getting the following message on both the "project" page and the "namespace" page: [Missing namespace summary documentation for N:x] (where "x" is the name of the namespace). I tried adding summary information to all the .cs files (the API is written in C#) in which the namespace is used: /// <summary> /// blah. /// </summary> namespace foo { ... } But it seems this isn't the right spot to be adding the information - i.e., I'm still getting the error. Could someone point me to where in the source code the summary information for the namespa ...Show All
Visual Studio Tools for Office Newbie Question: Is VSTO what I need?
Background ... I am working on an application for creating a sort of help guide. The user drags files (from explorer) into a hierarchy tree in order to add them to the help guide. The files can be of many types and they will be viewed in a WebBrowser control after being converted to web page (.mht). Most of the files will be Word Doc's, and I want to allow the user to create hyperlinks between these files after they've been added to the guide. I initially tried using the IHTMLDocument2 interface to create the hyperlinks but I ran into some problems. Then I thought that it would probably be better to show these documents using the embedded Word that the WebBrowser loads, and use Word tools to add my hyperlinks. Question ... I ...Show All
SQL Server Snapshot Agent & Log Reader Agent will not start.
Hi All, I would appreciate any help here at all. I am pulling my hair out! I am unable to start the snapshot agent or log reader agent from within SQL management studio. it fails on executing step 2 with unknown username or bad password. I have checked all account details and they are correctly using my domain admin account. I can connect to SQL using teh same account and it also has sysadmin permissions. If i copy the step 2 paramters and start from the cmd prompt (again logged in using the same domain account) they both start fine. Any ideas would be gratefully received. Are you using case sensitive server This error may be caused by account name with improper casing. For example, the domain name mostly likely sh ...Show All
Visual Studio Express Editions Inet?
Can console apps have an Inet If so whats code to add and use, or if there is none whats an alternative what exactly do you mean by "check for updates" this is entirely something you would have to do since its something you have developed yourself. Give a scenario including steps on what would happen if they "check for updates" and what is expected from it and hopefully we will try our best to explain/give the appropriate solution ...Show All
Smart Device Development Issues rendering Images on Treo700
Are there any known issues regarding rendering an image on a Treo 700 I have a 240x240 pixel image that I am trying to render on this device using my application (this is the screen size of the device), however, the image is not displaying properly. Playing around with the image size did not help. Does anyone have any thoughts Thank you See this , items 9, 10, 12. ...Show All
Windows Live Developer Forums MSN Activity
I have submitted my MSN Activity to http://activity.msn.com one week ago. When can I know it is approved or not I did not receive any response until now. Thank you for your attention Regards, Bill Me either, I've submit my application more than 3 weeks, how long should it take to be approved My application's name is "UrMap". ...Show All
