Setting The SccAuxPath Property In A .NET Project For A Distributed Team?
Nov 13, 2009
We've recently moved to Team System and now a remote team needs access to our source. However, they use a different IP address to access the Team System server, and whenever they try to open a project, they are prompted to check out and change the project. It seems to be the 'SccAuxPath' property which is the problem.
View 2 Replies
ADVERTISEMENT
Feb 7, 2010
I have 6 members in my team in my office. Now I am working in a VB.NET project. Anybody can tell me how can I share this project within my team?
I want to have only one project folder in my server. I want all my other members will work from this server's project folder. This is possible in VB.NET?
View 2 Replies
Jul 15, 2009
1) Can anyone post a link or tell me the differences between these versions of VISUAL STUDIO please? >>
Standard, Professional, Team Suite, Team Foundation Server Standard & Team Foundation Server WorkGroup Edition
2) I imagine Team Foundation Server WorkGroup Edition is the most expensive and therefore has the most functionality?
3) Are there any others I have not mentioned?
View 4 Replies
Apr 12, 2011
In on a section of my book about classes and properties. In this example, the author is attempting to show how you can validate a value passed to the property before setting the property. Looks like so far in this book, a couple of things have slipped past the editor, and I think this might be another one...Here's the example:
[Code]...
View 2 Replies
May 31, 2011
I have the following property in a class:
[Code]....
The problem is that when I try to set the property like this: myClass.Language = "English" The property is set to "English" and not to "<![CDATA[English]]>" which is what I want. What is the reason for that and how can I fix it? When placing a break point on End Set and use the Watch window to inspect the value of _Language after setting the property to "English" it remains "English" and doesn't change.
View 3 Replies
Sep 16, 2009
Given a simple class like this:
Public Class clsOB
Implements System.ComponentModel.INotifyPropertyChanged
Private _Frequency As Double
Private _Value As Double
Public Event PropertyChanged(ByVal sender As Object, ByVal e As
[Code] .....
And then I'd like to do something like this:
Dim
o As
New
clsOB(50, 30)
o = 31
View 11 Replies
Nov 8, 2010
I am converting a 1.1 .NET web app to 3.5, and I've run into a bit of a jam.
One web control has a Property that sets the page title label on that web control.
End Property
When a page with the web control was loaded before, it would set the Property to a given string, like in ucHeader.PageTitle = "This is a string." Now, if I don't remove the lblPageTitle.Text = Value, I get a NullReference Exception.
View 2 Replies
May 1, 2010
I'm new to classes. In my Who wants to be a Millionaire application, I have a Lifeline class and I create three instances of it - FF, PAF and ATA (50/50, Phone a Friend and Ask the Audience). Something I do with a lifeline is put a cross over its logo, hence the need for a centrepoint property, which marks the centre of the cross on a form.
Public Class Lifeline
Private ptCentrePoint As Point
Public Property CentrePoint() As Point
Get
CentrePoint = ptCentrePoint
[Code] .....
What happens is that at the "Call Form2.DrawCross(Form2.CentrePoint)" line, the tooltip shows that the FF object's centrepoint property isn't set (as I thought it would be by " FF.CentrePoint = tmpPoint").
View 2 Replies
Aug 10, 2011
I have this simple code,
Protected Sub grdSearch_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles grdSearch.SelectedIndexChanged
TimeOff.Where = "UserName=""" & grdSearch.SelectedValue & """"
End Sub
Doing so causes this error, 'UserName' could not be resolved in the current scope or context. Make sure that all referenced variables are in scope, that required schemas are loaded, and that namespaces are referenced correctly. Near simple identifier, line 6, column 1.
The datasource works fine before the where property is set.Update: I found the issue but I still don't get it.Adding it. in the where clause solves the issue. Like this,
TimeOff.Where = "it.UserName=""" & grdSearch.SelectedValue & """"
View 1 Replies
Feb 20, 2012
I am using a user control using vb.net. It include the program to retrieve the values from database while giving the paramers. When I set the property from my main program i am getting an error "Invalid attempt to call Read when reader is closed." When i gone to the online help i got the message as follows "System.InvalidOperationException (.NET Framework 4)The exception that is thrown when a method call is invalid for the object's current state. InvalidOperationException is used in cases when the failure to invoke a method is caused by reasons other than invalid arguments. For example, InvalidOperationException is thrown by IEnumerator.MoveNext if objects of a collection are modified after the enumerator is created, or ResourceSet.GetString if the resource set is closed before the method call is made. If the method invocation failure is due to invalid arguments, then ArgumentException or one of its derived classes, ArgumentNullException or ArgumentOutOfRangeException, should be thrown instead.[code]
View 1 Replies
Nov 12, 2009
I am programatically creating instance of usercontrol as shown below
[code]...
I have two public properties in my usercontorl like clerkName and RespName. How can I set those values in the above code. Intellisense is not showing ClerkName and respName Properties.
View 1 Replies
Feb 3, 2009
i want to set autocomplete textbox, but if multiline property of textbox is true, i can't do it.
View 6 Replies
Nov 9, 2011
I'm reading in a configuration file which is simply a txt file that configures my Com port and sets some directories. It's basically for the end user to set the interface. I want to give the user the ability to change backcolor properties on my NumbericUpDown property. So when I read in the Config.txt file the end user can change coloring on the General Form. In this case the NumbericUpDown. How to assign a variable for color from my string (from my txt file) that I read in.
View 5 Replies
Aug 4, 2011
Im currently debugging my application to found out why it's running a bit slow, when I put breakpoint where i populate one of the application combobox it's run fast but after i populate it and when I'm trying to set the its selectedindex to zero the program halt for about 2 second.. this is the line where the program get stuck for 2 seconds:
[code]...
View 1 Replies
Aug 24, 2010
I am creating a customised version of the ListView control and there are several of the properties that a ListView has that I would like to be set to a different value to the ListView default when a user goes to use my user control.
From what I've found there seems to be a number of people suggesting just set them in the constructor, but to the best of my knowledge that would just mean that the user would not be able to change the properties in the PropertyGrid in the VS IDE.I assume this is probably something extremely simple that I have overlooked.
View 8 Replies
Feb 9, 2010
I have a single form that I would like to move across the screen with my VB program. Of course it's simple to set the location X and Y property for compile time using the properties tab, but I want the form to move as the program runschanging the coordinates within a for-next loop.I can easily get the X and Y coordinates of the form within my program by using X = me.location where X has been dimmed as type point.console.writeline(X) will appear as {X=20, Y=40}. for example
View 2 Replies
Oct 6, 2010
.From = New MailAddress("Me@MySite.com", "Big Mike")This does not;
Dim AddressFrom As String = "Me@MySite.com"
Dim FromDisplayName As String = "Big Mike"
.From = New MailAddress(AddressFrom , FromDisplayName)
I receive the error; The specified string is not in the form required for an e-mail address.I would REALLY like to use variables here so that I can read these two pieces of data from My.Settings. I've been searching for the answer for hours and I'm stumped.
View 3 Replies
Sep 17, 2011
Can someone clarify if there is ever a need for the below?
When setting a textbox "Visible" property to False is there any reason why I should also set the "Enabled" property to false.
View 2 Replies
Mar 31, 2009
I have a lambda function that I can assign to a field and pass it to a sub routine, but cannot assign to a property. My field is defined as follows:
Public Delegate Sub SubDelegate()
Private pDeleteFunction As Func(Of BookCaseRow, SubDelegate)
[code].....
View 3 Replies
Oct 16, 2010
I am using SQL EXPRESS EDITION 2005 and Created mdf data file using vb.net 2008. now i want to use this datafile in lan. i modified connection string "Data Source=.SQLEXPRESS;AttachDbFilename=ServerDataData1.mdf;Integrated Security=True;User Instance=True;Connect Timeout=60"it is showing security info error i want to use single database file for my application please help me with connection string. thank you
View 1 Replies
Jan 24, 2011
i made this thread and faraz zone made a guide for me, I keep doing the guide but i keep getting this error: url...untill now, now i end up reformatting my notebook and i try to do again Faraz Zone guide and i still keep getting that error, now I decided to make this new Question/ Thread.I already made my vb.net project using Microsoft Visual Studio 2010 that has database and multiple forms, and I already installed SQL Server 2008 R2. I want my project to be remote/network using lan environment, in what way i can do this?
View 1 Replies
Jun 11, 2011
I'm new to VB .Net and I've searched for this info in the help files, but couldn't find it.When I save a project it automatically saves it to "C:Documents and SettingsusernameLocal SettingsApplication DataTemporary Projectsfilename".I want to be able to set this path ahead of time to where I want it to go. I've set a path in the Tools > Options > Projects and Solutions > General tab (under Project Location), but it doesn't use it.
View 2 Replies
Mar 11, 2010
I have created a project with my forms & a little bit of validation logic, the basic skeleton of the project looks just fine.The data that I have for the project is currently in 2 Excel spreadsheets, so I have created a database within my project (I chose a SQL option, even though I have only ever used Access in the past) & I now have Database1.sdf & MyFinancesDB.xsd in my Solution Explorer.
I have created 2 Tables, the same as the Spreadsheets & have created Columns as necessary, and also set up Primary keys in both Tables and linked the Primary key of the Parent Table to a keyed column in the Child Table ... I *think* I have done what I need to do.Now, the big question (assuming I have set things up correctly !) is how do I import / load the data from the Excel spreadsheets into the SQL Tables?
View 1 Replies
Aug 12, 2009
Trying to set a Combo Box RowSource to a field in a table that contains the choices separated by semi colons. Have tried both a query and a DLookup but it results in displaying the full contents of the table field, e.g. "10;12;14;16" rather than giving me the usual selection list
View 2 Replies
Feb 25, 2011
VS 2008, vb.net, Win7 development machine. I've developed a Windows application with several different forms, and am using the My.Settings feature. This is the first time that I have used this feature. For each form, I have set the form's property binding 'location' property to an entry in 'settings' of My Project settings page of the VS 2008 development environment. The settings are set to user scope.
1.) Do I need to add any code to my application to make the settings work, or is it sufficient that I have the "Save My.Settings on shutdown" set to true?
2.) When I create my setup to install the application, what settings file (app.config?) do I install to the user's machine, and what folder should it be installed to?
View 11 Replies
Nov 15, 2010
I am using VB 2008...
On my form I have a "Combobox1" that pulls a list from an access table. I also have a "DataGridView1" that pulls data from another access table.
I am trying to set the "DataSource" property of the "DataGridView1" after clicking a button, which pulls the "Text" property from the "ComboBox1".
ComboBox1.Text will always equal DataGridView1.DataSource as a text string.
I researched the Get/Set command, but it does not make sense to my specific application. I have read countless articles online for weeks, but I have now taken the next step.
View 1 Replies
Jan 3, 2010
When I drag a dataset onto a form (as details), is there a way in which the textFields maxLength property is automatically set with the width within the actual table. Or do i have to select each textBox and enter it manually?
View 1 Replies
Jan 8, 2012
I have set the Visibility property of the main window to Hidden and added the following in Window_Loaded:
private void Window_Loaded(object sender, RoutedEventArgs e){
this.Visibility = System.Windows.Visibility.Visible;
}
But it doesn't show up the Window.
View 1 Replies
Mar 24, 2009
I have done some searching, but am still having trouble trying to set the browsable attribute of property to false at runtime in order to hide in the properties grid control (based on certain conditions).
View 9 Replies
Nov 10, 2009
I am using LINQ to SQL and a third party SDK that supports distributed transactions. When I realize that a pending update will be updating both SQL records and records in the third party SDK, I am creating a TransactionScope with a 0 (presumably infinite) timeout (although I've also tried 12 hours as a timespan parameter). Then I use GetDtcTransaction on the ambient transaction (created by transactionscope) to get a DTC transaction to link to the third party SDK. Things work nicely for about 10 minutes, but after 10 minutes, the transaction disappears and an error occurs. How do I determine why the transaction is disappearing. I suspect it's a timeout because it regularly occurs after 10 minutes even though slightly varying degrees of work have been done at that point. But I'm at a loss about how to determine what terminated the transaction, why, and how to extend its life.
[Code]...
View 3 Replies