Batikit's Q&A profile
Visual Studio Tools for Office square brackets
Hi all, Do you know how to hide the square brackets that surround Word bookmark view objects I can hide the XML tags but it is a mystery for me how to hide the square brackets. Thanks, Martin Kulov http://www.codeattest.com/blogs/martin Hi Martin, It is an option to show the brackets. They is can be changed in the Menu: Tools->Options, Tab 'View' upper section under 'Show'. There is a checkbox 'Bo ...Show All
Visual Studio Team System Error: The underlying connection was closed.......
using vs2005 and TeamSystem. when checking in my ASP.Net project to our development server i always get the following error:- "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server" the check in fails. if i then attempt to check in again, it checks in fine without any errors. what would be causing this problem its not just me experiencing it either, its happening to all our developers ...Show All
SQL Server Problem With Stored Procedure
Hi, I am using Stored Procedures on SQL SERVER 2005. It uses cursor to perform row by row operations of string searching. Now the performance of the cursor is fine till the records to be searched are below hundread as the records in which i am searching is 1.5 lakhs. As one of the fields that i search in a bigger field rises to 7,500 unique entries the peroformance drastically decreases. I know cursors can decrease performance but i ...Show All
Visual C++ Is there a message to diabled the group-box control and all the controls in it?
SendMessage(attGroup,UINT Msg,WPARAM wParam,LPARAM lParam); Is there a Msg that would diable all the controls in the group Also, I looked all over the net but I can't find the Message for groupControl that I can send to diable or enable it, and change the caption, during runtime. Can someone direct me to the right place for this on the net or just give me an example on how this is done will be greatly appreciated. This is very confu ...Show All
Software Development for Windows Vista Using rules without WF
Hi, I am able to create a ruleset and execute it with out using workflow as given below. Rule: If subject.state=="WA" then subject. TaxRate=10 I am trying to build the rule using APIs RuleSet rSet = new RuleSet("TaxPolicy"); Foo subject = new Foo(); System.Workflow.Activities.Rules.Rule _rule = new System.Workflow.Activities.Rules.Rule("WATax"); CodeThisReference ...Show All
Visual Studio 2008 (Pre-release) Radio-Ticked Submenus in pure XAML
Hi, I'm working on data binding a radio-ticked submenu. So I have a data object which has two properties; one of which is a collection of strings, the other of which returns the string within that list which is "selected". I want a submenu to display the collection, with the selected item ticked, and so when the user clicks on one of the menu items, the property value of the selected item is updated. So the code for simply populating the ...Show All
SQL Server Different row delimiters in same connection manager
I have a situation where two CSV dmited types are read in. One file row type could be CRLF while another could be CR. Seeing how the only difference between these file types is the row delimiter, I would like to use one conn manager. Is it possible Ideas Try this: create a string variable Delimiter. In Connection Manager window select your csv connection and look at its properties. Open Expressions form and add an ...Show All
.NET Development Intercepting an Interface call to a Proxied Object?
This is my interface that my target object implements. public interface IScript { void RunScript(string str); } This is my target object, it inherits MarshalByRefObject and implements IScript public class Device : MarshalByRefObject, IScript { ... public void RunScript(string str) { DoSomethingHere(str); } } This is my RealProxy class, it passes in Device as it's target type in the constructor.& ...Show All
Visual Studio How to make this kind of report?
Hi. I have a report like this at the moment: Device1 Device2 Recipename1 Date1 SummaryData SummaryData Recipename1 Date2 SummaryData SummaryData Recipename2 Date2 SummaryData SummaryData The data source is a dataset that I manipulate by C# code after getting the raw data from a sql server. I then use the push model to put this data into a crystal report. I summarize column data above by recipe name ...Show All
Visual Studio Team System Cannot acces source control after upgrading to RC
The upgrade process from TFSB3R to RC worked fine. After reinstalling the Team Explorer, I can't acces the source control from the Team Explorer Window. The message is : Either source control has not been configured for this team project or you do not have permission to access it. Would you like to create the source control folder, $/Proj1 And if I choose Yes, the message is : Error. The Item $/Proj1 already exists So, th ...Show All
Windows Forms concat a variable into a control
Hi I have a problem in my code, i create an object and i try to concat it to an sql command like a control but i get the next error: Invalid Object Name Combobox1.SelectedItem.ToString() here is the code cmd.CommandType = CommandType.Text Di ...Show All
.NET Development How create nested namespace?
Hi people! I want create nested namespace: I want have namespace hirierchicals. Sample: using EnsambladoMain; using EnsambladoMain.Ventas; using EnsambladoMain.Compras; I can make it, with one project of Library Class Hi, you could also do this: namespace node1 { namespace node2 { public class class2 { }; }; & ...Show All
Visual Studio Team System Extending Team System Version control Mechanism
Hi I want to use my legacy Version Control Implementation using Team System clients(GUI). Is it possible for me to plugin my version control dll(eg:SCC.dll) in to Visual studio . In Visual studio ,we use to implement SCC -SDK and plug in our source control in to visual studio. is it possible to achieve the same in team system. On client side ,visual studio team system uses - M icroso ...Show All
Visual Studio Error "Load Report Failed " after deployment on the client computer
hi Masters, I am using vs2003, i have made an application having crystal reports. I have made a windows installer. And its working fine on developement computer, but when i am installing this application on the client computer it gives error when trying to view the reports only. Load Report Failed any one guess what should be the error if any one face this type of probelm pls help me to slove it. Did you include the ...Show All
Windows Forms Web Hoster that support HTTP-DAV/WebDAV
Hi, I've used the AppUpdater component and it seems to work fine in our development environment. I'm having trouble finding a hoster that supports the download protocol. They hosters say there are security issues with it on. Does anyone know  ...Show All
