Chamitha's Q&A profile
Visual Studio Team System TFS MSSCCI Provider
I've just downloaded the new release of the TFS MSSCCI provider. Every time I download and try to install it (and I've tried from several different machines and networks now), the installer runs ok but then generates the following error part way through the install: The cabinet file '_DE4122DA27BBE897D870DBB37A5A532C' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the C ...Show All
Windows Forms OnClosing() e.Cancel == true on entry
Under what conditions is e.Cancel set to true when OnClosing() is called for a form I've overridden the fuction and sometimes get called with e.Cancel == true when the form's 'x' button is pressed. Is my override responsible for initializing e.Cancel to false Thanks, Ray public class MyContextMenu : ContextMenuStrip { pu ...Show All
SQL Server Merge Replication Problems
I am having a heck of a time trying to get merge replication to work. I have two tables that consistently fail validation - even just rowcount after applying a snapshot that I created seconds before and at a time when there is no activity on the tables. Is there a guide/info somewhere about how to troulbeshoot this The tables are fairly straightforward (but 35,000 rows) and there are no filters set up. The remote database is connected over th ...Show All
Windows Forms DataGridView Color Picker
Hi everyone, I've been struggling for the past 2 days to get this straight. I created a DataSet with a DataTable called "Customers". This DataTable has a few columns and one of them is named "Color" typeof(Color) (I want to use this Color later on to actually display the customer rows with the colors specified). I created a new ColorCell, ColorColumn (to host the ColorCell) and a ColorEditingControl (for edit mode). First attempt was to inheri ...Show All
SQL Server is it possible to have variant condition clause in procedure?
i want to use OLEDB to build a COM for my app in the case, i want to execute a select statement which the where-clause is variant. ex, select * from db1 where code='abc' select * from db1 where name='mike' As it's very difficult to change sql-command in oledb, i want to build a procedure like this, create procedure viewDB @filter CHAR(20) as select * from db1 where @filter go but failed! i tried EXEC( select ), ...Show All
SQL Server Several Q using Reporting Service 2005
1. I need to export my folder and report structer to a file in order to import to my customer server (I can't restore database since my customer have it own reports) 2. Is there option in the text box to put different text in textbox for printing/export to PDF/Excel ETC and different text in view mode 3. Reporting services 2005 present the two parameters in one line, I have a report with a lot of parameters and I would like to ...Show All
Windows Forms Drawing outside of your Form
Anyone know how I can draw something outside of my Form Anywhere on the screen for example, say I want to take a screen shot of only a single area of my screen, so I select that area, then take the screen shot, how would I ...Show All
Visual Studio Express Editions Using VB Express with SQL Server Express in a lab
I'd like to allow students in a lab to use the Express Manager and T-SQL to create their own databases. I think I've figured out just about everything - but the last step. Here's my thinking on how to do this: 1. Students are power users, not local admin 2. Created a login for the builtin\power users group as follows: create login [BUILTIN\Power Users] from windows with default_database=[master] go exec master..sp_addsrvrolemember @log ...Show All
.NET Development Problem with Sendmail Activity
Hello,In my application I use the send mail Activity but it doesn'y work.. (I am using the IIS SMTP server) I want to know if there is a specific configuration in this activity to success this scenario, thanks. What exactly is not working Please post code that reproduces the problem and state exactly what the current and expected results of the snippet is. ...Show All
Windows Forms HasChanges() question
I am using the HasChanges method to check if a user has made changes to the form data. I am using a binding source and tables adapters. I load data into the form from a lookup form by using tableadpater.fill. When I close the form I use HasChanges to check if the record has been edited. the problem is it is always returning true, whether I make changes or not. I cannot seem to get this to work properly. I have tried calling endedit and acceptcha ...Show All
Visual Studio Custom Editor
I am currently trying to integrate a custom editor (for an in house scripting language) within visual studio. The editor itself has been build as a seperate windows application. However, i wanted to convert it into a VSPackage. I have read whatever is available in the VSIP sdk, but that's not much! I have also looked into the basic edit sample (provided with the VSIP sdk), but i somehow feel that it might not be the best way of getting things do ...Show All
Visual Studio HowTo: Add item to (maybe) existing folder
I have an existing project. I'm developing a custom item template for use with teh VSWizard interface. I'm wondering how to detect whether or not a folder exists in the project. If it does, then I need to get a reference to the folder obejct to pass to AddFileToVBNETProject. If the folder does not already exist, then I need to detect that and call selProj.ProjectItems.AddFolder before adding my item. Anyone have an idea how to ...Show All
Software Development for Windows Vista Oracle 8.17 and TransactionScope
Hello, I'm trying to get my Oracle 8.17 client to play nice with the TransactionScope class. However, when the transaction begins, it throws an exception with the following message: System.InvalidOperationException: Distributed Transactions require Oracle9i client software. Is there any way to get this code to work with an 8.17 client TransactionScope aTransactionScope = new TransactionScope ( TransactionScopeOption .Requir ...Show All
Windows Forms Button Image Layout
I am trying to put an image into a button and have some text below it, and I can get close, but not quite there. If I set the background image, then the Layout is available and I can set it to Zoom. The problem is getting the text to properly appear below it. If I set the image, then Layout is not available and I cannot Zoom it. Ideally, it would be nice if the Image had a Layout property that would allow for Zoom. If anyone has any ...Show All
Visual Studio Tools for Office clr20r3
Microsoft Outlook Error Signature Event type: clr20r3 P1: outlook.exe P2: 10.0.6713.0 P3: 4097d7ce P4: system P5: 2.0.0.0 P6: 4333ae87 P7: 2bb9 P*: 17 P9:system.net.sockets.socket Running MSCRM version 1.2 plugin for outlook, Windows XP Pro and Windows 2000 Pro OS's (on different machines of course) all running Office XP - have installed all updates and hot fix from KB Article Number: 829346 - Problem occurring before and after latest u ...Show All
