Software Development Network Logo
  • Visual Basic
  • Audio and Video
  • Visual FoxPro
  • Visual C#
  • Game Technologies
  • VS Team System
  • Smart Devicet
  • Windows Forms
  • Microsoft ISV
  • Visual Studio
  • SQL Server
  • Visual C++
  • Windows Vista
  • IE Development
  • SharePoint Products

Software Development Network >> Abhishek Chadha's Q&A profile

Abhishek Chadha

Member List

Lars Larsson
Raihan Iqbal
qt1h00
tattoo
D119
Christian Hecht
Wilk06
WebSigMan
BradDaBug
Sweeps78
Bartosz
Mustansir - MSFT
Allah Is Here
Terry Smith
DKeefer
Mohan1
Tryin2Bgood
kidwidahair
ReneeC
NastyMatt
Only Title

Abhishek Chadha's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. StreamWriter text file - load Vector 2 and enums

    I'm making my own tile map game. It's similar to the tile tutorial from Jaegers, but class based (each Map has Screens and each Screen has Tiles which, in turn, have properties). Saving to an XML file is just too big (3 megs+ for a 5x5 screen map), so I'm changing over to saving a text file, but having problems loading the Vector2 and an enum TileList {grass, desert, water}. The save code works fine, but I can't figure out how to convert the stream when its loaded. Is it even possible to do this Or is there a better way to save data besides XML public static Map LoadTextMap( string fileName) { StreamReader reader; reader = File .OpenText(fileName); Map tempMap = new Map (); tempMap.Version = Convert .ToI ...Show All

  • Visual C# toolStrip with Database connection

    i have a combobox on my toolStrip How can I populate with data from a database very simple. I assume you are asking on how you can add entries into the combobox SqlCommand theSQLCommand = new SqlCommand("SELECT * FROM tableName"); theSQLCommand.Connection = someConnection; //create your SqlCommand the above is an example. Then... SqlDataAdapter theDataAdapter = new SqlDataAdapter(theSQLCommand); DataSet theDataSet = new DataSet(); theSQLCommand.Connection.Open() theDataAdapter.Fill(theDataSet); //fills the results given back from SQL into the dataset theSQLCommand.Connection.Close(); this.theComboBox.DataSource = theDataSet.Tables[0].DefaultView; this.theComboBox.DisplayMember = ColumnName ...Show All

  • Visual Studio 2008 (Pre-release) Sept Orcas CTP missing pieces

    I have installed the virtual base and Sept Orcas CTP. It seems to be missing some of the items I would have expected, even items listed in the readme. Specifically it is missing: 1. Extension methods. 2. Linq support for native C#. aka using the 'from' keyword gives a message "not implemented yet". I can call the templates directly but that would have worked in .Net 2.0 3. Object Collection initializers : aka. var mylist = new List<int> { 1, 2 }; 4. Anonymous Types. Though I did not see that this was included yet. Do I need to install other earlier CTP's to gain support for Linq for object collections. I would have thought extension methods would have been added. Is there a matrix anywhere that shows what is and what is n ...Show All

  • SQL Server Edward, any PM possible?

    Edward, Is there a way to get in touch with you on a private message basis I'd like to discuss your coming book and other mentoring questions. Thanks, Philippe pcand at you guesswhat cox net Sure. Just remove "noreply.online." from my dispay e-mail. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • .NET Development UPnP NAT Traversal using .Net

    Hi, Can anyone guide me to a tutorial which explains how to implement UPnP NAT Traversal using the .Net framework Thanks, phertel ...Show All

  • Visual Studio 2008 (Pre-release) Tools for WCF

    First off, let me say, WCF is a dream come true. Its everything I've been wanting to develop distributed apps. Now that wcf is live: http://wcf.netfx3.com/blogs/news_and_announcements/archive/2006/11/08/We_2700_re-done.-WCF-is-live.-.aspx#comments I'm wondering how I should develop applications to take advantage of this new framework In general, I do not think its a good idea to run code developed using beta/ctp's in a production environment (licensing/support etc.). There are a few exceptions to this, but in general, I like to sleep at night, knowing that I'm running code developed using supported tools in the event that something does go awry. And to be honest, I cannot make the pitch to my boss saying we should run beta/ctp ...Show All

  • Visual Studio Team System How can I migrate only my Team System DB

    I have some problems with my Team System data base, so, i want to chenge all and only my data base for other server, any idea how can I do this change Tks, Ray You can backup and restore your database to a different server and then use the RenameDT command in TFSAdminUtil to update TFS to know about the new location of your database. There are some docs here: http://msdn2.microsoft.com/en-us/library/ms252443.aspx Brian ...Show All

  • Visual Studio Team System code coverage on a Web service component

    Is it possible to perform code coverage on a Web service component. The Scenario is: 1. There exists a Web Service component. 2. Client app refers the Web Service component via Web Reference. 3. When the client app runs I need to know what portion of the code was excuted in the web service component- not the proxy. You might want to try the Visual Studio Team System - Developers Forum for this question since the feature is part of that sku there may be more people actively using it there. I did a quick search a found a post that has some links to other blogs and articles that you may find helpful http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=542363&SiteID=1 . Than ...Show All

  • Software Development for Windows Vista Transactions - ensuring consistency between WF and MSMQ

    Apologies in advance this might be quite a complex one! I should say at the outset that I don't want someone to write my solution for me, just am trying to understand a bit more about how to achieve transactionality in WF. I'm currently trying to pilot an STP engine using Workflow Foundation to prove its suitability. Everything in the engine is driven using transactional MSMQ queues. It's essential that no information is lost, and that the workflows remain in a consistent state with the contents of the queue. These are the scenarios I'm trying to tackle at the moment: 1. A message arrives on a queue and triggers the creation of a new workflow. 2. A message arrives on a queue and is passed into a waiting workflow. 3. A workflow ...Show All

  • .NET Development Object.ReferenceEquals Implementation

    Can anyone tell me where I can check for the Object.ReferenceEquals Implementation I'm tring to figure out the differences between Object.ReferenceEquals, Object.Equals and ==. I've gone to the link below http://msdn2.microsoft.com/en-us/library/system.object.referenceequals.aspx It tells me what Object.ReferenceEquals about, but it does not tell me how it's implemented. Thanks. From MSDN, I know that there are a couple of methods in the object class like ToString(), Equals(),ReferenceEquals and so on. I want to know the codes inside these method. Is there a way we can do this Notes: I've checked the Object class in Mono project. Under the System.Object.Equals Method ( http://www.go-mono.com/docs/ ) An implement ...Show All

  • Windows Forms Experts, Could you please help me

    Hi:there I installed SQL server 2005 (Developer Edition) and VB.net 2005 on my machine. When I login sql server by (SQL server management studio), I use sa account and password,(my server is called dwer\dwer ) When I desgin ASP.net application, i have no problem to access this sql server, Now I am designing a Window Application using VB. I cannot simply follow the normal procedure ( Project/Add New Item/ ,then choosing SQL Database from the available template ) to Add a new database to the project. An pop up always warn me that SQL server may not be proper installed or started. ( The server is up running at that time and I can access by the sa/password ) I got completely confused. All the materials I found regarding sql DATA acce ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems with Microsoft.DirectX SDK versions

    Hi, I'm trying to do the Coding4Fun Game Devlopment tutorial, but I can't seem to get it to work. I first tried it with the latest DirectX SDK (june 2006). But when I add the references to Mircosoft.DirectX and Microsoft.DirectX.Direct3D the Direct3D is version 1.0.2902.0 and the DirectX is version 2.0.0.0 This results in this error: The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' and 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll Why is the Mircrosoft.DirectX.Direct3D dll a different version then the Microsoft.DirectX dll I would expect to get the latest version of both in the SDK... ...Show All

  • SQL Server How to solve problem with "NAN" in the report !

    Hi all, I have this expression in one of my report as a value for a textbox. Some times the value for the fileds used in this expression (Fields!Basic_Dollars.Value and Fields!Applied_Dollars.Value) will have an empty string. So a "NAN" value is appearing in the report. How can I solve this problem please =Sum(Fields!Basic_Dollars.Value, "basicapplied") * 100/(Sum(Fields!Basic_Dollars.Value, "basicapplied") + Sum(Fields!Applied_Dollars.Value, "basicapplied")) Thank you in advance. Ephi Ohhhhhhhhhhhhhhhhhhhhhh... Jarret You save my now I can Thank you very much. ...Show All

  • Visual Studio LogOnException: Logon failed

    I am using crystal report in .Net 1.1, I have a main eport and a sub report. The reports are working in my development environment but when I deploy it to a web server I get the following message: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. Nothing is different regarding connection string since I am using the same username and password and the database name in the connection string. ...Show All

  • Silverlight (formerly WPF/E) Differences between WPF/E and Flash

    Hi, I searched a lot on topic "Flash Vs WPF/E" but I could hardly get any concrete information. Can anyone suggest any useful information, URLs on "Comparative study between Flash and WPF/E". Regards, Santosh Kalkeri I doubt very much that the first release of WPF/e will have anything like as much functionality as Flash - unless it's not going to ship for about 5 years - which is quite possible knowing Microsofts track record :) In it's present form WPF/e is so far removed from Flash in terms of functionality that you can barely do anything useful with it at all other than create yet another media player. ...Show All

©2008 Software Development Network