dmssjt's Q&A profile
Windows Forms Using combobox in GridView control
Hello I would like to see combobox come up in datagrid view control in Windows forms project when users enter in edit mode in a cell. For example one of the columns is US States. When users enter into edit mode I would like this cell to show up a combobox with the states value. When this cell loses focus then the selected value should show up&nbs ...Show All
.NET Development 'System.TypeLoadException' -- PLEASE HELP
Hello everybody, I am new to this forum, this is my first post. I recently compiled a large project using vc++ express, but I get this error as soon as the programs starts: " An unhandled exception of type 'System.TypeLoadException' occurred in Unknown Module. Additional information: Type '<Module>' from assembly 'VectorArt, Version=1.0.2297.41533, Culture=neutral, PublicKeyToken=null' contains more methods than the current implementation allows. " Any suggestion Any idea how to solve the problem I did a google search and found nothing. Any help would be greatly appreciated. We'll need a little more ...Show All
SQL Server Bug Report: Expressions not deleted
I've noticed that if you create a data flow task (such as a DataReader source) and then bind an expression to it, if you rename or delete the task the expressions bound to the task will disappear but still be in the DTSX itself. So, if your expressions stop parsing (if you remove a variable, etc.) you will get errors for these expressions which you thought should have been removed. The workaround is to re-add the tasks with the old names and go delete the expressions from the expression list. I suggest you raise a bug at http://lab.msdn.microsoft.com/ProductFeedback ...Show All
Visual Studio VSS Lan Service working randomly
Hi, The Lan Booster service works randomly here. Sometimes everything is ok, and sometimes, for the very same operations, for the same database/project and on the same system, I get the following message: Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal. The service is running on the system hosting the database. Known problem I'm not very familiar with DFS, but I think that you're accessing the database with a "generic" path, something like \\domain\dfsroot\vss , isn't it If yes, VSS LAN service is not going to work. The client takes the databae path in the form \\server ...Show All
Visual C++ System.InvalidOperationException in System.Windows.Forms.dll
Hi!!! I posted some days ago with a problem: I had this: I had a large C++ unmanaged application which I compiled and ran perfectly using Visual Studio 2003. Now, I want to compile and run it using Visual Studio 2005. When I compiled it in release mode everything worked fine, but I got about a thousand comiler errors when trying to compile it in debug mode. All of these compiler errors appear in files that belong to Visual Studio 2005 such as stdlib.h, cstdlib.h,etc. Finally, I managed to compile my application in debug mode :D But now when I try to run my application I get this message: System.InvalidOperationException occurr ...Show All
Visual Studio Express Editions Data not updating: VB 2005 Express Tutorial
Hi! I'm new to VB and databases, so I'm working thru the below linked tutorial provided by MSDN: http://msdn2.microsoft.com/en-us/library/es6f6ht5.aspx My code is correct and I have followed the directions to a T. However, I cannot get my database to save changes using either the BindingNavigator control or by (attempting) to force it to update using the TableAdapter.Update() function. Here is all the code I have for the lesson: Public Class Form1 Private Sub AddressesBindingNavigatorSaveItem_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles AddressesBindingNavig ...Show All
Visual C++ __event alternative
The following page : http://msdn2.microsoft.com/en-us/library/6f01ek09.aspx says that __event -based event handling is deprecated. In that case, what is the best way to do event handling I have a class HWClass, that talks to a hardware device. Several other classes need to read from this hardware device. However, the reading is asynchronous and HWClass needs to notify the calling object if the reading process is finished. (Bt the way, this is native C++ and not CLR) Thanks! I can not see how the __event keyword would help you Also I can noit see that it is deprectated. Also it has nothing to do with p ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help! DirectX problem!
I have downloaded and installed the newest files like 10 times but it doesn't help. DXdiag still shows almost all my files as being from 8/3/2004 and before. Games like NFS: Most Wanted won't install because they keep saying directx9.0c isn't installed but I have installed it dozens of times! This forum is for DirectX developer questions. For end user runtime problems use the relevant windowsxp newsgroup http://groups.google.com/group/microsoft.public.windowsxp.games ...Show All
SQL Server Dynamic Page Breaks
Hi everyone, This is my first thread. I have been working with Reporting Services and love the way I can change the Groupings and Sortings on the fly. I need to be able to dynamically change which Groupings have a Page Break either before or after as well. There is no expression to enter for the Page break attributes however! Does anyone know of a way to dynamically change the Page break attributes at run time Thanks, Randy is there any alternative fang Like having two groups for the same field with one page break and one with no page break and hiding or changing the expres ...Show All
Visual Basic XML comments not appearing
I just installed Visual Studio 2005 Team System and for some reason the XML commenting functionality is not working, ie. typing in ''' prior to a method or class declaration does to automatically insert the xml comments. Has anyone else had this issue and resolved the problem This worked fine on my test system with the Beta 2 version of Visual Studio. Thanks Matt, that did the trick. It must have been automatically turned on in the Beta version. ...Show All
Visual Studio SQL Server 2005 Express April CTP Fails from VSTS DVD
When installing VS 2005 (Team Suite) the SQL Server Express install fails with an error code 1603. Also tried reinstalling it after VS but still fails with same error code. Anyone else got this problem /Per Salmi This was a clean installation on a new PC. I can't find the installer or the folder you mentioned to do a manual install. ...Show All
Visual Studio Express Editions Setting page size in code
Hi, Can anyone help with this please I am trying to set the paper size for the print page method in code, however, It fails to change I have tried many properties and ways of setting it but it fails Basically I have a app that saves the page size to a xml file as an interger value that represents the paper size. Eg 8 = A3. I cannot seem to change the default value of the PoPrintPage_Printpage method from the value of 9 (A4) Private Sub PoPrintDoc_PrintPage( ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles poprintdoc.PrintPage '\\ Setup paper size Wi ...Show All
Visual C# Sending SMTP mail using C#
Hello I tried the following code to send SMTP mail from ASP.NET page. But it is not working. Can any one help me to solve this I am using .NET framework 1.1. SMTP CODE System.Web.Mail.MailMessage message= new System.Web.Mail.MailMessage(); message.Fields.Add( "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",1 ); message.Fields.Add( "http://schemas.microsoft.com/cdo/configuration/sendusername","smtp.gmail.com" ); message.Fields.Add( "http://schemas.microsoft.com/cdo/configuration/sendpassword","mypassword" ); message.From="navaneethkn@gmail.com& ...Show All
Software Development for Windows Vista Designer Problems
I’m experiencing some problems while working with wf in visual studio. Sometimes while building or rebuilding the solution, the build fails, and NO exceptions are given . Opening the workflow file (workflow.cs) will show an exception in the designer: “ Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information .” I don’t know what it means. However sometimes, restarting VS will resolve the problem, but then again…sometimes it doesn’t. The problem occurs for both state machine workflows and sequential ones. I’ve not used workflows with code separation. An other, not so funny feature is ...Show All
Windows Forms Printing DatagridView
Hi, I'd like to print only certain columns of a DataGridView. How would something like this be done I couldn't find any code examples. Thanks Ok i have managed that too. If anyone will run into similar problem here is a way to set it right. In while loop in posted code you must set Do While nRowPos < DataGridView1.Rows.Count - 1 you must delet -1. It should look like this Do While nRowPos < DataGridView1.Rows.Count. Then it will work just fine. Great code indeed. Thank you... ...Show All
