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

Software Development Network >> Nitin Sharma22's Q&A profile

Nitin Sharma22

Member List

Jonathan Upton
sgmuser
CLR_cn
digdug
MON205
m.eisenstein
Harpreet Singh
Shen Yizhe
nmfl
NetPochi
Hermit Dave
Davids Learning
BigTimeHacker
salaro
svid
Pintoo Khaira
CodeSweatAndBeers
Walter30140
samsquared
doener
Only Title

Nitin Sharma22's Q&A profile

  • Visual C++ first steps

    Hi Im just starting out to learn VC++, I have previous expericience of c, Java and SmallTalk. I have the VC++ 2005 compiler and the book 'MicrosoftR Visual C++R .NET Step by Step--Version 2003, the first exercise is 'Hello World' to give you the idea...which compiles and runs ok, My question is will I run into lots of problems working through this book...or maybe translating the code will aid my learning I realise its not the best way to start off, but my budget wont stretch to buying another book, Some feedback would be appreciated Ok but seeing as I am going to be using the VC++ 2005 platform, surley it makes sense to get a Book based around the same compiler I will be using, so that its al ...Show All

  • Windows Forms Sudoku help needed

    Hi, I am trying to make a sudoku game but have run into a problem. basically i have a function to create the game view: private void createView() { Table1.Rows.Clear(); for (int rowIndex = 0; rowIndex < State.Board.GetLength(0); rowIndex++) { TableRow row = new TableRow(); Table1.Rows.Add(row); for (int columnIndex = 0; columnIndex < State.Board.GetLength(1); columnIndex++) { TableCell cell = new TableCell(); int value = State.Board[columnIndex, rowIndex]; if ((ActiveCell == null) || (ActiveCell.Row != columnIndex) || (ActiveCell.Column != rowIndex)) { string id = String.Format("BoardButton_{0}_{1}", columnIndex, rowIndex); if (value >= 10) { Image image = new Image(); ...Show All

  • Visual C# Make a File readable only by my application

    HI, I'm developing a windows application in c# and i use video with DirectX. My problem is that i don t want the video to be readable by classic players and only by my program. I ve try to use cryptography but it take to long to charge the video. If anybody as an idea... Sorry for my english, and happy new year, Laura. It's perfect, exactely what i needed. Thanks a lot for your help guys, it s very nice, Laura. ...Show All

  • SQL Server Query to get Linked List kind of data from the Table

    hi Experts, I have a Issue table which stores the below data for many issue. some issue are duplicate to other and they are stored in a field Duplicate_of ID Duplicate_of State 77637 65702 Duplicate 65702 42217 Duplicate 42217 - Verified i wanted to write a query or some stored procedure when passed 77637 should help me get 42217 . Hint : 77637 when passed has field Duplicate_of which point to 65702 and his state will be Duplicate , 65702 will be duplicate to 42217 and state will be duplicate and 44217 is not duplicate to anything and state will be other then Duplicate i appreciate if somebody can help me think in some line to ...Show All

  • Visual Studio 2008 (Pre-release) How to embed one WPF Window into another?

    How can i embed one WPF Window into another WPF Window So, do you want to do something with DirectShow or with MediaElement They are two totally different beasts. ...Show All

  • Visual C# Error while trying to run project: Unable to start program - Access Denied

    I have installed Visual Studio 2005 in my mechine. Then I just tried to create one windows application using c#.net . It was successfully created and build also. But when I tried to execute by clicking F5 it is throwing error like " Error while trying to run project: Unable to start program Access Denied " Please help me in this.   Thanks&Regards, Raja   Hi, I can run application without debug(ctrl + F5). But I need to debug the application. So could you please tell me where I need to grant the access. Please let me know Regards, Raja ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Slow 3D rendering

    Hi all, im having about 650 polygons, rendering in the code below, the problem is that on the XBOX it runs in about 25 FPS, and hack when it gets rotated. Hope someone has a idea to how I can speed it up: private void DrawModel( Model m) { Matrix [] transforms = new Matrix [m.Bones.Count]; float aspectRatio = 640 / 480; m.CopyAbsoluteBoneTransformsTo(transforms); Matrix projection = Matrix .CreatePerspectiveFieldOfView( MathHelper .ToRadians(45.0f), aspectRatio, 1.0f, 10000.0f); Matrix view = Matrix .CreateLookAt( new Vector3 (0.0f, 50.0f, zoom), Vector3 .Zero, Vector3 .Up); foreach ( ModelMesh mesh in m.Meshes) { foreach ( BasicEffect effect in mesh.Effects) { //effect.Ena ...Show All

  • Visual Studio Team System How can I migrate only my Team System Data base for another server?

    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 Ray - Are you looking to change your Team Foundation Server database Or are you having issues with a SQL Server database when using the Team Edition for Database Professionals If it's the former, then we probably need to repost your question in the following forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=477&SiteID=1 If it's the latter, we should be able to help you here, if you can provide a little more detail about what you're trying to do. thanks, ...Show All

  • Visual Studio DSL Setup projects and SDM command prompt - an experience

    Hi, I'd like to share something that happened to me and cost me some pain I did some SDM and DSL development on the same machine, starting with SDM. To use SDM you need wix, but you have to install it yourself and (according to the documentation) you need to specify the location for wix through the WixToolPath environmet variable. (from Distributing System Definition Models) To build an MSI installation package for each of the samples in the SDM SDK using WIX, you must complete the following: Download the WIX tools (for example, download the tools to C:\Wix). Start the System Definition Model Command-Line Window. For more information, see SDM Command Line Window. Execute the following command: set WixToolPath=C:\Wix Execu ...Show All

  • Windows Forms display member of checkedlistbox

    I want to use a checkedlistbox for users to check which record they want to select. Can I show the full detail of record(serveral fields) instead of a single field I want a check box at the first column for user to check it, state the record is selected, there isn't any field for this check box to store the value in my database, the check box is only for me to know which record(s) I'll need to save. can datagridviewCheckBoxColumn do the same thing Or it is only one of the boolean display styles Thank You ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. RenderToSurface

    Hi, I'm writing a XNA-based game-engine as an university-project. I need to render to a texture, but I can't find any information on how to do this in XNA. In MDX I would just use the RenderToSurface-class. Best regards, Roq You create a texture like this: Texture2D renderToTexture = new Texture2D ( device, width, height, 1, ResourceUsage.RenderTarget, SurfaceFormat.Color, ResourcePool.Default ); You need to get a surface from the texture Surface textureSurface = renderToTexture.GetSurfaceLevel(0); You'll probably want a depth surface to go along with it Surface depthSurface = device.CreateDepthStencilSurface(width, height, DepthFormat.Depth24 ...Show All

  • Visual Studio Team System How to ignore compiler-generated members?

    Our company has rule to prefix all class member variables with ‘m_’. When I try to make a custom FxCop rule, it will pick up all compiler-generated controls’ names (starting with underscore) in the web application (VB). How can I make it so custom rule will ignore them Thanks... Alex, it seems that your private members are note checked by FxCop now. First, set the field: "Project->Options->Spelling & Analysis->Run all overridable rules against all targets". It should help. Otherwise you can try to override the TargetVisibility function: public override TargetVisibilities TargetVisibility { get { return TargetVisibilities . (choose apropriate mode) ; } ...Show All

  • Visual C# Problems with references and project dependencies

    Our company is heading for a major source code cleanup but we are currently stuck in the conversion process because of two problems with relative paths in project references and dependencies of external projects, respectively. First, at bit about our source code setup. Each product is maintained in its own folder with the following structure: Product A/    Trunk/    Branches/       Version-1.0/         <contents of Trunk/ goes here>      Version-1.1/         <contents of Trunk/ goes here>      Version-1.2/         <contents of Trunk/ goe ...Show All

  • Visual Studio 2008 (Pre-release) ActiveDirectoryOperationException: Current security context is not associated with an Active Directory domain or forest

    Hi, I have a very simple WCF service (hosted in a Windows Service) with the following bindings: < bindings > < netTcpBinding > < binding maxReceivedMessageSize = " 1000000 " transactionFlow = " true " maxConnections = " 10000 " name = " TransactedNetTcpAndMaxMsgSize " > < readerQuotas maxArrayLength = " 1000000 " /> </ binding > </ netTcpBinding > < wsHttpBinding > < binding maxReceivedMessageSize = " 1000000 " transactionFlow = " true " name = " TransactedwsHttpAndMaxMsgSize " /> </ wsHttpBinding > </ bindings > < behaviors > < serviceBeh ...Show All

  • Visual Studio Express Editions access database

    I know there is a treat about this but it can 't solve my problem I've got vb express on 2 computers now, en when I try to connect by add new datasource, one my laptop i'vr got give a connection string , on the other pc , I can browse to the access database. I already removed the complete office and express editions and installed them again the same problem occures a simple question fot some but i can't find it why is there a difference, and I'vr tried several connectionstring , nothing seems to work Is there someone who can give me a push in the good direction thanks in advance greetz ivo it is xp,with sp2 .net framework 2.0 office 2003 proff. the same config ...Show All

©2008 Software Development Network