Leslie Roblin's Q&A profile
Visual Studio Team System How do I install controller & agent ?
I must be blind or thick but I can't find any way of installing the agent or controller in Beta 3 Refresh. I'm sure I read something about this somewhere. Can someone please point me to the right place Thanks It's not just you. This is still confusing to me too. Is there a way to evaluate the controller and agent components integrated with beta refresh 3 through my MSDN subscription I'm confused how the product mentioned in the link provided relates to the beta refresh of Team System for Testers. Rob ...Show All
.NET Development Is gacutil.exe redistributable
I am producing a bespoke software system in C#/C++ for Windows 2000 that uses the Office XP Primary Interop Assemblies (PIAs) to talk to MS Access. I am required to provide our customer with both the executable system and full soure code on CD for full system installation & recovery as well as post-development by the customer. I believe the Office XP PIAs are redistributable so we should be allowed to include them on our delivery CD. However, in order to install them, we need to use gacutil.exe (Global Assembly Cache Utility) which come with the .NET Framework 2.0 SDK but this does not appear to be redistributable. The ...Show All
Visual C# How can I use the delegate to update the user interface from a thread?
hi:) I make a thread to do some work, here I want to see how the thread is going on. How can I use the thread to update the label text(used to display the message from the thread). I am a newer in c# , any advance will be helpfull! thanks in advace. coz you are working on another thread you cannot acess directly the label.. if the label wasnt created by that thared.. and howd you guess you need a delegate , and a methofd BeginInvoke delegate void MyDelegate(string s); // or some other paramters private void AMethodInYourThread(//... some paramters) { MyDelegate call=new MyDelegate(DoWork); // the begin ...Show All
Visual Studio Express Editions Cannot create a new project that opens startup form
Have been using vb 2005 express final now for a week or too. Have had no problems using and modifying example code and connecting to a MySQL database. However i am now trying to create a new project and no matter what form is selected under startup form nothing displays when code f5 is pressed. Message that build is ok in status bar screen refreshes and back to IDE. However existing projects work ok. Even creating a simple one form app leaving default form name as form1 the form will not display. Any ideas please! step by step 1 new project windows app 2 add button to form 3 add ...Show All
Windows Forms Type.GetType and Colors
I have a code editor where I use reflection to lookup types descriptions. If I have code like this: Type type = Type.GetType("System.Drawing.Color, System.Drawing"); the variable "type" is null. Does anyone know how to use the Type.GetType function to get the Color's type I cannot simply use Color.GetType() because this is for a generic code editor that does not already have the type definition for all classes in all loaded assemblies. Thanks, Greg The type name is incorrectly set. Try this: Type type = Type .GetType( "System.Drawing.Color" ); ...Show All
Visual Basic click once updates exe but miss dll
My application includes one exe file and 3 dll files, I am using click once to publish update. I have seen a problem, exe file gets updated but not dll files. What could cause the problem Thanks This should work as expected if you are re-publishing your application with ClickOnce. Especially if you are using Project References to your .dll's. Project references will cause all dependent projects to be rebuilt when the main application project is built or published. If the .dll has changed, the file hash should change and is recorded in the .manifest file. ClickOnce will look at the file hash in the .manifest file when doing an ...Show All
Visual Studio Team System SharePoint Portal Server
Is Microsoft SharePoint Portal Server 2003 still not supported, even by TFS Beta 3 Firstly, you should be using Beta 3 Refresh , which is the latest version. Secondly, the installation disk has a file called TFSInstall.chm which details exactly which versions of which software you need to install. Follow that to the letter, and you should be ok. You can also check the latest version of that guide online here . ...Show All
Visual Basic C++/CLI Interop with VB.NET 2003
Hi, I have a DLL that compile using VC 2005 using CLI. I pass this dll to VB team to use. They come back to me said that they can add a reference to the dll. A error stated "This is not a valid assembly or COM component." Can someone help me to resolve this problem Thanks & Regards, Aaron Tan The VB folks would probably know more in such issue. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual C# Are strings any easier in the new C#?
I stopped using C# about a year ago. I hated the complexity of using strings. Gone were the days of MyString = "Hello"; I had to now make an object. String manipulation, which was once easy using MID, RTRIM, REPLACE, etc., now is tedious. Anyway, I was wondering if the newest version of C# has made it any easier Um, you couldnt do - string s = "Hello"; what was so hard about - string s1 = s.Trim() string s1 = s.Substring(1,2); Its no different than in VB.Net. Unless you use the non CLR compilant VisualBasic assemblies; no different except that, in vb, dec ...Show All
Game Technologies: DirectX, XNA, XACT, etc. one vertex and 2 textures: beginner question...
I'm learning direct3d9, and i'm trying to make a "3ds view" application, that loads .3ds files and displays it. It's working fine now, I learned a lot, but today I got a very confusing doubt: Imagine you have: two faces, let's say face A (with texture 1 - large texture, high tiling) and face B (with texture 2 - no tiling); one vertex that belongs to the faces A and B; the flexible vertex format used is: struct Vertex { D3DXVECTOR3 position, normal; float u, v; //texture coordinates }; The question: how can the same verte ...Show All
Visual C# How to retrieve email attachments programmatically?
Dear Experts, I am trying to develop a Windows Service that continues to listen to a particular email address (POP3 client, e.g. MS Outlook Express). When an email message is received, I need to check if there is any attachment, if yes, then I have to retrieve that attachment for processing. I don't have any idea on which APIs that I could use. Could you please advise Many thanks for your help. Tigger Maybe you could also take a look at the VSTO: http://msdn.microsoft.com/smartclient/understanding/vsto/ They are powerful tools to manipulate Office applications :) ...Show All
Visual Studio Express Editions This is probably a stupid question but ....
Ummmm ! ! I'm used to paying for things like compilers. I came to the Microsoft website just to see what the latest version of Visual C++ is and I found Express addition 2005. I kept looking around for how to pay for it, or restrictions on how I can use it etc, but I couldn’t find anything. So I just downloaded it and installed it and registered it. So my question is: will it be disabled at some point Or will the software police kick down my door and arrest me in a few days Or will I now be sued for my net worth what Hi, this page should answer all your questions: http://msdn.microsoft.com/vstudio/expres ...Show All
SQL Server SA account Locked out
I have been using SQL2000 for a number of years and the company I work for needs a new system so I decided to install SQL2005. I installed SQL2005 without any problems and set a complex password for SA. I tried to log on and had to make several atempts as I remmebered the password after the SA account got locked out with the following message: Login failed for user 'sa' because the account is currently locked out. The system administrator can unlock it. (Microsoft SQL Server, Error: 18486). The problem I have is I cannot log onto SQL at all as it is not logging on with windows authentication either! How do I unlock the SA account ...Show All
Smart Device Development PC/SC Connect()
Hi, I'm trying to use the PC/SC API to connect to multiple smartcard readers, but i have trouble using the SCardConnect() function when there is no card in the reader. I need to know for example if the port (USB or SERIAL) is used or not. This is done by calling SCardGetAttrib() but this function needs a 'hCardhandle' but in the previous call to SCardConnect() returned a NULL pointer for hCardHandle because no card is inserted... so... How can I determine the reader attribs without offering a card Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for mor ...Show All
SQL Server SQL 2005 and Access 2003
Is there a patch available for Access 2003 that will allow it to interoperate fully with SQL 2005 In general Access should work fine with SQL Server 2005. If you want to use new SQL datatypes you'll likely need to wait for a new version of Access. Paul ...Show All
