VS 2010 Change Form Info?
Jun 5, 2010I 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 RepliesI 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 RepliesI 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]...
How can i display a certain region/selection (rectangular) from an excel file into a form.
View 9 Repliesi have exe in desktop name "WorldTime.exe" and i wont code in vb.net to change Assembly Info like Company.
View 2 RepliesHow do you change the form look itself? like using a skin over your app so it dosent look like a normal app, for example, give it a skin to look like a cool mp3 player etc...
View 2 Repliesi'm using VB 2010 Express and I want to change the Executable Version Info?
View 2 Repliesbasically my problem is my program i made is fine on my screen, but when i port it to my mates screen some of my listboxes and buttons are not visable. because of his resolution i want to me able make my prgram adaptiable to specific screen resolutions.
View 9 RepliesI have a form with over 100 textboxes that are set in multiple groupboxes and that number grows as I continue working. I am trying to get an event to fire if there is a keydown on any one of the textboxes. other than individually adding all 100 textboxes to the handler, is there a way for me to create a single event that handles all textbox.keydown events on the form?
I want to run something like the code below every time a textbox on my form changes. The code rules out text boxes within groupboxes that I don't want to fire.
If TypeName(SplitContainer1.ActiveControl) = "TextBox" and InStr(ctrl.Parent.Name, "GroupP1Payoffs") = 0 _
and InStr(ctrl.Parent.Name, "GroupP2Payoffs") = 0 and InStr(ctrl.Parent.Name, "GroupP1LoanDetails") = 0 Then
[Code].....
I have my crystal reports file accessing data from msaccess database.now while loading report i need to pass the logon info of the msaccess database along with the database name from vb.net.
[Code]...
one of the apps that I wrote a couple months ago is getting to be rolled out to my production floor; one issue tho - It works great as a standard executable (you double-click, it starts and waits for data), however, I cannot get it to start as a system service.
I've already done a little bit of research for how to create a system service, but most of the information that I've come across is point to VC# or Visual Studio 2010 - I'm not finding much for VB 2010. Additionally, I'm only using VB 2010 Express and I'm pretty sure that I don't have the Windows Service application template's on my PC.
My application does have a "UI", but there isn't any user interaction; it starts and just sits minimized in the system tray polling a directory for the existence of a file - i.e. the windows form is not required.
In VB10/win forms project, when I change the forms font size the form and all the controls on the form get larger or smaller, OK great! The problem is the combo boxes then appear with their text highlighted. Is this a bug or am I doing something wrong, simple example..
[Code]...
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.
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.
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 RepliesI 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 RepliesI 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.
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]....
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]....
get information from wikipedia.So the info goes to TEXTBOX1.TEXT and then creator to label8.text and then the image will go to picturebox1.image.i have a listbox with all the videos?
View 4 RepliesI'm developing an application that will need to be used with a client.The software can be managed online ( at website ) and by desktop client.I can't find any information in how to send information to website and retrieve data from website. The PHP code is entirely written. how do I get something like:
Client -> PHP -> Create Account ( Send this to a file like create.php?user=USERNAME&pass=PASSWORD )
The PHP file ( stored online ) will run the information and create the account?How to send that information with VB .Net?After that, PHP will return a info if it's ok or not the user account creation.How to retrieve the results from PHP and show them in the client?
[Code]...
If its saved succsessufully to display message that is saved. I want just little program to edit 1 table,
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 RepliesI 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?
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]...
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.
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.
Is it possible to get the network information of another program/Process like Bytes sent and Bytes received. I looked under the Process class but that didn't yield any results.
View 1 RepliesOk I got a variable named Accounts and stores the user accounts. They are seperated like this
Account|Pass|Admin&Account|Pass|Admin
As you can see after admin there is a symbol (the &) meaning that before the & its an account and after it its another. In other words its like this
Account|Pass|Admin
Account|Pass|Admin
so how can I make a loop to count how many & there is in the Variable named Accounts?
I have the following database setupWhat I want to see is the tblOpponent.oppTeam when given a matchID in tblGameI tried the following SQL string in VS 2010
strSQLString = "SELECT tblOpponent.oppTeam FROM tblOpponent WHERE tblOpponent.oppID = tblOppBowler.oppID AND tblOppBowler.oppBowlerID = tblGame.oppBowlerID AND tblGame.matchID = " & MatchID.ToString
[code].....
I am experimenting with Property info and getting their values etc. The below code gets the properties of a layertable record and creates my PropertyListViewItem
Dim ltr As LayerTableRecord = DirectCast(obj, LayerTableRecord)
For Each prop As PropertyInfo In ltr.[GetType]().GetProperties().OrderBy(Function(p) p.Name)
Try
[Code].....
I have a combo box appear if I click on an item that is not read only. What I want to do is populate that combo box with the values it can accept. ie If it is a boolean, add True and False etc.