francisk's Q&A profile
Visual Studio Changing database login info at runtime VS05 RTM vs VS05 Beta 2
I've a group of reports developed with Crystal 11 that need to have their database connection information changed at runtime. I'm following the sample code pattern for integrated security with winforms. With VS05 Beta 2 this all worked just fine. With VS05 RTM if the runtime database connection matches the report connection everything works fine. If the runtime connection is to a different database I get an error that see ...Show All
Visual Studio How to install VSTS Beta 2 on remote development Win2003 Server?
I installed VSTS Beta 2 on remote web development Win2003 Server (I selected none of the VSTS components). Prior to doing that I uninstalled VS beta 1 succesfully. The installation was successfull, but now the ASP.NET tab is missing from IIS 6 web site properties, and I have no way setting the script mappings for spesific Framework version. I tried -regiis -ir -enable, but the tab is still missing. Any advice how to do a remote development serve ...Show All
Visual Studio Tools for Office Issues with VSTO 2005
Hello, I have used VSTO 2005/ Visual Studio 2005 to create an Outlook Add-In. When you create a new Add-In project in VS2005 it also creates a setup project along with that. I am using that Setup to install in a client workstation. I had made sure to test the code several time and it works when compiled and VS installs adds it inside Outlook. As far as Outlook is concerend I can see the Add-In in the COM Add-Ins Window and ofcourse the add ...Show All
Visual Studio Tools for Office problem with deploying VSTO applications
Hi, finally we have got a web page reporting a complete procedure for preparing End User computers to run Office Solutions. It's here: http://msdn2.microsoft.com/library/2ac08ee2(en-us,vs.80).aspx I had a problem when deploying my Excel project(made with VSTO in Visual Studio 2005 beta 2). I had installed .Net Framework 2.0 on the target machine, a PC with Excel 2003 installed. I had installed on the target machine the p ...Show All
Visual Studio Team System 64 bit Source control with web interface?
Hello. I have a few 64 bit servers, and I would like to have some source control on one of them, and using the web component. To my knowledge there are 2 different programs that would be able to help me: VSS and Team Foundation Server. I have used VSS for may years, so I decided to try it with VS 2005. But in the instructions for installing the web componen of VSS 2005, it needs me to change my IIS to work in 32-bit mode. Unfortunate ...Show All
Visual C++ problem with friend templates in Visual Studio 6.0
Hi all, I have problem in situation similar to this template< class ItType > class cfgIterator { /* some code */ }; template< class Type > class cfgManager { public: template <class ItType> friend class cfgIterator; /* some code */ }; The problem is that it doesn't pass compilation - I get error c2059 and some others. However, I think that syntax is correct. I work in Visual Studio 6 Any sugestions Th ...Show All
Visual Studio Team System Custom workitems problems in Team Foundation Server Beta 3 Refresh
I have gottenTFS Beta 3 upgraded to the Beta 3 Refresh. Everything went pretty smooth, but i am having problems with the custom workitems. Basically what i have setup is the a SubSystem dropdown has changed the bug is assisgned to a certain user. This worked fine in the Beta 3 version but will not work in the Bets 3 Refresh. Below is how i have the conditon set. I go this by exporting the workitem type from TFS. &n ...Show All
Windows Forms combo box - how to prevent selectedindex change
I need help on this, how can I prevent user from changing the selection of item from the dropdown list what I am trying acheive is this, when user clicks the down button on the combo box or uses down arrow key, I want to be able track it and based on some logic I want to be able to disallow the user from changing the selected item. Thank you, Jesbert I'd rather populate the combobox with items ...Show All
Windows Forms How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser
At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events an ...Show All
SQL Server Bug in SQL Server 2005 ? - DATEADD function
Hi When I execute the following , the expected result is 03/31/2006. However the result that you get is 2006-03-28 00:00:00.000 Select DATEADD ( MONTH , 1 , '02/28/2006' ) Is this something how the dateadd is supposed to behave or is this a bug in SQL Server 2005. Regards Imtiaz Hi Imtiaz, I can't actually see anything wrong here. Why would the expected result be 31 March 2006 That is n ...Show All
SQL Server Suppress Text Wrap
Is there a way to keep text from wrapping to the next line if it hits the width of the containing item Yes, the property "CanGrow" will determine whether or not something will automatically resize. Simply set this value to false and the value will not wrap to the next line. ...Show All
Windows Forms How do databind a ComboBox's list to App.Config?
Hey all, Thanks in advance for your help. I need to have users be able to enter new data into a combobox, which would save to the App.Config file or have them sellect values which were previously stored in the App.Config file. I'm a little lost as to how to do this. Anyone have ideas ...Show All
Windows Forms Export/Import Data
How do Export/import data from excel/word to SQL server 2000/or Access 2003 using VB.NET. HI Jebat, One way of transfering data from sql server to excel is to user the DTS. The following article explain it. http://support.microsoft.com/Default.aspx kbid=319951 Cheers, VJ ...Show All
Visual Studio is it possible to programmatically dock a tool window?
I'm trying to figure out if it is possible to programmatically dock/tab a tool window the same way that windows such as Solution Explorer and other builtin windows are docked when they are first opened. I've tried CreateLinkedWindowFrame, but this doesn't seem to do quite what I want. It does allow multiple windows to be tabbed together, but it creates a floating frame. I would like to be able to add my tool window into t ...Show All
Visual Studio Team System How to get the xml source files for process guidance such as ProcessGuidance.xml
" MSF Process Guidance Customization Guide " suggests using InforPath to edit the xml source files for customizing process guidances. W here to get these XML files for the two pre-defined processes from Microsoft Thanks very much! Yuhang. Prior to the TFS Release Candidate the Source process guidance was included in the process templates that are downloaded from the Process Template Manager ...Show All
