Axl55's Q&A profile
Visual Studio Express Editions Error adding reference .dll
I'm trying to add a .dll that I wrote in C to a VB.NET program. I get the message that the reference could not be added... make sure file... is a valid assembly or COM component. How do I make it a COM component Thanks. It's not even a type library, though I just read how I can add a "type library resource" to the DLL. Should I try that Thanks. ...Show All
Visual Basic Where Used Xref
The .Net IDE has a nice feature "Go To Definition", which takes you to the definition of a given symbol. I'm looking for the oposite reference, "Show where used", so I could select say a method (function or sub) and see all the places that it is called. Of couse I can do this by searching source, which is what I do, but it is not so accurate and it seems like this is something that the IDE could support (at least within a single assembly). Any ideas Thanks ...Show All
SQL Server Relational to DataWarehouse?
Can somebody please guide me in how to convert a relational database to a datawarehouse . Thanks Start with a good book (say,Ralph Kimball's The Data Warehouse Lifecycle Toolkit : Expert Methods for Designing, Developing, and Deploying Data Warehouses ) to understand "how-to" and then read tutorials/samples from BOL. ...Show All
Visual Studio Team System CA2223: Members should differ by more than return type
With the introduction of generics it is possible to have different type parameters and the same "normal" parameters. This scenario is perfectly plausible, and in my opinion not a violation of this rule, though the rule is still violated by Visual Studio Team System Beta 2. I take it this rule wasn't updated to the .NET 2.0 standard. Is this problem fixed in the final release of Visual Studio Team System Developer/Test editions I don't like putting 16 or so System.Diagnostics.CodeAnalysis.SuppressMessage attributes in my code. I have the following: public sealed class DataCollectionFactory { ...Show All
Windows Forms double buffering on list view
In the documentation for the listview for owner drawn it says this Note To avoid issues with graphics flickering when owner drawing, override the ListView control and set the DoubleBuffered property to true. Now, I am owner drawing my list view items, and yes it does flicker a lot... now to enable double buffering do i have to make a whole new custom control and inherit the list view just to override it to turn on double buffering or is there some way i can do this in code and override the listview and enable doublebuffering with out having to make a new inherited control than ...Show All
Windows Forms help using RaiseMouseEvent and RaiseKeyEvent and RaisePaintEvent and ...
The docs seem to be thin at best on these functions. The definition for the paint one is: protected void RaisePaintEvent ( Object key , PaintEventArgs e ) Now I can create the PaintEventArgs ok but what it the key again from the docs: key The event to raise. So it's the event to raise... can anyone give me just a little more info I can see that key is an Object but that doesn't really narrow it down very much. Has anyone actually used this at all Regards Jero Funny... I had not heard of the RaiseXXXEvent functions until today... in either case, for the most part the RaiseXXXEvent functions a ...Show All
Visual Studio Team System migration from test director (quality center)
how can i migrate data from test director to vsts. did anyone try to do it We do not have a converter to help with this. You will have to write a program that pulls defects from TD and imports them into TFS. There is a client API for programatically adding work items to TFS. I'm not familiar with TD scripting but I'm sure they have similar APIs to pull data out. Ed. ...Show All
SQL Server SQL Server 2005 Service Pack 1 is now available
Microsoft announces the availability of SQL Server 2005 Service Pack 1 (SP1) with Database Mirroring, SQL Server Management Studio Express, additional options for ISVs, and normal feature fixes. SQL Server 2005 Service Pack 1 can be found here: http://www.microsoft.com/sql/sp1.mspx Kamran, I'm not sure what you're asking. Standard Edition is supported on Win XP SP2. As such, you can apply SP1 to your Standard installation. You can find the SP1 read me file here: http://download.microsoft.com/download/b/d/1/bd1e0745-0e65-43a5-ac6a-f6173f58d80e/ReadmeSQL2005SP1.htm . Cheers, Dan ...Show All
Visual Studio Team System Can multiple team projects use the same source control tree?
I've read through as much as the TFS docs as I could find, but I've yet to see an answer to this. Can multiple Team Projects use a single source control tree or does each one have to have its own tree Here's my situation: We have a good size main tree that has 90+ projects (dll's) in it. There are perhaps a few dozen teams that contribute to these and each team has anywhere between 2-5 projects. All of the teams must check code into a single place so that a common build system can build all of it (they're all components of a single large app). What I'd like though is to have each team with their own Team Projects -- t ...Show All
Visual Studio Team System Teambuild: Customizing the e-mail sent when a build completes.
Hi all, I'm looking at customizing the email sent by TFS when a build completes. I found the XSL file defining the format of the mail (C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisserver\events\EventSchemas\BuildCompletionEvent.xsl) but how can I do the following: _ Change the subject of the mail (I would like to tag it with SUCCESS or FAILURE) _ Modify the XML on which the BuildCompletionEvent.XSL stylesheet is applied to include additional data (by the way, how is that XML generated ) Thanks, Pierre-Yves Troel .NET Lead Developer Ayuda Media Systems You cannot Modify the generated xml, as it is ge ...Show All
Visual Basic VS 2005 RTM Weird Editor Behavior
I'm using the VB Editor in VS 2005 RTM version and every so often it starts misbehaving and I have to close all editor windows to get working properly again. What happens is that as soon as I type a single letter at the beginning of a line it immediately appends open and close parens. So for example if I want to type an If statement, as soon as I type 'i' it changes it to i(). If I backspace to delete the parens it puts them back in. Zisha, I moved your thread to the VB IDE forums. They should be able to assist you better here. Thanks, Dylan ...Show All
Visual Studio MSBuild dependencies
Hi, I am new to the .NET world and I am trying to figure how to express assembly dependencies in MSBuild. How to I tell MSBuild to go and get the assembly it need in a certain directory Is there any documentation that explain dependencies management under MSBuild Thanks, -M. you just set up your build script (project file) to use project-to-project references instead of file directly, then the build order will automatically be correct. ...Show All
Windows Forms ClickOnce with programmatic updates only
Hi, I want to deply a ClickOnce app with automatic updates. But automatic updates should be initiated programmatically (through ClickOnce API), not before/after the application starts. Does somebody know how to disable updates before/after the application starts PS. Setting update every 999999 weeks does not look good to me :-) Go to the Publish properties page, and click the Updates button. Uncheck the "This application shoudl check for updates" checkbox. ...Show All
Visual Studio Express Editions Is it possible to connect to SQL Server Express?
From the SQL Server Express web site it claims that you can use Visual C# Express 2005 with SQL Server Express 2005, but I have yet to find a way to make that happen. When I try to select a data source the only options I get are Microsoft Access Database File Microsoft SQL Server Database File When I try to select the latter, I just go on a wild goose chase where it claims that I don't have credentials with the server. When I use the regular version of Visual Studio 2005 at work, I also get the option Microsoft SQL Server Which lets me connect to SQL Server Express 2005 no problem. What is a "Microsoft SQL Server Datab ...Show All
Windows Forms Master-Detail Comobox Databinding woes!
Hi, Im having a problem with a master-detail pair of comboboxes that are bound to a dataset. Let me explain further.... the master combobox allows a user to select a city the detail combobox then displays all suburbs within that city and the user should select one of those. both of these combo's are bound to a single dataset containing the city and suburb tables which have a datarelation. this works fine the thing which has me stumped is that I bind the selectedvalue with the field in another dataset's table(Policyholder) but it seems to not work correctly the binding seems unsynchronized. when navigating amongst different policyholders the ...Show All
