Program That Load Some Data From Internet?

May 17, 2012

I have a little problem whit passing delegates. I have a program that load some data from internet. When the loading starts i create new thread for this. What I want is, when the loading ends I want to call one procedure in my form. So when I initializing class I want to pass that procedure. But I have problems with implementation. This is the pseudo code off my class and how it should look like.

Public Class GetArtistInfo
Public Delegate Sub RefreshInfoSub()
Public RefreshSub As RefreshInfoSub
Public Sub New(ByVal RefreshInfo As RefreshInfoSub)
RefreshSub = Address Of RefreshInfo
End Sub

[Code]...

View 5 Replies


ADVERTISEMENT

VS 2008 Program Transferring Data To Another Instance Of Itself Over The Internet

Apr 16, 2009

I'm developing a management program for a driving school, where information about all students is stored and accessed.

The thing is, this school has got two branches, so I need some way for those two computers to share files with each other in order to keep a common database. I would like to use the same program in both computers, to keep simplycity to the maximum.

I know it's using TCP, but I haven't got the lesser clue of how i can achieve that. I've looked around, but I haven't found much of how to acchieve something like that. The files both computers would be sharing are text files.

About the IPs, I'm thinking of using NoIP or one of those to always know both IPs.

View 1 Replies

Load Data After Selection In Dropdown In Program?

Mar 12, 2012

I am reading data from a mysql database table.I have populated a dropdown with the relevant slections, i want the rest of the form to load data once i select the plate number .[code]...

View 1 Replies

Calculate A Download And Up Load Speed For Internet?

Jan 4, 2012

i have a program that calculate a download and up load speed for internet , and i'm doing this by the following for download

1. but the whole code in a timer with interval 1 second

2. calculate the total byte recieved and store it in a variable (s)

3. calculate the new value of total byte received and store it in (s1)

4. s2=s1-s

5. s2 represent the difference in an interval within 1 second is that a download speed ?

i test it with downloading some files from internet using mozilla firefox the values is so close to each other but is that the right way to measure the speed ???

View 6 Replies

Dynamically Load Content Into Internet Explorer?

Sep 20, 2008

I have a dynamically created webpage(in a string) and I save this locally to a file subsequently load it up to view it in IE, is there a way to get Internet Explorer to view the page from memory without having to save it first.

View 3 Replies

Load Listbox With Text Files From A Internet Folder?

Apr 25, 2009

I uploaded a folder with text files to the internet. i want to be able to load my app listbox with those text files.

View 1 Replies

How To Click A Button On Internet Or Another Program Via A Program

Jun 8, 2011

I was wondering how to click a button on the internet or another program via a program in visual basic 2010.An example would be: Have a program being able to click the "Search" button in google or the "I'm feeling lucky" button??

View 3 Replies

Make A Program To Tell If Have Internet?

Aug 30, 2009

I have a button and if the user is connected to the internet and clicks the button I want form3 to show up, but if there not then I want form2 to show up for them instead of form3 Is there a code for this?

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

What should I put here?

End Sub

View 4 Replies

Sell Program On The Internet?

Jul 4, 2010

I have a program I made from VB. I want to sell it on my website. What is required of the person selling as far as legally selling it. Or can anyone publish a program to a site and sell it? Do I have to use my business name for tax purposes or can i just document it all and put it under a personal name then turn it into the irs.

View 4 Replies

Unable To Load Data To Gridview For The First Load?

Feb 19, 2012

Whenever i start my form (window application) and link from one form to another, my data doesn't load but when i close the respective form and open it again , it appear. Can i know where is my problem ? Thx in advance. Here's the code snippet :

Private Sub AccessControl_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim sqlstring As String = "select * from depttable"
Dim connection As New SqlConnection(db.cs)
Dim dataadapter As New SqlDataAdapter(sqlstring, connection)

[code]....

View 2 Replies

Add An Internet Connectivity Status To Program

Feb 1, 2009

"Hey ProgrammingKing, How do I add a feature to my program that shows my Internet Connectivity Status that changes when the Status changes?"

Well, It's really simple, All you do is add 1 timer and 1 label.

Heres the code :

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If My.Computer.Network.IsAvailable Then

[Code].....

View 9 Replies

Make Internet Chat Program?

Jan 13, 2011

I wanna make a chat program over the internet NOT OVER LAN i found alot of examples but it's all about LAN networks chatting but i want a chat program for the internet chat

View 3 Replies

Save The Program So Can Upload It On Internet?

Sep 20, 2011

I just made a new program, but i want to put in on the internet. Now is the problem : how do i save it so i get the program and a shortcut.

[Code]...

View 2 Replies

Make Program Like Internet Download Manager?

Oct 16, 2010

Details:

1- Show Soruce IP.

2- Show Destination IP.

3- Show Size Of Data Downloading

4- Show Type Of Data Downloading(.exe,pdf).

3- Make Button(Start,Resume,Stop).

View 1 Replies

Create A Program That Will Disconnect/connect From The Internet?

Mar 18, 2010

I'm trying to create a program that will disconnect/connect you from the internet.Example:When I press F10, I get disconnected from the internet. When I press F11 It connects me to the internet.

View 4 Replies

How To Give My Program To A Friend - By Email Or Via The Internet

Sep 1, 2010

First of all let me say that while I was knowledgeable enough to create my program using VB-10 express I am by no means fluent in 'programming' speak .. so if you choose to help me please don't use technical jargon.. just explain as if you are talking to a 6 year old ..

Anyways I would like to give my program to some friends either by Email or via the internet (I have a website [url] (it is a wordpress blog) but I have no clue as to how I would get it onto my site.

I have attempted to Email the files .. first I had to change the file extension because Email would not send an .EXE file.. Then I tried to ZIP the files and send them via WINZIP but my recipients kept getting 'unable to open file' messages.

View 7 Replies

Make Internet Browser Show Up In Program?

Oct 28, 2009

How can I make it so when you press a button, it opens a webpage?

Also, if I wanted to have a website for helps or hints, where could I put it? Like, a site for others to read info on my game which I could make, say.

View 5 Replies

Making A Program That Gets Files And Folders Off Internet

Apr 30, 2010

I am making a program that gets files and folders off the internet.I want to make a window simular to a windows explorer window only these would get the files online.My problem is href tags for each one of the nodes and then get the files into the listview control. [code] I can get one node but after that I can't figure out how to get the other nodes to work.

View 1 Replies

Program To Disconnect User From There Internet That They Are Currently Connected To?

Aug 5, 2009

Is there anyway that i can get a program to disconnect the user from there internet that they are currently connected to?

View 21 Replies

VS 2010 : Install A Program On Another Computer Without Internet?

Dec 29, 2010

had 3 courses in computer science 10 years ago and decided to go into economics. After a 6 year and continuing career in economics, I decided to dabble in code to assist my economic career. In this pursuit, I have developed some neat things, but I have a simple problem. I code an application, hit build, hit publish, receive a setup and manifest, then put it on my usb drive. Plug the usb drive into another computer. Drag the setup and manifest to the hard drive, hit the button, a graphic regarding Launching Application comes up, then immediately a window comes up stating:

Cannot Start Application.Cannot download the application. The application is missing required files. Contact application vendor for assistance.

The errors stem from the manifest file. It says downloading the file (file path) Hello.exe.manifest did not succeed. It then follows with 3 lines of filepaths for the Hello.exe.manifest.

I am running VB 2010 express. I made a slot machine game for my mother for her birthday one Computer A. I moved the published files to Computer B as described above to test before giving to my mother. The game isn't too important at this point because I tried to test whether the game itself was the problem or if it was my error in lack of knowledge of how to deploy. As such, I created a program called Hello. In Hello, there is simply a form1 and a button1. When clicked, button1 displays a messagebox with some text. Not a rocket science program.

My intention is simply this:Allow the Hello program to be put on another computer via a USB drive and then installed.The two computers are not networked and let's assume the second computer cannot connect to the internet. When I go to the wizard, I select the location I want to publish to. In this situation, my desktop.Next, I select CD-ROM/DVD-ROM instead of UNC path or website. I don't know what UNC path is. I presume CD-ROM/DVD-ROM would be similar to USB drive in that it is a removal data storage item.I chose that the application will NOT check for updates.Finally, I receive this:The application will be published to:

file:///C:/Users/ComputerA/Desktop/

Where I find the files, put them on the USB drive and try to install on Computer B.Also, for more information, I can use those files on the originating computer and they do SUCCESSFULLY install and I can use the application. I have not figured out why it will not install on another computer.

View 4 Replies

VS 2010 Update Internet Explorer In Program?

Nov 7, 2011

I have a small webbrowser but when I try to navigate to a certain webpages the webpage show a warning to force me to upgrade my webbrowser also internet explorer:"Upgrade your browser for a better Myspace experience.We recommend one of the following browsers to provide the best and most reliable experience on Myspace. Some features, like Profile 2.0 and MyspaceIM for Web, may not have full functionality in other browsers.select and install one of the browsers below."I already have internet explorer 9 installed in my computer also the webpage show the message:"Microsoft Internet Explorer Available for Windows Already using Internet Explorer 9? Please visit �Settings�, and select �f12 Developer Tools�. In this window, make sure "Browser Mode" is set to �Internet Explorer 9� and "Document Mode" is set to �Internet Explorer 9 standards�"

View 2 Replies

Program Saving User Selected Image And Reloading It Upon Program Load

Jul 4, 2012

I have my rpg, still, first time working on it n ages, and I want each user to be able to set their own personalized picture background for the game...

each character in the game has its own dedicated folder for each file that the character has relating to it...

what I want to know how to do, is to have my game copy the loaded/chosen background image to their respective characters data folder, and have the game reload/reset the games default background image, to the one piced by he player...I am having a hard time figuring out how to do this however...I've tried a lot of different things...and nothing is working yet...

here is my example code right now:

[Code].....

View 3 Replies

Program Files Are All Mixed Up - In Class Saved Program In With Load Of Other Test Programs For The Same Assignment

Jan 8, 2010

In class i saved my program in with load of other test programs for the same assignment and got everything mixed up i finally figured out what was what and loaded the program in Visual Basic. Now my program doesn't recognize one of my forms when i try to access the design view of it. I hit run for the hell of it and the program runs with errors of course but the form1 "the missing one" shows up with all the buttons etc and i can use it.

Heres the link to the files. [URL]

View 3 Replies

Download Some File From Internet But While It Downloading The Program Got Struck

May 19, 2011

i tried to download some file from internet but while it downloading, my program just got stucked..its seems downloading the file while the program got stucked.. after download file finished, the program is running as usually..how can i make the program unstucked while downloading file? how can i use ProgressBar1 on downloading file?

View 3 Replies

Let The Program To Download The Files From The Internet After It Is Installed On A Computer?

Jun 2, 2012

i have a audio program that will play some mp3 files from a folder. but the audio files together take up about 1 gb. it is possible to let my program download the files from the internet after it is installed on a computer. to a specific folder..?

View 3 Replies

Locking - Program Locks Up With Internet Explorer Opened

Jul 7, 2009

I'm using Visual Studio 2008 and developing a VB.NET application. I'm having strange lockup problems with my program, but only when Internet explorer 8 is opened.

When I cover my form with another window and then uncover it, I find that it has locked up. My program has no references to IE and the only thing it even has to do with IE is using Process.Start with a web address.

My program works fine and exactly as it should, but only when IE is not opened.

Does anyone know why a program would lock up only while IE is running?

Edit: I've done some digging and I've found the offending thread in my program.
I don't know what starts this thread or what it does, but when I kill it, my program no longer freezes. The thread is one of the CreateApplicationContext threads, here is the last few items in the stack trace of that thread.

6 ntkrnlpa.exe+0x897bc

7 ntdll.dll!KiFastSystemCallRet

8 mscorwrks.dll!LogHelp_TerminateOnAssert+0x61

9 mscorwrks.dll!DllUnregisterServerInternal+0x10523

10 mscorwrks.dll!DllUnregisterServerInternal+0x10542

11 mscorwrks.dll!StrongNameErrorInfo+0x34387

12 mscorwrks.dll!StrongNameErrorInfo+0x34815

13 mscorwrks.dll!CreateApplicationContext+0xbc35

14 KERNEL32.dll!GetModuleHandleA+0xdf

Process explorer says my program is using no CPU nor throwing any exceptions while it is hung.

View 1 Replies

Make A Program(vb2008) To Confirm It's Connected Internet Or Not?

Sep 17, 2010

I want to write a program that if ping www.microsoft.com is success,than caption title it's "ok,connected Internet",if ping it's failed,the program "caption" title is "sorry,not connected",but I don't know how to write those code

View 10 Replies

Turning Off Option Strict - Whether Our Program Is Running On A LAN Or The Internet

Aug 3, 2010

Late binding is not allowed and that's how we want it. Depending on whether our program is running on a LAN or the Internet, we need to dim an object as one of two types. We use an if...then statement to ascertain whether or not we are running on a LAN or the Internet.

When we declare our object inside the if...then statement, we have declared in the wrong scope and cannot use the object. When we declare it as an 'Object' type and use DirectCast inside an if...then statement, we receive a late binding error. How can we get around this problem without turning off Option Strict?

View 2 Replies

Write Code Control Internet Shop Using Program?

Mar 3, 2010

I want some of you tell me how to write code control internet shop using vb.net

View 1 Replies

Grabbing Data From The Internet?

Jun 9, 2010

At the moment I'm developing an application (Similar to Swiftkit.net's) that will aid users when playing Runescape.My next major project on the program is to Make a highscores look-up. (If you dont know about the Runescape highscores, HERE)Now, i want to grab data from that webpage, and add it to a form on my application. The form in particular, will display a specified persons levels on that form under labels.First of all, i have NO IDEA on grabbing stuff from the web in VB. Second, i have searched far and wide for something similar, but everyone that has something similar is not very willing to part with their hard earned code.

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved