Update Database When The Website Is Nor Running On Teh Browser?
Sep 1, 2009I want to update my database( using a file from my root folder )every hour even when my web page /form is not openedin the browser..
View 2 RepliesI want to update my database( using a file from my root folder )every hour even when my web page /form is not openedin the browser..
View 2 Repliesi have created a project with 20 forms in vb.net 2008
View 2 RepliesI have an application that performs database queries using "Imports System.Data.SqlClient". I want to display an animated GIF on the taskbar which spins while the query is running. However, during a query the application simply hangs and does not update the GUI until the query has finished, at which point the spinning icon is set to invisible anyway. Is there any way to force the GUI to update while the query runs?
View 2 RepliesI'm currently trying to teach myself VB. I'm trying to automate a web-browser to go to a certain website. I wish to place the script on my desktop. But I keep getting syntax error 800A03EA. Here's my code.
'webbrowser.vbs'
WScript.CreateObject(' "InternetExplorer.Application" "IE_" ' )
ie.Visible = true
ie.navigate("www.google.com")
Could you give me an example of how to make a website?Remember, I was trying to make my business in the future.I will accept the codes if you can give me an example of how to make a website.
View 4 RepliesI'm trying to load a specific game (Kingdoms at war, www.kingdomsatwar.com) into a web browser on my visual basic 2010 project (i dont mind if its a webbrowser, AxWebbrowser or Axshockwaveflash, it just needs to be in my form).
To answer this question you may need to go the extra mile and join the game to try what im asking Ok so details:
I have a few issues when trying this, I create a form with a standard web browser and change the url to www.kingdomsatwar.com , when it runs it will go to the website however when clicking the login button it will go to a black screen with a bit of writing cut off in the top left corner (which i found out was "Page Loaded"), so thats the first issue.
However this can be temporarily fixed by right clicking and going to "forward" or "play". After this you will go to a login screen where you can enter your details, however after this it will load the game with a "cannot connect security" (which may be a game issue, however i need to know how to make the vbwebbrowser work like internet explorer, which will load it).
This game runs in flash, so i need to know if there is any special way to make the vbwebbrowser work properly like the internet explorer version works with the game.
I tried running the game's url itself (using mochigames), which is http:games.mochiad.../play.swf?q=243 , (i have tried this in the vbwebrowser, axwebbrowser and axshockaveflash) and they all won't load the game (they will load the game when not logged in but wont load an account)
I know this is a very specific question and can probably not be solved but if anyone has some spare time, could they create an account and give it a shot. All i need is a form which will load a www.kingdomsatwar.com account on it.
I am not sure if it proper forum for this question. anyone explain how to run a easy VB.net program in a website.I know there are other programming tools for this purpose but I'd like to use VB.net.
View 3 RepliesI need my problem to check if internet explorer 8 is running a website.I'll be more specific. When internet explorer 8 navigates to [URL], an event should be triggered, like pressing a button.The "If" statement is ofcorse needed.
View 4 Replieshow to put my Vb.NEt program in a website so people can use it from the website and they don't have to download it
View 1 RepliesWell i hate Web browser, sometimes I use this code to check if the document completed and it stops there for ever.
PHP
While MyBrowser.ReadyState <> WebBrowserReadyState.Complete Application.DoEvents() End While
Sometimes it stops on that code and I don't know why!!!So is there any other method to read a text from a website, or if the code i am using is wrong, whats the right one ? I use this code to check if the document completed loading.
I am building an desktop app. In which I have to use a web browser. (with url: facebook.com) but I have a problem. This website runs in regular browser smoothly but in application it halts the computer and on and off I think it is due to heavy use of memory.
View 7 RepliesI am trying to create a small application that will tell me if a website is up and running. This application will monitor if the site goes down. The problem is that there are several websites sharing the same IP address, and I cannot use ping to monitor it for the same reason. I do not know what type of code can I use to query the availability of the website. I read about webRequest and webResponse but I do not know how to get the response information that will tell me if the site is up or down. The code should be able to tell if a site like "mundo.reporters.com is accessible. That is the only thing.information to point to a potential solution will be more than welcomed.
The server is hosting 8 websites that share the same ip address, and I need to constantly monitor if they are functional.
I just want to write code inside my assembly to detect whether it is running on a "desktop machine", or inside the context of an ASP.NET application. This is crucial guys, (licensing purposes), and I don't want to get fired because I did a mistake.So, please, be direct and if you please give me some code snippet.
EDIT v 2.0: What about using in the assembly:
[assembly: "AspNetHostingPermission (SecurityAction.RequestRefuge, Unrestricted=true)]"
to prevent the execution on the web?
Well I know this could work for a browser with no tabs:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
End Sub
But the thing is, I do have a tabbed browser. I tried this code, But it didn't work.
[Code]....
I would like to try out a demo (more like a proof of concept), which involves running a .Net language in a browser.
I am talking about a kind of IDE that allows you to do the following:
Step through code (i.e. debug) and inspect variables Run the application
All through a web browser interface
Is there any software out there that already does that?
how to get started in building such a proof of concept demo - i.e. what are the main steps required to put a "Hello world" example together?
I have VSTO Excel addins (.net 3.5) and need to know when the Excel wookbook is being opened in a Browser rather than the Excel client. I haven't figured out a way to do this nor found a solution online and I suspect I am just not using the right seach words. Does anyone know how to do this?
View 2 RepliesI have a hidden web browser, two text boxes, and a button. I can add the login information to the forms on the web page, but how do I login? Heres my code so far
[Code]....
Basically I want to grab the ID of the sign in button (the name/id is SI) and click it. I've tried RaiseEvent(Click) and Click() but neither work...I'm not sure about the syntax and how it works in general....I don't even know if I'm doing it right.
So I've made a program in VB 2010, and it has three comboboxes and a button to view. Now lets say my first combobox is "Type of website". The options are "search engines", "social networking" and "news". The second combobox values would depend on what the first combobox value is selected, like if it was "news" the options would be "technology", "uk", "us", and "world".
The third combobox would then use the values in the first and second comboboxes to give even more values, for example if it was "news" and "technology" the values would be "engadget" etc. Then the view button would open the selected website in an internet browser. How would I code this?
The VB.Net desktop app uses the IE browser control to navigate the web. When a normal page loads the document_complete event fires and I can read the resulting page and go from there. The issue I am having is that the page I am driving is written with AJAX, so the document complete event never fires. Furthermore, when you view the source of the page after it loaded a new portion via AJAX, it hasn't change.
View 7 Replieshow do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it.
View 3 Replies<?php echo ?Hello !?; ?> I'm new to vb, but i've experience in php. My website will have snippet of code. I'm currently learning vb.net. For my website project I want to create application where program will look for my website and find info and display in textbox or whatsoever. here are the step how i would like to make my app
1. Check if internet is avilable
2. Go to my website (value is fixed, user can't change it)
3. program will get all the snippet of code.
[Code]...
There's an website which lists the manufacturer's of the items they deal with. Upon clicking on the manufacturer link we get the relevant list of items. There are around 60 manuf. and each manuf makes around 500 items.
The complete list of items of an particluar manufacturer is split in pages and displayed on the web page, one page at a time and also links to the next pages.
There are around 4 to 5 items newly added weekly for each manufacturer.
So what i wanted was , first the complete data must be stored in the database and displayed to the user , and later only the updates should be displayed to the user.
For this, what approch i thought is, opening each and every page of the website and then extracting the data form the site and storing in the database. Then again whenever user wants an update , again extacting the complete data from the website and comparing it with the old data and displaying the update.
I'm making a web browser and want the url bar to update when you click a link, like it does in firefox or IE.
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
url.Text = WebBrowser1.Url
End Sub
When I try to compile this I get the error
Value of type 'System.Uri' cannot be converted to 'String'.
Anyone know how I can convert this so that it works?
I am making a web browser in Visual Basic 2008, and so far it's going pretty good... exept for one main thing:
View 2 RepliesI am fresher in vb.net but I have experience in vb 6.0. But I want to connect database in sql server through sql connection. In that case how to create connection with window or sqlserver authintication mode and how to add or update new record in data base in batch transaction. Please help me with sample code.
So that I can understand eassily.
I have created a porcess that manipulates large volumes of text. I have created a form that has a button that manually starts the process. I have tried to give some feedback that the process is actually progressing through the data by changing the value of text fields on the form. However the text fields do not update on the form until after the process is complete. I had this working in another program but cannot figure out what I am doing different.I use the following code to change the text.[code]
View 2 RepliesEverything in my program is working correctly so far. The only problem I have is trying to update my totals for the program. I need to show total sales, total pay, and total commission for the program by using the file and then summary key. How the program works is that you get a base pay of $250 and you get a commission rate of .15 if you reach 1000 sales. I have done running totals before but not for one with multiple functions.
Option Strict On
Public Class CommissionForm
Const QuotaInteger As Integer = 1000
Const BASEPAYInteger As Integer = 250
Const COMMISSIONRATEDecimal As Decimal = 0.15D
[Code] ......
I have a self made program (visual Studio 2010 VB) that is running OK but.when i write data to a listbox the output in the listbox appears after the code is finischeded running.
View 5 RepliesI've been using Classic ASP for years and just switching over to .net. So far, I'm not having much fun, but I'm trying and I'm not going to quit. One of the small pieces I am struggling with is running a query then, updating the record.
Set objRS = Server.CreateObject ("ADODB.RecordSet")
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=G:InetpubwwwrootTestPageTheDataTestData.mdb;" & _
[code]....
update statement, i am trying to update a row within a access 2007 database here is my code.
[Code]...