kmccaa's Q&A profile
Windows Forms How to Add Row dynamically
Hi All, I have a very straight forward requirement that I want to add a row whenever user leave Amount cell. I tried in cell_leave, cell_statechanged events but of no result. All the time I recieve InValid operation error. The only event where I can add row is cell_endEdit but for this, user has to double click the Amount column and then tab off, only then this event get fired. //The code is something like that.... private void g ...Show All
SQL Server Change an Access Database to SQL Server
I designed a database that works well in Access and I want to get it to run in SQL Server. How do I learn how and what to do to change over to SQL Server Note also the link to further SQL Server tutorials included on the linked page under the Concepts section, for further tutorials: SQL Server Tools Tutorials ...Show All
Windows Forms Gridview : Enable CommandField on selected rows only
I have a GridView in which I also display totals of each column in the last row. How can I hide/disable the CommandField in the first column that is used to Edit/Update/Cancel I am using the default Edit/Update/Cancel CommandField. I have tried converting it ti a TemplateControl, but that has no effect. Just, if you know which cell contains the commandfield, disable it grid.row(i).cells(j).enabled=false ...Show All
Software Development for Windows Vista Deserialized Activity property value is "null"
I have a application in wich I embedded a WWF Designer, where I add custom activities with two DependencyProperties (Probe (type of string) and Probe2 (type of ProbeInfo) ): ------ Code Snippet ------ public static DependencyProperty ProbeProperty = System.Workflow.ComponentModel.DependencyProperty.Register("Probe", typeof(string), typeof(StreamActivity)); [Description("This is the description which appears in the Property B ...Show All
Visual C++ Calling Managed code from unmanaged hangs
Hi I have a VC++ MFC based MDI application written with VS2005 beta 2, which instantiates a managed UserControl through the CreateManagedControl call in "MFC Windows Froms Support". This works fine for most of the time, but sometimes if I e.g. show a messagebox in the managed control (and nothing else) and this has been initiated from a call from the unmanaged VC++ host, the program just hangs (not responding) while showing the messagebox and I ...Show All
.NET Development WSE 3 and x509 certs
I am not sure if this has been addressed some where already... I want to secure web service calls used by about 40 pc's the pc's are locked down to have limited user functions. is there a way I can update my smart client app and have the clients use my secured web service -- where I see a possible problem is that I can't allow the clients to open web browsers and accept the x509 cert. we will use a private cert se ...Show All
Windows Forms Simple Unistall Question
I have created a configuration file in the Application Folder of my project after the installation. Since this file was not part of the installation, it is not removed when I unistall my product. How do I write a custom action to do this I haven't been able to find a good example when looking through the threads... Thanks! You could do this by adding a row to the RemoveFile table of your msi, with the Install ...Show All
Smart Device Development Udp Client JoinMulticastGroup Problem
Hi, i got a kind of weird problem... i got an udp multicast client that work on .net compact framework 1, when i try to use the same code in .net cf 2, it throw an exception on the joinmulticast group instruction. So i tried the use the .net cf1 dll in my .net cf2 app but it does not seem to work either. Does someone know how to use multicast in .net cf 2 or a way to get this code to work Also, im using this code on a ppc2003 se device with wif ...Show All
Visual Basic Cannot Add a Form/Class/Module in VS2005 Beta2
I've installed both VS2003 & VS2005 Beta2. Today, I found I cannot add a new form/class/module to my VB Windows Application in VS 2005 Beta2 cause these are not listed in "installed templates". Now I'm trying to reinstall all VS 2005 Beta2. Sounds like a bug, submit a bug report on the Microsoft Product Feedback Center . ...Show All
Microsoft ISV Community Center Forums After_Save Event???
Hi to all. I have a problem. For some sheets, I set to invisible before save. Now, I need set to visible the sheets after save, but there aren`t a After_Save Event... How can I solve my problem Any idea Thanks & Regards. I would try to use the BeforeSave event to cancel the users request to save, and do your own saving routine. I suspect you may need to set a global variable so that you can determine if the save reques ...Show All
Visual Basic How to keep GUI responsive during DB query?
All right, here's the question...while loading large amounts of data, or querying a DB, my GUI hangs...that's to be expected with single-threaded apps. So what I did is I created a borderless form with a picturebox that has the animated GIF of the progress bar scrolling back and forth, along with a label that gives you a message like "Please wait while the query executes..." I show the form before I call a method that's going to take ...Show All
SQL Server Error while using OUTPUT clause - The multi-part identifier could not be bound
I was trying to copy child records of one parent record into another, and wanted to report back new child record id and corresponding child record id that was used to create it. I ran into run-time error with OUTPUT clause. Following is a script that will duplicate the situation I ran into: CREATE TABLE Parent ( ParentID INT NOT NULL IDENTITY ( 1 , 1 ) PRIMARY KEY ,   ...Show All
Smart Device Development Visual Studio 2005 - Deployment Bugs?
The other day, when I thought I was deploying to the emulator (emulator was chosen from the target device combo box in the toolbar), it was actually trying to deploy to my device, which caused me hours of confusion because it wasn't plugged in. Right now, I'm having the opposite problem. "Pocket PC 2003 Device" is selected as the target device, yet even if I close the emulator, when I start the debugger, it just opens the emulator and ...Show All
Smart Device Development call the WIFI
do any one knwo how to call the WIFI signal form in pocket pc 2003 2nd Edition. SOrry i mean the form that builtin in the pocket pc 2003 that use to switch on/of of the WIFI. How do i call up that windows CE form. ...Show All
Microsoft ISV Community Center Forums MS Office document and image writer print driver
Besides removing this feature from Office during setup, is there a process to remove this virtual printer from 300 users with roaming profiles on an active directory network We are having an issue with this printer assuming the "default printer" selection for our users. As a work around we have changed their default printer, but after they reboot or log off / on it has defaulted back to the MS Ofc doc and image writer printer. ...Show All
