Robert Horvick's Q&A profile
Visual Studio Express Editions How to Format date from 01/01/06 to 01, Jan 2006 in VB 2005
I am having a problem. I just installed the new version of VB 2005, and I don't know how to format the date. For example in VB 6.0 I do as fallow: CODE: Me.panelDate.Caption = Format(panelDate, "dddd"", ""dd MMMM"", ""yyyy") DISPLAY: Sunday, 01 January 2006 If I do similar using the VB 2005 CODE: Me .LabelDate.Text = Format(LabelDate.Text, "dddd"", ""dd MMMM"", ""yyyy" ) DISPLAY ...Show All
Visual Studio Express Editions Need help saving what's typed in a textbox
Hello all and thanks for reading. I'm trying to make a program that will simply remember what I type in multiple text boxes. I started approching the problem with a database but decided I should probably use file I/O with a text doc to save my data. I've found a few thing on loading my txt file, but I don't know where to go from there. I'm thinking I'll go comma delimated. I basically have about 150 text boxes. The number of text boxes will n ...Show All
Visual C# Programmatically select a Listview item
I can't programmatically select an item on a listview in c# 2005 beta2. Basically, I: 1. Create a Listview called Listview1 2. Populate Listview1 with some preset items during startup of form 3. Select first item by: Listview1.Items[0].Selected = true ; 4. Problem is that I get zero when I execute: Listview1.SelectedItems.Count I have tried s ...Show All
Visual Studio Team System Upgrading from limited version
Can anyone tell me if it is possible to upgrade the RC version of TFS (one which is limited to 5 users) to full version since we now have bought the full version. If so how I have uninstalled and installed the TFS Server, but trying to add users using TFS Team Edition on a different desktop, but it keep telling me: Team Foundation Error TF50626: Maximum users (5) in licence group. Unable to add John Smith. Any ideas Thanks. ...Show All
SQL Server Procedure For Installing AdWorks StoreFront samples - "Keypairs" and "CLR layer"
I am using XP – SQL 2005 developer edition and VS.Net 2005 team developer edition as my development environment. I “publish” to Server 2003 Web Edition. I have extensive experience with AdventureWorks Store on Server 2000 and MS Access. I have some experience working with the above using SQL 2000 Developer Edition and Server 2000. I need to get Adventure Works StoreFront up and running in my current environm ...Show All
.NET Development How can we debug a dotnet Assembly (i.e exe or dll )?
I want to debug an assembly without source code given. I want to know where the error occured How can we debug a dotnet Assembly (i.e exe or dll ) Is there any tool available for this Not sure you can debug the actual compiled file (unless you can debug machine native code) but you should be able to disassemble it into MSIL code and debug that using the ILDASM tool that comes with the framework SDK ...Show All
Visual Studio Team System mstest with custom test type and metadata(vsmdi) file?
I'm trying to use mstest.exe to run a test from the commandline. The test was created as a custom test type that I have created via the extensibility SDK. I've done a lot of investigation and here's the results: 1) inside VS I can run the custom test fine. 2) I can run the custom test fine using the /testcontainer: option of mstest.exe. 3) I can run a generic test using the same vsmdi file with mstest.exe. 4) trying to run the custom ...Show All
Visual C# Getting a list of computers on a network
I'm writing an application that needs to get a list of computers (their names) on a network. The examples I've found all seem to query an ActiveDirectory on a server, which is not what I need. Is there a way to get a list of computers on a server-less network using the .net 2.0 classes I've done this before in VB6 using API's, so would I have to do that in C# 2005 using System.Runtime.InteropServices, or can it be done with System.DirectoryS ...Show All
Windows Forms Taking Data and Posting Data to Excel
Dear All, I have to start to migrating my project from VB to VB.Net or C#.Net. For this I need to collect informatin regarding Taking Data from Excel Sheet and Porting Data to an Excel Sheet. I need techniques for Porting data to Excel Sheet from a DataGrid. The 3 methods that I have recognised are as follows: (1) Running the Whole Page again and displaying the data in Excel (2) Taking the Data from the Recordset and porting it to ...Show All
Windows Forms webbrowser in vb2005
i have a runtime created webbrowser and i want to use it's ProgressChanged event and some others, too. how can i do this I used this code and it worked just fine... Private Sub WebBrowser1_NewWindow( ByVal sender As Object , ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow Dim NewURL As String = CType (sender, WebBrowser).StatusText Dim TabPageTemp As New TabPage(NewURL) Dim ...Show All
Visual Studio Associating a solution with an SCC provider
I am putting together a Source Code Control package in C# with the Beta 2 SDK. I am having some difficult getting a solution associated with my SCC package so that when the solution is opened VS will load my SCC package. I have followed, as best I can, the documentation in the "Registering a Source Control Package" topic in the VSIP help. However, it says "Source control packages must implement the IVsSolutionPersisten ...Show All
Visual C# Missing editor (I think !) for solution properties
Hi ! I am new to C# (and programming generally) but I enjoyed working with C# Express 2005 Beta 1, and made some dlls for some software I already have. This required using the properties interface to build and debug. I recently installed Beta 2. The compiler works fine, but when I click the Properties in the solution explorer I just get a message: Package 'Visual Studio Settings and Project Designers Package' has failed to load properly (G ...Show All
Visual C# Getting Names of System Data Sources in Windows
Hi, How can I get the names of the System Data Sources in Windows from my C# code Thank you. Shakeel When you create a database, e.g. in MS Access you can set it as an ODBC data source on the System level. I want to get the names of all databases that have been set as System Data Sources from my C# code. Hope that explains it. :) Shakeel ...Show All
Windows Forms HOW TO: Dynamically Add a Control Without Hardcoding the Control Type in Visual Basic .NET
this article http://support.microsoft.com/default.aspx scid=kb;en-us;311321 is very interesting, but only tells how to add controls to the form. I want to do more than that and add a control to a previously added control. Let's say I add a panel to the form ...Show All
SQL Server Visibility of a matrix column base on parameter selection
Hi, I have a matrix, with 1 row group and 1 column group and 4 static columns, is there a way to hide the static columns base on the selection of a multi-value parameter Like creating a group for the 4 static columns Is that possible This is an urgent matter, any help would be very much appreciated. Thanks, Cheng On the dynamic group, you would use a filter expression that depends on the repo ...Show All
