Clint A Morgan's Q&A profile
Windows Forms ShowDialog
Hola, tengo una pequeña aplicación en la cual se muestra un formulario tras la pulsación de un boton de otro Hello, When I click in a button of a form, I want that show a form called 'Secundario', I want that 'Secundario' is a&nb ...Show All
Windows Forms Problems with Tabbed interface
I'm working up to bigger and better things, but for the moment my program is simply a text editor. I'm trying to have it so that I can open several files at once, each in its own tab. I can create new tabs on the fly whilst the program is running, and have each new tab have a RichTextBox created on it. The problem I am having is trouble in understanding how I can access the properties of this newly created RichTextBox, as I haven't defined the n ...Show All
SQL Server sql server 2005 auto number property
Hello I have a table with two columns. First column is type and second column is ID. ID column must be unique and I want to give values in ascending order to the new records. For example first record's ID is 1 ,second one's is 2 ... How can I do this in sql server 2005 Hi, did you have a look at IDENTITY This generate an "auto-number" based on a start value and an increasing value. HTH; Jens Suessme ...Show All
Visual C++ GDI+ : Drawing objects over TabControl
Hi, I've been working my way around GDI+ for a couple of weeks now. I made a little application where user can choose among several shapes and then move/place chosen shape using mouse, building this way a customized furniture set. The area where user can place each shape chosen is delimited by a panel control for which I defined the background color as having transparent. Everything is going smooth but... As second step, I added a tab co ...Show All
Visual Studio Team System process template dependencies problem
Hello, I have created a custom process template for a team project. To this template I have add a plug-in that have the following dependencies: -Classification -Work Item Tracking -Windows SharePoint Services My problem is that this call : "myWorkItemStore.Projects[_ProjectName].WorkItemTypes" sometime fail with this error : Exception: DeniedOrNotExistException Message: TF26193: The team project AlexTest7 does not exist. ...Show All
Visual Studio Express Editions Google PHP block Compiler
I am trying to make Google ad code compiler for php blocks. I already finished all the variables but I am having so much trouble inserting line breaks becuase I want google_ad_height= Variable (then I need break) google_ad_length= Variable And I cant do line breakes in VB. Does anyone have any clue on how to format this I looked all over MSDN but suprisingly I couldn't find an article. I thought that this would be the easiest part ...Show All
SQL Server SQL error while installing CRM 3.0
Im pretty new to SQL so my trouble shooting efforts have gotten no results thus far. We are running Server 2003 for small business (clean install, mostly default settigns) sp1, with SQL 2005. I recieve this error while trying to install CRM: [dbnetlib][connectionopen (connect()).]sql server does not exist or access denied. I have tried re-installing SQL 2005 and old versions of SQL. ...Show All
Visual Studio Team System Specify Own Build Steps in VS2005 Based Output
All, Does anyone know of a way to specify your own build steps in the VS2005 based output shown after starting a TFS build from Team Explorer For example I am always shown the progress of the "Initializing Build", "Getting Sources" and "Compiling Sources" steps but within these I have declared my own targets and ideally I would like there progress shown. Thanks... Actually I ...Show All
Visual Basic VB.NET Refering to a form through a compiled string varible
Hi, Ill get to the point, I need to be able to refer to a form through a string that has been made up of smaller ones e.g: dim part1 as string dim part2 as string dim fakeform as string fakeform = "SomeFormName" & part1 'i need to refrence to the form fakeform.command1.text = "Somthing !" I dont know if i need to change the 'dim fakeform as <somthing>' Thanks in advance, You can't directly cast a strin ...Show All
Windows Forms Centering Controls Vertically at Runtime
Hi everyone, I have user control lets call it A. I mad trying to make a collection of this control called ACollection, deriving from UserControl class. I am providing two methods Add and Remove that would allow adding or removing controls of type&nb ...Show All
Visual C# BroadcastEventWindow Error
Hi, I am having some trouble in C# 2005. I have an application that import some functions from a Delphi 6 DLL, Written by Me, This DLL Imports functions from DLL, NOT Written by Me. The reason for this, is that .Net cannot connect to the Dll that I did not write, but Delphi 6 can. So I use C# to connect to Delphi to Connect to the other Dll. Believe it or not, this works and is fully functional, the only problem is tha ...Show All
Visual Studio Express Editions Executable icon in Win32 project
In visual c++ 6.0 I could set the icon by including a bitmap resource, but I haven't figured out how to do this in vc++ express. Is it even possible There is no resource editor in VC++ Express. But you can still add a rc file to the project and add an icon file to it. BTW: There is no way to add an icon by including a bitmap. You always must add an icon resource. ...Show All
Visual Studio Rules don't seem to be called with sdk 2006.06
I'm currently porting my DSL from 2006.04 to 2006.06, but rules do not seemed to be called. The partial class GeneratedMetaModelTypes is not generated, so it doesn't make sence to add them as static fields this type. internal static Type ChangeDataAttributeRule = typeof (ChangeDataAttributeRule); I have not found a sample in the new sdk that uses rules. Question, how do I get the rules to be fired in 2006.06 Thanks, John ...Show All
.NET Development "The remote certificate is invalid according to the validation procedure
Hi, I am trying to send HTTPS request using HttpWebRequest in c# under framework 2.0. The server require x509 certificate. when trying to connect i get message that says "the underlyning connection is closed could not establish trust relationship for the ssl/tls secure channel" The inner error is "The remote certificate is invalid according to the validation procedure". i know that the certificate is valid and i ...Show All
Visual Studio VS2003 ->VS2005 Addin not adding Macros
I've got a Visual Studio Addin that adds macros to the user's environment. It worked fine in VS2003 but is broke in VS2005. I get an exception saying "Item can not be added to a project when multiple or no items are selected in the Solution Explorer." It seems the AddExistingItem method no longer works for adding Macros. Below is some sample code that throws an exception on the last line: private DTE2 _applicationObject; ...Show All
