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

Software Development Network >> Narayanan Dayalan's Q&A profile

Narayanan Dayalan

Member List

Plum117
Ska Software
Gary7
vasudupe
AndyL
Michael Barrett
Cem Uney
Eugene Zakhareyev
.net sukbir
john.shu
Rattlerr
Lawr3nc3
ddogg
SynergyNT
mnaples12
Bachi
Ferdinand Kuiper
Guustaaf
kats
Leon Bouquiet
Only Title

Narayanan Dayalan's Q&A profile

  • Visual Studio Express Editions tab help

    hey everyone, I have a program that works fine. Now, I am trying to add tabs to the program so that I can add extra features accesible by clicking on the tabs. 1) How do I change the label of the tabs (TabPage1,etc.) 2) Can I basically do a cut and paste of existing code to now put it onto a TabPage (I want the 'form' to now exist inside the tab page). Thanks Are you going to cut and paste the code or their representations in the designer. It makes a difference. Cutting from the the designer will remove the Handles clauses from event handlers. Be sure to look at then before you cut in the case of a button click event before you cut it, it will look like this: Private Sub cb ...Show All

  • Visual Studio Express Editions Textbox problem?

    Hello guys, I have a question about textbox, the question is how can I retrive data from a database to display in only one textbox, the data will appear if the user fill in the other textbox for example, company address will appear if the user key in the company name textbox. Thank you. That's not really a Textbox problem ;) I suggest reading some of the user docs that come with VB express, particularly the sections about databinding. Then, after you've given it a shot, and you run into an actual problem, there'll be plenty of people who want to help you. But you should really give it a try first, it will make the suggestions and help from others much more valuable. ...Show All

  • SQL Server Query (count) question

    I am somewhat new to SQL and I have a simple question (I think)... I have a field called results that contains several numbers seperated by columns, such as 3,6,16,22 etc. I want to write a query that answers how many of each number occurs from the range. Example: Select (total) results  where id = 6 and results = 16  so the query would have to search within the string results for all the records retrieved and count the instances how would I do this I'd do the following. First you'll need a numbers table as in http://sqlserver2000.databases.aspfaq.com/why-should-i-consider-using-an-auxiliary-numbers-table.html now create a view on your table that splits out the numbers create view Split ...Show All

  • Visual Studio 2008 (Pre-release) where is the RENDER function like other 3d designing technologies

    Hi, I have created a fairly complex 3d object using ZAM3d, the object when i create and render using the "render window" function in zam 3d is pretty good looking but when i convert the same to the xaml the LOOKS are lost. the diff. is visible in this http://img514.imageshack.us/img514/1761/renderdiffmt7.jpg is it possible to do something like "SupressRender" to have the same looks in xaml a well. Thanks and Regards, Brij thanks, but i think, WPF renders an object in 3 phases.... Tier 0,1,2..... right and if an object is getting rendered in tier2, shouldn't the ray tracing be provided (let the Graphic card do it)..... Or we could have more levels fo ...Show All

  • SQL Server Understanding ROLAP

    We are looking at adding a real-time aspect to our SSAS cube set, to allow reporting against a relatively small but constantly changing data Our initial thought was to use ROLAP partitions and dimensions - we were under the impression that the queries would always be satisfied from the underlying relational tables. However, in our explorations we are finding that understanding to be incorrect - SSAS is in fact caching data, so it ends up returning stale data. We've configured our paritions and dimensions for ROLAP and disabled all proactive caching (we would like this solution to work with SSAS Standard Edition, which precludes the use of proactive caching). Is there something else we need to figure Are are we headed down the wrong path h ...Show All

  • .NET Development 2 datatables into 1 datagridview

    I have 2 datatables (T_TimeRegistration and T_ProcessedHour) and know I want to combine/merge them so I can load them into one datagridview. Both have the same columns. Hi, Can you explain a little bit more about how you want to combine/merge them Can you give an example "Both have the same columns." Do you mean that there is a relationship between the 2 or that every fields are the same Charles ...Show All

  • Visual Studio Team System CTP7: Schema Comparison - DEFAULT ((0)) versus DEFAULT (0)

    A user imports a db schema and then compares the imported schema with the current database. Differences are reported related to DEFAULT. The user clicks "write updates", then "refresh" -> Differences are reported related to DEFAULT. Did you import the database from a sql 2000 server There is a bug in SQL 20005 that causes extra parentheses to be added to some defaults. So when you do a comparison between the project and the 2000 database, you are really comparing the design db which is in SQL 2005 to your SQL 2000 database. The extra parentheses that were added by SQL 2005 are not in SQL 2000 which is causing the differences that you see. What version of our product are you runni ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GraphicsDeviceManager and Game issues

    I used to be able to create a GraphicsDevice object and use it (in a utility for generating code from effect files) without having to actually Run() a Game object. I don't seem to be able to do that anymore. Game game = new Game(); GraphicsDeviceManager manager = new GraphicsDeviceManager(game); GraphicsDevice device = manager.GraphicsDevice; if (device == null) throw new Exception("WTH "); Is there some other way to create a GraphicsDevice without actually Run() ing a game A utility like mine that needs to get meta-data from effects or models or other objects that require a GraphicsDevice for construction shouldn't have to create and Run a game object to do that. Btw- Why exactly are Game and GraphicsDevice SO closely coupled ...Show All

  • Visual Basic debug a web application on a server?

    Hi... I have a web application written using VS2005, .net 2.0.. it's located on a server.. I can execute the application just fine from my local WinXP machine thru a browser.. I can also run Visual Studio on my local machine and edit/save files in the web application on the server with no problem. However, when I attempt to run the application on the server in debug mode from my local machine I get a bunch of build errors reading: "Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. " I tried finding solutions searching in these forums and have read through several of the threads that seemed relevant. .... I've done ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Platform Game Help

    I'm making a remake of super mario world. The project is going good, i have the basic physics down and just need to draw the level and set the bounding boxes. The question is, does anybody know a program that could create an image from tiles. I have tried creating the map in XNA GSE but all the drawing slows it down. What i need specifically, is a map/image of a level. I could use the original from the game, but i want to have custom levels that i created, also there levels have slopes and stuff and my project isnt fitted for slopes. Besides that i figured once i get it up and running i would try and make a tutorial. I don't know who this "italian plumber" is that you speak of ;) ... but have you looked at the sour ...Show All

  • .NET Development Using XML with GridView

    I have a xml file that I'd like to display in gridview, but am having trouble getting it to work. When I hard code it, it works fine, but I want to modify the xml file and refresh the gridview. When I try to dynamically bind the xml file to the gridview, I get nothing. The gridview simply doesn't show on the page. I'm not sure where this question is suppossed to be asked, but since there doesn't seem to be a forum for web forms or gridviews in particular, I'm guessing this one. Anywhere, here's the code xmlDoc.Save(MapPath("XmlDocument.Test.xml")); DataSet oDs = new DataSet(); oDs.ReadXml(MapPath("XmlDocumentTest.xml")); GridView1.DataSourceID = oDs; GridView1.DataBind(); Can anybody explain w ...Show All

  • .NET Development Convert DateTime between different TimeZone

    Hey, We need find a way to convert DateTime between two different TimeZone regard what TimeZone you chosed in your local machine. We found all TimeZone information are stored under HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones . We want make sure this registry key are same in vary windows os, such as 9x, 2000, NT, XP, 2003 server and Vistra. If you have can help us verify this, that will be great. Thanks, SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones will be good for all Windows OS If there have any version OS it doesn't support, please let me know. Thanks, ...Show All

  • Visual Studio 2008 (Pre-release) can I bind a controls IsEnabled to the SelectedIndex of one or more comboboxes?

    I am trying to implement a UI in WPF where the user can only use a button if they have already selected a value in two combo-boxes. As such I'd like to do something like IsEnabled="{Binding ElementName=comboBox_Name, Path=SelectedIndex}" however this doesn't work, the button stays disabled, I guess because SelectedIndex is an int with -1 being the value for no selection. Is what I'm trying to do even possible with 1 combobox, let alone then making IsEnabled dependant of two comboboxes. If it's not possible is there any other way to achieve this using triggers, without resorting to code-behind. It strikes me that this is a very common UI requirement and if I can only bind IsEnabled to anothe rbinary property such as IsChecked the ...Show All

  • Visual C# Create a new object through the property grid

    My apologies if I didn't label this subject appropriately. I couldn't think of anything better to put as the title. I don't know if this is even possible, but I figured this forum would be the best place to find out:) I have a property: [ BrowsableAttribute ( true ), ReadOnly ( false ), TypeConverter ( typeof (System.ComponentModel. ExpandableObjectConverter )), Category ( "Inherited Physical Values" )] public Shapes. Shape Shape { get { return _shape; } set { _shape = value ; } } The Shape property is from a parent class, "Physical" and is inherited in many child classes. The Shape class is obviously an abstract class which has m ...Show All

  • Visual C++ formatting output to a file

    The problem i am having is trying to format a double type output to show the thousand comma. Meaning ##,###,###.## . The number is of double type with 2 decimal points. 1111111.11 How would i be able to change the output to show the thousand comma just before printing to an output file i am using sprintf to output to file. thank you, mike This article might help : http://www.codeproject.com/string/xformatnumber.asp ...Show All

©2008 Software Development Network