IDE :: Default Keybindings (Hot Key) For "Run Selection"
Oct 22, 2007In VS IDE Server Explorer?
View 3 RepliesIn VS IDE Server Explorer?
View 3 RepliesI have a combobox which contains a sample of names selected from a table.Currently the default name displayed in the box is the 1st name found in the table. What I would like to do is display the name of the person who is doing the selection as the default. The name is stored in a public variable 'PubName' and I do not want the user to be able to type into the combobox themselves.Is this possible?
View 2 Repliesi'm using visual basic, its my first time using treelist. Any suggestion how to set nodes at aspxtreelist?
i wanted set the nodes at treelist based from sql database.
schema :
SQL database
| id ---- partnerID
|
| 1 ---- 2 |
[Code].....
When i load the page, i wanted the treelist had default selection node : 2, 2.1, 2.2, 3, 3.2
i don't know what property which must BE used.
Can you populate a Listbox and not have a default item selected?(Usually I see the first item in the list automatically selected at creation).
View 5 Replieshow do i make it say that on form load, the first item in the listbox is selected?
View 3 RepliesI had created 3 datagridviews dynamically. In each dtatgridview a single cell is selected by default. I want to avoid this default selection how can I do this?In a single form 3 cursors.....Not active but looks very boring.
View 2 RepliesI am trying have a data grid selection populate a form. I am new to this.Basically I have a connection persistance object and I would like to call that and call a stored procedure with the value of the selection. The datagrid is bound to an object.
[Code]...
I have a listbox (20 Items) with multiselection and label that disply the selection and one button. So I wrote (it works fine)
[code]...
Now when I click on button the label show lets say Item2,Item5,Item10,How do I take off the last ","
somthing like that Item2,Item5,Item10
I used to do: Dim s As String = Trim(Label1.Text)Label1.Text = s.Substring(0, s.Length - 1) but it give me an error converting intiger to string
osheet.Range("A1").Select
'The line below is the one I would like to know how should I write it in VB.NET:
osheet.Range(Selection, Selection.end(xlDown)).Select
[code]......
I am using this code to select a folder.how to do the same kind of thing selecting a file instead of an folder.
Private Sub PathButtonB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PathButtonB.Click
Using FolderBrowserDialog As New FolderBrowserDialog
With FolderBrowserDialog
.Description = "Kies die Folder waar hierdie ResepteBoek die Kunswerke vir sy Resepte moet gaan soek."
.ShowNewFolderButton = False
[code]....
Found this:
Sub SurroundWithAppendTag()
DTE.ActiveDocument.Selection.Text = ".Append(""" + DTE.ActiveDocument.Selection.Text + """)"
End Sub
But I can't seem to figure out how to loop through each line of text in the selection.
I need to print the contents of 3 textboxs to default printer. what examples I have found dont seem to work. I was trying the documentprint1 component as i thought it would be easy but cant figure out how to tell it what to print the second part is to print a variable (string) to the printer as well.no need for user to select just straight to default printer with its default settings
View 1 RepliesI am creating my own browser. I want to make an option...to set as the browser to default.To do that I have to:Write a code which opens html(generally internet) file through my browser(form load event) DoneChange the "open with..." of the .html,.xml.... files Problem I want to change the open with event from my web browser. Actually i want an options form which will ask the user "Do you want to set /Browser name/ to be your default browser?" If yes then it will change the default options of the internet files.
View 5 RepliesIs it possible to set a project default for VB.NET winforms projects so that the default Modifier for controls added to winforms is Private (not Friend)?I know there's a "modifiers" property in the properties window so I can set it for each individual control however I would like to change the project so from now on myself and other developers have to specifically decide to change from friend to private. (Which I would strongly discourage them from doing).I believe there is no way of doing this, but on another forum a while ago someone mentioned it would be possible with an add-in (but didn't name the add-in or where to get it).
View 1 RepliesI am using VB 08 running an openfiledialogue wanting to get the result of the GDS file (*.gds) to be the default extension at the drop down menu instead of All file when the openfiledialogue box opens.
I coded it with:
OpenFileDialogue.Filter = "GDS File(*.gds)|*.gds|All files|*.*"
but the results i get in the open file dialogue box remains as all files being in the drop down menu as the default file extension. How to i set it to ".gds" format?
here i;m trying to select a date and time but i'm having problems can you see what i'm doing wrong Dim table = mydataset.Tables("Bookingen")
[Code]...
I want to end the selection in a rich text box.Example:
Sentence - "I was walking in the park and found a coin."
I want to select from "walking" to "found"
RichTextbox1.SelectionStart = RichTextbox1.Find("walking")
[code].....
I have 3 textboxes TextBox1, TextBox2, TextBox3 and a button, I want to do the followingIf I enter a value in TexBox1 and press the button, some text will be set in textbox2 and textbox3; if I enter a value in TextBox2 and press the button, some data will be displayed in TextBox1 and TextBox3.I have no idea how to make the code check if the textbox1 value is not null and the textbox2 value is null, to execute a certain statement and set a value to Textbox2 and textbox3; and if the value of Textbox2 value is null and the textbox2 value is not null, to excecute a certain statement and set a value to Textbox1 and textbox3
View 1 Repliesi want to create a system that will trigger alert based on few condition, my condition is:the alert will trigger if there is a negative value for 2 consecutive years.example:1)negative amount for 20052)negative amount for 2006here is the code that i have for now
View 6 Replies[url]...Do you see the left perpendicular line. When I click on it appears some annoying selection around it how to disable it?
View 3 RepliesI am using VB.NET and I am trying to come up with some algorithm or some pseudo-code, or some VB.NET code that will let me do the following (hopefully I can explain this well):I have 2 collection objects, Cob1 and Cob2. These collection objects store objects that implement an interface called ICob. ICob has 3 properties. A boolean IsSelected property, a property called Length, which returns a TimeSpan, and a Rating property, which is a short integer.
OK, now Cob1 has about 100 objects stored in the collection and Cob2 is an empty collection. What I want to do is select objects from Cob1 and copy them over to Cob2. I want the following rules obeyed when selecting the objects though:
[Code]...
based on a selection of name and time i want to add a value or text in datagridview,but it doesn't return a value... this my code
Public
Sub Btnplanner_Click(ByVal
sender As System.Object,[code]......
I have the following in vb.net
<asp:RadioButtonList ID="rbEdit5" runat="server" RepeatDirection="horizontal" >
<asp:ListItem Value="1" >Yes</asp:ListItem>
<asp:ListItem Value="0" >No</asp:ListItem>
</asp:RadioButtonList>
I need to programatically select one of the 2 listitems.How do I programatically select say 'Yes' above in vb.net?
I have a telerik radgrid, like shown underneath [code]When I click one of the rows, it will display the password of the clicked row, like so:[code]That works fine. I am proceeding this way because the decryption of the password is a rather complicated and long process, so decrypting one password at a time is less time consuming, especially when the user doesn't need all the passwords.When I have the password displayed, I'd like to be able to select the password in the grid to copy it. Unfortunately, the radgrid will fire the "RowClick" item command once more, and the row gets de-selected. Therefore, I cannot copy the passwords. My question is: Is there a way to cancel the itemcommand of a radgrid under certain circumstances? I'd like to be able to disable the itemcommand event when the password is already decrypted.[code]
View 1 RepliesI have a listbox with two values, Current account and Deposit account.The current account has an interest rate of 7% and the deposit account 3%.I have 4 other textboxes. The boxes on the right is where the user inputs and the left side holds the value.
Account Type [ ] Listbox >>[Current account]
Deposit account
Investment Amount [ ] [ ]
Interest over a year [ ]
What I want for the Investment Amount is that if the user selects Current account, the amount invested will be automatically calculated with the 7% interest and the same for the deposit, calculation with 3% interest.And the Interest over a year textbox to show how much the interest will be over that year at the rate (whether its 7 or 3%)
I can change title of a selected Tab but I want to change the title of a tab witch is not selected but I want to change its title because I come to know that tab is loaded following code return me the possible New Title of the Tab but how to make changes ?[code]....
View 1 RepliesWhen I exit the programme and start it again the checkbox selection from the previously job gets lost. After starting there is not a problem until I exit and start the programme again.
View 1 Repliesi have used the following code to populate a DataGrid based on the contents of a textbox. the users searches for a name which is populated into a combobox based on the name in the combobox several textboxes are populated with data based on the data in one of these text boxes Private bindingSource1 As New BindingSource
[Code]...
Clicking on any day clears the selections. This bug is repoducable by simply opening a new WindowsForms project, dropping a MonthCalendar control onto its' surface. Click on the TitleBackground, click on a month, Jan thru Dec, and the bug will become self-evident. There may be another bug, if you click on either the Next or Previous month buttons, the selections will shift to the first week of the month. Finally, the Today key at the bottom of the calendar doesn't fully highlight. I am currently using Windows Vista, I will try to repo this on XP as soon as I can.
View 4 RepliesIs it possible to multi select cells in a DataGridView over several rows?
Example:10 columns, 2 rows
Say I click and hold in row 1, column 5. If I then go down to row 2 column 5. I want column 5 to 10 in row 1 and 1 to 5 in row 2 to be highlight.