ThomasBear's Q&A profile
Visual Studio MS Build and VSS
Is there a task to get latest version of files and projects from Vss Hi, There are some VSS tasks listed in http://msbuildtasks.tigris.org/ I beleive Microsoft.SDC.Tasks also have functionality to get source from VSS. You can find more information about this at http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=2CB20E79-D706-4706-9EA0-26188257EE7D Please let me know if you need additional information Thanks, Jay ( jaysh@microsoft.com ) ...Show All
Windows Forms serial com port programming
does .net framework provide api's to program the serial com port how do i communicate to the com port with c# or vb.net on a windows form thanks! You'll need to have a look at this <a href="http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx">http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/default.aspx</a> It's very complicated and took me quite a wh ...Show All
Microsoft ISV Community Center Forums Setting Chart Title through VBA sometimes works sometimes doesn't.
Hello folks, Wonder if anyone has the solution to the following problem. Got an Excel addin that the user can use to generate Charts. The users are very lazy and want the addin to set the titles for the chart as well as for the axis. When I tested the code everything works fine and the charts including it's titles are set. Everyone is happy. However in certain spreadsheets the code throws an error. Method 'HasTitle' of object '_Chart' failed. Here's the code that causes the error Dim chrt As Chart Set chrt = ActiveWorkbook.Charts.Add chrt.ChartType = xlXYScatterSmoothNoMarkers chrt.HasTitle = True ...Show All
Windows Forms VB.NET DataGrid
Hey, I am trying to display a column at the far right of the datagrid which would have the total of all the values for each individual row. I added a datacolumn by setting it's expression property, but, this works only if you change rows for a column. For eg. if I have only one row the total will not update. I wrote code in the textchang ...Show All
Windows Forms PropertyGrid Enum Description Help
Hi All, I am having a hell of a time getting my property grid to show enum descriptions but store the enum value. I have based myself on the following example which basically assigns the "Description" attribute to each enum value, and then gets them using reflection. I have tried my best to recreate this example in VB.Net but to no avail. Here is the link: http://www.codeproject.com/csharp/EnumDescConverter.asp I know I am close, and I really like this person's approach (assigning a description attribute to an enum value), and then retrieving it later on in the property grid. Can anyone help me out The error always oc ...Show All
SQL Server Management Studio Express - Security problem with "backup" function
I am logged in to the CTP of Management Studio Expresss as a regular dbo user with ownership to only one database. The following seems to be security problems for use on shared database servers: 1. I can see the names of all the other databases, not just my own. I can't access the others, but I thought this was going to be fixed and not work like existing EM for SQL Server 2000 that shows (potentially hundreds) of database names. 2. The "Backup" database function, when selecting backup to a disk files, allows me to browse the ENTIRE folder structure of the hard disk. I can drill down into the C:\WINDOWS folders, the "Documents and Sett ...Show All
Windows Forms Menu just dissapeared!
Not what I was hoping for, imminant deadline, and almost all the menu items dissapear. They are there in the designer, the resource file is ok, everything looks ok in initialize component, but on the form now, only 2 menu items appear, where there used to be over 50!!!! Guess I have to rebuild the Menu :P (why me ) Its always a weird& ...Show All
Smart Device Development High DPI
I am programming for the Compact Frameork 2.0. On a Windows Mobile 5.0 smart phone. I want to provide a different picturebox.image on a High DPI device. In C# what is the best way to determin that I am running in a High DPI environment. TIA, Al I'm not aware of a direct method built into the framework, but you could possibly detect the resolution by checking the .Width of a full-screen form. -Ryan / Kardax ...Show All
Visual Studio Team System Cannot install VS2005 Team Edition on Win2003
I installed SQLServer 2005 CTP with no issues, but when I try to install the VS Team Server, after making sure the SQL Services are all running (it complains otherwise), all I get is a screen saying " Uninstall: Remove Visual Studio 2005 Team Foundation App-Data Tier Beta 2 (English) from this computer." There is no other option but to uninstall the nonexistent app. If I click ok, it does nothing (since there is nothing to uninstall) and exits the installer. Seen this before What's going on Well, I know it's not inherently something about Win2003. I've installed both beta 2 and the July CTP on Win2 ...Show All
Visual Studio 2008 (Pre-release) In XAML, how reference a resource, BUT NOT using it as an attribute value?
First, consider two ellipses that are to be drawn in a stack. Hard-coding it (no use of resources or styles), it might be: <StackPanel> <Ellipse Fill="Red" Width="100" Height="50" /> <Ellipse Fill="Blue" Width="200" Height="100" /> </StackPanel> ----------------- I DO find examples of how to refer to a resource AS AN ATTRIBUTE VALUE, for example the brush used to fill: <StackPanel x:Name="sp1"> <StackPanel.Resources> <SolidColorBrush x:Key="brush1" Color="Red"/> &nb ...Show All
SQL Server SQL Server 2005 and RDO compatibility
Are there any known issues with using RDO with SQL Server 2005 My company is in the process of updating our SQL Server 7 database to SQL Server 2005. Most of our applications are several years old and written using RDO to access the database. I have since started the daunting task of updating all the applications to ADO, but it's only about a quarter of the way done. We need to update the database ASAP, but we cannot wait until all the applications have been updated to ADO. While testing the applications (written in VB6) against the new SQL Server 2005 database, I have come across a problem with the RDO queries not returning ...Show All
Visual Studio Where can I find ANY information about sourcesafe 2005?
Hi, I've been trying to find information about Visual Sourcesafe 2005, but it doesn't seem to be anywhere on the MS web site! Is there a web page for it anywhere All I can find are a million links to the previous version, sourcesafe 6, which we already use. Please help! Thanks. http://www.google.com.au/search hl=en&q=%22sourcesafe+2005%22+site%3Amsdn.microsoft.com&meta = ...Show All
.NET Development The configSource attribute must be a relative physical path?
Hi, I get the following error when I try to specify the configSource attribute for my configuration section: "The configSource attribute must be a relative physical path." Does this mean what I think that it does That the path must be relative to either the configuration file or the application exe I get this error when I define the configSource attribute to "\\servername\\share\\filename.xml " or "C:\\filename.xml". But if I define it as ".\\filename.xml" it works. The problem is that our customer wants part of the configuration on the server, so that they only have to change it in one place. I thought that I could solve it like this, b ...Show All
Smart Device Development problems with WriteString and CStdioFile
Hi everybody, while I am using file.WriteString(); with CStdioFile there is an error nobody can explain in other forums and discussion boards: error C2039: 'WriteString' : is not a member of 'CStdioFile' c:\...\mfc\include\afx.h(1487) : see declaration of 'CStdioFile' I don't understand because every other things works well with CStdioFile (for example Open or CFile::modeWrite etc.). I want to write in a .txt-file and don't like things like the little squares (for \n) in the text files. Now I use file.Write(); but here I have these little squares I don't want. The program I use is: embedded Visual C++ 4 SP4 for pocket pc and m ...Show All
.NET Development XSD.exe and arrays/sequences
The XSD.exe is generating C# array element types that don't correctly conform to my xsd. Let me give you a sample of the xsd elements. Here in my XSD. I want to define a list of productId's, I simplified the element to show where the problem lies in the transformation to the C# object. < xs:element name = " ProductIdList " > < xs:complexType > < xs:sequence > < xs:element name = " ProductId " type = " xs:string " maxOccurs = " unbounded " /> </ xs:sequence > </ xs:complexType > </ xs:element > Here is the C# code that ge ...Show All
