tadam - MSFT's Q&A profile
Visual Basic controlling windows forms
I am trying to create an application that will allow me to control several windows programs using my own windows interface. There are two Windows programs that I want to control by passing information from my user interface. This way, I will only have to enter the information once. I found a program that allows be to obtain the ControlID for the text boxes, buttons, and menus; but I do not know where to start. I am planning on copying the inform ...Show All
Visual Studio Team System Work Items and "Assigned to"
I have two new users created by Active Directory, which were added as members to the Team Foundation Administrators group. I have configurated Security and Permissions ,Classifications and Iterations. The same two users appears as new integrants inside Project Manager-Development Project Plan. But .... In Vs,Team explorer, work items ... they don't ...Show All
Visual C# how to get object instance dynamically?
I need to get a instance of object using name of object instance. is this possible Hi, This is not possible from the Assembly or class to a get a specific instance that was created. In order to be able to get hold of a reference like that you would first need to store the instance when it is created add it into a collection such as a Hashtable and add a key to it. Then, you can retrieve the specific instance based on the key. ...Show All
Visual Studio Express Editions How does one run VB
I've just downloaded the software for Visual Basic 2005 Express Edition and the various elements have been loaded into a folder called "Microsoft Visual Studio 8". Fine, now a simple question for you all, how do I RUN this software in order to start programming Regards, Derek hi, from start menu / All programs / visual basic 2005 Express edition when the program run click creat paroject from start page you can ...Show All
Visual Basic How to....
I am wondering if there is a way to keep VB from changing a data format and allowing certain characters to be used in a specific format. Here is an example: ElseIf frmPC1.txtCon.Text = 20 Then txtCon2 = 20 txtCon3 = 2 / 5 txtCon4 = 70 txtCon5 = 75 txtCon6 = 1 txtCon7 = 1 / 6 I want the lines txtCon3 to display as +2(+5) and txtCon7 as 1/6... I wish to avoid mathematical equations. .NET has absolutely no s ...Show All
Visual Studio Tools for Office how to export
I need to create a new word document from vsto word custmomized application. Application has some dynamically created datagridviews that serve as reports and are based on some paramteres stored in xml files. Now when users are done with the document, I need to create a 'normal' word document, rendering all of the content. I know that just saving a document will not do it as dynamically created controls will not be save with doc (currently I need ...Show All
Visual Studio Checking out a project is not pulling Published version
Step to recreate the problem. Developer one checks out the project and makes some changes he builds, publishes and checks in the project. His screen shows Publish Version 1.0.0.36 on the Publish tab for the properties of the project. Developer two comes in and checks out the project and looks at the properties and sees that the publish version is 1.0.0.0. This person has never published the project before. To be safe he does a get latest versio ...Show All
Visual C# Multi-language solutions
I have a solution that contains a C# project and VB project. The latter is the test-driver for the former. I built the C# project, but when I try to build the VB project in its environment, it can't find the C# dll. How do I fix this situation Ken You need to reference the C# project from your VB project. In your VB project right click on References and select "Add Reference..." In the ...Show All
.NET Development VB6 and CCW's
Hi, I need to start writing a set of classes that will be used by our VB6 application. Because I have'nt done much in the past with COM interop, I was getting a bit confused as to what attributes I need to use on my managed classes. for example, do I need GuidAttribute and ClassInterface and ProgId, or just a few of these Remebering that these .NET classes will only be used by our VB6 code, nothing else. Thanks for your help Graham ...Show All
Windows Forms How to deploy windows application that has a webservice
Hi How do I deploy a windows applicaton that uses a webservice. I want to deploy both the webservice and the windows application at one go. The webservice resides on the server and the windows application will be installed on the client side. Right now Im copying the project files to the server and accesing it from the windows application is there a better way than hard code copying the project files on to the server. Your help will be appreciat ...Show All
Visual C++ LPCTSTR
Hello all, I've got another question. I'm using a bit of code written by Nishant Sivakumar ( http://www.codeproject.com/tips/CSMTPConnection2.asp ) to send an email programmatically. The code is relatively straightforward and there are no problems during compile EXCEPT... Error 3 error C2664: 'ATL::CMimeHeader::SetSender' : cannot convert parameter 1 from 'const char [19]' to 'LPCTSTR' SetSender is a member of CSMTPConn ...Show All
.NET Development Collections and Configuration files
Is it possible to save/read a strongly-typed collection into/from an app.config file With the new Configuration Sections and stuff, I see a lot of new things, but I haven't been able to determine if this is possible. This is more of an accedemic question, I guess since I'm pretty much decided on doing my own XML file (writing the collection into a dataset and saving as xml) and writing a separate app for editing the configuration to have ...Show All
SQL Server deploying packages
Error: 0xC0202009 at Package, Connection manager "Presup Dev sql_prov": An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "Communication link failure". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E4D Description: "TCP Provider: Se ha forzado la int ...Show All
Visual Studio Express Editions How to Specify Form Location when Maximized
Hello, I have a single form that starts up in the Normal State and StartPostion set to Manual. When the user clicks on the Maximize button, I would like to specify the location the form, instead of the upper left corner. Is this possible Thanks, steve Hi Steve, I'm assuming what you mean is "when the form is maximized and the user clicks on the Maximize button", otherwise clicking the Maximize button c ...Show All
Windows Forms gurus, what does "Principal" or "CustomPrincipal" mean to you?
I have no idea, please enlighten me someone.....thanks in advance. -Andy Moyer ...Show All
