Answer Questions
Wrongun Passing data from form to form in the same project
Hello, My project have multiple forms. How can I get a text entry from one form and have it display on another Is it also possible to do with Radio Buttons Thank you. Do you meansomething like: form1.textbox1.text="Hello" form2.textbox2.text=form1.textbox.text form2's textbox would now contain the same data as form1's textbox Zep-- Very close. The problem is thet the text into form1.textbox1.text is not f ...Show All
Deurasian XML editing
When i try to use any of the XML editing functions within the XPath class i always get a method is not supported error. Why is this ' Load the document. Dim Doc As New XPathDocument( "Data.xml" ) ' Navigate the document with an XPathNavigator. Dim Navigator As XPathNavigator = Doc.CreateNavigator() ' Move to the root <Debts> element. Navigator.MoveToRoot() ' Move to the first contained <User > element. ...Show All
CoNNect menustrip
In my menustrip I have an item call "Bad Items" when I click "bad items" my dropdowns appear (i add the dropdown items programmaticaly) The question is, how can I assign to a variable the text in the dropdown when it's clicked. Been messing with this all day and cant find the method. Thx for any help! Carl addhandler like so : AddHandler MenuObj.click, AddressOf MyClickEventHandler Remco ...Show All
vembloud reading text from a document and displaying it
I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2 ...Show All
ddlam textbox selectall not working
Neither of the two code pieces are working for me... Private Sub TextBox1_GotFocus( ByVal sender As Object , ByVal e As System.EventArgs) Handles TextBox1.GotFocus TextBox1.SelectionStart = 0 TextBox1.SelectionLength = Len(TextBox1.Text) End Sub -= OR =- Private Sub TextBox1_GotFocus( ByVal sender As Object , ByVal e As System.EventArgs) Handles TextBox1.GotFocus TextBox1.SelectAll() ...Show All
NRN Add text to a text box from a module
I'm upgrading a program I wrote in VB6 to VB2005 and am having a problem with updating a text box. I have a module that manages serial port communications. When data is received in the serial port buffer, it should update a text box (txtSerialIn) on a form (frmSerialInOut). Here's the code: Public Sub Handler( ByVal strInMessage As String ) frmSerialInOut.txtSerialIn.Text = strRXData & vbCrLf & frmSerialInOut.txtSerialIn. ...Show All
Lama Karmi COM Interop, Property Get,Let,Set Interface Attribute?
Hello, We are in the middle of a rather large piecemeal upgrade of our VB6 system to .NET 2.0. We started in 1.1 and have sence migrated that code to 2.0. We have done a few of our libraries to this point, and are gearing up to upgrade a lot more of them in the next month or so. We ran into a problem in our first library that required a rather nasty fix and I was hoping someone could point us to a better solution. ...Show All
jd.conley ADO.net DataAccess time SLOW
Unless I am doing something very wrong, it seems that the ADO.net dataaccess time,IE retrieving a record is extremly slow compared to Classic ADO. Now it takes between 1 and 2 seconds to retrieve the data from the Remote database (Access). Because of needing update data when I select a serial number, I presume and currently use direct access to the remote database. I load a combobox with all my serial Numbers, Currently 15,000 . Then when I c ...Show All
Aaron Whitney Setting Decimal Place In A Textbox
VB2005 Express Hi All How do I set the decimal place in a textbox as #.## also setting the datatype to numeric in the textbox properties. You can try the following: Select your textbox. In the Property browser there is (Databindings) - (Advanced). In this Advanced field, you can click on the "..." button, which will open the Formatting & Advanced Binding Window. In it you can set the Format type to Numeric and spec ...Show All
brucehatton Programming ( database )
ok, basicly, i have a file ( that is a database file ) and i need to create a program that can read it and export it to a txt file, or a CSV file. Does that me any sense i know what the header is, i just need to know how to make the program to read it. can anyone help --redcrusher ...Show All
Swooter Need a background popup (a new concept)
Hi, Hope u all seen the popup displayed in Skype messenger or yahoo messengers, that this user signed in and u received a mail..... These popups wont affect the program which is currently in use and the popups act as a background process. I need to design such a kind of popup in VB to display alerts on particular period of time. THIS POPUP SHOULD BE DISPLAYED EVEN THOUGH I MINIMISED THE FORM. For example, eventhough when i ...Show All
Shaneisasuper Fill a repeater one by one
Hi, I have the following XML < xml version="1.0" standalone="yes" > <Raiz> <Registro> <Codigo>1</Codigo> <Usuario>2</Usuario> <Projeto>46</Projeto> <Versao>17</Versao> <Topico>243</Topico> <Data>14/10/2005</Data> <In ...Show All
Uncle Sam please help I would like to filter a sql DB using a button and textbox.
Hi There I am trying to filter a database using a buttons click event and a textbox as the search field. The code below under the buttons click event will search the SQL database . Company being column name, and heineken being company name being filtered. MathserTableBindingSource.Filter = "company = 'heineken'" I would like to change this code to include a textbox so that the company name entered in the textbox would be filte ...Show All
Derwood replace listbox item
Help, I can't figure out how to replace an item a listbox. I can delete the selected item and add the nw item but there has to be a better way Thanks Something along these lines may help as it it will allow you to replace Full exact match items or partial matches in items and chnage either just the first occurence or all occurences. As its searching for string matches in the list and not spe ...Show All
dosler Excel automation with VB.NET
Hello, I have done some Excel-to-VB.NET automation, so I am familiar with the basics. I have gotten stuck on doing Subtotals. The VBA macro looks like this:: .Selection.Subtotal(GroupBy:=2, Function :=xlSum, TotalList:=Array(5), Replace:= False , PageBreaks:= False , SummaryBelowData:= True ) I cannot figure out how to reference the "Array(5)" object in VB.NET. Any ideas Thanks for any suggestions. Mister T ...Show All
