Cammyr's Q&A profile
Visual Studio Team System Team Build Sources Directory
Is there any way to make a build type (team build) use a common directory for it's references rather than it get the latest source code on every referenced solution when building one solution Yes. We have a project that consists of 10 or more different assemblies. The projects are set to build to a common directory. All projects reference the .dlls in the common output directory. We only build one assembly at a time and my VSTS build types are created as such. I dont want to clutter the build machine with a sources directory for each of the 10 build types I created. If I build the project at the top (or bottom depending on how you look at it) of the dependency list, the build machine gets latest on each o ...Show All
SQL Server Management Studio Scripting Bug?
In my install of management studio when I use the scripting wizard and get to the Choose Script Options dialog The Script Behavior drop down has only two options (Generate CREATE statements only, or Generate DROP statements only). It doesn't have the option to generate a drop followed by a create. If you read the description of the Script Behavior that is below the options you'll see that it advertises a Drop and create option. Why doesn't the dropdown have all three options Bug or not Yes, thank you for the reply. I too would enjoy seeing that functionality back, 2 passes to accomplish 1 thing is monotonous. ...Show All
SQL Server track a specific procedure in profiler
Hello I am using SQL Server 2000 and How should I track a specific procedure and DMLs in it with profiler, I was trying to filer ObjecName=MySP but it seems it does not track only the SP. Any idea Did you try catching the STMT event HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System automated unit tests
Hello, I have a Solution consisting of 3 Projects. One main App that depends on a COM-ActiveX Control, and a project that builds an assembly wrapping native C++ code with some image processing algorithms. Additional there is a project that performs the unittest for this project. Everything works fine when I do a local run: the test runs and I get my coverage results. When automating this doing a Build, my compilation still works fine ( after doing some adjustments to the TFSBuild.proj - file as described here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=421666&SiteID=1 ) , but the tests won't run: Das Projekt c:\BuildDir\DicomViewer\Nightbuild\BuildType\TFSBuild.proj erstellt c:\BuildDir\DicomViewer\Nightbuild\BuildType\TFSBu ...Show All
SQL Server Supported Remote Execution Techniques
Some time ago, I came across some posts that suggested that remote execution of SSIS packages was only supported if the package was wrapped by a SQL Server Job Agent job. Is this correct Would the web service technique described below then not be supported http://msdn2.microsoft.com/en-us/library/ms403355.aspx As I understand, there are approaches for running programatically: 1. sp_start_job 2. xp_cmdshell 3. Microsoft.SqlServer.Dts.Runtime API calls Understanding that SQL Server Job Agent is the preferred approach, please advise as to if any of the above are NOT supported by Microsoft. Thanks, Rick Hi Rick, Does Doug Laudenshlager's response to your question here: https://forums.microsoft.com/MSDN ...Show All
SQL Server Connect vb express to SQL2005 Developer ed?
Excuse the cross post (to VBexpress fourum) but maybe someone here will have a different take have searched all around can't seem to see how to configure a SQL2005 developer ed so I can use vb express to develop a local front end. keep getting "the user instance login flag is not supported on this version of sql server" I have configured the .net framework via aspnet_regsql.exe. Also I configured the "Machine.config" file. but so far no luck. Selecting sql2005 as the server thru the add new database connection in advanced area yields the error message surely there is away. So far still no joy, While Scotty indicates that the connection to SQL2005 is intentionally hampered other posters indicate that ...Show All
SQL Server ADO Interop Using MDAC 2.8 On Vista
I am trying to load a project under VS2005 under Windows Vista that references an ADOX wrapper that is looking for version 2.8.0.0. The reference fails because the library is not registered. I thought maybe installing MDAC 2.8 would solve my problems, but when I run the installer for that, it briefly puts up a dialog that it is extracting files, then it disappears. Any ideas --Bruce Hi, Just a note to all, registering the msadox.dll could solve the "Library not registered" problem when trying to use ADOX Interop. regsvr32 "C:\Program Files\Common Files\System\ado\msadox.dll" Hope this helps someone. - Brent ...Show All
Visual Studio How to: Reporting Services: access report items in reports at runtime
i want to access a report item at run time (c# application) and change it. how can i do it chaminda ...Show All
Visual C++ CLI Enum [Flags] Attribute and Bitwise Operators
Hi All, I'm converting some C# code to C++/CLI so I can take advantage of the ability to import the platform SDK headers etc, instead of re-defining everything in C#. I have some enum code and bitwise operations in C# that I can't convert to C++/CLI, and would prefer to use the enum [Flags] style if possible. Here is the code, compiling under C++/CLI: In the header: [Flags] // Flags determining resize action permitted for a drag handle. enum struct HandleResizeFlags : System::UInt32 { Reset = 0x0000, ResizeVertical = 0x0001, // Vertical up + down permitted. ResizeHorizontal = 0x0002, // Horizontal left + right permitted. ResizeTop = 0x0004, // Resizing from the top of ...Show All
Visual C++ ConnectEx (WinSock) question
I can't seem to find an appropriate forum for my question, this ones description indicates that libraries are "on topic", so I hope that a WinSock related question is appropriate here. If not, my apologies. I am using the WinSock extension function ConnectEx in my networking service application that I have written. I recently ran into a situation in which the asynchronous ConnectEx was not completing (I'm using i/o completion ports) in a reasonable amount of time because the remote machine had a firewall enabled that was blocking my attempted connection. The question I have is, what failure condition should I expect in this case When I use normal sockets "connect", I can make it non-blocking and then time out after som ...Show All
Smart Device Development Prevent Tab Page Change on Tab Control
Given the absence of many events for the TabControl component (understandable given that it is part of a "Compact" framework) how does one prevent the tab page changing when the user clicks on a different tab My issue is that I have some pre-conditions to be fulfilled before the tab page display (selected tab) should be allowed to change. I can't use a "Mouse click" event to stop the page change since that event is not available. Likewise I cannot hide the other tabs since there is no such property. At present I check the preconditions on the "OnSelectedIndexChanged" event, but by that stage the tab change has already been actioned. If the conditions are not fulfilled then I have to change the tab page back t ...Show All
Windows Live Developer Forums Adding Pushpins via C# .NET
Hey, I'm trying to figure out how to manage a lot of the map stuff via .net. I have a database of lat/long and I want to add them to my map, How would I do this Client : Use XMLHttp to call your code behind page Server : Use a StringBuilder in a loop to build AddPushpin method for each of your points. Then Response.Write it. Clent : use Javascript eval() method to parse the resulting string ...Show All
Visual Studio Tools for Office Deployment seems to be broken in VSTO... IEcache is never used while in offline mode.
Hello, The VSTO dll is sitting on a secured site (https). The publication site and path is inserted into ClickOnce, and the VSTO solution is published. While publishing, the document (xls) is stamped with the following information: -ApplicationManifestName: blah.dll -ApplicationManifestVersion: latest.version.number -DeploymentManifestName: full.web.path/file.application -AssemblyName: the name of the .dll file without extension -AssemblyPath: relative path to the newest .dll (latest.version.directory/file.dll) -AssemblyVersion: some other version number ... ok. Here's how I understand this works: -user opens the xls file -path from the dep. manifest name is combined with the assembly path and fetched via I ...Show All
Visual Studio Team System Is there any attribute in the Method to show it is generated by compiler
hi all Is there any attribute in the Method to show it is generated by compiler what is the mean of IsGeneric of the Method's attribute I want to skip over the method that generated by compiler. for example when i analysis the windows form project , there are many methods generated by compiler , i do not analysis these methods ...Show All
.NET Development What can I append to the end of an expression...?
I am currently working on a problem and need a way to work around an issue in the Regex object in .net. The basic issue is that if the parsing expression contains this: … " price="( <price>.* )"net="( <net>.* )" … But the text being parsed looks like this: … " price="44.54" net="0.26" volume="592100" … (These are just snippets, the expression and the text are both a lot bigger) The Regex.Matches(strStringToParse) continues to try to find the "net=" pattern so it knows when to stop for the data in the price group… it continues to look on beyond the end of the string… the end of the file… and on into the system. ...Show All
