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

Software Development Network >> Dhanya Ajith's Q&A profile

Dhanya Ajith

Member List

PiGuy
Lawrence 007
ebeofrei
RobotBambi
oswaldorb
Muna
PhilipDaniels
leonardoreyes
re infecta
Monjeman
thomas_woelfer
Peter Huber
Ultrawhack
Jademobile
Tony Hild
A kid
PublicError
Jassim Rahma
pbaxter
SoulSolutions
Only Title

Dhanya Ajith's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Custom Vertex Format

    I have been playing around with creating my own custom vertex formats in XNA. To test whether it works I am creating a vertex format that is the same as VertexPositionColor. I created a struct with a Position, Color and SizeInBytes property. Creating the vertex element array is also no problem. Until here my vertex format and that of VertexPositionColoris exactly the samen. The only thing that is different is what both return in the GetHashCode method. I believe this value is used to actually use it (in combination with the vertex element array to index this value). In the GetHashCode method I return: this.Position.GetHashCode() | this.Color.PackedValue.GetHashCode(); I got this from this article . Can anyone tell me what I am doing wrong ...Show All

  • Smart Device Development dpms shutdown

    sometimes not every time i get online my computer will for no reason shutdown completely.the screen goes black with a blue box that says dpms shutdown mode.then it shut down completely.i have a hp with windows xp.i have checked my bios and there is nothing there about it,and i have checked my power management and hibernate is off nothing is set to shut cp down. please can somebody tell me what is doing this thank you! ...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. Thanks for you info. Is this file clr\src\bcl\system\object.cs equivalant to clr\src\vm\comobject.cpp   If I want to see the definition of the other bass classes, shall I look into this folder "clr\src\bcl\" or " clr\src\vm\"       ...Show All

  • SQL Server Newbie questions SQL Server2005 Reporting Service-Urgent

    I have a report parameter that will give choice to the user to pick 1 to 4 values as a input to run the report.For example if the user picked one option i have to assign other values as not NULL.Because my qurry is ANDing all input to get the result.For example if A,B,C,D are the user input,My qurry is doing A AND B AND C AND D. If any one input is null the result will become NULL.I can't substitute OR instead of AND . Can anyone help me to assign a default vale NOT NULL ,but it shouln't affect my requirement. Thanks Masi Andy Thank you for your reply My report is indeed query based. I had done the steps you told me to do. But the problem is that if I do not give ...Show All

  • Windows Live Developer Forums In my microsoft virtual earth map application, how can I realize the following function: select a area and Zoom into this ar

    In my microsoft virtual earth map application, how can I realize the following function: select a area and Zoom into this area I only need the sample in javascript. Thanks you very much. Jake, PLEASE goto http://dev.live.com/virtualearth/sdk/ to learn about VE functions, and PLEASE stop asking questions the ultra-dumb way. Thank you. ...Show All

  • SQL Server How do I update a field only if update value is not null?

    Hi. I'm not  such an expert in sql and I wanted to update a table's fields only if the value that im going to update it with is not null. How do I do that What I mean is something like: --------------------------------------------------- Update database.dbo.table set if(@newvalue !=null)      afield = @newvalue; -------------------------------------------------   Really need your help on this. Thanks. Wow, that's really amazing... Really lots of thanks. I just tried it out and it's exactly what I was looking for. ...Show All

  • Visual Studio Express Editions Add SQL Database to project

    Hi, I hope, I'm in the right Group. Everytime I want to add a Empty Database-file (*.mdf) I get the error, that I don't have the SQL Server Express installed. But it is installed and the Server is running. The option "Allow remote connections" is enabled. In VB express I go to "Add -> New" and Database (*.mdf) Please anyone Thank you Bruno J.C. Nunes wrote: Click with the right button of your mouse on the project name in the solution explorer, then ADD --> NEW ITEM --> SQL Database That's excatly my Problem. Everytime I do that, I get the Error, there is no SQL Server installed and I should download it at http://go.microsoft.com/fwlink/ LinkID=49251. But it is inst ...Show All

  • SQL Server Procedure expects parameter which was not supplied...?

    I have this SP definition and below that the code to execute it from .Net. But I'm getting this error: Procedure 'GetNewId' expects parameter '@Key', which was not supplied. Saw an solution on some site which said to set the value of the output param to NULL before calling it, but that didn't do anything. Anyone have any ideas why this may be happening Thanks in advance. CREATE PROC GetNewId(@TableName varchar(32), @Key bigint OUTPUT) AS Declare @NextKey bigint BEGIN TRAN SELECT @NextKey = NewID from ID where TableName = @TableName IF (SELECT @NextKey)IS NULL BEGIN INSERT INTO ID(NewID, TableName) VALUES(0, @TableName) END UPDATE ID SET NewID = NewID + 1 Where TableName = @TableName SELECT @NextKey = NewID from ID where TableName ...Show All

  • SQL Server Simple Todays date query question

    Hi, I have just started using SQL server 2005 reporting. But I am stuck on my select part of the report. I want to bring back all results from a table for todays date (whatever that would be). I have tried: Where ColumnA = Today() and a few other Today variations. Can anybody please help Also is there a good site / tutorial which helps with SQL syntax, statements, etc. Thanks Dan Hello Dan, This should accomplish what you are trying to do. The 101 is one of the styles you can choose from that will remove the time from your datetime field. where convert ( varchar , ColumnA , 101 ) = convert ( varchar , getdate (), 101 ) As far as where to get some help, Books On ...Show All

  • Visual Basic Can you digitaly sign your program?

    hey i was wondering can you digitaly sign your program and also make to be able to install into C:\Program Files is this possible thank you. There is a Setup Project template in the new project window, but I believe that it is only available in Visual Studio 2005, as when I was using Visual Basic 2005 Express, I couldn't find the Setup template. ...Show All

  • Visual Studio Team System Runtime error

    I have been working on the same project for the last few months with degree of success. However, every few days the client produces a new build for the application that sometime requires a complete re-script. During the latest build I decided to install SP1 for VSTE. Since then I have re-recorded the process and am now unable to play it back without displaying a 'RUNTIME ERROR', this happens on the first post back to the server, i'm not sure if this is due to the new build or the SP. Prevoius tests did not disply this message, however the latest has. i've tried the obvious hidden fields by extracting the manually (not relying on the automated code generated) this has made no difference. Time scales are very tight, I need this to work as so ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GameComponents class inheritance

    Hi, Right now, when you add a GameComponent to your project, it inherits from the class GameComponent in Microsoft.Xna.Framework. In project that is fairly small or for giving components to other peoples, it works great. But I see a problem when you want to build components for a large scale engine. Let's take a Grid GameComponent as an exemple. This game component cannot inherits from any of the class that already exist in my engine simply because C# does not allow multiple inheritance. So, I cannot give the grid any of my scene graph functionality since that functionality is not built in inside GameComponent. I could use an interface to implement this but then I'll have to add the same code to every component. ...Show All

  • Smart Device Development Microsoft Contacts Control

    I want to develop a custom control such as Contacts. I could reuse this Contacts in Microsoft.WindowsMobile.Forms namespace. But only disadvantage is this control takes data from Contacts source. I want to get this type of information from Calllog and SIM as well. What type of control they are using/I have to use to display Name and Number under one column but in two lines Thanks, Vijay The .NET Compact Framework does not implement a multi-line list box. Alex Yakhnin wrote a great article describing how to create an owner drawn list box. I suggest you use his approch documented at: http://www.opennetcf.org/PermaLink.aspx guid=d88b1a1a-a866-4247-a0c8-94ab3c124f63 ...Show All

  • Windows Forms cause a property to display "builder" button to browse for folder ?

    I'm writing a custom control. One of its properties is a directory name. I'd like the property sheet to display a "build" button that--when clicked, displays the standard Browse for Folder dialog. I have no idea how to do this. Any help getting started is appreciated. I don't know if you can call the folder browser directly, so you might need to research that some, but you can do what you want by: Creating a custom editor for your property derived from UITypeEditor (Look at help for this guy for a good sample) public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel. ITypeDescriptorContext context) { return UITypeEditorEditStyle .Modal; //tells the system ...Show All

  • SQL Server I found a bug in Sql Server 2000!!!

    Yesterday I created a table in Sql Server 2000,using this script: CREATE TABLE [dbo].[User]( [Id] [int] NOT NULL, [UserName] [nvarchar](20) NOT NULL, [TrueName] [nvarchar](20) NOT NULL, [Password] [nvarchar](60) NOT NULL, [Department] [int] NOT NULL, [Mobile] [nvarchar](20) NULL, [Telephone] [nvarchar](20) NULL, [Remark] [nvarchar](200) NULL, [Enabled] [bit] NOT NULL, [Available] [bit] NOT NULL, CONSTRAINT [PK_User] PRIMARY KEY CLUSTERED ( [Id] ASC ) ON [PRIMARY] ) ON [PRIMARY] There was only one record in it: INSERT INTO [User] VALUES(1,N'SUP',N'Jim',N'213123',1,NULL,NULL,NULL,1,1) After I executed this script: UPDATE [User] SET UserName=N'f',TrueName=N'gg',[Password]=N'dfsdfsdf',Mobile=NULL,Telephone=NULL,Remark=NULL, Ena ...Show All

©2008 Software Development Network