Carry Info To Different Form
Jun 15, 2011
I want to create a form that a user will enter information into. Once the user hits "Submit", the program will search through my db. I want the result to populate into a completely new form. I only need the info from one column in order to generate the entire record, but how do I carry the info retrieved from the search what the user selects into the new form in order to populate the new form.
View 4 Replies
ADVERTISEMENT
Nov 17, 2011
I am trying to do is fill out a form with certain info, put the info into an array, and write it to a listbox using loops, arrays, and maybe a function if I need one. This is for VB2010 and here is what I have so far... I think there are ways to make it shorter but I cannot figure it out.... maybe just brain dead from all the coffee I have been drinking!
[code]...
View 1 Replies
May 11, 2009
How Do you Carry A Value From One Form To A Different Form?Using Visual basic 2005(Must use the same integer, you may not just transfer the number (As In just typing it in) on a different form. The integer itself must be carried over.
View 3 Replies
Oct 29, 2009
Stuck on resolving host IPs within a listbox. I want it to carry over the resolved IP's to listbox2. But also have an 2 radio options either to resolve IP to Hostname or resolve Hostname to IP. Thus when I hit the start button, it checks to see which one is selected and starts the process. Here is what I have found, but can there be a simplified version to this but for lists? [URL]..
View 1 Replies
Dec 15, 2010
I want to carry out bidirectional synchronization.I have implemented the code and procedures in the walkthrough however i have nearly a hundred forms and more than 50 tables how do i go about that
View 1 Replies
May 11, 2010
I am trying to rotate a select number of bits to right with click of a button. ( bit 7 to bit 0 and rotate.) The patterns should not matter. It could be any combination of set or reset bits. The bit patterns are selected by checkbox0 to checkbox7. I like to rotate without a carry bit. Is there any way(s) to do this?
View 6 Replies
Jul 28, 2011
I'm trying to add the original pictures to my vb.net program.When the client computers install the program there should have the original pictures in their computers.And other programs, not this vb.net program, can deal with the picture. Better to get the picture fullpath ,something like D:program filesabcody.jpg.
View 8 Replies
Sep 9, 2011
I am facing a problem in my code. I am working on an application in vb.net, its a windows based application. On one of my form I need to perform so many data driven operations.
if I press tab on one of the text box, I need to set a computed value in other text box and need to set the focus to that text box.
I write a code that is a like to this.
Private Sub TextBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
Select Case e.KeyCode
[Code]....
View 9 Replies
Jul 24, 2009
codes to implement buttons to do the following
1. Pause a process/ action event.
2. Resume the process/ action event.
3. Stop the process/ action event.
4. Speak the time based on the clock.
View 10 Replies
Jun 11, 2011
I want to use a form in vb.net 2010, so when I click on a button ,it must show me the info of a specific row in Exel and display info of that row in a text box.
eg.
Name Surname phone
Koos Leeds 08212122392
How do I start with this, any samples.
View 1 Replies
Dec 7, 2009
I'm trying to make a simple game, but i have a question.i have a minimum damage and maximum damage lbl boxes on 1 form and i have a button if clicked it opens a 2nd form with buttons that deal "damage" when clicked
1. Attack (a regular attack that would deal the damage from form 1)
2. another attack ( this deals damage from form1 + 8)
3. another attack ( deals 30% damage for 4 attacks [so 4 attacks that deals 30% damage each])
4. another attack ( this one is great. it deals damage of 2 times of minimum damage to maximum damage and a third label box lblAP (attack power) which each 2 points of attack power you have it adds 1 more damage.)
i can do that math i just have no clue how to bring the info from form 1 to form 2.
View 12 Replies
Sep 7, 2009
I'm using Visual Studio 2008 on an XP machine and am trying to develop a web app that can interact with websites and carry out automatic tasks.One problem I have is trying to recreate the web requests for automatic interaction.
For example:I use a webBrowser control to allow me to surf a page manually. Then, once I am at a specific location, I'd like the automatic interaction to take over.Part of the website requires a log-in and exchanges cookie data.When I try to read the cookie info from the webbrowser control to build the subsequent automatic requests, the cookie content is incomplete.Upon further investigation, it appears that the site sets one of the cookies to "http only". This stops the value being visible to the webbrowser control.Is there another control or method I could use to retrieve this info?
View 1 Replies
Mar 12, 2012
Which is the most efficient and speedy data structure in order to carry out calculations on it?. I have seen, collections, arrays, list arrays, databases and more. I would prefer to write just straight forward code that will be effective and which I can still understand. What I would like to do initially is have the ability to add new draws to the end of the file, edit the individual files and delete lines if required.
File would then be reformatted to show the corrections made. Some kind of data entry window is envisioned. As far as number crunching goes, I would like to make counts of each number in each of the columns , calculating averages, times since last drawn and so on.
Without being too long winded, I would eventually like to find triple combinations and maybe use them as predictions. So there you have it. This way I won�t have to go off on the wrong path, on a data structure that may not be able, or be too slow for the tasks at hand.
View 5 Replies
Mar 4, 2012
I am having trouble passing my summary info from my main form to the summary form. Only thing I have been able to have it do is show me the OK button to exit the program which is essentially no progress
View 11 Replies
Jun 8, 2011
I have a database, and I am creating many forms that pull info from the db and write info to the db. I have a form that asks for a set of information. One of the box is a combobox that has a list of values. I have a button at the bottom
of the form that will allow the user to enter a new value to the values that populate the combobox if the user does not see the value they need. This will obviously populate a new form to create the new value.
I want the information on the first form to not be lost when the user hits the button to enter a new value for the combobox, yet I also want the combobox to display the new value.
Is there a way to save the information from the form and repopulate the form with the info the user entered? If I reload the form undoubtedly the form will repopulate the combobox and my new value will be there, since I have it reading and pulling info from the db on loading the form.
View 5 Replies
Dec 7, 2010
I am working on multiple forms that once the pricing is added to a list box and everything is totaled in label's will allow the user to submit the form and it will take them to a "receipt page" I have tried multiple times to get it to display and it won't. This is what I have.
Function CalcSalesTax() As Decimal
'Calculate the sales tax
Return decSubtotal * decTax_Rate
End Function
[code]....
View 1 Replies
Apr 23, 2009
How do I transfer info from one form in Access to another form in Access of similar fields, ie last name, first name, address, etc. without making the second form a subform? I have a command button on the initial form to send me to the second form, I just need to copy the info into that second form. This is what I have so for in the event procedure:
Private Sub Follow_up_Form_Click()
On Error GoTo Err_Follow_up_Form_Click
Dim stDocName As String
[code]....
View 4 Replies
Sep 13, 2010
I am upgrading from VB6, using MSXML.XMLHTTP object. I believe I have gotten the .Net Webclient to send the form fields, and a response comes back from the site, but everything in frames. The VB6 code automatically had all of that data, how can I get that in .Net I know this is a Newbie question if you can point me to documentation,
View 3 Replies
May 13, 2009
I have just added a login form to my main form which just has a username textbox and a password textbox. What i basically want a user to be able to do is enter their username and password into these fields and then for the form to store the values there.
So if they enter their username and password, and then click OK on the login form, if they were to open up the login form their details would still be there?I want to be able to call on these values else where? How do i store the info in the username and password fields? And if they then closed the form and opened it up again would it still remember what username and password had been entered?
View 7 Replies
Aug 6, 2010
I'm not that experienced with .net but what I'm trying to do is pass something from Form2 to a listview on Form1.
On Form1 I have a button that once clicked this is called[code]...
View 8 Replies
Mar 19, 2012
I've searched and searched for an answer to my question, but as of yet, have yet to find a solution to what I'm looking for. My background - 6 months out of College (Computer Studies)
Right now I'm working on a program that is going to be used to handle database information (Access 2007). On the main form the user can select 3 pieces of required info from drop down list boxes. Those are required. Then after that they are able to enter a first name and a second name. They then add that name to a list box below. They can add as many names as they want to a list box. Then from there they have the option to either just save the info, or if required (which will more then likely be the main option) print each person in the list their own certificate. I have designed a separate form laid out the way required for the certificate.
The trouble that I'm having at this time is that I am unable to make the printing process show all of the certs that are going to print in a print preview. I have been able to get it to only show one. The form is set to load where hidden = true.
View 3 Replies
Apr 16, 2009
I want to create a form that, when starting, will display in a ListBox the content of a txt file. I know the file is read because I can display the content in a MsgBox. Here's a snippet of what I tried so far:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim filein As String = "MyProjects.txt"
Dim objReader As New System.IO.StreamReader(filein)
ListBox1.Text = objReader.ReadToEnd
objReader.Close()
End Sub
When I debug my app, ListBox1 is empty.
View 7 Replies
Jun 5, 2010
I have a WebBrowser in a Windows Form, and I want to automatically fill out a login and password field, then send the data to the server to log me in. How can I do this in VB?
View 1 Replies
Jul 31, 2010
I am working on a media player, and I would like to setup a local playlist feature. I am using a single ListBox and its "Display-" and "Value-Member" properties. The display is the song's Artist and Name, and the value is the song's file path (i.e 'C:UsersUSERMusicetc.').To write the file path to the .txt file, I believe I can use the following code:[code]
View 18 Replies
Feb 5, 2011
I'm really new to any form of VB programming and I am trying to create a form which will allow me to take information from an attached database holding information on:
class names (i.e. Year6 Dragons)
Students names (i.e. Sarah Jessica Parker)
I want the design to look very similar to the form used in MS Access for the query wizard, which will allow me to choose a class and then specific students.
View 1 Replies
Jun 15, 2009
have the following code, it works sometimes but other times when a form is minimized/Restored Down it will freeze, doesn't produce an actual error in VS but just freezes and does nothing..
The code captures a current form, the forms title, process id, a pixel color etc
Public Class Form1
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
[Code]......
View 1 Replies
Nov 5, 2009
I have searched google and then this forum too, there are a few threads about this but nothing gives a detailed info on how to do this.Is there anybody who has done this kind of project? Getting Weather info from some website using some web services and displaying them onto your windows form?
View 5 Replies
Apr 26, 2009
I have a total of 4 forms, the first three of which have information that is totaled on each of those three forms respectively .I'm trying to figure out the best way to set up a final page where each total amount from the first 3 forms will end up on the 4th form so that the sum of the totals from the first 3 forms will add up, and then so I can add 7% on for taxes on this project.I am using both radio buttons and check boxes for the first three forms (and I'm not certain if this would be an important factor).I had been looking at creating a listbox, but I'm not sure if it would be possibly to get the previous totals to show up correctly there, so I suppose I'm just looking for a way to have the "products" from the first three froms show up in a list along with their prices, and then be able to add on the tax and total them all together.
View 4 Replies
Oct 2, 2010
How can i display a certain region/selection (rectangular) from an excel file into a form.
View 9 Replies
Jul 23, 2009
how to create Quick info and/or parameter info for own code?
View 6 Replies