Ethan W.'s Q&A profile
Visual Studio Team System What is the MSDN Visual Studio 2005 Team Suite "Trial" Edition?
Hi everybody, Today I found the Visual Studio 2005 Team Suite Trial Edition in MSDN Subscriber Downloads. I am a MSDN Universal subscriber and have transitioned my subscription to get access to the Team Suite for Software Developers edition. Maybe anybody from Microsoft can clarify: - What is the "trial" meaning Usually MSDN software is not limited as towards features or usable time - Is the trial edition the one which I get due to the transition Best regards Ralf In theory... This trial is fully functional but limited to 180 days. Realize that this is Team Suite, however, so you might end up ...Show All
.NET Development Invoke SetPassword C# LDAP provider...Whos got the fix??
Howdy: According to several many other forums, there seems to be a consistent issue with the Invoke("SetPassword, string password) in DirectoryEntry, in that it does not work! Any clues as to how to work through this problem The code below throws an exception every time..."server is unwilling to processs the request". As suggested in many forums, re-arranging the CommintChanges and order of operations was no help either. With the WinNT provider this works like a champ, but LDAP no workie. This fails against 2k and 2k3 domains...I am domain admin in both running from an XP system that is logged into the domain when ...Show All
Visual Studio How do I create an application.extension.config file using MSBuild?
Hi, I'm using MSBuild to build an executable program (exe) from VB.net source code. How do I get MSBuild to output an ApplicationName.exe.config file Thanks, Damian MSBuild does not generate .CONFIG files on its own. The only thing it can do for you is copy an existing .CONFIG file from your project to the final bin directory. So, if you have a file in your project called "APP.CONFIG", then MSBuild will copy this file to the bin directory as " AssemblyName .EXE.CONFIG". ...Show All
Visual Studio 2008 (Pre-release) January CTP Available
From Tim Sneath's blog: (These all seem to come up unavailable at this time, not sure if its temporary or may be due to volume.) WinFX Runtime Components: http://www.microsoft.com/downloads/details.aspx FamilyId=61DD9CA7-1668-42E4-BD37-03716DD83E53&displaylang=en Go-Live for WCF and WF: http://msdn.microsoft.com/winfx/getthebeta/golive/default.aspx Windows SDK: http://www.microsoft.com/downloads/details.aspx FamilyId=64750EEF-D4A7-4CC8-92F2-9A201268A231&displaylang=en Microsoft Visual Studio Code Name “Orcas” Community Technology Preview - Development Tools for WinFXR (aka Fidalgo): http://www.microsoft.com ...Show All
Visual C++ Avoiding compiler complains about redefine variables???
Hi all: When I am writing C++ program, I need some global variables and structs to be visible from many files. But the compiler always complains that variable is already defined somewhere else. The problem seems to be caused by not #include file properly, but is there a good solution to avoid this irritating problem happen please Here is an example error message: Topology error LNK2005: "int COLUMN" ( COLUMN@@3HA ) already defined in ParticleSystem.obj Topology error LNK2005: "float UNIT" ( UNIT@@3MA ) already defined in ParticleSystem.obj Topology fatal error LNK1169: one or more multiply defined symbols ...Show All
Windows Forms Can you add a programmed BindingSource to the Form Designer?
I am just a bit curious about something (although I am sure somebody has asked this before)... If you have created a BindingSource object programmatically in a class, is there any way of getting it to show up as usable in the form designer just as though you had created and set it up using the form designer Perhaps you can put some code that the form designer would have created and place it in your partial class Or add the code manually to the InitializeComponent() method in the Form.Designer.vb file Could the line of code CType(Me.MyBindingSource, System.ComponentModel.ISupportInitialize).BeginInit() in a Form.Designer.vb have anything to ...Show All
Visual Studio Team System VSTS Architect vs. VSTS Developer
With he proposed changes in MSDN subscriptions and Visual Studio licensing, I now have to make a decision between VSTS Architect and VSTS Developer. As I understand, MSDN Universal subscribers will have a choice - they can either go for VSTS Architect and VSTS Developer. I believe that I need both architecture and development tools. Which out of two should I go for The information was interesting but too high-level to be really useful or answer the questions I feel most developers have. I hope you folks will be releasing something with a bit of meat on it like a feature by feature breakdown of what is included in each edition in t ...Show All
Visual Studio Team System Project Site Login error to Report Server
I am getting the following error when I go to the project site: Reporting Services Error A few questions: 1. Was this single-server or dual-server 2. What account was used to install SQL Reporting service 3. Could you load page http://localhost/Reports Thanks, Scott ...Show All
.NET Development Prevent Assembly from being "Reflected" ??
Hello can we prevent assembly from being reflected by tools like "REFLECTOR" Can anybody help Regards Obfuscate your assembly. Visual Studio has one community edition obfuscator called dotfuscator, but if you want you can buy the full version from here: http://www.preemptive.com/products/dotfuscator Regards, -chris ...Show All
Visual C++ MS c/c++ compiler version 12 has a problem with object destruction
I have a MS C/C++ compiler version 12.00.8168 installed on my PC running MS Windows 2000. When I run the executable of the following source code, I get an unexpected result - the destructor function executed twice. **************************************************** #include <iostream> #include <string> #include <cmath> #include <fstream> using namespace std; namespace { class cls1 { int in1; float *f1; string str; public: cls1(int sz=3) { in1 = sz; f1 = new float[sz]; str = "abcdef"; for (int i=0; i<sz; i++) f1 = i ...Show All
SQL Server Howto reinstall with local encrypted data, no domain?
This is a question more about EFS, I think, than SQL itself, so apologies for that. My SQL data is stored encrypted (EFS) on an external drive; I have a laptop (not on a domain => no active directory) with XP; I wish to reformat & reinstall the O/s on the laptop, but leave the external drive as is. How can I ensure those external databases will be accessible afterwards I have exported the SQLServer certificates, but can't find any way of making another user (myself as admin, as a test case) able to make use of those certificates. I understand - perhaps incorrectly - that because I am not on a domain I have no data recover ...Show All
Visual Basic Getting the last number of a column
How can I get the last number of a column in a certain table of my database.I had a form that was bounded to this table that has an autonumber field.To be able to add another record and automatically add the autonumber, I want to get the last value in the table to be able to increment it by one when i click the add new button.thanks.... An identity column adds itself, by definition. You can do a select TOP(id) to get the highest number there, or if you were to write your insert as a stored proc, you could have it return @@IDENTITY, which would be the value you inserted into the identity column. ...Show All
SQL Server dynamically switching databases in a script
I've got a situation where I need to execute portions of a script against every database on a given instance. I don't know the name of all the databases beforehand so I need to scroll through them all and call the "use" command appropriately. I need the correct syntax, the following won't work: DECLARE DBS CURSOR FOR SELECT dbname FROM #helpdb ORDER BY dbname OPEN DBS FETCH NEXT FROM DBS INTO @dbname WHILE @@FETCH_STATUS = 0 BEGIN USE @dbname The last line - the "USE" statement - is invalid. The following for example works: USE master But when supplied a declared variable a syntax error result ...Show All
Visual Studio Express Editions my app is invisible?
Hi I recoded a console server app to a form server app. I can run it and it works, but nothing shows. I cant see the form with my textbox in it that shows the log, so the entire app is invisible to me. Here is the code: ------------------------------------ Form1(only has a textbox in it for the moment) ------------------------------------ Imports System.Net.sockets Public Class Form1 Const portno As Integer = 500 Dim localadd As System.Net.IPAddress = System.Net.IPAddress.Parse( "192.168.1.2" ) Dim listener As New TcpListener(localadd, portno) Private Sub Form1_Load( ...Show All
Visual Studio Can I read all the Code Elements with Code Model?
Hi All, I tried to read Code Elements in classes in a C# solution using an Add-In, but it only reads upto the namespace. I have given below the code that I used.Can any body give me a clue for this matter Kind Regards, Imesh foreach ( ProjectItem item in _applicationObject.Solution.Projects.Item(1).ProjectItems) { foreach ( CodeElement element in item.FileCodeModel.CodeElements) { try { text = text + element.Name + "," ; &nb ...Show All
