Answer Questions
Senthil Kanna animate listbox items to scroll
how to animate listbox items to scroll and fade out Can you give some more details ScrollIntoView will provide some functionality, but if you want better control over how the text animates, its speed, direction, etc you might consider creating a small animation framework for your elements. It's fairly simple to create some animated scrolling control containers that will scroll any elements inside of it. I created one called ScrollingCanvas Container which you can find an example and source code for over at xamlXaml.com: http://xamlxaml.com/2006/09/27/scroll-text-and-almost-anything-else-with-the-scrollingcanvas-container/ Michael G. Emmons http://xamlXaml.com i have a small project i'm workin ...Show All
RNG VBA or .NET?
Hi, I'm planning on creating a customized toolbar for Powerpoint 2003 which would have a custom color palette, custom icons, create new slides based on a table of contents, etc. I'm weighing my options trying to decide between VBA and .NET with VSTO 2005. I talked to Microsoft MVP Jonathan West concerning this choice, and his gave me some pretty compelling reasons for choosing VBA, namely: VSTO 2005 has no special tools for Powerpoint VSTO 2005 SE only works for Office 2007 (not Office 2003) COM add-ins are a pain with .NET Accessing the Powerpoint object model with VBA would be easier than with .NET for this specific project What does the forum say about this Is VBA the clear choice Thanks, Pete Pet ...Show All
rp1933 Change backcolor of disabld control
Can we change the backcolor of textbox control in Xbap application in framework 3.0 if yes How.... You can change the template in the style, for ex. in the following when the textbox is disabled, background will be yellow and foreground blue < Style x:Key = " Style1 " TargetType = " {x:Type TextBoxBase} " > < Setter Property = " SnapsToDevicePixels " Value = " True " /> < Setter Property = " OverridesDefaultStyle " Value = " True " /> < Setter Property = " KeyboardNavigation.TabNavigation " Value = " None " /> < Setter Property = " FocusVisualStyle " ...Show All
Fusion54 How to get a List of available Classes with VSPackages?
Hi, I need to enumerate all the available classes which are derived from DataSet with VSPackages (not using DTE). Is there anyway to get a reference to one of the enumerated class Thanks in advance, Denniz AFAIK, you need to use DTE. See my article: HOWTO: Navigate the code elements of a file from a Visual Studio .NET macro or add-in. at: http://www.mztools.com/resources_vsnet_addins.htm From within a package, you can get the DTE object using GetService(typeof EnvDTE.DTE). There is something confusing in your question: if you have an add-in or VS package hosted in the IDE instance A, how do you expect that is going to list the classes on a different instance B that ...Show All
Socrates Kapetaneas csproj Documentation
Hi, I'm looking for a documentation for .csproj which describes all valid settings for a Visual Studio 2005 C# project file. I know the MSBuild Project File Schema Reference but this just describes the general schema but not the settings themselves. regards, Alex I have done this now, Neil. Thank you. Alex Dan, thanks for your reply, I have already seen this file but due to missing descriptions it was not that useful. Alex Alexander, there is microsoft.build.commontypes.xsd in your v2.0.50727 folder. That's a list of valid properties/items that are often seen in projects written by Visual Studio, but it does not have d ...Show All
darknessangel Excel precision issues with float/single
If I have a float variable with a value of 9.9 (as seen in the debugger), and I set it to an Excel cell, the cell value is 9.89999961853027. However, if I have a double variable with the same value of 9.9, setting that to an Excel cell gives me the correct value. (Note that the cell, in it's default size, looks correct, but if you expand the cell, or click on the value and look on the editor area, the value is incorrect.) Am I doing something wrong How do I fix this Thanks much! Try asking this of the Excel experts in the application-specific group: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US I'm pretty sure what you'r ...Show All
AHachmann Please help with zipPackage
Hi. Thanks for helping me! I am trying to extract a file from a zip. When reading the zip file I always get this: 'p.PackageProperties' threw an exception of type 'System.Xml.XmlException' {System.IO.Packaging.ZipPackage}"Root element is missing." This is the code: private const string PackageRelationshipType = @ http://schemas.microsoft.com/opc/2006/sample/document ; public String loadFile( String _file ) { Package p = ZipPackage .Open(_ file , FileMode .Open, FileAccess .Read); using (p) { Uri uri = null ; PackageRelationshipCollection rels = p.GetRelationshipsByType(PackageRelationshipType); foreach ( PackageRelationship rel in rels) { uri = PackUri ...Show All
tlbong Crystal Reports for Visual Studio Program Manager
Hi Everyone, As program manager, I'm a recent addition to the Crystal Reports for Visual Studio team. I look forward to contributing to this forum as often as I can, and I'm excited to hear any feedback, comments, or suggestions that you have. I encourage you to visit our Developer Resource Center as a great starting point for all of our developer products. It has links to sample code (118 C# and VB samples), our Developer Library online SDK documentation, our Developer Zone, and Business Objects Support Forums. Also, for those of you that are new to report design and using the Crystal Reports Designer embedded in Visual Studio, check out the "Creating Reports" docume ...Show All
pinoyz Invalid DOS Path Error - Unable to Open VSS database
Hi our network has recently changed the network mapping of a shared drive where our VSS database is located. This has caused the VSS program to complain a dos path error. I tried remapping the database to the new path where the srcsafe.ini is located but I had no luck. The new path is somewhat similar to the one below \\hr.serv.acme.com\hr-shared-drv\application\vss\srcsafe.ini previously it was: \\hrserv34-v3\application\vss\srcsafe.ini Previously we had no problems. I've checked the permissions and no problems there. What could have been made wrong I'm running VSS v 6.0d on Windows NT. Can anybody send me a comprehensive list of probable root causes Hmm… VSS should not have problem with this path as long as your user account has ...Show All
Jonathan Hseu CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed no Windows Server 2003
Eu estou executando o seguinte codigo abaixo em asp.net com o Visual Studio 2003, e utilizando como servidor de dados SQL Server 2000, em um servisor Windows 2000 funciona mas em um servidor Windows 2003, ele apresenta mensagem de erro. Eu estou utilizando o Crystal Reports 9.1.3300.0 que vem com o Visual Studio. Qualquer ajuda sera muito bem vinda. Codigo : CrystalReportViewer1.ReportSource = Server.MapPath("CrystalReport2.rpt") CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.ServerName = "BRASIL" CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.UserID = "sa" CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.Password = "" CrystalReportViewer1 ...Show All
pkr2000 CTC constant for "Test Results" context menu?
I'm trying to find the constant that I need in my CTC file to add my own item to the context menu in the Test Results pane. However, there don't seem to be any such constants defined in the header files found in the VS SDK's VisualStudioIntegration\Common\Inc, or the example found in VisualStudioTeamSystemIntegration. I'm looking in the August 2006 CTP release of the SDK. Any help would be appreciated. Thanks! The one you probably want is this one guidVSEQTPackageCmdSet : imnuTestResultContextMenu where guidVSEQTPackageCmdSet = {B85579AA-8BE0-4c4f-A850-90902B317571} imnuTestResultContextMenu = 0x1301 The context menu contains the folowing groups in the same guid scope id="igrpTestResu ...Show All
QuantumMischief September CTP: pubstructure.gif background not transparent
In the September CTP, the pubstructure.gif image doesn't have a transparent background. This applies to both the VS2005 and Prototype icons. — Eric — hi, The SandcastleGUI application replaces the image with a transparent one. http://www.inchl.nl/SandcastleGUI Stephan Yes and Michael reported this bug at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=737673&SiteID=1 . I will provide a fix by RTW. Anand.. We also provide a transparent pubstructure.png image with our CTP. I will make sure this gets addressed by RTW. Anand.. ...Show All
stinosky Copy task does not overwrite read-only files
How do I make Copy task to overwrite read-only targets We're adding "OverwriteReadOnlyFiles" on Copy in the next version. Dan "This posting provided ASIS with no warranties" The quick anser is "You can't." The copy task always fails when it tries to overwrite a read-only file. You will have to retrieve the list of files being copied and delete them from the target folder prior to calling the Copy task. The nice thing is you can retrive the list with something like this: <Project DefaultTargets="" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <ItemGroup> <FilesToCopy Include="C:\Temp\**\*" / ...Show All
Sam Jost Storyboards and Threads Question
Hi all, I'm new to WPF and I need some help regarding an Animation I have running in a User Control I have created (it s a little progress indicator animation). In my Main XAML page I make my user control invisible to begin with. Then when I want to perform a task which is going to take a few seconds the idea is that I will make the user control visible and hence the users will see the little animation to give them a visual clue that something is taking a few seconds to run. Then when the task is complete I will make the user control invisible again. Everything seems to work fine except that just after running the c# code to making my user control visible, if I then simulate a delay of a few seconds using System.Threading.Thread. ...Show All
satya999 Microsoft Visual Studio 2005 V8.0.50727.42 - A data source instance has not been supplied for the data source - Isn't it easy ?
Again the silly question. I've got it work on the free VWD, it's pretty simple. Recently I started using the Microsoft Visual Studio 2005 Version 8.0.50727.42, and ----- I could not make it work ! I'm building a Web App, the report is Embedded Resource. I draged and dropped an ObjectDataSource3 and configured it correctly, when I clicked the "smart tag" and "chose data source", ObjectDataSource3 is under Other Data Sources --- My Page Name list instances", I could see it, but I couldn't choose it. Did I do anything wrong Please help, Thanks in advance, Long Hi, It's me again, I found a link that has the same problem as mine : http://forums.microso ...Show All
