SrinivasParimi's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Whats happened to the rest of the XNA Montage
In the XNA Montage that was dropped on YouTube some time ago (With the awsome beta demo of XNARacer) more info here! Has anyone got any ideas what has happened to the rest of the games demo'd there. I remeber there was a blood vessel shooter and sme others (forgot) Any ideas Darkside Darkside wrote: In the XNA Montage that was dropped on YouTube some time ago (With the awsome beta demo of XNARacer) more info here! Has anyone got any ideas what has happened to the rest of the games demo'd there. I remeber there was a blood vessel shooter and sme others (forgot) Any ideas Darkside The community games featured in montage are each individually driven by their respective developers/owner ...Show All
Visual Studio Tools for Office Is there a way to communicate between Word Document Addin & Word COM Addin in VSTO?
I have Word Document Addin in VSTO 2005, but I need to add some items to MS Word menu. I'm going to use Word COM Addin to add menu items, but it's going to be separate app. I'm not sure how can I notify Word Document Addin when state changed in COM Addin. What is the best way to do that Does Word provide any functionality to solve this problem Sorry, that I wasn't clear. >>It's not clear what you mean by "Word Document Addin". Do you mean a document-level VSTO project If you have VSTO 2005 SE, you can see it on New Project Dialog under "Visual C#" > Office and it called "Word Document" project. >>It's also not clear what you mean by "state ...Show All
Smart Device Development Is there any Microsoft product for In-Memory Database System?
Is there any Microsoft product for In-Memory Database System like Oracle's TimesTen database System.Data.DataSet class is essentially in-memory database. ...Show All
.NET Development fill datasource using SqlDataReader
Hi, Can anyone give me an example of filling a listbox datasource using SqlDataReader. I want to be able to choose on my lisbox, the display and value members. Tnx. Hi, You can check this out at any basic article explaining SqlDataReader. Check these 2 links : http://www.aspfree.com/c/a/Database/ADO-NET-101-SqlDataReader-2/ http://www.aspfree.com/c/a/ASP-Code/Fill-NET-Listbox-with-SQL-DataReader/ Regards, ...Show All
SQL Server Distribution Calculation
Hi Can someone please tell me how I can take a set of sales orders and generate a table or set of data that show the percentage of sales per product which are in different sales ranges eg Socks - Beige 50% Orders are above $100 20% Orders are above $90 and less than 100 30% Orders are above $60 and less than 90 Many thanks for your time TV This will work: create table sale ( saleId int identity, value decimal(10,5) ) go insert into sale (value) select 100 union all select 110 union all select 90 union all select 20 union all select 30 union all select 100 union all select 95 union all select 35 union all select 39 union all select 20 go select count(*), sum(cas ...Show All
Visual Studio 2008 (Pre-release) Problem with CustomPeerResolver
I have an application that is using the PeerChannel with a CustomPeerResolver. Everything is working except in one case. If I have workstations A and B running, everything is fine. If the CustomPeerResolver restarts, workstations A and B continue to work as they did (no problem). If workstations C and D are then started, they can only communicate to eachother, not A and B. If I restart workstations A and B, everyone can see eachother. Right now, this isn't terrible, but in a real-world situation it could be a BIG problem. Is there anything that can be done about this Also, is there any way to have the clients discover eachother without having a fixed peer resolver running Thanks, Joe The PNRP re ...Show All
Visual Studio Express Editions HELP - Lost default browser
Please Help. Running Visual Studio 2005 Express - and it's great. All was running fine. It was using Mozilla as the default browser. I have replaced Mozilla - the Debugger still tries to start Mozilla and gets in trouble (can't find the file - it's gone). I have used the new browser FireFox to re-set the system default browser to FireFox -but- the VWD-2005-Express still tries to start the old Mozilla browser..... How can I tell Visual Studio 2005 Express to start the now current default browser FireFox Thanks in advance, Paul Run Help-> Search in the IDE and paste this text into the search text box: debugger default browser Read the first entry that comes back. -Tim <MSFT> ...Show All
Windows Forms Mouseover anywhere on a user control
Problem: I want my control to return an event when the mouse enters the control and when it leaves the control. However because i have objects on the form i've had to attach the events to them as well (as the MouseLeave event is fired when the mouse goes over a subcontrol). This means that i could receive 5 or 6 events when a user rolls their mouse over my control. Does anyone know how i can get these events to fire only once Thanks Jim ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using Bitmapfont for your scoring system
Hey all, I just want to start out saying that I love what microsoft is doing with xna, in the few days that ive had my hands on it ive witnessed several impressive projects pop up! Anyways, on to the point of this post. I searched the forum for a post that explained a simple way to make a scoring system (using the tutorial here: http://blogs.msdn.com/garykac/articles/732007.aspx ) and it came up empty, so I figured I would help people with similar C# skills as my own are somewhat basic. After the tutorial they have you write the text to the screen using: m_font.DrawString(20, 20, Color.DarkBlue, "Sample string"); However, thats a pretty static way to write text to a screen, perfect for some things, but useless for a scoring ...Show All
Visual Studio 2008 (Pre-release) CollectionViewSource Problem
Hi Everyone, i hope someone out there is able to help me. I'm stuck with the CollectionViewSource of a ListView/GridView. Code for ListView and CollectionViewSource can be seen below. At Runtime i am adding ListViewItems to the grid. The Content of a ListViewItem is a XMLNode. The content of the XMLNode is as follows : <z:row ows_LinkFilename="Dok1.docx" ows_DocIcon="docx" ows_Modified="2007-02-09 10:29:37" xmlns:z="#RowsetSchema" /> How do I have to set the Source Property of the CollectionViewSource Object. This is driving me crazy!! Whatever i do i am not able to see the listview grouping !!! I greatly appreciate any help on this !!! TIA, Oliver I have the following ListView: ...Show All
Software Development for Windows Vista Determine the Status of a WorkflowInstance using the DB tables
I am writing custom procedures to delete specific workflow instances from the tracking and/or persistence tables. My question: How can I determine the status of a WorkflowInstance using SQL Queries only I have recognized the TrackingWorkflowEvent table, which holds the different states of a workflowInstance. They are used in the WorkflowInstanceEvent table. The description of this table says, that there can be multiple entries for a workflowInstance. But only one of them is the current event. How can I determine the current event Thanks Hi, I would keep editing the tables as my last option. If data maintenance is the issue (tables growing big soon) please take a look at the data maintenance ...Show All
SQL Server Login without Connect Permission somehow managed to become db_owner!?
I tried asking the same question in other forum but couldn't get an answer. I used exactly the following SQL to create a login with sa account in SQL2k5 Management Studio: Create Login yy With Password='yy123Z' Without granting any permission, straight away, i log out sa and login as yy in management studio, yy somehow can access one of my ApplicationDatabase! So i check with the following SQL in my ApplicationDatabase: IS_MEMBER('db_owner') and it returns me 1, meaning yy is db_owner. I then quickly login as sa and double check on the security|login|yy|properties|User Mapping, NONE of the database is mapped! and i also ensure "Guest account enabled for: ApplicationDatabase" is unchecked. What could be the problem i am facing ...Show All
Visual C# sumary not visible in other projects
Hi! I write a .dll file that contains a class, his methods has coments about sumary, parameters and return. If i use this class in the same project, i view perfectly this comments in the tooltips, but if i put this dll in another project ... i don't view the comments in the tooltips of code insight. From the object browser i can't view the comments either. What's the problem Regards. This is most likely because the project isn't set to build an XML documentation file. Take a look at this walkthrough about using XML doc comments to document a component: http://cyrino.members.winisp.net/9112006/XMLDocs.doc . Hope that helps! Anson ...Show All
.NET Development Registry
Hi there, I need to manupilate registry entries. 1) I want to add to the registry so whenever Windows starts my applications starts as well. 2) How can I read and manupilate registry information including the programs that starts at the beginnig of Windows launch. Regards the registry functions are in the Microsoft.Win32 namespace. So you need to import this namespace at the top of your class file. you may wish to read this for some understanding as well as perhaps learning from the examples: http://msdn2.microsoft.com/en-us/library/microsoft.win32.registry.aspx in regards to the key where the startup items etc.. are stored, its usually in this regkey: HKCU\Software\Microsoft\Windows\CurrentVe ...Show All
Windows Forms how to increase row height of listview
hi, In a listview can we change the height of row Actually i am having a listview having 2 column.. if the data in database is larger then the width specified then that data should appear on the another line... so can we manage row height dynamically... all helps will be appreciated... thnx in advance... The height of a listview item is entirely controlled by the listview's Font property. You can't have multiple lines in an item unless you use custom drawing with OwnerDraw/DrawItem. Using a font half the size of the listview's Font in DrawItem gives you enough space for two lines. You can't adjust the height for each individual item. Consider a commercial grid control if you can't li ...Show All
