ncjks's Q&A profile
Visual Studio Team System Trouble getting Team Explorer in VS 2005 RC1 installation.
I have installed TFS Beta 3. When I installed VS2005 RC1 on the server machine, it has Team Explorer. But when I did what I actually wanted to do, which was install RC1 on a different machine, it lacks the Team Explorer, connect to team foundation server menu item, etc. Based on older posts on this forum, I installed the Team Foundation Client from the TFS Beta 3 bits to see if this "plugged in" the missing items. The install said it was successful, but I still see no signs of Team features in my Visual Studio. Thanks in advance for any help, John Rhoads Does anyone know if there is an alternative ...Show All
Windows Forms ClickOnce, Application Settings and Configurations
Is it possible to have one set of application settings for the debug version of a windows app and another set for the release version Some of the settings in my app include things that change between environments such as URLs and database servers. It would be great to specify the live settings for the release version of my app and have them deployed through clickonce whilst still keeping my development set of settings for when I'm working on the debug version. If not is there another way to achieve this Don't really want to have to go back to Windows Installer and custom install actions. TIA John. ...Show All
Windows Forms Filter the items of a listbox depending on the selected item in a combobox
Hi, I have a combobox bound to a Section table and a listbox bound to a Department table. The listbox has to display the departments agreing with the Section selected. I tried this: Private Sub SectionComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SectionComboBox.SelectedIndexChanged DepartmentBindingSource.Filter = "SectionID=" & SectionComboBox.SelectedValue End Sub but it gives me an error: Syntax error: Missing operand after '=' operator. Is it possible to do this in a different manner Thank you. Check if the SelectedValue of ...Show All
.NET Development LoaderOptimization.MultiDomain incompatible with generics?
Hello, I experience a FileLoadException (Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)) very difficult to understand. I have done a dummy project to reproduce it. It is at the end. The conjunction of the following things leads to this problem: - 2 AppDomain application (composed with only one exe in my dummy application) - LoaderOptimization.MultiDomain for the second AppDomain - MarshalByRefObject created with CreateInstanceAndUnwrap - Trying to access remotely to a property of the MBR that itself contains a generic List instantiated with a custom type (e. ...Show All
Windows Forms Unbound ComboBox or ListBox - Keys and values
Hi! I have just found out that when using combobox or listbox without binding to a datasource, you can't add items with key and value so you cant get the SelectedText and SelectedValue properties! You could do that in VB6 and now you can't! Is this true! ...Show All
Visual C++ Problem with DLL MFC initialization in mixed managed/unmanaged C++
Good afternoon newsgroup, I'm having a MFC initialization problem in my mixed C++ DLL, after switching from VS 2003 to 2005. I've done the migration from 2003 to 2005 by the book, and my DLLs load fine. Anyway, the static CWinApp-Object is initialized, but not filled correctly. I can debug through the constructor, but the m_hInstance member will be NULL. That's a big problem later when I'm calling an exported method on the DLL which should return some resources which are stored in the DLL. I cannot change the instance-context (as the m_hInstance is NULL). I already added AFX_MANAGE_STATE(AfxGetStaticModuleState()); to the beginning of the ex ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Beta for XNA Studio?
Does anyone know if there is a beta planned anytime soon for XNA Studio, or if it will have a public beta My primary line of business is not game development, but I am interested in seeing/experimenting with this product. Hi. I'm really interested in XNA Studio, too, but I understand that it's not for casual developers (I'm a hobbyist). Is there any screenshots showing XNA Studio And by the way, nice forum. I really like the toolstrip-look above the rich-text edit box. Howeve, I've noticed that the toolstrip (toolbar) didn't change depending in the color of the theme (but I will end here since this is off-topic). ...Show All
SQL Server RS 2005, VS 2005 and specifying printer trays
I am trying to build a demo to prove the following can be done with SQL 2005 Reporting Services: 1. Export report as .pdf to file location. - Done 2. Use CSLA business objects with Reporting Services to reuse the object's ability to populate itself. - Done 3. Set certain reports to print from certain trays on a specific printer. More specifically, for a certain report, I need the first page to print from Tray 1 and all remaining pages to print from Tray 2. This is the task I am having problems with. I am trying to just get the tray selection working now with just a windows app but even if I get that far, wi ...Show All
.NET Development selecting network interfaces
Hello everyone, I have been trying to find a way to activate/inactivate network cards in .NET, kinda like ifconfig up and ifconfig down on Linux. The reason is that I simply don't want Windows to automatically choose one interface over the other and use this, but to decide for myself. Is there any good way to do this in .NET I found that IP Helper API can list all interfaces, but it does not seem to be able to manage them. Thanks a lot for any tips! / Roland Here is some sample c++ code that I have used in some of out testing. It enables and disables all network adapters on the machine. I realize ...Show All
Smart Device Development Error in deployment application for wce5.0 using vs.net 2005
Hi, due to an upgration of my mobile device OS from wce4.2 to wce.5.0 i have tried to convert an application from vs .net 2003 to vs.net 2005. The build of the application succeded but during the deployment an error occurs.The description of the error is "referenced package not found". In the FILE column of the Error List in visual studio, there is no any file, but the following message appears: "Device Connectivity Component". I have installed Windows Mobile 5.0 SmartPhone SDK and SMDK 1.2. Also, i use ActiveSync 4.1. Is there anybody that can help me Thanks a lot... ...Show All
SQL Server logging the DDL stmts
Hi : I am using .cmd files to execute .sql files. sqlcmd is used in .cmd files to execute the .sql stmts. In .cmd file the sqlcmd line of code is as follows: sqlcmd -i .\..\..\sql\tables\create_employee_table.sql In .sql file the ddl stmt is as follows: CREATE TABLE [Employee]( [EmployeeID] [int] IDENTITY(1,1) NOT NULL, [NationalIDNumber] [nvarchar](15) COLLATE Latin1_General_CS_AI NOT NULL, [ContactID] [int] NOT NULL, [LoginID] [nvarchar](256) COLLATE Latin1_General_CS_AI NOT NULL, [ManagerID] [int] NULL, DF_Employee_rowguid] DEFAULT (newid()), [ModifiedDate] [datetime] NOT NULL CONSTRAINT CONSTRAINT [PK_Employee_EmployeeI ...Show All
Windows Forms Setting the Autoscroll colours on a panel
Hi all, sorry if this is in the wrong place. I've got an application with a panel on it. When the panel gets filled autoscroll scroll bars are added. Positioning etc is working fine but I can't for the life of me get the colours of the scroll bars to change to match the colourscheme of the application. Because I couldn't find anything in the ...Show All
Visual Basic MyMovieCollection up to 153 build errors
Quick q before going deeper: Unzipped MyMovieCollection into C:\Dokumente und Einstellungen\gy\Eigene Dateien\Visual Studio 2005\Projects\Moviecollection\MyMovieCollection.vbproj and get up to 153 build errors. WinXPPro sp2 fully patched, VS2003, VB Express, SQLExpress,... Did I fail to install something Thx G Hi CRChambers, I've tried downloading online; however, I am unable to reproduce this error. Let's walk through the steps, to make sure I am executing the same steps you are. Then we will have a better chance of reproducing... Go to any of the following 3 download pages: http://msdn.microsoft.c ...Show All
Microsoft ISV Community Center Forums read only file opening
Hmm, it worked for me... maybe you should dim a new object for the wb and close that. Then you won't close the whole Excel application accidentally.;) But if that doesn't help, try posting some of what you do inbetween opening and closing the workbook... Dim xlApp As Excel.Application 'Note: better memorywise Dim WB As Workbook On Error Resume Next Set xlApp = GetObject(, "Excel.application") Set WB = xlApp.Workbooks.Open(sFileName, False, True) If Err.Number = 0 Then 'error checking, values are read only if Workbook has been successfully opened ' code for reading values WB.Close (False) Se ...Show All
Visual Studio Express Editions How to display and write text file in TextBox?
I have a sample program that will going to write a text file (in notepad format) and then i want to display it back in a textbox. How will i do that in Visual Basic Express Helping me please:( Or you can use the helper classes in VB 2005 My.Computer.Filesystem.WriteAllText("C:\Foo.txt", Textbox1.text, True) Textbox1.text = My.Computer.Filesystem.ReadAllText("C:\Foo.txt") ...Show All
