urubin's Q&A profile
Visual Basic Removing from a listbox
i select a couple of items in listbox6, then i click button6 button6_click code: Private Sub Button6_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button6.Click For Each selecteditems As selecteditems In ListBox6.Items Me .ListBox6.SelectedItems.Remove() Next End Sub End Class but it doesnt work, it underlines the 2nd 'selecteditems' and says 'not defined'....Any ideas exellent, thanks for that, also, The listbox lists everything thats in the menu, so is it possible for the changes to also happen there example: i remove 'box1' from the listbo ...Show All
Visual Studio Team System How to change the current authenticated user without disconnecting (due to bug in RC3)
Is there a way from within VS2005 to change the user that is logged into the TFS server I would think you could simply disconnect from the TFS server and reconnect. But due to a bug in RC3 you can not disconnect. When I first added the server I was prompted for credentials and because I hadn't setup access in TFS I used my tfsSetup account. Now when creating projects, etc I am always using this account. Any help would be appreciated. Thanks, Brian It is not possible to change the credentials of the logged in user from VS. The easiest thing would be to change the pas ...Show All
Visual Studio Uninstalling VS 2005 RC1
I have an issue with uninstalling SQL Express Edition CPT as part of uninstalling VS 2005 RC1. I have used both the Add/Remove programs and the vs_uninst.exe tool. In each case, I am leaving some residue of the program which triggers an error which does not allow VS 2005 install to configure SQL Express Edition. Any ideas Thanks. Just the framework. Its under \wcu\dotnetframework on your RC media. ...Show All
Visual Studio Express Editions Trouble with C++ Express Install
I have tried multiple times to instll the MSVE C++ package with no success.Everytime I try I get a MS .Net Framework 2.o installation errror, which in turn prevents the rest of the package from installing. I have/had none of the components that were not allowed to be on before I started. I even ran the vs_uninst_betas.exe to make sure I wasn't missing anything. I just do not know what to try next to get around this issue. I am running a Athlon Processor, >1GB RAM, Win 2000 SP4. Is it possible the because I have .Net Framework 1.1 installed, that it is causing a problem I look forward to getting some help. Thanks ...Show All
Visual Basic add .dll
My visual studio project fine on the development machine. I am able to install the project on other machines, but when loading one of the forms I receive the error: Could not load file or assembly "Microsoft.VsDesigner,8.0.0.0. This error only occurs on one form, all others load fine. I am not sure if I am missing a component, or if there is a way I can change the form to elimiate this dependency. Any help would be greatly appreciated.Mark I'm glad you got it figured out, Mark, though I'm unhappy that you had to go through all of that. (I'm wondering is something in the generated code got zapped ...Show All
Windows Forms New 1.1 version?
Does anyone know when a new .NET 1.1 version of Terrarium will be available Like everyone else running .NET 1.1 I can't load resources, etc. Well, maybe - it would be a dissapointing signal to send out to people using these - otherwise - excellent technology pusher applications. Who take's the time to get the speed up on something t ...Show All
Visual Basic How to data stuff from an Access Database with VB 2005
I see other solutions, but have been beating my head trying to get set up to be able to port my vb6 stuff to .net. I use an Access Database with Many tables and relationships. Most of all the samples I see are for SqlServer etc. Where is a good area to go find samples etc for doing Access with VB2005 As an added information. I have always connected and did the database stuff in code, I never used the Data Environment in VB6. My programs/Applications I am working with require constant updates to various tables as there are multiple users. There are Fields that are unique an ...Show All
Smart Device Development ISupportInitialize in CF 2
Compact Framework 2 supports the ISupportInitialize interface. I've implemented it on a custom control I am working on. However, when I add the custom control to a form, the designer serializer is not serializing out calls to BeginInit and EndInit. Has anyone succeeded in getting this to work Is there a bug in the designer Thanks! .noscripthide {display:none;} .noscriptinline {display:inline;} .noscriptblock {display:block;} .scripthide {display:none;} .scriptinline {display:inline;} .scriptblock {display:block;} .script12hide {display:none;} .script12inline {display:inline;} .script12block {display: ...Show All
Visual Studio 2008 (Pre-release) How to get a tree of using list?
In winFX, I want to get a tree of using list(Collection). level fullname 0 A 1 A.B 2&nb ...Show All
.NET Development TableAdapter Update problem
Hello, i have problem in my application. I create dataset with single table. In MainForm i have 2 texboxes and update button. This is code for update button: [CODE] Klient klient = new Klient(); klient.ShowDialog(); KlientDataSet dataSet = new KlientDataSet(); Serwis.KlientDataSet.KlienciRow klientRow = dataSet.Klienci.NewKlienciRow(); klientRow[0] = Guid.NewGuid(); klientRow[1] = klient.Imie; klientRow[2] = klient.Nazwisko; dataSet.Klienci.AddKlienciRow( klientRow ); int result = this.klienciTableAdapter1.Update( dataSet.Klienci ); [/CODE] I got 1 in result variable so i think that database was updated. No my dat ...Show All
SQL Server Select Top @variable
I want to do something like this: SELECT TOP @variable. I cannot use stored procedure for this report, 'cause I do not have access to prod db, I'm just sending rdl for upload. How to make it work on dataset level or through the report layout I know SQLServer doesn't recognize "Select Top @variable" statement. SELECT top &variable, Ticket.problem AS Issue, COUNT(Solutions.solution_date) AS [Tickets Touched] FROM Ticket INNER JOIN ...Show All
SQL Server VS 2005and SQLserver Express intergration
Hi, I've installed the following on my Windows 2000 sp4 system. VS studion 2005 standard edition SQLServer Expresss SQLSever Express management tools. I know the SQL server is working as I can get to it from the management tools. I've successfully created a DB, made tables, and done selects. My VS 2005 appears to have installed without problem and isn't giving me any problems except as follows. VS 2005 won't open a connection to the database. I've tried it both programically and through the database tools in VS 2005. In both cases I get the same the message. A connection cannot be opened and that the possible cause is that the server will no ...Show All
Visual Studio Team System I want to shift to developer mode
After installing the VS.NET 2005 beta, it asked me which mode i would like to work in (some such listbox) , and i chose 'Project Management'. Subsequently, if i try to create a new project , and go to the designer mode, i am not able to get hold of the toolbox to drag controls on to the form. Is it because i VS.NET is in a Project management mode Or is it something else that i am doing wrong How could the toolbox disappear Regards, Chak. Also, Tools/Import and Export Settings will allow you to reset your IDE settings to a different profile without losing your MRU and other options. ...Show All
SQL Server Date issue with Derived Column / Expression Language
Can someone confirm this for me The expression language in SSIS has the same limitations on date ranges as Sql Server That limitation is that valid date ranges are from Jan 1, 1753 to Dec 31, 9999. When ever I try to do a date function (DATEPART, for example) in a Derived Column Transformation on a date less than 1/1/1753, I get an error. I initially discovered this when bringing data over from Oracle to Sql Server. Just as a test, I created a text file filled with various dates and tried to import it. Whenever a date is less than 1/1/1753, it blows up. For example, this expression code - DATE ...Show All
Visual Studio Team System Team System and Microsoft Project Resource Name Conflict
Hi When i create a project and assign Valid users to it, the default way the team system writes the name is the windows way (Last Name, First Name MiddleInitial). But when i open to manage tasks for this project in Microsft Project, the resource name are now split because of the comma delimiter in the name. How do we fix this Hi Jagan As as quick fix: Change the Windows regional setting "List separator" from comma to something else. If you feel that this is a bug please report this in the MSDN Product Feedback Center ( http://lab.msdn.microsoft.com/productfeedback/default.aspx ) Hope this helps. Michael ...Show All
