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

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

Ace73

Member List

Philsky
Laser Lu
stuart.marsh
W.Randy
Chris Mann - MSFT
Oz.Net
indiana_c
w84me
Tardomatic
daxwhit
Adcoe
CC.NET
JedG
Me-myself-I
Kaer
NicBar
Gemazz
Nomada
Mike Wachal - MSFT
itmatters
Only Title

Ace73's Q&A profile

  • Visual Studio 2008 (Pre-release) Open a window in front of the current one with the mouse Event

    The window opened in Button Click Method is displayed in the front of the parent Window. void OnButtonClick(object sender, RoutedEventArgs e) { MyWindow window=new MyWindow(); window.Show(); } But, when i tryed the mouse, the new window is at the behind. void OnDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { MyWindow window=new MyWindow(); window.Show(); } How can i open a window in front of the current one with the mouse Event cheers You have to open the new window as modal dialog: Window window = new Window(); wind ...Show All

  • SQL Server creating backup of secure backup of database

    how can create a secure backup of a database in Microsoft Sql Server 2000 i want to perform this task from Visual Basic. Regardless of the interface used to request the backup, you end up with either a TAPE or disk file. The only way to make this data secure is to physically protect the media on which the data is stored. For disk backups, you can encypt the backup file.  SQL Server does not provide its own encryption, but you can use NTFS EFS or other techniques.   ...Show All

  • Windows Forms DataGridView: why don't rows resize after resetting DataSource?

    Using 2.0 Release: My DGV is set up with AutoGenerateColumns=False, DataGridViewAutoSizeColumnsMode.None, and DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders. I set the DataSource to a BindingSource object, create the columns wanted, then set the AutoSize modes.  The first time the Grid displays I see wrapped cells and auto-adjusted cell heights to fit the wrapped text.  When I proceed to reset the the datasource to another BindingSource the AutoSize mode does not appear to adjust my row heights. I'm resetting the DataSource like so: DGV1.Columns.Clear() DGV1.DataSource = Nothing DGV1.DataSource = _bindingSourceItems2 DGV1.Col ...Show All

  • Windows Forms exe file creation

    hi, i want to create a stand alone exe of my windows application. After creating a windows application I simply copied the exe file found in the "bin" directory much to my dismay that the file reqires .net v 1.1 when tried running in a different machine. I am at loss regarding how to create exe .. Any of you have any suggestions  Varun ...Show All

  • Visual J# Application does not exit, remains in memory

    I have a quite sizeable application written primarily in J# (with some C#). Under the .NET framework 2.0, when the close button on the main window is clicked, the exe remains in memory after the application exits. In the previous version of the .NET framework this did not happen. There is one slight difference in the code under 2.0. In the form_Closed() event, it is now illegal to put a System.exit() call which worked perfectly well in the previous version. I have set a breakpoint in the debugger in the Dispose() method to see if there are any active threads, and find only a few system threads with <no name>. How can i get this exe to ...Show All

  • Visual Studio Tools for Office Where do I get the Access Developers Toolkit

    I've been going round in every decreasing circles trying to find out which of the Microsoft products contain the toolkit necessary to deploy applications built in Access 2003. The MS web site contains a wealth of confusing and conflicting information about the ADT but no definitive information on which products the ADT is embedded. I have Office Professional 2000 with a Access 2003 upgrade. Have you looked at this page about Access Developer Extensions http://msdn.microsoft.com/office/technologyinfo/devtools/accessextensions/default.aspx According to that page: "Access 2003 Developer Extensio ...Show All

  • Visual Studio Express Editions LPCWSTR doesn't work with reg commands

    I am making some functions that use regcreatekeyex, regsetvalueex, ect. So I made them and tested them by making a command prompt program and had no problems. Then I tried using the in the form designer and the compiler keeps telling me it can't convert my parameters that are strings into LPCWSTR. So I add the (LPCWSTR) in front of the parameter to convert it. Well my project compiles but recreatekeyex and stuff never succeed. How can I fix this To be able to answer this one properly, we need to know what you are doing. So could you post the code that uses the RegCreateKeyEx function. ...Show All

  • Visual Studio Team System Silly Question: How do I change the checkout directory?

    I've been looking around for a solution to this simple problem, but I haven't been able to figure out how to do it. Basically, I've checked out a project in the Source Control Explorer via VS 2005. How do I change the "Local Path" of this checkout Also, is it true that web projects must be checked out to the "c:\InetPub\wwwroot directory to work OK with TFS " I've checked out to other directories on C:\, and I've had nothing but problems. Cheers! The process you're referring to is called "Get" in TFS. ("Checkout" is what CVS and a few others call it.) The server<- ...Show All

  • Windows Forms Dynamically switching queries and databases

    I am using VS2005 and am able to bind a complex query to a DataGridView at design time. What I ultimately want to do is: (1) Select a named query from a drop-down box then reconfigure the DataGridView for the appropriate number of columns and repopulate with the new query. (2) Select a database from a drop-down box and refresh the DataGridView with data from the new database. (Assume I have created the appropriate DataSources.) I see where the query is stored in the _commandCollection of a TableAdapter (and in the xsd file) but I do not find public access to those. As far as the DB connection, I see references in Settings.Designer.c ...Show All

  • Visual C# Communication Between Froms...

    I currently have a form that I am using to store variables/arrays/etc. I have just created a second form. The form is launched when the user selects a button. I have launched the form by simply instantiating the object, like this: Form2 f = new Form2(); f.Show(); However, there is data that I need to retrieve and display from the first form (Form1). Would anyone know how I could go about doing this Thanks, I'm receiving the following error with that code: 'System.Windows.Forms.Application' does not contain a definition for 'OpenForms' ...Show All

  • Windows Forms How to set the setup info of SQL Server Express Prerequisite

    In MSDE, I can edit the setup.ini to control the setup parameters like InstanceName, sa password..etc.  How can I do this if I install SQL Server Express as a prerequisite in VS 2005 Thanks Hi there, If you need a list of all the arguments which can be passed to sql server express setup file, you need to extract the sqlexpress.exe file somewhere and in the root of the folder look for a file named template.ini :) You will be surprised, cause you'll find all the arguments with long comments which show how to use them. Hope it helps... Cheers ...Show All

  • Visual C# Is there a way around this situation?

    I have an application that reads a text file, strips off the trailing spaces from each record and writes them to another file.  Each record is input at 485 bytes.  The output file will contain variable length records.  The reason for this is because the input file is 1.4+ meg in size and trimming the trailing spaces makes the file smaller and easier to process. Now my situation:  the application has encountered one record that somehow has a "line feed" character (hex '0a'), that somehow got embedded in the middle of it while it was being created by an 'offsite' application.  This is resulting in my applicat ...Show All

  • Visual Studio Express Editions Is there a website that I can learn C++ from?

    Good Day I would like to ask if somebody has a website for m where i can learn C++ Thanks Peder In addition to the general information that Andreas suggests, there is also a complete book on Thinking in C++ (two volumes as PDF) that you can download.   If you obtain the printed edition of "Thinking in C++" volume 1, there is a CD-ROM that provides tutorials on "Thinking in C" if you have no experience with C Language before starting on C++.  There is also a downloadable beta version of an updated "Thinking in C"  tutorial.  For much of the on-line non-MSDN material, you m ...Show All

  • Visual C# DataTypes

    Hi Kind of stupid doubt When we use primitive data types like int, we never use new operator. but if we define our own datatype we need to use new operator. Thanks in advance Sorry, My Question was how can we create a user Defined DataType and use it like how we use int. that is without using new operator ...Show All

  • Visual Studio Team System Per test configuration files...

    I have need to write multiple tests againts different configuration files. Is there anyway to specify at the test level which configuration file to use. If not how can I test different configurations Thanks, Paul     Hi Paul, I assume you mean test run configuration files (.testrunconfig). No, we currently don't support specifying a different configuration file for each test. The only piece of configuration that can be different will be files to deploy. If you don't mind, can you tell us specifically which configurations you would like to set differently for each test To use different configuration files, you will ha ...Show All

©2008 Software Development Network