Application Reading Web Page - VB 2008?
Jun 29, 2009
im just wondering is it possible to do this easily as im not great at VB I have a simple webbrowser open when i click a menu item, and when it loads it goes to a text page on a online server i have (ends in .txt) which just has some text on, is it possible for me to add a button which when i press it, it searches the page for a certain number/word, then opens a message box with some text in relation to the number/text, or is this not possible with a webpage.
View 6 Replies
ADVERTISEMENT
Jun 21, 2009
t possible to do this easily as im not great at VB I have a simple webbrowser open when i click a menu item, and when it loads it goes to a text page on a online server i have (ends in .txt) which just has some text on, is it possible for me to add a button which when i press it, it searches the page for a certain number/word, then opens a message box with some text in relation to the number/text, or is this not possible with a webpage.
View 5 Replies
Feb 23, 2010
VB 2008
CODE:
This code works fine but not always , Sometimes when the net is down or some downloading is going on either on Lime wire or any download manager , The application navigates to the page but then don't login. I also tried using threads but that didn't work as well.
View 1 Replies
Jun 5, 2010
I'm trying to make an application that would give me the source code off a web page. But so far I have nothing.
View 39 Replies
Aug 27, 2009
My application is intended to crawl a URL page and extract all possible links from the page.It works fine for a certain URL but with another it keeps causing problems. When the root page is accessed it correctly extracts the different directory links. but when it requests the directory links html page it pulls the main root URL again. someone mentioned about redirection but when debugging I see the url variable containing the directory link correctly.
View 2 Replies
Feb 17, 2009
Basically, i have to write a small application that just writes in certain cells of a set page of an excel sheet, the sheet will always be the same layout.
View 2 Replies
Jan 6, 2011
I need to read PDF Page size of an existing PDF. I have both itextsharp and acrobat used in my project. This is what I've tried.
Dim pagesize As Rectangle
Dim reader As PdfReader = New PdfReader(formfile)
pagesize = reader.GetPageSize(1)
If pagesize.Width = "396" Then
Testing = "Y"
Else
Testing = "N"
End If
I get page size as = {Rectangle: 396x309.6 (rot: 0 degrees)}
And Testing comes out = Y
This seemed great at first, until I found that I get those exact same values regardless of how big the pdf is...so now i'm back to square one not knowing where to turn. Interesting thing to note though When I hover my mouse over reader.GetPageSize(1), nothing shows up while debugging, but pagesize does get the value stated above.
View 1 Replies
Dec 29, 2009
How can I check the 'Checked' property of a dynamically-created checkbox during the Page_Load subroutine? Basically, I have a VB.NET page that creates some table rows dynamically, based on a number selected by the user. So, for example, if the user selects "3" from a dropdown list, the page posts back and creates three table rows. Each row contains a couple of textboxes, a dropdown list, and a checkbox (which are all .NET form controls rather than plain HTML controls, I should point out).Typically, the user would enter a few details into the form controls, and click the 'Submit' button, after which the page iterates through each row, and inserts the data into a SQL Server table.But if the user ticks the checkbox for that row, this signifies that the page is to ignore that row, and NOT insert that row of data into the database when the user clicks 'Submit'. This works well, but there is a problem. If the user clicks 'Submit' and some of the values entered into the form controls are invalid (so, for example, the user didn't enter their name) then the page won't submit the data, and instead, shows an error to the user informing them of the values they need to change. But if the user creates three rows, for example, but decides to "ignore" the third row (by ticking the checkbox) then when the page posts back, finds some invalid entries, and re-shows the form to the user to allow them to correct any errors, I'd rather the page didn't render the third row altogether. After all, they chose to create three rows originally, but then decided that they only needed two. So it makes sense that the third row is not recreated.
But what seemed to happen was that objCheckbox.Checked was always returning False, even when the checkbox was ticked. Once the page had loaded, the table rows had rendered again, and the tick was present in the checkbox, so it's not like the value was lost on postback. But at the point I check whether the checkbox is ticked, it always returns False, rendering a table row that the user doesn't need.Does anyone know how to get round this problem? I've read lots of articles about the .NET ViewState, and the page lifecycle, but I've yet to find a solution that works. I simply need to be able to check if a checkbox is ticked before re-creating some dynamic controls. [code] But then I basically found out that you can't override a protected member with a public one.
View 1 Replies
Nov 18, 2010
I have a basic page which has fields that I read from the database and write to it. I would like to know where I should call the insert and read commands. I know about age_load but heard about page_loadcomplete.I noted that when the user refreshes the page, for some reason the sqldatasource loads the old data(before the write) even though new data has been loaded on the form.
View 2 Replies
Jan 31, 2009
I am having problem with my windows based application in VS 2008. I have a page from where I copy the component and use the same on another page for saving my designing time.It works fine and run without error.But when I restart the solution then the 2nd page where I had pasted the component is not displayed in the form designer. I get the following on the screen
View 1 Replies
Jul 15, 2010
I have one doubt. I told yesterday that i am new for windows application. I am using web application. In our web application, we can use multiple files and what files we want to run that we give page start up options. But in windows application where is it? I am using two files in single application. I want to change default start up page.
View 4 Replies
Jun 12, 2011
I have a text input in textbox1 in tab page 1 and i want that text from textbox1 will be displayed in textbox2 in tab page 2.
View 3 Replies
Jan 26, 2012
A couple of months ago, before I started learning C++, I made an application in VB.net that reads memory from an external program. This could be anything, from notepad to windows media player etc. I have been trying to find a way to do the exact same thing in C++, but to my suprise I can't find anything straightforward on the subject. All google comes up with is threads on several forums, where the general response is "Windows doesn't allow you to read from memory you do not own". But if it works in VB.net, it can work in C++ too.
[Code]...
View 1 Replies
Jun 18, 2009
I have an application that telnets into a server and we ping a bunch of IPs. What Im needing to do is it will automatically ping it like "ping iphere" the output looks like "64 bytes from machine&hostnamehere (iphere ): icmp_seq=0 ttl=121 time=60 ms. What Im needing to know is how I can read those lines then if it "iphere" matches the pinged ip it will update my txt file.
[Code]...
View 2 Replies
Oct 5, 2010
I wrote a page Page method in my aspx page. in web service method I need to call FindControl method return textbox and get text box value. But my findControl will take MasterPage object to iterate.
see my code
<script type = "text/javascript">
function ShowCurrentDateTime() {
$.ajax({
[Code]....
How to pass Master Page object or Page to Page method?. So I can use in Sared method.
Is there any way I can access Textbox value directly in Page method? I need access couple of controls in Page Method.
View 3 Replies
Nov 4, 2010
HOW TO RUN THE JAVASCRIPT FUNCTION ON PAGE ONLOAD EVENT IN CONTENT PAGE OF MASTER PAGE.? means i have masterpage and the content page of master page namely default.aspx in vb.net.i wanna run javascript function in Default.aspx and i have called the function body onload in master page.when i run my website it shows the error "" Microsoft JScript Runtime Error : Object Expected ""
View 4 Replies
May 17, 2012
I need sample vb.net code to save single windows form as many page and reload the page whenever i call that page...
View 1 Replies
Feb 27, 2010
I have created a program which should perform a certain action whenever a certain group of keys is pressed at the same time. The program must be able to run in the background, or in the system tray or something. Essentially, this should work like the KeyDown event on a form, except the form in this case is everything.
I'm not certain if there is a way to do this directly from within the .net API, but if there is I certainly have not found it.
View 1 Replies
Jun 18, 2009
I have an application that telnets into a server and we ping a bunch of IPs. What I need to do is it will automatically ping it like "ping iphere" the output looks like "64 bytes from machine&hostnamehere (iphere): icmp_seq=0 ttl=121 time=60 ms. What I need to know is how I can read those lines then if it "iphere" matches the pinged ip it will update my txt file. The only thing I need is reading the lines to see if it pings. One thing is if it doesnt ping it doesn't say anything its just empty space.
View 4 Replies
Jun 13, 2011
How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? [code]
View 3 Replies
Jul 24, 2009
I have this code which pops out a the dos page for an executable file.[code]
View 10 Replies
Jul 15, 2010
We have developed a VP exe that we would like to make available via web access. Never having done this before we're looking for how to start. The application was written in VB6 as a stand alone exec.
View 11 Replies
Aug 31, 2009
i've been making a tabbed web browser but when i debug and run the application the first page will come up but when I add a tab my web browser messes up and vb goes to this part of code [code]
View 6 Replies
Feb 10, 2012
I would like to do the application that accept the reading from Barcode scanner. What barcode scanner I should use? And, vb.net can support on that and work well?
View 6 Replies
Jul 22, 2009
I have this application that I need to read a text file.
I have designed a form which has a play button and when the play button is called it is supposed to read a text file which has being created using an external application..
I wrote a code that calls the application but I dont know how to pass the text file into the application.
I also dont want the application popping up.
line of code that calls the application ---- Process.Start("C:Program FilesDECtalkUSsay.exe")
View 3 Replies
Dec 8, 2010
i created a simple advanced search page for web application, i thought sharing it with you might help beginners the following is an example of an advanced search page for an employee database using VB.Net [code]
View 1 Replies
Apr 13, 2012
I am developing a vb.net app that should read cell values from excel. However, it is not returning any results and I thought that it would be really simple. I have imported all the references viz. Microsoft Excel 12.0 Object Library.
Following is the function in my class file which should read the excel file
Dim mobjApp As Excel.Application
Dim mobjWB As Excel.Workbook
Dim mobjSheet As Excel.Worksheet
[Code].....
View 5 Replies
Jan 18, 2011
What I am trying to do is I have a .dat file that I cannot read but can at the same time. What I mean is I know how to decipher it by hand (alas takes minutes per 6 parts and there are thousands.) I am trying to make an application that can read this and allow me to edit it from my computer. I can open this with a hex program such as hex editor neo. I am currently trying to get it so I can read the file and have it place corresponding parts in to text boxes that I can alter to suit my needs.
I am new to visual basic and know a tiny bit about C++ if you think I would be better off trying in C# I can try that as well I do know some since learning c++. There are 41 parts to each item listed in the file and each one would need to go in its own text box. In hex there are 348 blocks that need to be arranged in corresponding order. Also the beginning of the file has 6 block followed by a code for each item. I need to find a way to put all the correct code in the correct text box and have it make sense.
View 7 Replies
Aug 7, 2009
I have a master page which contains everything that inherits it within a form. A page inheriting from it needs to run some javascript to act on a text field on a page. However, I can't seem to reference that text field through the javascript, since the form begins on the master page. The following line will come up bogus: document.form1.txtFindUser.value = blah.responseText; This is because form1 is defined on the master page, while txtFindUser is on the current page.
View 3 Replies
Feb 2, 2010
i am new to this. i have 4 pages. login.aspx, account.aspx, settings.aspx and fliers.aspx.
its all programmed in vb.net with sql server backend.on my firstr page, login.aspx i have this code in the .vb page -
Dim SQL As String = "SELECT * FROM table1 WHERE email='" + Me.txtUserName.Text + "' AND password='" + Me.txtPassword.Text + "' "
ExecuteNonQuery(SQL)
[code]...
View 3 Replies