I said im still a bit of a n00b experimenting with visual basic 2008.
here is what i want to so i have a project i am working on for my website
[code]...
as you can see i have a TextBox1.Text and a TextBox2.Text i want it so when the user enters their username and password into the box's it will log them in, the webbrowser you see isnt visible so it does this all in the background the webbroser will navigate to
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
I have a webbrowser and on a form I need it to fill text. The problem is, in order for the submit button to activate, you have to atleast type in 1 letter for it to update and make it send. The problem is when I do document.getElementById("p1").innerHTML= "SSSS" it works but it wont update the submit button to allow me to submit the form. What should I do?
I have a view with a few checkboxes that can be selected or unselected. I'd like to always register any change in a checkbox, without the use of a submit button (the user could forget to do it, and it would waste time). So, is there a way to handle this inside the view? Up to now, I've only used the controller to do that job.
The program is for users to submit their username by typing in their username and pressing the submit button. The username may be able to display on the Usernamelabel in form1.(I made the button on form2) I have problems coding to make the text to come out in form2.My code comes out as error.
Here is the code in form2. Public Class Form2
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
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]
I am making a program, obviously, and I require some assistance. I found an explanation on how to read information from a Text file and have modified it for my needs. Here is my (modded) version:
Public Function GetInfo(ByVal playlistname As String) As String On Error Resume Next Dim PlaylistInfo As String
I'm making a database app. I've finish the search, add new, and add function. What I'm trying to do is to expand the functionality of the add new item function.
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!
how to correlate info from a textbox based on a listbox item selection. For example the user will select an item from the listbox, enter say the length of a song in the textbox say 2:00 for song #1, select say song #2, enter the song time for that song say 3:00, click on song #1 again and have the same textbox display the length of that song and be able to do that until there are no more songs on the list.
Can I get info from stored cookie on the local machine. I have a Webbrowser control in a winform, and I would like to output data from a cookie to a label or so.
i try to submit changes to table in SQL databasewith LinQ.i use the below code- why does ctx.SubmitChanges() not work and how do i update the database?
Dim ctx As New DRTTestEntities ' Dim ctx As New DataDRTDataContext ' Query the database for the row to be updated.
How can I create a form like this [URL]and would like to submit it to a MSSQL database using vb.net or should i use another approach?Are there any books that go over this on amazon that i could purchase? I did try searching but frankly do not know exactly what to search for so that is why I think I am having trouble finding learning material on this topic. Tried Interactive PDF, tried submitting pdf form using vb?
there any books that go over this on amazon that i could purchase? I did try searching but frankly do not know exactly what to search for so that is why I think I am having trouble finding learning material on this topic. Tried Interactive PDF, tried submitting pdf form using vb and was hoping someone would already have knowledge on a book i could read to handle this.
This is probably a really simple thing. Basically, the user clicks a button and a potentially long running task happens. I'd like to do a few things like toggle the button's enabled state, show a spinner, etc. In VB.NET Winforms I'd just do Application.DoEvents() and the updates would happen and the code can continue. How can I do this in ASP.NET? (preferable serverside or minimal javascript)
I'm making an application that send information through a website My application has these fields:
Textbox1: textbox2: Textbox3:
Button OK The website has these fields:
Name Website Comments Submit button
When the user clicks OK in my application it will send the textbox1 information into the field name, textbox2 into website, textbox3 into comments and it will click submit. All the actions are hidden so the user will not see the webpage. How can I code this? I'm using Microsoft Visual Basic 2008.
I am just digging into L2Sql and I am a little confused on what to do about inserting several records into my database that are related.
For example:
I have an entity mapped to a user table called user. This class contains UserId and Username.
I have an entity mapped to a preference table called preference. This class contains PrefId, PrefName, UserId.
I have an entity mapped to a profile table called profile. This class contains ProId, ProName, UserId.
When I ask a user to register for an account, this will populate a User object. I will then create two "blank" objects to relate to this user, a profile and a preference.
I notice that the dbml has a User property on both the profile and prefernce entities. Am I right in thinking that if I pass the User object to this property, this in turn sets the UserId for these objects?
If thats the case, when do I actually do this? Surely I would need to InsertOnSubmit the user object, query it back to get the Id and then pass this User object to the others before Inserting them?
At the moment I have this,
Dim reg As New User reg.Username = username Dim pro As New Profile
I am trying to create a program in VB6 that will automatically log a user into my website, I am trying to figure out how to automatically submit the form, or at least click on the submit button.[code]...
i am trying to submit webform on one site.it is aspx site.In this form there is only one field in which i have to enter my email address and submit it.i am able to achive following so far.1)Using httpwebrequest i got the webpage with cookie maintain in cookiecontainer properly.i have analyze the form and it is submitting __viewstate1 and other value from that form to action attribute of form.i think i have success fully submitted my data to server but it is not responding the way it should.(like after submitting my email address it should send email to my account) rather server response is same web form.(i think it is ok coz data to be submitted to same webform)but in response server should add my email address to its new response telling email is send to XXXYYY account.
following is my code.
Code: Dim action As String Dim submit_data As String temp2 = htmldoc.getElementById("FileBuilding") action = temp2.getAttribute("action")
[code]....
and all variable like event_arg ,viewsource1,2,3 etc have proper data.
I'm adding a extra functionality to an existing program. Its a Login page to manage the time a user came in and out. So first a login is asked, then (on the same page) a list with the login times are shown. The same button is used (just relabelled) for the login and time in/out.
The problem exist when users want to use enter to login and time in/out. So quickly press enter twice. No problems with the login. But the second page wont recognize the enter. even when I capture the keypress with JavaScript nothing happens. I have to click the form (or a object in the form) so the enter would work.
I want to make a program that will submit to a website that I have made the only problem is i have not made the website able to submit. Can someone direct me toward a html/javascript tutorial or something that will show me how to make a form on website so I can submit to the website with my program? What I mean by submit to a website, I mean add text to the source, kinda like a comments page, just a lot more basic.
I have a textbox txtLocation and button btnSearch on my form. I would like to have the ability to enter a location such as NewYork, NY and hit the Search button and the form would yield the return from
I want to make an installing application using vb.net(not asp.net) where i can login to a website and submit form with out using a browser(like facebook@desktop). I have a little knowledge in php,mysql and vb.net. I have never done web application programming in vb.net. I have searched for this in google but didnt find any useful tutorials.