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

Software Development Network >> Sreekumar's Q&A profile

Sreekumar

Member List

Grant_Holliday
Xzi
Naemoor
Gil Fefer
BrianJones-Adroit
John Oliver (UK)MSP, VSIP
Bobby Kuzma
Praxidata
CivicPride
Stephen Witter
Tumnus123
ercilia hirata
Kevin Tambascio
jjenk
John Joslin
Jim Nakashima - MSFT
SJBeskur
deanhully
Amar_k_solai
JCichocki
Only Title

Sreekumar's Q&A profile

  • Visual Basic Context Menu Item Click, using my own code

    Ok, I'm trying to use code to create and use a menu strip. I can get the menu to open, but I'm having trouble handling the "onClick" event. Can someone help I need to perform an operation when the item is clicked but every time I try it says "expression does not produce a value"... All I basically want it to do is copy some text to the clipboard for me...but I can't seem to do that, nor anything else I have tried. Someone please help! Here's where I'm at: Private Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click Dim contextmenu As New ContextMenuStr ...Show All

  • Visual Basic Dll

    what can you do with dll and how a DLL( Dynamic Linkable Library ) is used as a support object for executables... as stated it is where you put your reusable code and compile it to a DLL From MyDllProject Public Class MyClass Public Sub DoSomething ... End Sub End CLass From MyExeProject I create a reference to MyDllProject.dll and from MyExeProject I can reference public classes and methods: MyDllProject.MyClass.DoSomething ...Show All

  • Visual C++ Excessive rebuilds

    I have quite a bit of base code (a bunch of header files) that I reuse for many of my programs; I store them in a folder /Common Code/, and it has always worked fine. Just yesterday, without (knowingly) doing anything wrong, any program that I have that includes these header files forces a rebuild of all source files whenever I try to run or compile it, even when I haven't changed any code. I'm guessing that I accidentally toggled some command in the Visual Studio environment, but I've searched around the menus for a while and couldn't find anything. Does anyone know of any possible reason Thanks, Jesse Beder ...Show All

  • Windows Forms TreeView duplicating nodes in Internet Explorer

    I'm having some serious problems with the TreeView control. I've got a control that inherits TreeView and has some methods that firstly create a TreeNode then does some recursive procedure to add all the children from a database of a sort. Then once this is complete I clear the nodes, then add the TreeNode so it should be the only root node. The only problem is that for some very VERY strange reason there are two root nodes, with duplicate child nodes. This is very bizare as this.Nodes.Count returns 1 and base.Nodes.Count also returns 1, so there SHOULD be 1 root node but there are two. Also, I created another TreeView inherited ...Show All

  • Visual Studio Express Editions Cannot open file.

    Okay I click new project , then I click windowed application and then finish. all works fine then I push F5 to build. I get the following information in a dialoge box. ------ Build started: Project: zane, Configuration: Debug Win32 ------ Compiling... stdafx.cpp c:\program files\microsoft platform sdk for windows server 2003 r2\include\windows.h(157) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory Project : warning PRJ0018 : The following environment variables were not found: $(ProgramFiles\Microsoft Platform SDK\Include;$(VCInstallDir) Build log was saved at "file://c:\Documents and Settings\Owner\My ...Show All

  • Visual Studio Customize parameters page styles

    How can I customize the style of the parameters page when running a VS2005 crnet2.0 web site launched report ...Show All

  • Windows Forms How do I filter a BindingSource using the Child token?

    I have to DataTables with a parent-child relation set between them. The BindingSource object is bound to the Parent table. Is there a way of applying the filter with search/filter criteria specified for the child DataTable I've tried: ParentBindingSource.Filter = "child(RelationName).aChildCol='strToFilterOn'" but I get an error "Cannot interpret token 'child' at position 1." Any ideas on how this can be done After some research I've seen comments stating that Child can only be used with aggregate functions. Is there a way to use any aggregates to achieve the above Thanks, Nate ...Show All

  • Visual Basic How do you open an embedded resource?

    I am trying to make a program that will will make it easier for me to access some of my smaller frequently used program. I am new to Visual Basic and just discovered how to embed a .exe file into the project. I just dont know how to open it now. Basically there is a button and when it is clicked it needs to open up a .exe file, lets just call it 1.exe. I have looked around everywhere on how to do this and all I found was some resourcemanager commands but I have not been able to get them to work can someone please help me and post some sample code because like I said I just started using visual basic. Thanks ...Show All

  • Visual Studio Team System TF86001: Team Foundation was unable to load the Office AddIn

    After dealing with the daunting install process and getting it right, now I'm able to create projects and work with most of the items, however I found a new issue while trying to open any of the Excel sheets included in the default project team solution structure from WSS and I get that error, funny thing is that this only happens with XL files, since I can open Word and Project files with no issues Here's what I'm running on: Server: Windows Server 2003 sp1, SQL 2005 Sep CTP (data, analysis and reporting services), VSTS Server Foundation beta3, WSS sp2 Client: Windows Server 2003 sp1, Office 2003 Pro sp2, VS2005 Release Candidate, VS ...Show All

  • Smart Device Development PocketPC 2003 Full Screen App

    I am modifying a PocketPC 2003 Visual Basic app. I am using VS 2003. Does anyone know how to write the app so it runs full screen I basically want my app to start full screen when the user turns on the device and lock the device down so that's all the user can do and use all of the real estate on the screen.. I'll include some backdoor way to get to the OS if required. Any help or direction would be greatly appreciated. There is a nice artice on MSDN, How To Create Full-Screen Applications for the PocketPC . So the code will look something like this: [DllImport("coredll.dll")] publ ...Show All

  • Windows Forms How to get DataGridViewComboBoxColumn's selected value for validation?

    Hi. I have a bound DataGridView with a DataGridViewComboBoxColumn. I want to validate the value the user selects.  I'm working in the grid's CellValidating() event handler. How do I get the newly selected value of the item selected in the combobox    In the grid's CellValidating() event handler the DataGridViewCellValidatingEventArgs "e" parameter gives me the previous combobox value which is useless in this case. I need the newly selected value for validation.  Here's code from CellValidating: int iVaseTypeID = (int)this.dataGridViewFlowers.Rows[e.RowIndex].Cells["datagridviewcomboboxcolum ...Show All

  • Visual Studio 2008 (Pre-release) Work around for common install problem when moving to WinFX Beta 2 from WinFX February CTP

    There is a section in the release notes for the May 23 WinFX Beta 2 release that is worth calling out since many WinFX users may encounter the issue that it covers. See section 2.8 in   http://msdn.microsoft.com/windowsvista/support/relnotes/winfxbeta2/default.aspx . 2.8 WinFX Beta 2 installation fails on a system with WinFX Jan CTP or earlier previously installed WinFX installation fails with this error: ERROR_INSTALL_FAILURE 1603 Fatal error during installation And in one of the %temp%\dd_wcf_retCA*.txt log files, it shows the following: ServiceModelReg [15:48:08:041]: Installing: Microsoft Digital Identity S ...Show All

  • Visual Studio Team System ASP.NET unit tests and the Page Lifecycle

    I am writing unit tests for some ASP.NET webcontrols and have hit a brickwall. Some of these controls depend on the page lifecycle.  For instance, one of the methods on a control works only on Prerender or after Page load. I tried the private object's invoke method like below, after adding my control to the page, and before calling the specific method of the control:                     PrivateObject po = new PrivateObject(page);                   &n ...Show All

  • Smart Device Development Opening Serial Port more than two times this error occures “The Port ‘COMx:’ does not exist”

     Hi all! This is my first post here, but I am really baffled by this issue, so here goes, I hope someone can help. The hardware this is running on is an Axim X50 with WM 5.0. I am using a CF+ Serial Card as a com port. I have access to CompactFlash cards from Quatech as well as from Socket and Ratoc and have this problem with all of them. This program runs fine twice then when I start it a third time I get the error “Port ‘COM4:’ does not exist”. The com port exist in the list returned by GetPortNames.   The code that I used to test this problem in a console application follows: ...Show All

  • Software Development for Windows Vista Unloaded/Persisted Workflows.

    Aside from accessing the DB directly, is there any way to query the currently active workflows that are persisted to the DB once they are unloaded I have. But ASP.Net is not persisting to DB as I've mentioned in another posting. ...Show All

©2008 Software Development Network