Limitx's Q&A profile
Visual Studio Express Editions Unload equivalent
I have just picked up VB 2005 Express and made the mistake of thinking I could brush up quickly on some old VB6 skills and get a simple program coded quickly. I have, what to me is a fairly basic question. How do you code an "Exit" button. In VB6, the code was simple - "Unload Me". What is the VB.NET equivalent Help please!!!! me.Close() me.Dispose() Application.Exit() All of these will close the application (if the form you're calling close/dispose on is the main form). Application.Exit is the surefire way to close the application. ...Show All
Software Development for Windows Vista Error while loading any WWF Project
Hi all, I get the following error while creating a new Workflow project and opening up the designer, version of the dll files in GAC (micr.workflow.vsdesigner etc) is 3.0.03203.56, same as in SDK folder. your suggestions are most welcome!!! : Method 'get_CheckTypes' in type 'Microsoft.Workflow.VsShell.Helpers.VSWorkflowCompilerOptionsService' from assembly 'Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. Hide at Microsoft.Workflow.VSDesigner.VSWorkflowDesignerLoader.Initialize() at System.ComponentModel.Design.Serializat ...Show All
Windows Forms ADO - aggregate functions
Can someone please confirm my understanding of this code snippet dtParent.Columns.Add("P5Sum", GetType(Decimal), "Sum(Child(GroupBy2Summary).P5)") This code snippet should add a column to the parent table named P5Sum, which will contain the result of the sum of all rows of column P5 of the child table. Is this correct tia, Todd I thought some may benefit ...Show All
SQL Server SqlServer2K5_BOL.msi
In July I obtained and installed the dvd's SQLServer 2005 Developer Edition CTP so I assume this is the June 2005 version and VS2005 Team Suite Beta 2. I tried downloading the above file for Sql server 2005 Books online and it fails saying I need .Net 2.0 ( seems VS2005 installed .Net 2.0 Beta ) I am also having trouble understanding some concepts ( I am relatively new at this ) Why do I even need this SQL Server 2005 dvd Seems that VS2005 installed SQLEXPRESS - When I look at the SQL Server Configuration Manager, I see MSSQLSERVER and SQLEXPRESS among other things( only SQLEXPRESS is running and that is ...Show All
Visual Basic How can I alerted whene user click Maximized button befor form resizes
If you set the form MaximumSize then this will prevent the form from being any greater than this size. So when they click on the maximize button it will in essence resize to the maximumsize property value. Is this what your looking to do. ...Show All
SQL Server Catch Error message in Variable?
Greetings all, When an error occurs it is written to a log file (Assuming you have loggin on). Anyone know of a way to catch the error in a variable When an error occurs I send an email explaining where there error happened and to view the logfile. I would like to include the last error in the email. Saves having to go view the log... Thanks leo1 wrote: JAmin, How Can I put conditional precedence constraints into the OnError eventhandler to make sure that everything in it only happens once though. Errordescription will always have some data in it during onError event I don't know. You have to tell me what ...Show All
Visual C# Datagridview from 2 tables ; one filling up combobox
Hi, I'm having a situation like this. I am using a datagridview which fills up Item details from a table, say Items. I am also adding a Datagridcomboboxcolumn to this datagrid whose datasource is table 'Category' from where it should show various category names in combo box for user to select one. I can see the datagridview being filled up with data from Items table.I can also see the combo box column being generated for each row.However, the combobox doesnot work and show any values from its datasource. How can I show rows from one table and combo box in each row from other table in a datagridviw here is the pseudocode : ...Show All
Software Development for Windows Vista Publish WorkFlow as WebService doesn't work from a VB.Net workflow project?
I have a simple workflow defined in vb.net which compiles and doesn't generate any warnings. When I right-click the project and select 'Publish as WebService' nothing happens; no web project is added to the solution but also it doesn't write any output or errors. However, if I create the same project in C# everything works as expected, and a web project is added. The workflow exists of a WebServiceReceive activity (activate = true) bound to the Start method of the interface and a WebServiceReceive / WebServiceResponse activity pair for the Status method. The interface definition is equal for both projects, and loca ...Show All
.NET Development Direction for MCPD certification
Hello, I am new to these forums. I am currently working on getting my certification in the MCPD. Could I get some guidance as to where first of all the appropriate place to post this thread would be Secondly would like some direction to sites, forums, tutorials, free ebooks possibly in preparing for my Exams I will be taking (70-547, 70-536, 70-528, 70-551). Any help would be much appreciated, mean while I will continue with our best friend Google in my endevor. Thanks, -grim1208 I think you will find everything you need here. I also found this after a quick google search. ...Show All
Visual Studio Team System DataDriven Unit Tests and SQL Server 2005 Schemas
If I try to configure a UnitTest (using the TestManager) to use a DataSource from a SQL Server 2005 database, that has multiple schemas within it (in addition to dbo), I can select a table from the database from the Data Table Name drop-down list - this value is not schema qualified however. If I then try to execute the Unit Test (either with or without the Debugger), I get an exeception as follows: Unit Test Adapter threw exception: System.Data.SqlClient.SqlException: Invalid object name name '<Data Table Name>' at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at ...Show All
Visual Studio CR VS 2005 Line Spacing?
Does anybody have any idea as to how I can set the line spacing for reports built in vs 2005 The .rpt datasource is a DataTable object, all rows from the table should be displayed, which they are; but there are about 10 empty lines between table rows. Thanks ...Show All
Visual Studio Express Editions Another way than WH_CALLWNDPROC
If I'm using a VC++ DLL to create a tray icon for an external application, not my own nor connected to my DLL. Is there any other way to detect mouse clicks on that tray icon other than a global hook for WH_CALLWNDPROC I've read that a global WH_CALLWNDPROC hook can be a serious drain on system resources so if at all possible I'd prefer not to use it. If it's the only way to catch the messages I want under these circumstances then I'll do it, but is there another way W That would work if I were adding tray icons for only one app, but this is a tray minimizer app. So.... ...Show All
Visual Basic Help: Visual basic program
Hi i am making a program with a listbox named (lst) and picturebox named (pic) and i put the following code into the listbox selectedindexchanged sub so as the user clicks on the picture name from the listbox it displays in the picturebox Note: the listbox contains the paths of the images as there is openfiledialog in the program Private Sub lst_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lst.SelectedIndexChanged Dim img As Image Dim s1 As String Try s1 = lst.SelectedItem img = Image.FromFile(s1) Catch ex As Exception pic.Image = Nothing Exit Sub ...Show All
Visual Basic Opening empty file as XMLDocument
Hi, in my form load I'm looking for an xml file and if it does not exists then I create it. But wen I try to open it as an XmlDocument it popups an error. I thik its because the created file is empty. Could I add the line " < xml version ="1.0" encoding ="utf-8" > " to the file on its creation and how Here's the code : Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles MyBase .Load If Not File.Exists(FICHIER) Then MsgBox("Le fichier " + FICHIER + " vient d'etre cree donc aucune expressions regulieres n'est disp ...Show All
Visual C# Missing project file in a solution
Currently, we are adding a c# project to a solution that was formely code in visual basic. However it seems that every time we tried to load the solution file, all of our c# project is missing and we have to manually add the c sharp project one by one. Does anyone have an idea how to overcome this problem It's not a fatal problem but it's quite annoying after some time. This can only happen if the path's chanced. Normally you add the C# files, save you project and all the problems are gone. Does this happen on just one PC or with just one solution/project ...Show All
