MTennants's Q&A profile
Windows Forms can't save collection in disgner
Sorry, again a 'stupid' question I'm playing a bit with the collectioneditor and got it working (sort of) until i Rebuild . the collection is cleared after rebuild. I'm puzzled here is the code for the component i'm try 2 build : Imports System.Windows.Forms Imports System.Windows.Forms.Design Imports System.ComponentModel Imports System.ComponentModel.Design Imports System.Drawing.Design Imports System.Collections Public& ...Show All
Windows Forms Text does not appear on form load
Here is the problem. Certain controls don't display text. I will create a form in the IDE that has group boxes and combo boxes on it. The combo boxes only display text on the top line or the line that I select. When I click the dropdown, nothing else is displayed. As for the group boxes, the header displays, but any labels inside the text box don't display any text. They show up in the IDE, but not at runtime. I have a screen shot showing the IDE and the form at runtime at www.kennesaw.edu/~jfw1701/text.bmp . There may be a delay as it is a fairly large picture. Thanks Joe W I do. Me.Updat ...Show All
SQL Server Command Line connect to SQL Server Database
I am trying to connect to the SQL Server database from the command line or from a cmd script on Windows - Is there a way to do this I am new to SQL Server and I am trying to create a script that can check to see if the database is up and then send me a message if it is down. osql.exe is command line client which allows you to establish a connection to SQL Server. Please try osql -E for trusted connection, or osql -U<login id> -P<password> -S<instance name> you can skip -S parameter if you have installed a default instance. In addition, use osql -U<login i ...Show All
SQL Server Virtual Labs - No Connection message
A couple of us are trying to use the SQL Server 2005 Virtual labs at http://msdn.microsoft.com/sql/ . We complete all the prelim steps successfully but when we click on "Start the Lab" we get a blank page with "No Connection" in the middle. The clock ticks and the system thinks we are doing the lab. How can we get a connection or is the server down or are there no available resources left Can you please send an email to me at majewett@online.microsoft.com so I can connect you with the right people to address this Thanks< MJ ...Show All
Visual Studio SourceSafe Pricing
Has there been any announcement about whether we will have to buy new licenses for Visual SourceSafe 2005 and what the cost will be for someone who already has a Visual SourceSafe 6.0 license If not, can we expect such an announcement any time soon The current plan is to maintain the same pricing model as with the current version of SourceSafe http://msdn.microsoft.com/howtobuy/vss/default.aspx -Alfredo ...Show All
Windows Forms Creating Word documents on the fly in .NET
Hi all, I have a quick question. Do you use the same methods in .NET when programming Word objects on the fly as you would in in VBA i.e. you add a Word reference to the project and use CreateObject and use the objects methods to manipulate the Word document. Or, is there some other way that VB.NET uses Thanks for your time in this. ...Show All
.NET Development How do I deploy a business component in ASP.NET aspx.vb page
I compiled a VB class file as a dll file and copied the lib file in the bin folder of my asp.net application. However, when I try to import the file, the namespace does not appear in the context menu, and I am not able to make any references to the dll and its methods. I understand that I do not need to register the dll file in a .NET environment. What do I need to do in order for me to make references to the object and its methods. Help... Hi! cgraus is right, you need to put it in your bin folder, and then in VS, add a reference to the dll that you just added. Once you've done ...Show All
Visual Studio Express Editions Problem porting a Visual C++ 6 application to Visual C++ 2005
I'm trying to migrate a project made on Visual C++ 6 to Visual C++ 2005, but even with no compilation errors, the application don't work as the VC++ 6 project. My application is a project about API Hook, and it's not working on Visual C++ 2005. What can I do to maintain compatibility So, does anyone know how can I do a Visual C++ 2005 application to work with API Hooking and prevent .EXE files execution Or with C# Anyone Thanks ...Show All
Visual Studio Team System Tests cannot be found during build
I've just got a Team Build server set up, and I'm trying to configure it to automatically run a list of unit tests during the build. When it gets to this stage, I get the following log messages: Target RunTestWithConfiguration: Loading C:\TeamBuilds\SBD Platform\SBD Platform\Integration Build\BuildType\..\Sources\SBD Platform.vsmdi... Search path(s) for tests: C:\TeamBuilds\SBD Platform\SBD Platform\Integration Build\BuildType\..\Sources\..\Binaries\Debug\ C:\TeamBuilds\SBD Platform\SBD Platform\Integration Build\Sources Search path(s) for default run ...Show All
Visual Studio VSTA Licensing
Any news yet on Visual Studio 2005 Tools for Applications licensing I want to use it in a project underway shortly and it would be nice to know if it fits the pricing model for my application first (and my budget). Thanks Damien There was a blog posting about this shortly after your post. See http://blogs.msdn.com/vsta/archive/2006/02/03/524676.aspx for more information. Craig ...Show All
.NET Development Event (OnChange) of (SqlDependency) object occur like the timers , not only on the change appear in the database
Hi I have Use this Code snippet to apply the concept of notification in SQL Server 2005 Developer Edition April CTP and Also I use VS.NET 2005 Beta2 But the problem the Event (OnChange) of (SqlDependency) object occur like the timers hundreds time not only on the change appear in the database … Why and How can stop this event to occur only when the change in the database using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlC ...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 Why would you make your class a component Just make it a singleton class, or make all of its ...Show All
Visual C# windows forms + popup +variable value
Looking for some help, if you have the time (anyone) it'd be great. Here's the deal. I've got a windows form...dropdown list of states. If Florida is selected, I want a pop-up window to ask for a $$ amount. Then that value in the pop-up has to be stored in a variable so I can do some math on it before displaying it in a summary box. Any idea how to do a windows pop-up, grab a value entered, and then display in a text box with something like SummaryBox.Items.Add ("Amount entered in Florida Pop-up window: " + florida_value_entered_from_popup + "."); //where florida_value_entered_from_popup is just a decimal variable Thank you all again fo ...Show All
Visual Studio Express Editions c# program incl .net framework 2 dlls
i have made a c# program in visual studio c# express edition but i have to run iton computers whif .net framework 1.1 is there a possibilitie i include the dll files from framework 2 in the setup grzz kierop No, but you can install the .NET framework 2.0 on the target computers. It runs side-by-side with .NET 1.1, so you won't break any existing apps. ...Show All
Visual Studio 2008 (Pre-release) Runtime error concerning the TreeViewDataBinding sample
Hello! I'm trying the TreeViewDataBinding sample. Unfortunately it throws a BamlParseException having the Message "Type reference cannot find public Type named 'WorldEnglishNewspapers'.". Do some of you know how to overcome that, please Best regards, Henrik Dahl Changing for the way xml monikers are assigned for clr namespaces in the February CTP and rebuilding the solution fixed the problem. Best regards, Henrik Dahl ...Show All
