venp's Q&A profile
Windows Forms Persist Data with TabControl
I have changed my question because it seems that Panels are the way to go. I have two Panels with Controls on each one. When a TabControl is clicked, I want to Hide one Panel and Show th other. private void tabHeader_SelectedIndexChanged(object sender, System.EventArgs e) { MessageBox.Show(tabHeader.SelectedIndex.T ...Show All
Visual Studio Reinstalling Visual Studio 2005 Beta-1
Hi, my installation of VS 2005 Beta 1 expired, I want to keep using it but when I uninstall and reinstall I still get the "VS Beta has expired" message. Do anyone know some way of getting around without reinstalling Windows or installing the Beta 2. Thanks in advance. ...Show All
Visual Studio 2008 (Pre-release) XLinq and OrderBy
I am struggling with the order by clause in VB's implentation of XLinq. The use of the "It" keyword seems somewhat arbetrary and may be the source of the problem. Consider the following LINQ query that works correctly (yes, this is using Northwind) Dim filtered = Select e.FirstName, e.LastName, e.Orders, e.Orders.Count _ From e In Emps _ Order By it.Count Descending I try to do a transform to XML (using the VB literal ...Show All
Visual C# No data exists for the row/column
Hi all, I had a question.Whenever the program execute the statement string ServerStatus1 = reader1.GetString(1); it will give me the abovementioned error. But I had query the statement without any problem from Oracle database. Does anyone know what is the problem Thanks String strSelect = "select ServerID, ServerStatus, LastUpdatedTime from ieiserverstatus where ServerID = '" + ServerName + "' order by Last ...Show All
.NET Development problem with managed code example
I am trying to understand creating SQL Server projects and managed code. So I created a C# SQL Server Database project and named it " CSharpSqlServerProject1 " and followed the steps in the following "How to: " from the Help files: " How to: Create and Run a CLR SQL Server Stored Procedure " I used the exact code in this "How to: " for creating a SQL Server managed code stored procedure (see below) i ...Show All
Visual Studio Team System Custom Rules Development
Okay, okay so I know that any rules I write now will need to be re-written with the next release of Visual Studio, however I write (and maintain my own rules and now I'm stuck) .... I've been tasked to write a rule that checks for multiple return statements in methods, this is to help enforce the structured programming principle of methods having single entry/exit points that some of the junior developers consistently ignore. The probl ...Show All
Windows Forms How to give the focus to a toolstrip textbox
Is it by any means possible to give a toolstrip textbox the focus ...Show All
Visual Basic Graphical GUI's in Visual Basic -- is it possible?
Hello, first off, i'm not much of a programmer so forgive me if this question sounds silly... Is it possibleto create a DLL file in visual basic 2005 express which consists of a GUI ...maybe I put that the wrong way...here's what i'm trying to do: I'm using a program called ActiveWords that can read from a .dll file. I want the program (activewords) to call a method in the .dll file which will display a GUI file and then return a ...Show All
Visual Studio Express Editions Development Question
I'm working on a forms page for an internal website in which a user enters their ID into a textbox. When the textchanged event for the textbox is intiated a db query should occur to determine whether the ID already exists in the db and if it does user contact info should autofill the appropriate textboxes on the form. If the ID does not exist then the user has to manually fill out the contact info. All of this info as well as additional info on ...Show All
.NET Development ReadOnly XML Files
I'm reading XML files using XmlDocument, in some cases i have XML marked with readonly, so when tried to write to them an Access Denied exception is generated, is there a way to change the XML file state in order to successfully write to it. I just thought that I would add that although Jacky's solution is correct, it is better to do the following: File.SetAttributes(path, File.GetAttributes(path) & ~FileAttributes.ReadOnly) ...Show All
Visual Studio 2008 (Pre-release) Back to the 2-tier?
It seems to me that Dlinq with this nice new feature of Entity = Class is good for a Client/Server scenario only. How would it worlk in a SOA at all I admit this code looks very efficient, but only in a C/S scenario. How would delayed execution work if you're not in C/S scenario, but need to call a webservice for retrieving your data, and also a webservice for updating your data ...Show All
Visual Studio Team System How to get the list of valid users in a particular project?
i would like to get the valid users in my team server (with a particular project) and i will put it in a lets say, dropdown list. so that i can use it in adding workitems with the use of ASP.Net i used the IGroupSecurityService but i can get only the Group Names and not the members inside the group. any ideas Thanks,. (btw, im using ASP.Net-C#) i still cant get it... i dont want to use my alternative way of doing it.. (getting ...Show All
Visual Basic Returning Multiple Values from Functions
How do you have a function return multiple values and be able to use them. You can use the return command twice, but them how do you have the variable that equals the function, change index for each variable. So below how do you have answer(0) = to the first returned value answer(1) = to the second returned value dim answer(1) as integer answer()=Quadfunction(5,6,7) Public Shared Function Quadfunction( ByVal a As ...Show All
Visual Basic Intellisense worked for 1 or 2 minutes, Beta 2
Hi All, Just began to convert my code from beta 1 to beta 2. Intellisense was working correctly for a few minutes and now it is gone. The IDE does not list members any more. I loaded a brand new project and it definetley does not work any more I have checked the options and every thing looks OK. Working without this is a pain... to say the least. Any help on where to look for or a solution would be appr ...Show All
Visual Basic why my post is deleted?
why my post regarding visual basic 6 is deleted it's ok for me if they don't like to answer my post. tnks a lot... Hi sirck, The users are adviced to report duplicates and cross posted questions to the moderators who take it off. Read the : "Should I cross post my question in multiple forums " section on that post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=7746 Regards, Vikram ...Show All
