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

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

Anil Narayanan

Member List

MylesRip
harcrow
Kamii47
Mike Barry
GiovanniP
Joao Gomes
FredV
Rabbi Joseph Gordon
Lili Gao
rdomo
Keyth
pmanisekaran
Philip Coyner
nicolajbor
Chhaya
hans24848
vb_newby
Joe Sanders
Doug 123
worldhello
Only Title

Anil Narayanan's Q&A profile

  • Visual C# Mouse Wheel Won't Scroll

    I have a Microsoft Comfort Optical Mouse 3000 which works great with every application except Visual Studio 2005. I have to spin the mouse wheel at a very high rate to get any scrolling at all in VS2005. I have the latest Vista drivers installed. There are some known issues with the Microsoft Comfort Optical Mouse 3000 in Windows Vista, an unofficial workaround you can try is the following: Install the Vista IntelliPoint software: http://www.microsoft.com/hardware/windowsvista/support/intellipoint.mspx or Click on the Start Button Start typing Device Manager Open Device Manager Disable the HID Compliant Consumer Control Device ...Show All

  • Visual Basic Exceptioon error when trying to set ComboBox.SelectedIndex

    Hello All, First, just so you know, I am not a real programmer and have never programmed in visual anything before and am playing with VB 2005 Express Edition. In the Sub below I am simply trying to change PtComboBox.SelectedIndex when the RunComboBox selection is changed, but am getting the exception error shown in the comments in the sub. In the Form1_Load event handler I have this line. PtComboBox.SelectedIndex = My .Settings.PreTrig and it seems to work fine. I can change the value of My.settings.PreTrig and the box is set properly. There are 4 items in PtComboBox and there are only 2 items in RunComboBox. I sure hope someone can show me what I'm missing here because this makes no sense. Private Sub RunC ...Show All

  • SQL Server Replication Monitor Question

    Hello, We have some mobile devices that are setup to replicate with our sql 2005 server via web sync. It seems that the devices are added multiple times within replication monitor. Is there a way to purge the bogus items. For example we have a mobile unit labeled as Device12 we have it listed under the subscriptions 5x. I would like to purge four of them as they are not currently being the replicated one. Device12-A6EE69A0944 is the valid subscription Device12-EE44D1EF3E24 is an invalid one. Thanks in advance. John You may want to query table dbo.MSsubscriptions in the distribution database to see if it has those extra entries. I'm not saying it's safe to delete them, but I'm guessi ...Show All

  • Smart Device Development windows ce 5 emulator

    Hi, I am new to embedded development. I wanted to know how do you access a device ..say a camera..which is connected to your desktop form your windows ce 5 emulator running on the desktop I need to write an application which previews a webcam and performs post processing on the images obtained...so i can write a directshow based application for the same. But im stumped about how to connect the camera to the emulator. Also, in case i need to access an array of images resident on the desktop, how do i do so form the emulator. Lemme make myself more clear. Incase i need to process a set of 10 images , i hvae these images on the desktop ..but my program needs to run on the emulator , so how do i achieve this I hope i made my probl ...Show All

  • SQL Server advice/suggestions PIVOT

    Hi all, Please look at the attached - I think it works, but I'm looking for some comments/advice. Included is table creation, samepl data and the t-sql statement. [code] SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[DBO].[ProductPriceComparison]') AND type in (N'U')) DROP TABLE [DBO].[ProductPriceComparison] CREATE TABLE [DBO].[ProductPriceComparison]( [CatalogueItemID] [nchar](8) NOT NULL, [RetailerName] [nvarchar](100) NOT NULL, [RetailerPrice] [money] NOT NULL, [RetailerPriceCheckDate] [datetime] NOT NULL, CONSTRAINT [PK_ProductPriceComparison] PRIMARY KEY CLUSTERED ( [CatalogueItemID] ASC, [RetailerName] ASC, [Retai ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can't install XNA Game Studio

    I have c# express installed but when I attempt to install XNA Game Studio it immediately throws this error: Cannot write to: microsoft.xna.framework.dll Any assistance appreciated. Thanks! (moved to the XNA Game Studio Express forum) This sounds like your installation is corrupted, I would try giving the file another download and seeing if that helps. Thanks! ...Show All

  • Windows Forms ETA countdown on datagrid

    I was wondering how can i do a ETA on a column of a datagrid It does a countdown .. 10, 9, 8, 7, 6 ..... etc .. on each row of the datagrid there's a eta for the row. Do i need another thread to do the countdown and update the datagrid I don't have a clear idea to do it ... i don't want to use the main thread to update the datagrid .. To your thread problem, if you really want to use another thread to update the gui, here is a demo on this: http://www.codeproject.com/csharp/csharp_guithreads.asp df=100&forumid=15862&exp=0&select=532217 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=399902&SiteID=1 ...Show All

  • Visual Studio 2008 (Pre-release) Resize Elements inside the canvas

    Canvas contains some UIelements like rectange, ellipse, button etc. I would like to resize child elements, when the canvas is resized. I'm able to resize the Canvas using Adorner. Can someone suggest me the general approach to resize any element that located inside the canvas. for e.g <Canvas><Button>Test Button</Button></Canvas>. In this case Button element should be resized with respect to the canvas. Thanks in advance, Venu I think use of viewbos will be the best practice, you should use adorner to resize the viewbox only, every child element, will resize on its own. ...Show All

  • SQL Server SQL Server vs. XML Configurations

    I have been experimenting with both XML and SQL Server Configurations. Management would really like to go with the SQL Server Configurations, but I seem to be having problems with them. The main goal is to be able to create a configuration for each connection and have every package refer to its specific configuration, therefore in the future we could change say our SA password and only have to update this in a few places rather than for every package. In order to experiment with the problem I am having I developed 2 identical packages, except one uses SQL Server Configurations and the other uses XML. The configurations save the exact same properties. With the XML package I can go into the configuration file and change say the passwor ...Show All

  • Windows Live Developer Forums 3D Map not displayed.

    Hi, I am trying to view 3D maps from my IE 7 browser. My hardware configuration is P4 2.8 GHz; 1 GB RAM; inbuild graphics card with 64 MB of memory. When I switches to 3D mode the 3D control gets loaded successfully but when I zoom in; I can't see any 3D structure; only thing I can see is green land. How can I view 3D objects like buildings & all on Virtual Earth On the VE website, the options link is in the upper right corner of the page. The 3D settings button is near the bottom of the list of settings. Once set, it will be used for any site you visit. ...Show All

  • Visual J# Help With FileSystemWatcher Please

    Hey all, I am having trouble with a FileSystemWatcher. It is not acknowledging changes in a file. I have the FileSystemWatcher's NotifyFilter set to Size in the properties menu. I have the filter set to a specific file because I want it to only watch that file and the directory set to the directory where the file is. So here's my code: public void button_start_Click(Object sender, System.EventArgs e) { try { FileSystemWatcher LogWatcher = new FileSystemWatcher(); LogWatcher.set_Path(optionsForm.getLogFileDirectory()); //Directory of the log file LogWatcher.set_Filter(optionsForm.getLogFilePath()); //Path of the log file LogWatcher.add_Changed(new FileSystemEventHandler(OnChanged)); LogWatcher.set_EnableRais ...Show All

  • .NET Development Image File Execution Options

    Can I specify mdbg as the Debugger in HKLM/Microsoft/Windows NT/Current Version/Image File Execution Options/debugee_name and get the debugee to start with mdgb attached This is useful for debugging services when they start. Unfortunately, Managed-only debugging does not work with IFEO options. More details are here: http://blogs.msdn.com/jmstall/archive/2006/02/16/ifeo-managed-debugging.aspx Interop-debugging would work with IFEO, but Mdbg only has managed-only support. This is something we hope to fix in the future. ...Show All

  • Visual Basic ListBox.Items.Add() doesn't work for me

    Hey everyone, I'm trying to add data to a listbox, but I get a object reference error. Here is a exmaple of my code: The listbox is already on the form: listbox1.Items.Add("Test") listbox1.Items.add("test1") When I run this code, I get a object reference is set to null(System.NullReferenceException) Can anyone help thanks, Brandon M. Hunter I Finally got it. Here is my solution: lstBXSC = new ListBox lstBXSC.Items.ADD("Test") This worked. Buy why i understand the previous error message that I recieve, but I already had control dragged onto the form. Once the control is on the form, a new instance is created right ...Show All

  • Visual Studio 2008 (Pre-release) Access to Template Controls

    Hello, here some xaml: < ResourceDictionary xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:c = " clr-namespace:myTest " > < ResourceDictionary.MergedDictionaries > < ResourceDictionary Source = " Common.xaml " /> </ ResourceDictionary.MergedDictionaries > < Style x:Key = " DefaultLayout " TargetType = " {x:Type Page} " > < Style.Resources > < ObjectDataProvider x:Key = " LayoutData " ObjectType = " {x:Type c:DefaultLayoutData} " /> < ScaleTransform x:Key = " ScaleTransfo ...Show All

  • Visual Studio Print a report when it is hidden?

    How do you print a report/form when it's hidden I am using reportViewer and I don't know how to access the printButton. What I want to happen is someone clicks a button on one page, which calls the report page without the user knowing, and the report would automatically print, any printDialog. I know how to hide the form, just not how to have it print automatically. Any suggestions I figured since I figured this out I could share this information with anyone else who has this porblem. All you have to do is access the reportViewer_RenderingComplete event.. private void reportViewer1_RenderingComplete(object sender, Microsoft.Reporting.WinForms.RenderingCompleteEventArgs e) { this.reportV ...Show All

©2008 Software Development Network