Keith Willis's Q&A profile
Windows Forms ToolTips MIA
VB6 had tooltips for the TextBox and RichTextBox. Where did they go The ToolTip is now a separate component (it is known as an ExtenderProvider). Drag a tooltip off the toolbox onto your form and then all of your controls&n ...Show All
Visual Studio 2008 (Pre-release) MSDN Chat: DLinq, May 18th @ 12:45pm Pacific Time
Show up and tell us what's on your mind! People from the C# and DLinq teams will be there to listen. We're still in the planning and development stage, so rest assured - we can react to your feedback. The official chat schedule entry . Add a reminder to your calendar. The chatroom itself . All upcoming developer chats . Have some time zone questions Check chats category on my blog for the next C# chat. See you there! &n ...Show All
Visual Studio Have both a ProjectCollection and ProjectItems in a Solution vstemplate
Hi! I hope this is the right forum to ask this question... I'm trying to have a solution template (.vstemplate file) that has both a ProjectCollection element with ProjectTemplateLink's inside, AND ProjectItem's. Something like this : <VSTemplate Version="2.0" Type="ProjectGroup" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"> ... <TemplateContent> <ProjectItem TargetFileName="readme.txt">readme.txt</Proje ...Show All
Visual Studio Team System Build FAILED: A database error occurred (SQL error 8152) ---> String or binary data would be truncated.
Hi, I'm running Beta 3 Refresh in a single server environment. I've started moving our source code from StarTeam to TF Version Control, but have run into a problem with the build. I started out with a small sample and a simple build file and everything worked fine. Now I've checked a major part of our source code into TFVS and have set up a team build. The build have multiple solutions with multiple projects and several thousand source files. Th ...Show All
Windows Forms Custom Control can't be used
Hi, I've developed a simple control by inheriting from ComboBox. eg public class CatKeyword : ComboBox {} There's hardly any extra code to it. I've done it such that the new Custom Control appears on the 'My App Components' list on the toolbox - just like a real comboBox! It worked when I first created it. But I went to use it again today and when I place it on the form it says "Failed to load toolbox item 'CatKeyword'. It will be re ...Show All
Visual C# Threaded Controls
I'm a little confused on how to show a progressBar with style continious on a seperate thread. Do I need to create the progressBar at runtime...or can I pop one on the form and just invoke it Style Continious can just be set in properties...with nothing really to do in the threadproc...know what I mean My form is also getting very "crowded"....mucho hidden panels groupbox, etc. Rather create at runtime and just bringtofront....let i ...Show All
Windows Live Developer Forums 8.0 Beta - What's the difference?
I'll freely admit to being a non technical person when it comes to backend programming but the fact is that I can't see all that much of a difference from the v7.x of the software. The only thing I've noticed is that the interface is a bit chunky and it signs on a fraction quicker. Is there something I am missing that would make it seem like a real update the new 8 is so much easy to use then the previous veris ...Show All
Architecture Serviced component architecture issues (State management/ OOD).
I've seen serviced components abused and misused due to inherent limitations in how COM operates and now I’m looking to architect a web based, OO, n-tier system and wish to avoid the same mistakes. In my system there are two architectural problems: Much of the data is common across users, complex and potentially quite large, which leads to a large number of objects when using standard OOD (not so good for COM as I understand ...Show All
Visual Studio Express Editions Can't find a "SysInfo Control" equivalent
Hi, I really like the Visual Basic Express. I am having a problem getting information about the system battery. Something like this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon98/html/vbconsysinfoscenario3monitoringbatterypowerstatus.asp would do. However I can't find a "SysInfo Control" to use in Visual Basic Express. The only reference in the msdn I can find is here: http://msdn.microsoft.com/library/default.a ...Show All
Visual C# Design Question
Pretty new to C# and Im rewriting a VB6 app that contains many features that should force the ol learning curve. I have hundreds of images that are saved with a filename, such as: temp1.jpg temp2.jpg....etc. The full path will have to be added later, probably to a list or Arraylist...in numerical order. As I recall I had to jump thru hoops to do this sorting with VB. temp1.jpg temp101.jpg temp2.jpg temp211.jpg....etc. What is my best bet no ...Show All
.NET Development How To Add Custom Header To httpcontext.current.request.headers
How add custom headers to httpcontext Thanks Todd, I will try out the method you suggested and will get back to you in case of any problem. thanks!!!!!!!!! Regards Hardik ...Show All
SQL Server Remote Connection problems, I've read many a thread on this and nothing has worked!
Hi, I am trying to enable remote access on a SQL Server 2005 standard edition instance. I have enabled it in the properties using the Management studio and have enabled it under Sql Server Surface Area Configuration under "Database engine". But it didn't work. I know for a fact that my connection string is correct (I tested it on the actual machine) So I checked everything again and I noticed in the Sql Server Surface Area under ...Show All
Visual Basic Have u ever created a menu component
Hi guys, I m trying to use the component technology of Visual basic.NET in order to create a customized menu control in this context: I have menu items that must change according to the active windows form (the form that has the focus in each moment); so since the menu items re so similar and since a lot of those items will be repeated inside different forms; i don t want to go through creating the same menu items over and over for all th ...Show All
Windows Forms Dimming a class based on a choice
Hello all, Here's my delma, I have an MSSQL database and a Sybase database that can be used with a spacific application, I have the .NET data providers for both and have created 2 classes based on their respective providers, the classes are identical in every respect except the provider from which they are based. What I am looking to do is based on an option on startup instanciate the proper class. The problem I have is, what do I do with ...Show All
Visual C++ How to remove files
Hi, again, I am a newbie to the programming and I need your help! Well, I am just trying to learn the language for my hobby and free time. But I need to get help to this.... I tried the Remove command like: for Delete32.cpp: _________________________________ // remove example: remove myfile.txt// #include <stdafx.h> int main () { if ( remove( "myfile.txt" ) == -1 ) perror( "error deleting file" ); else puts( "File successfully deleted" ...Show All
