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

Software Development Network >> Peter N's Q&A profile

Peter N

Member List

Ian Gitlin
rahman39
aidanh
ramyik
drewg
Julie Russell
Prophet
Code_Dog
GeorgeBush
Dmitry Bond
mxale
ErinMartell
doug finke
B Lambert
samseesam
Alasdair Anderson
Jasmine Lee
nima_API
Rof
Charl
Only Title

Peter N's Q&A profile

  • Visual Studio connections restrictions between shapes fail

    hi, i want to restrict the connections between two shapes. I did this by using public override bool CanCreateConnection( ShapeElement sourceShape, ShapeElement targetShape, ref string connectionWarning) for the accordant connector class. e.g there is ShapeA & ShapeB. The problem is, that i can connect ShapeA with ShapeB, if i move the mouse over the "text decoration" of ShapeB although this is forbidden by the con ...Show All

  • Visual Basic Filter datetimepicker (Start Date end Date)

    Hello I've got a database in access and i'm trying to do my first steps in VB Express 2005. I had made a datagridview from one table of my database which contens many columns, one of that column is the field DATE. 1. I want to filter the datagridview by date ( lets say 1/1/2005 to  31/06/2005 - i had made to DateTimePicker fields with value of date). 2. How can i set default value "*" or "ALL" to a Combobox and then use it to filter the dat ...Show All

  • Visual C++ windows.h not found...

    WOW, I can't believe this information isn't easier to find.  I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2.  NOTHING WORKS!  The Directories are not found and there is no apparent way to set them.  Apparently users have found a hack to make it work, but this is crazy.  It seems like the first Microsoft person to install this would notice that it doesn't work an ...Show All

  • Visual Studio Team System Code Coverage and switch statement don't work well together.

    Hello. I have discovered a little problem with code coverage. It seems that, if I write a function that uses a switch statement to test a string and with more than 6 branches, when I write a test for that method, although the test covers all of the code blocks, the code coverage engine shows 1 block as not beeing covered. The code is nicely colored in blue showing I tested all of the branches, but still. I have tried to use an integer for ...Show All

  • SQL Server "could not open connection to SQL Server"?

    I just installed a new SQL 2005 Server (September CTP - Developer Edition) on Windows Server 2003 (Using Virtual PC). I have created a Data Model to be used for creating reports.  When I tried to deploy the Model, I got an error along the lines of "...SQL Server does not allow remote connections...". I then took a step back and tried to browse the report server ( http://localhost/reportserver ) and I got the message below: An error has occu ...Show All

  • Windows Forms Get the version of setup

    Hi, I want to get the version of setup and save it to xml file for future using. How can I do this Thank's Alexei Hi, I have found how to use this objects: Code in function: WindowsInstaller.Installer installer = new WindowsInstallerClass() as Installer; string pname, ver; foreach ( string prod in installer.Products) { try { pname = installer.get_ProductInfo (prod, "InstalledProductName"); if (pname.Trim ...Show All

  • Software Development for Windows Vista Vista and Virtual Machine

    I got Vista running fine on VM 5 and its working decently. Problem is I cannot install the Virtual Machine additions. THe install just sits there and does nothing for quite some time. Any ideas Resolved. Remove display adaptor and monitor through device manager. Works fine after reboot! ...Show All

  • Visual Basic Displaying Key / Value Pair in A ComboBox

    Hi Everybody Call me a little bit dumb but I have a problem in VB2005 that I cannot solve. I have a Field in a Database Table (called AddressType), that stores a tinyint value. There are four valid values allowed (1 or 5 or 10 or 20). Each of them has a different meaning. Now I want to display a databound ComboBox on a userform, where the user can change the Value. So far so good, but the key Values are not very descriptive, so when th ...Show All

  • Visual Studio Uninstall VS 2005, SQL 2000 broken

    Hi; I thought I got the VS 2005 Beta 2 uninstall correct - maybe not. After the VS 2005 uninstall - When I try and run SQL 2000 I get snap-in error (snap-in failed to initialize). I uninstall and when in the re-install of SQL 2000 the setup not really hangs but kind of ignores any input in the Authenication Mode dialog. To proceed through this I can only cancel this panel of the setup wizard. The setup appears delighted at this and goes on ...Show All

  • .NET Development sqlTransaction problem

    have a DataTable with an autoincrement primary key that is retrieved from the database after insert. When I execute my InsertCommand within an SqlTransaction the rows in the DataTable are updated with the autogenerated key from SQL Server. However, when one of the inserts fail and I rollback the entire transaction, all my DataRows are left with the invalid keys from the database and a RowState of Data RowState .Unchanged instead of Data ...Show All

  • Visual Basic Help needed to select specific arrays and diplay in a Listbox?

    Ok well the problem I have is that i have to setup a program in which the user selects a Product from its ID which is displayed in a Combobox. Once selected the user clicks the buy button which brings up a quantity input box where the user can enter a number which is calculated and displayed in a Listbox! The problem im getting is that althought it is displaying the information ...Show All

  • Windows Forms What's going on with Terrarium?

    What is the future of this project is it dead Windows Forms Forums have no response for 3 months.. Why it is called sample application, but source code isn't published It would be very nice to have a source code of this interesting game application I'd like to see the source too! Maybe it would benefit from being recompiled for .net 2.0 though - generics et al :) ...Show All

  • Visual Studio Tools for Office Why does the ContextSwitchDeadlock happens?

    I got following error in a very basic VSTO Excel Workbook project. My method responds to a hyperlink, sets some integer values in a 10x10 cells array; and then user rng.Find() to find a specific string. However, the last part is when the while loop continues trying to get the next string with rng.FindNext(foundRange). The strings are found, but then Excel does not return from it (it takes all my CPU time); and finally, I got this error. Conte ...Show All

  • Visual Studio To rename the local copy of the files retrieved from vss using get method. - URGENT

    HI There is a need in our project to migrate from VSS to our web based tool. So we need to dump all the files with all the versions to a local directory, so that we can move our project to the web tool. I have a problem in retrieving all the versions of the file. Our requirement is to retrieve each version and append the version number to the filename. Can you plz. suggest some idea as soon as possible. Thanks. ...Show All

  • Visual Studio how do I set up Remote Internet Access with vss 2005.

    HI, I am trying to use VSS 2005 by using the internet through http. How do I do this Where can I find clear and precise instructions on how to open my browser and checking remotely My lan connection is working fine but I really ned to use http. Can this be done without using Visual Studio 2005 thank you in advance AnnaDD3 Greg, Thank you for your response. Can you then please explain how- compared to version 6. ...Show All

©2008 Software Development Network

powered by phorum