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

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

Zephyr12345

Member List

Jessli
Sathik
Senthil.P
Zeid
Brennan
Muldy
KiAsU
Sanjay More - webwaretech
hugo s
kregger
DinaD
JoelAirsoft
Lorenzo429
Tom PIC
Sergio Sevilla
daniel qi
SebaM
LV64
JasonMcF
Christopher DC
Only Title

Zephyr12345's Q&A profile

  • Visual Basic Error when trying to update a database.

    I have this code: Dim RowValues(2) As String RowValues(0) = AdUser.Text RowValues(1) = AdPass.Text RowValues(2) = AdTimes.Text UserPassDS.Users.Rows.Add(RowValues) UsersTableAdapter.Update(UserPassDS.Users) When I try to update (the last row), It says an error. The error is: System.Data.SqlClient.SqlException was unhandled   Class=14   ErrorCode=-2146232060   LineNumber=65536   Message="An attempt to attach an auto-named database for file E:\Program Files\Microsoft Visual Studio 8\Common7\IDE\DB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is ...Show All

  • Visual Studio Tell VSS to ignore a file - basically like .ignore in CVS

    I have a file containing the connection strings for a project like this: < connectionStrings configSource = " ConnectionStrings.config " > Each developer has their own ConnectionStrings.config file - we would like this file to be part of the project (with Copy always set for the "Copy To Output Directory" attribute), but not included in VSS (or at least ignored on check ins and definitely not overwritten on when we get the latest version).  In CVS we could add the an entry to the .ignore file and it would be ignored by CVS clients - is this same functionality available in Visual Studio / VSS   If not how you handle th ...Show All

  • Microsoft ISV Community Center Forums MS Word Option Button Collection

    Hi, I am trying to use option buttons from the control toolbox in a word document. I have set the groupname and they work fine but.... I then need to loop through the option button values in the group and I can not work out how to create the array or collection - I have tried the shapes property and the inlineshapes property of the active document but they have not worked. I need code a bit alike below: dim optBtn as msforms.optionbutton for each optbtn in activedocument . msgbox optBtn.value next optBtn I can not work out what should be where the are Please help Many thanks Per one of our support engineers... try this code: ===== ...Show All

  • Windows Forms Need Help with Panels

    Hi all,        I have a Popup menu in my menu bar. I have two MenuItems there. If I select first one of them a panel should show up(this could be a form but I used panel). If I select the second one a different Panel should show up. What I did was create two panels and made them invisible. When I click the f ...Show All

  • Windows Forms Static component - is it possible?

    Is it possible to create a component that behaves like static - each time you put it into the designer's tray it is the same instance of the component For example, I have a collection of styles, brushes, etc., which is a component. I also have a couple of forms, each needs the collection. I put the collection for each form into it's components' tray. Each time a new instance of the collection is created. I want this collection to be the same instance for each form - a kind of static. Is it possible Thanks, truetype I still do not believe that adding a singleton instance of a class like the one you describe ...Show All

  • .NET Development DataLayer.Primitives Public Version Released!!!

    Hi, It is my best post in my blog. DataLayer.Primitives is very useful code block oriented to DataLayer in .NET Applications. http://guydotnetxmlwebservices.blogspot.com/2004/11/datalayerprimitives-and.html Download source code!!! ;) Javier Luna http://guydotnetxmlwebservices.blogspot.com/ Hi, Those visitors of this post who dont speak spanish I reach the following link to them.  DataLayer.Primitives - Readme! http://forums.microsoft.com/msdn/ShowPost.aspx PostID=1389 Of where they will be able to review the brief documentation of the DataLayer.Primitives in english language. Cheers, Javier Luna http://guydotne ...Show All

  • Visual Studio Team System Lost Web Test Editor - all WebTests view in XML by default

    Hi, I seem to have lost the web test editor for viewing my web tests. The system is defaulting to opening these with the XML editor instead. Can anyone out there tell me what the default location of the Web Test Editor executable actually is, so I can add it into the "Open With" List for web/load tests. Thanks You must have clicked "Set as Default" on the "Open With" dialog for the XML editor.  The web test editor should be listed in the "Open With" dialog (there is no need to "Add" a new editor).  Just choose the "Web Test Editor" and then click "Set as Default" to restore the settin ...Show All

  • Windows Forms MainMenu Control

    Hi, I am relatively new to Visual Basic.NET.  Is there any way to change the color of the MainMenu Control.  Does it have an OnPaint method that can be overridden.  I would like for the Menu to blend with the background of my forms.  I would greatly appreciate any advice. Have a look at the source on my site, to&nb ...Show All

  • .NET Development Change output date format in xmlserializer

    I am using xmlserializer to output an object to an xml file but my customer can not read the default date format.  Is there a way to change the default format for dates   This is an example of a field.  This is a VB project.  <XmlIgnore()> _ Public Property transmissionCreationDate() As string Get transmissionCreationDate = __transmissionCreationDate End Get Set ( ByVal Value As String ) __transmissionCreationDate = Value __transmissionCreationDateSpecified = True End Set End Property Thanks for any help. Well, then the other possibility is for ...Show All

  • Windows Forms Keys Property

    Hi, I am working on a tetris control which is almost finished. At this point I am adding property grid with options at run-time. I have properties with Keys values to let the user choose Keys to move figures left, right and down. But in the property grid not all the Keys values are displayed - only the F-keys and modifiers are displayed. Any ...Show All

  • SQL Server ADOMD.NET 8.0 dependencies for connecting to both AS 2000 and AS 2005

    I've got a C# application developed with Visual Studio .Net 2003 which uses Adomd.net (8.0) to access cubes on SQL Server 2000 Analysis Services as well as SQL Server 2005 Analysis Services. In the MSDN reference page I noticed that I can set the connection parameter "ConnectTo=Default", and now, after installing the SQL Server 2005 Client Connectivity components, I can make connections to both AS2K and AS2K5 from my development machine (XP SP2). However, I can't figure out the dependencies to make this work on other systems. On another XP SP2 system (pretty bare-bones), if I install either the SQL Server 2000 or 2005 Client Con ...Show All

  • SQL Server Cannot backspace or create newline in Query Editor

    After creating and editing queries in SSMS I will occasionally get into a situation where I can only type characters into a query, i.e. I cannot backspace or create a newline in a query.  Also after the problem occurs when I close SMSS I get this error: SqlWb.exe application error.  The instruction at '0x473f9d1' referenced memory at '0x03e51eb8'..  The memory could not be "written". I've discovered this is because I have a legacy DTS package open.  If I close the legacy DTS package the query editor works fine and I do not get the application error.   ...Show All

  • Visual Studio error while installing VS 2005

    I had VS installed on my computer but one day when I wanted to start it it poped up a message box saying: Unknow Error, I've tired to reinstall it but it didn't help, so I tried to remove it but couldn't so I thought I will remove it manualy, so I've deleted all off the VS files from Program Files, Application Data, Document&Setting etc. also removed a lot of registry entries but now when I want to start the setup during the loading a error occures which says that the is a problem with Suite Integration Toolkit Executable in setup.exe i module: vs_setup.dll and just closes and nothing happens is there any solution to this ...Show All

  • Visual C++ noobie listbox value question

    im fairly new to the visual environment and have been playing around with listboxes recently in visual c++ 2005 express edition. i assigned a binding source to a listbox and have a button which implements a function requiring me to get the value of a particular selected item, or all of them. the listbox->items attribute gets me an objectcollection from which i can get the string value, but not the value associated with that string. from what i can tell, the listitem and listitemcollection is not available in c++, which sound like they would do the job nicely. the only other useful information i found was here... ms-help://MS.VSExpressCC.v ...Show All

  • Visual C# good c# book for window form and ADO

    I have read Jesse Liberty's Programming C# third edition. Now I am working on C# 2005 ( window , ADO ,database) , and looking for a good book with more pratical codes inside. Please give suggestion. The best book on Windows Forms programming that I've encountered is: Windows Forms Programming in C#, by Chris Sells. But be aware that a new version of that book is coming out on May 5th. (The title's changed to Windows Forms 2.0 Programming, ISBN: 0321267966) ...Show All

©2008 Software Development Network