Software Development Network Logo
  • Microsoft ISV
  • .NET Development
  • Visual C++
  • Game Technologies
  • Windows Vista
  • Visual Basic
  • Visual FoxPro
  • Windows Forms
  • VS Team System
  • Smart Device
  • Windows Live
  • SQL Server
  • Visual C#
  • Visual J#
  • Visual Studio

Software Development Network >> kamala kannan's Q&A profile

kamala kannan

Member List

John Ketchpaw
ripern
PaulFila
Bill Rubin
agydad
Daml
Don Collins
Shimit
Chicken-Man
mr_dipity
Suma Sushilendra MSFT
Brad Radaker
Milan Dimitrijevic
Tien Tran
Mo_Fya
Gary G. Little
Math
IndustrialRezn6
venil
system.windows.forms.form
Only Title

kamala kannan's Q&A profile

  • .NET Development System.IO.Ports.SerialPort performance problem

    Hi, I am using new .Net class SerialPort for read/write data from COM port. I am experiencing performance problem. I wrote the test program. All what it does, is read data from COM port and write it to file on local disk. I am using OnDataReceived event to read ready data. The data in COM arrive with spped of 100MSec, 60 byte each interval. My CPU usage on 40% !!! What's going on I have tried not to register for data receive event and it almost the same hight CPU usage after I am opening the port. Any ideas why the CPU usage is so hight. Here is the code. using System; using System.Collections.Generic; using System.Text; ...Show All

  • Visual Studio 2008 (Pre-release) Correction

    Greetings, I've written and enclosed a demo app that creates several geometries on a DrawingVisual and transforms the DrawingVisual based on a MouseMove position. Visually, the performance is good, but a little choppy. The final application may have a geometry count five to ten times whats demonstrated. As more geometries are added the expectation is that the frame rate will be approxiamtely 30 during MouseMove to enable panning that is smooth to the eye. The demo app, which is extracted from a more complex control using three DrawingVisuals, crawls at 6-12 fps during MouseMove translate transforms. ...Show All

  • Visual Basic writing in specific locations on screen

    I am updating vb6 code which displays mathematical formulae in a picturebox.  It uses currentX and currentY to keep track of positions for components of the expression on the screen.  This allows it to generate a formula based on user input and which involves superscripts and powers. In one section of the code I have      xco = Picture2.CurrentX                      and later I have        Picture2.CurrentX = (xco + 100 + xco2) / 2       & ...Show All

  • Windows Forms On a DataGridView control, is it possible to ...

      Completely hide/disable the leftmost fixed column Disable cell/row/column selection mode – A mouse click on any cell/row/column does no selection       If so, how       Thanks, A) Set the RowHeadersVisible property of the DataGridView control to false. B) What is it that you want to accomplish If you don't like the colors of the selected cells, you can set the foreground/background color of the selected cells to be the same as for the unselected cells: Me .DataGridView1.DefaultCellStyle.SelectionBackColor = Me .DataGridView1 ...Show All

  • Windows Forms URLDownloadToCacheFile error when trying to clickonce install

    i am installing in a clickonce deployment and getting the following error in the install log: Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' Result of running operator 'ValueExists' on property 'Version9x': false Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass' Running checks for command 'dotnetfx\dotnetfx.exe' Result of running operator 'ValueNotEqualTo' on property 'DotNetIns ...Show All

  • Visual Studio Tools for Office Outlook VSTO Addin not loaded at startup

    Hi, With VS 2005 BETA 2 and VSTO 2, I'm trying to develop a simple addin for Outlook. But every time I click F5 in VS, Outlook is launched but my addin is not loaded. Even if I use a breadkpoint, I can see that nothing is loaded (a breakpoint on this line is never triggered: this .Startup += new System. EventHandler (ThisApplication_Startup);   ) Do you have any idea Thank. Well, maybe you're rigth I'm just repeating what I've heard at the TechEd 2005 and what I've experienced ;) Bye. ...Show All

  • Visual Basic I want to unload a web page when it is done. How do I do that?

    After I have finished with a web page, it is important that it reset for the next use. I would think unloading it would be the best way to do it, but where do I create the event to unload it (Also by unloading it, I should be forcing the form load event to happen when it is called again, which I want). What exactly does the code look like to do this. Am I safe to assume the code would be the same for both VB 2005 and 2003 Dear Customer, I did not understand your scenario very much. Are you coding with a Winform application or a Web Form Application(ASP.NET) For a Winform, you can ...Show All

  • Smart Device Development how to deploy to spv c600

    I have orange spv c600 (unblocked) and when i try to deploy a simple application with VS 2005, it gives me the following error! The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Device Connectivity Component What kind of certificate(s) that i have to install or what do i have to do note: it gives the same problem with F5 or Ctrl-F5 Phone: orange spv c600 OS: Windows Mobile 5 Is your phone unlocked Could you run rapiconfig and get the settings f ...Show All

  • Windows Forms Rectangles with different Pen widths

    I've noticed some issues with the Graphics class in the way it draws rectangles and I'm wondering if there's any advice around dealing with these issues (my searches came up with nothing so far). For example, when I draw a rectangle with two different pen widths the rectangles are not contained in the same dimensions. Pen pen2 = new Pen(Color.FromKnownColor(KnownColor.Highlight), 2.0f); Pen pen1 = new Pen(Color.FromKnownColor(KnownColor.Red)); pen2.Alignment = System.Drawing.Drawing2D.PenAlignment.Inset; pen1.Alignment = System.Drawing.Drawing2D.PenAlignment.Inset; g.DrawRectangle(pen1, new Rectangle(10, 10, 10, 10)); g.DrawRec ...Show All

  • Smart Device Development Transparent label

    I have a form that contains a background image. I've placed a label on the form and set the background color to transparent, however the label gets the color of the form and not the background image of the form. How can I get the label's background to be that of the form's background image Thanks In order to support a background image, you must have already implemented code for the paint event of the form. Therefore it's probably easier to use DrawString to draw your text directly after your background image, than create a separate control, then when you want to change the text you can change a local s ...Show All

  • Visual C# comapring datasets

    Hi, I have two dataset; ds1 and ds2 with identical schema. There is an id field in each dataset and I need to check which IDs of ds1 are available in ds2. How can I do this with c# ...Show All

  • Visual Studio Help collection manager missing

    When I open the Visual Studio documentation and go to index, I cannot find the Help Collection manager under "collection manager." I cannot integrate the PSDK, DirectX sdk, and National Instruments help into the visual studio collection, but other fellow employees can fine. How can I get the collection manager back so I can integrate the other help files Thank you :) I did a repair install, and the Collection Manager came back. However, when I checked to include the PSDK and restarted it, it went through what looked like the update process, but when it finally opened the PSDK help did not appear ...Show All

  • Windows Forms Enforcing Windows XP Silver Theme in application

    Hi, I am currently developing an application, where I would like to enforce the Windows XP Silver Theme onto the whole application. Also if the machine where the application runs has another version of Windows installed. Is this possible, and if yes how Thanks. Torben Nielsen Hi,... Vb.net: create a public module: public Module m sub main() Application.EnableVisualStyles() end sub end&nb ...Show All

  • Visual Basic PropertyGrid refresh and expanding.

    I have a property grid. After using the collection editor I call refresh so that any new objects appear in my grid. It works just fine except for any previously expanded properties are now collapsed. IF I call propertygrid1.expand it expands all of the properties. Is there a way to restore it to it's state before the refresh Any Idea's at all or a direction to start It seems that i can't find a decent way to expose each of the properties either. I thought of doing it by setting each sub to expanded and recording clicks when they happen to track the state. ...Show All

  • Software Development for Windows Vista Deriving from WhileActivity

    Hi, I would like to construct Activity similar to while and it would be really easy if I could just derive from WhileActivity, which is not possible, because it is sealed. Is there a good reason for that Second question, is there some way to see source code of WhileAtivity, so I do not have to spend hours on implementing something, which is very similar to it It would be great to have source code of it so I could make small changes of code and have it done in few minutes instead of hours spending on studying how to make my own Activity + I could learn from source code how it works. Thank you, Peter ...Show All

©2008 Software Development Network