brentcatoe's Q&A profile
Visual Studio Express Editions loop through only ComboBoxes
Hello Everyone I feel like I should know the answer to this, but my brain is just frozen. I want to loop through only combo boxes on a form, as they will be filled with DB table values. This form also has multiple other controls. I've tried something like: dim MyControl as combobox For each mycontrol in me.controls etc... Problem is this fails when it hits something other than a ComboBox. Also tried: Dim MyControl as control. Problem with that is .items.add () is not a member of control. Maybe it's late and I should leave playing with this stuff to the weekend, but I'm going crazy. I'm su ...Show All
Visual Basic starting VB .NET
Hey everyone. I'm a 15 year old guy, and recently I've been getting interested in programming. I've been learning C for 2 months or so now, and this summer I will be starting VB .NET, using my Uncle's 2003 books and CD's. I was just wondering if you guys could just tell me anything you think I should know Anything you wish you were told before you started Or maybe reccomend any articles or information I should read to learn all I can about this, or a good website to check out Thanks. Hi, I'm very glad to see that you're checking out VB to learn programming. This is the easiest language to get going qu ...Show All
Visual C# listening to keyboard
ok i know how to know is shift+F6 key is pressed in my form but how do i do to capture key press from windows (when my form doesnt have focus) ex: i put my program in system tray and i start internet explorer, and in internet explorer i press SHIFT+F6 my form doesnt do anything.. how ca i set my form to do that When you form does not have focus, it does not recieve any events. Any app that reacts to key presses outside of focus is using a global keyboard hook, which can be done in C#, there are articles around on how to do it ( i.e. I've seen them, but I've not done it, so I can't tell you anything more specific ). ...Show All
Visual Studio Windows Vista Beta 2 Build 5384: Installation Failed on MSXML6 x64
Edition of Visual Studio 2005: Standard Hi. I'm trying to install Visual Studio 2005 Standard Edition (full version; not a beta) in Windows Vista Beta 2 Build 5384. I've tried to install MSXML found in F:\wcu\msxml6\x64\ and setup wizard reported that MSXML installed successfully, but when I went to see what programs are installed, there's no MSXML 6 x64... OK so I continue to install Visual Studio 2005 Standard Edition anyway...so I launch the setup program (I can't do vs_setup.msi because Windows told me that a system administrator had set policies to prevent installation but I AM the owner of my laptop, installed Windows Vista ...Show All
Visual Studio 2008 (Pre-release) ... like in Ruby
Is it possible to extend int (simple types) to be able do something like in this code, written in Ruby 3.times { print "X " } Yeah, I understand. But what real world scenario would involve doing an operation on a literal value I'm not picking on the feature, but rather asking a theoretic question. Is the ability to do it against a literal just a "you get it for free anyway" side effect of type extensions or is there a scenario where someone would really want to do this Brian ...Show All
Visual Basic VB .NET 2005 Express Beta 2
After installing the new BETA 2, I get the following error anytime I try to open a form from a project created with BETA 1: "Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2' from Assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version 8.0.0.0, Culture=Neutral, PublicKeyToken= b03f5f7f11d50a3a'. I have tried repairing and reinstalling but can't seem to clear this up. Any suggestions Have a look at the following bug report: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=32436416-ff0b-4b7f-8e98-5aa042d0835b ...Show All
SQL Server Upgrade Desktop Engine (MSDE 2000) to standard edition 2005
While reading through books online I found that the supported upgrade for Desktop edition (MSDE) 2000 is to SQL Server 2005 workgroup and express edition. I am looking at upgrading just the database that resides on Desktop edition (MSDE) 2000 to SQL Server standard edition 2005. Is that supported I can uninstall MSDE 2.0 and install standard edition all I need is a way to upgrade the database tah use to reside on MSDE 2.0 This setup-based upgrade path is not supported up through and including the June CTP. At RTM we will support setup-based upgrades from MSDE to SQL Server 2005. You can attac ...Show All
SQL Server Data Transformation Services Process Task
Hi, I designed a data transformation services task on SQL Server 2000 and there are process tasks inside which refer to a .bat batch file . Every time i shut down my computer and re open it , i have to set those bat files to process tasks again and again in the package , otherwise it is not working. What wrong could it be Thanx. ...Show All
Visual Studio Express Editions How to filter the items in 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. Selected Value returns an Object. ...Show All
Windows Forms Transparent pictureBox
Hello. I'm trying to develop a transparent pictureBox. My aim is to use several pictureBoxs all with the same location and size. One will have a loaded image, and this pictureBox won't be transparent. The other pictureBoxs will be transparent. With this transparency I expect to see the solid picturebox and each transparent pictureBox has different drawings that are seen over the solid pictureBox. I've been trying several ways to do this but unfortunately with no success. Has anyone has done something similar that can help me Thanks in advance, Ricardo Hi Gwapo, I have one more problem in you examp ...Show All
Visual Basic ports
Is there any API functions to find modem that are connected to my computer I want to get the full name and type of modem and wich port it is connected to like in the device manager. Thank you. ...Show All
Visual Studio Team System TFS (again)
Ive finally managed to install TFS (after 4 odd weeks). However, now the only user who can use it is the one who it was installed under. Ive gone into security and set up other users to have permissions to access the server, but whenever any other user tries to connect to the server a browser style logon dialog box appears and no user/password is accepted. Please help Michael Yogita I think the problem was Kerberos. It would be appropiate to include a note re this in the readme/install documents. At least a link to the appropiate kb articles about how it needs to be set up for web sites/services to wor ...Show All
Visual C++ Error PRJ0019 : A tool returned an error code from "Performing registration" ProjectName
Hi, I'm facing one problem when compiling vc6 project into vc8 compiler. Error PRJ0019 : A tool returned an error code from "Performing registration" PantherConfig I have gone thru a number of links providing solution for this but couldn't get correct solution. I think it is having problem in registration dll but not sure. In Build log it is telling that "Cannot open the specified file testerinfoerrors.err for reading" while this file is existing. Please highlight some point over this. Thanks in advance. Madhur Does running regsvr32 to register your component on the command-line (outside the IDE) work at all If not, you'll need ...Show All
Visual Studio SLN file for web service in VSS does not appear
I did a web service, then I wanted to put that web service into VSS. Everything is good. BUT, when I open VSS I do not see sln file or any other project file. And, of cause, when someone else tries to get the project from VSS nothing happens because there is no any project file... What to do how to say VisualStudio to put sln file into VSS along with source code Hi Dima, If you really want to add the sln file to the VSS database you can open in VisualStudio the Tools/Options/'Projects and Solutions' dialog and check the checkbox "Always show solution". This will make the solution visible in SolutionExplorer window. You will ...Show All
Visual Studio Team System Test Mix
Hi, I have used Load Test of VSTS and found it really cool. I start to write some ILoadTestPlugin and wonder whether I can specifiy test mix in the code (in Initialize method of ILoadTestPlugin) instead of in the Load Test Editor view. I looked at the LoadTest class, it seemed there was no method or properties support this one. Can anyone help me Thanks Ran Mouri You can use the TestSelectedEvent of the LoadTestPlugin to override the selected test. The tests selected by the load test engine will honor the test mix, but you have the ability to override the selected value in this event. Just ...Show All
