MLCollins's Q&A profile
Smart Device Development BackgroundA Application or Tray Icon
Hello is it possible to make some background application as well as show in tray thanks I guess the usual application without a form may be such a background application ...Show All
Visual Studio Team System Denied. Moving TFS to a new server doesn't work
After following the arduous and kludgy procedure for moving my TFS server to a new machine, I'm faced with a totally broken system. OK, that's not entirely true, but it might just as well be. The new server seems to be running fine. A Team Client installed on the new ATDT machine can connect to and interact with the new team server just fine. If the old server isn't running, existing clients insist that they cannot connect to the new server, yet I can can browse to the web services on the new server just fine (e.g. http://ATDT:8080/WorkItemTracking/v1.0/ClientService.asmx ). I can also browse to the report server and the sh ...Show All
SQL Server Top 5 with Union.
I want to know the top 5 patterns in sales, the report will like this: Month Top1 Top2 Top3 Top4 Top5 2005-06 A1 A2 A3 A4 A5 2005-07 B1 B2 B3 B4 B5 2005-08 C1 C2 C3 C4 C5 --- --- --- What I did is: declare @StartDate and @EndDate, set @StartDate and @EndDate Delete AAAA (AAAA is a table) Begin While (@EndDate< somedate ) Insert into AAAA(sales, Month, Pattern) Select TOP 5 sales, Month,pattern from sometables order by sales DESC increase @StartDate and @EndDate by a month End Select * from AAAA It works fine. My question is: Can I get rid of table AAAA ...Show All
Visual C++ Class Designer not a feature for C++?
There is an error in the Visual Studio 2005 product line info at http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx The table lists Class Designer as a feature, but as far as I am concerned, this is not true if it does not support C++. Anyone else look at this table and think it was in there I'm sure someone overlooked this, but it is somewhat disappointing to rely on this table for the past few weeks and learn latter this feature was removed for C++ about six months ago. This is now considered closed at the feedback center. There seems to be a lack of understanding on ...Show All
.NET Development Custom PersonalizationProvider Help (was: Custom MembershipProvider Help)
I'm having a heap of trouble implementing a custom MembershipProvider. Here are the details: I am creating a site that uses WebParts functionality, which, in turn, requires Membership functionality. Currently, I do not have SQL Server (in any incarnation) installed on the machine (in fact, it's a virtual PC running WinXP with SP2, and VS 2005 Beta 2, only), which, in its default configuration, Membership requires. So, I thought that I'd write a custom provider that would suffice for now (that does not use a backend but simply returns some static data for it's methods), which would alleviate my need for SQL server (I do not currently need to ...Show All
Visual Basic exporting to a document
ok....here's the thing...is it possible to export the contents of a datagrid to a document in word or export the contents of a sql query to a word document for instance i want to do query a table with something like "select * from tablename" and the output to be exported to a document any help would be appreciated thanks in advance Word has it's own, complex file format. You can control Word via COM, you can also control the latest version via .NET. There is a Visual Studio tools for office CD, that's probably what you need. ...Show All
Visual FoxPro can i use pack command to local view or remote view?if not,how can i do the same function?
thank you ...Show All
Visual Studio VSS 2005 Price
How much will VSS 2005 cost independently We can not afford to buy a MSDN license or anything like that and want the new features. We already have VSS 6.0 which we had to purchase independently also from VS.NET 2003. Pricing is still being worked through. However, you can be sure that the price will not go up, thought it may not go down. -mark ...Show All
Visual Studio Team System Error: The "CreateWorkspaceTask" task failed unexpectedly
I am getting an error when trying to run a build in TFS. The specific error is a casting error from object of type 'Microsoft.TeamFoundation.Build.Tasks.SerializedWorkspace' to type 'Microsoft.TeamFoundation.Build.Tasks.SerializedWorkspace'. The builds used to work a while back and I don't know of any changes that have occured on either the development machine, build server or TFS server. Any ideas The contents of the log are such: Build started 4/26/2006 7:58:25 AM. __________________________________________________ Project "e:\vsts\build\LarryIsHere\testbuild\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target ...Show All
Visual C# Pages generated from Comments "empty"
Hi@all, i am afraid/hope this is a noob-question: I am using VS 2003 and try to generate documentation from the C# XML Comments. Its just a very simple VS project. No extras. Only one main class and one other class, just to check out some features, e.g. doc generation. It does not work fine but results in a page that just gives me the option to navigate to my (little projects only) namespace documentation. Following this link i get an empty page. Here are some details: Except for the missing BODY-tag (is that tag out of date ) the HTML-source of the generated file looks reasonable, and as far as i can see two othe ...Show All
Visual C# Pass variables to form2 forom form1 using form 2 constructor
I have following error System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." I am trying to send values from form1 to properties of form2. I try to acomplish this by calling form2 constructor, but when constructor is called i get this error. I tried to debug and checked if valid values are passed to construcor and answer is - yes. This is code from Form2.Designer.cs i grayed out VS generated code... my code is in blue namespace CoinToss { partial class Form2 { /// <summary> ...Show All
SQL Server Resources about Load/Run SSIS packages using .NET Remoting.
Hello, I don't have a specific problem, I'm looking about resources because this is the tipical case when something is working but I don't know why .. On particularly I have to load and run a dtsx package from a window application and the package is located on the server. I decided to use .NET Remoting. I developed my "Remotable Object" which contains: package = Microsoft.SqlServer.Dts.Runtime.Application. LoadFromDtsServer() package.Execute() etc....etc... The window application calls the Remotable object, call the specific method and the package is loaded and run successfully. When I studied the .NET Remoting there is also Ser ...Show All
SQL Server Scope defined on Member Properties
Hi, is it possible to define a scope in a MDX script based on a member property of a dimension Background: I have a "custom" measures dimension. In this dimension I have measures of different type (i.e. currency, integers, percentages,...). So I want to have the display format set for the different types. My idea was to have a member property on the "measures" dimension to save the display format. I want to use this in a scope to change the format of the measure... Any idea Any other way to do that Thanks, Thomas, to the best of my knowledge the subcube defined in the scope statement has to be made up ...Show All
Windows Forms is there any way to force a control to receive focus?
i have a custom control inherited from panel and i need to be able to handle Enter/Leave events for it..any idears First off, yes, nested controls should raise Enter and Leave events all the way up the parent hierarchy. If this isn't working for a given scenario, it is a bug. Secondly, in your drag scenario, you would want to h ...Show All
Windows Forms resize form based on DataTable
How can I resize a form based on the width and height of a DataTable I have a form with a DataGrid control. I programmatically insert a DataTable. I want to then programmatically resize the form to show the entire DataTable unless the size is larger than a predefined threshold. In that case I would resize the form to a predefined maximum. I'm struggling with obtaining the width and height of the DataTable. If the DataTable is small enough, I don't want the scroll bars, I want the form to resize to show the entire DataTable. If the DataTable is larger than a predefined maximum width and height, I ...Show All
