DaveCook's Q&A profile
Visual Studio Team System How to determine solution workspace?
G'day, Let's say I have two workspaces in my workstation. I have opened solution 1 in Visual Studio by using "Open from SC" in workspace1, worked with it some, then switched to solution 2 I have worked with previously, which happens to be in workspace 2. When working with version control solely through the Solution Explorer, one has no problems. However, in the TFS Source Code Explorer you have workspace selector combo box. Now, I have been working with solution 2, closed it, and opened solution 1. The solution 2 is in different workspace, but workspace selector in Source Code Explorer aint reflecting the workspace of curren ...Show All
Visual Studio How to build many DLL to one
Idont know how to build many DLL to one DLL please tell me Thks I assume we are talking managed code DLLs. You can use ILMerge to do the trick. Google for ILMerge, it's downloadable from MS somewhere. Theres also a (somewhat silly) frontend somewhere on the net, but using ILMerge is pretty straightforward. /mawi PS Someone really needs to fix this forum so posting works on firefox. ...Show All
Visual Studio Express Editions How to create View Text Size in WebBrowser
I am creating a webbrowser and wish to include a "Text Size" option under the View item of the menustrip. This would be exactly like Internet Explorer where clicking "View/Text Size" produces a flyout menu ("Largest, Larger, Medium, Smaller, Smallest") that changes the size of the font in the web page. I found another thread discussing changing text size when using "Select All" from the Edit item, but nothing specific on this particular topic. Creating the menu items in the menustrip is easy. I just don't know how to make them work. When I researched this topic in the MSDN library I found a poten ...Show All
Visual Basic Parameter query in listbox control
I have a query of this kind. select pkid,compname from compmast where cat1 in (1,2,3) or cat2 in (1,2,3) or cat3 in (1,2,3) the listbox is to be linked with the above query and passed the parameters. I used something like this, select pkid,compname from compmast where cat1 in ( ) or cat2 in ( ) or cat3 in ( ) but here the parameters are taken as integers and not as string. How to accomplish the above task. I will be very greatful if somebody can help me. As I am VB6 programmer Converting to VB 2005. Thanks. eg u stored the parameter as 1,2,3 or even '1','2','3' with variable name : strParameter then u ...Show All
SQL Server SSIS package BLOCKS at opening.
Hallo, I'am relatively new to SSIS-programming and experiencing a serious problem with a package (6618 KB large) containing 5 dataflows. These dataflows all start from a datareader-origin and flow trough multiple transformations. While editing the fifth dataflow the developmentenvironment suddenly became unworkably slow. After any modification made to the dataflow it takes several minutes before I can continue editing. Meanwhile in the task manager the process devenv takes a very large portion (50 to 100%) of CPU. Building the package,shutting down SSIS and even rebooting the PC don't make any difference. When you close the package an ...Show All
Visual Basic Adding menu's at runtime problem
Hi, I need someone to put me in the right direction as I'm not sure how to do this, I want to add menuitems to my windows form dynamically withh their relevent event handlers. The text for each menu is read from an XML file and I don't know how many menuitems will be added at any given time as it depends on the users choice. I'm using the toolstripmenuitems and I'm not sure if they react differently to the normal menuitems. Can someone help me on how to do this. Does anyone know of a good tutorial. thanks Chris Hi, You can take a look at this article http://msdn2.microsoft.com/en-us ...Show All
SQL Server Processing NULL values
I have an input file that may have NULL's in it's fields. The fields are of a various data types. The NULL value is represented by - question mark. Is there a way to set package or file connection up in a way - so it treats as NULL The only other way I found is to use Derived column - and so I have to create derived field for most of the fields (150 of them) since a lot of them may contain - or NULL. Any ideas what adds pain is that two operations must occur for each column: relace with null and data conversion. So, I have to create following expre ...Show All
Visual Basic Issue with SQL Server 2005 Scripting Language
I orginally posted this within the SQL Server SSIS area, but realized that this is probably a better forum. Thanks for any help you can provide. I am utlizing a scripting object in my ssis to combine two text files into one final file, and then I want to delete the original files. To do this I am utilizing the FileSystemInfo namespace and associating the file names, then utilizing the DELETE functionality. The creation of the final file works perfectly...unfortunately, my base files do not delete, and I do not get a failure message or indictator. Here is my code: ' Microsoft SQL Server Integration Services Script Task ' Wr ...Show All
Windows Forms How to get the publisherr name?
I need to know the publisher name and published product name (not the application product name which is found in assemblyinfo.vb/.cs) when my ClickOnce application is running. Where are the information stored If you are using VB2005 then you may find it under publish tap Right Click project then select properties. Select Publish tab Click options Then you can see (and update) Publish Language, Publisher name, Product name, and so on. Hope this is what you are looking for ...Show All
Visual C# How do I move my records in one dataset into SQL database with field matching?
I am working on a attendance application( base on SQL Express) for school, I figure out the way import the CSV files(Attendance Record) into a dataset but I cannt find any information regarding how to transfer the record into SQL Express Thanks damn...... I have a exception state that there is no field mapping in the 2 dataset how do I do the field mapping..... ...Show All
Visual Studio moving files
Hi developers, How can I move files from one location to next thank you Check out the Move task at Tigris.org http://msbuildtasks.tigris.org/ -Steve ...Show All
Windows Forms shouldn't this work?
Hi, I'm generating some controls in a for loop... something like this: for(int i=0; i<10; i++) { Panel panel1 = new Panel(); ... } And if I wanted to delete them, shouldn't this work foreach(Control ctl in this.recGroupPanel.Controls) { if(ctl != null) ctl.Dispose(); } (Note: recGroupPanel is the parent where all panel1 are inside...) Any help while ...Show All
SQL Server Should this be an error rather than a warning?
If you have a package that uses an environment variable for an indirect configuration and the environment variable is not present when the package runs you get the following warning: The configuration environment variable was not found. The environment variable was: "Seer.ConnectionManager.CUECommonReference". This occurs when a package specifies an environment variable for a configuration setting but it cannot be found. Check the configurations collection in the package and verify that the specified environment variable is available and valid. IMO, if the package is expecting to find something and cannot find it then ...Show All
Software Development for Windows Vista WinFX RTC December 2005 Not working with December Vista SDK
There's a problem with the WinFx RTC download for December 2005. The links on the page http://www.microsoft.com/downloads/details.aspx familyid=BD3BA2D5-6ADB-4FB2-A3AA-E16A9EA5603F&displaylang=en There's a link to download the entire WinFx RTC package instead of the "smart" installer. http://download.microsoft.com/download/9/4/9/949EEA41-364A-45DC-8F4E-47E7AC147D25/winfxrc.exe I checked the time/date stamp in the downloaded files from the WinFX RTC and the Dll's are all from 11/18/05. this is for the WinFX RTC that is linked on the downloads page indicating it was December 2005 WinFX RTC. This happens wi ...Show All
Visual Studio Team System Problem adding / removing servers from the DomainProjectPicker control
I have an issue related to adding servers to the list of servers provided by the DomainProjectPicker control (Beta 3 Refresh). Basically, if you remove a server you cannot seem to re-add it during the run of the application that launches the control. You need to restart the application in order to add the server back... Here are steps to reproduce it: create a WinForms app that shows the DomainProjectPicker control from a button handler or something like it make sure you have a valid server to connect to so that a server shows up in the top dropdown when the control loads when the DomainProjectPicker control pops up, click on ...Show All
