VS 2008 Retrieve Value From Online
Oct 11, 2009
I want it so something.txt is on my website, and has various lines like something=1 or 0. When the .exe file starts, it checks that. I specify what value to check (something1, something4, etc.) and if it = 0, the form closes. Basically, so i can disable the .exe from being used using this online file.
View 12 Replies
ADVERTISEMENT
Jul 28, 2009
I have working on 1 program that is for Mu Online game. Its Mu Launcher program,but i'm having trouble with it. I can't make right "Server Status" to show Online or Offline I can't make autoupdater people to have using this for theyr server.
I make one file launcher.txt to get info the program but i need a lil help to finish thise program. The program is not for 1 server only its freewere . So here is the problem with the Server Status and AutoUpdater to get info from what server..
View 4 Replies
Nov 5, 2009
VS 2008 Online Registration in visual basic 2008
View 10 Replies
Jul 19, 2010
Currently I have this "commands" to access to a database in my computer:
Public conn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source= " & System.AppDomain.CurrentDomain.BaseDirectory & "bd2.mdb;Persist Security Info=False;")
Dim strSQL As String = SQLcommand
Public cmd As New OleDbCommand(strSQL, conn)
My question is: Is there a way to connect to that database online?
Example: bd2.mdb is on [URL]
View 2 Replies
Feb 14, 2009
Is there a way to check a url and see if it gives a page cannot be displayed if the webserver is offline? I just want to check to see if the site is up or not?
Example [URL]
View 1 Replies
Jan 22, 2009
Can this be done? (It didnt want to connect...) so for example:
[Code]...
if not... what can i do to have a database that can be shared over the net? (My site is unix php based)
View 10 Replies
Nov 15, 2010
I want to develop a chat application with a server/client model, opening TCP or UDP sockets in VISUAL BASIC 2008. Is there a working example I can download, or some code to help me with this project? [code]Now, instead of 127.0.0.1 I should put some variable or something that keeps the IP address of the target machine?
View 1 Replies
May 22, 2009
How would i open a text file which is hosted online, even with the url ending in .txt? When i try to open this in streamreader i get uri location is not supported.
View 2 Replies
Feb 20, 2010
This is how I handle online activation for my application the problem is that this is very poor security because i display my Username and Password. I was thinking of using Myslq but i also have to input the Username and the password into the application. What other ways do big companies like Kaspersky handle online activation.
My code
Try
My.Computer.Network.DownloadFile("FTP SITE" + textbox1.Text + ".txt", "C:" + textbox1.Text + ".txt", "USER", "PASS")
Dim auth As String = My.Computer.FileSystem.ReadAllText("C:" + textbox1.Text + ".txt")
If auth = Textbox2.Text Then
Kill("C:" + textbox1.Text + ".txt")
[Code] .....
View 9 Replies
Jul 17, 2011
I was looking at this example: Basic TCP Communication I was really amazed by this piece of code however it only works in WLAN. I was thinking if its possible to make the same program over internet not the same router but which can be connected to two different countries or any other place except the same network?
Actually I have created a very simple game called whack a mole. In which buttons appear and the user has to click it before it disappears. however I am trying to make it multiplayer over the internet even if i have to create a server from my PC. I dont know if its even possible. The other player should also get the same screen as the user who hosted the game just like real time.
View 4 Replies
Dec 22, 2011
I've been working on a tcp online chat. I heard that you need to configure your router to allow other pc to connect or something?
Server :
Imports System.Net, System.Net.Sockets
Public Class frmServer
Dim serverSocket As Socket
Dim clientSocket As Socket
[Code] .....
View 8 Replies
Oct 27, 2010
I am trying to read a xml file that is posted online through my windows app. What I am trying to do is get a value of one of the elements and then set that value to a string in my windows app.
View 2 Replies
Aug 28, 2010
What is the best way to retrieve the date and time from an online server instead of retrieving from the user PC? Some sample codes I found online can only request to a server which is window based which I can't find any free server to get. I thought of retrieving the value from a website like [URL] but I'm not sure is this feasible or not as their website content or html tag might change.
View 3 Replies
Jan 22, 2010
ok so i have two "programs" one is a server and the other is a client (a little live chat). i dont want to keep my computer on for it to run the server so i wanted to somehow run it on my online server. is this possible?
View 3 Replies
Dec 4, 2011
I have a file.txt on my website,How do i write to this file thats on my website ?
Like write a line at the end of the file without overwriting any lines thats already there.
View 1 Replies
Mar 24, 2010
I got an online txt file(url..)
I want my vb 2008 program to read all text from [url]... and put all the text there into a textbox in a vb2008 form, what code is needed to do this?
View 6 Replies
Feb 24, 2010
im trying to make a Keybinder for GTA SanAndreas Multyplayer Online(Sa-mp) and i need help with the Hotkeys... Why this doesn't work? HTML
[Code]...
View 4 Replies
Jan 14, 2010
I made my own advanced networking system which uses System.IO.Streamwriter and Streamreader but offline. I would like to let this use a directory online, I have a webhost available for that, now how do I say to the program it has to look at a specific map with all the users information?
I now have already this into my login form:
Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click
On Error GoTo A
[CODE]...
Just curious if I can let my network grow out international instead of pc. Also I have a second question. I made a create account page which is supposted to make a text file with the txtUserName and txtPassword inputs, but it does create the file, but doesnt write any lines into it.
Code here:
Private Sub btnCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreate.Click
Dim UserGenerator As System.IO.StreamWriter
[CODE]...
View 4 Replies
Jan 23, 2012
'File' is ambiguous, imported from the namespaces or types 'System.IO, WindowsApplication1.Online.Suite'. whereas Online.Suite is a web reference
View 5 Replies
Dec 15, 2009
I noticed that some of the links in the online help don't work in Vb2008 express. Does anyone else have this same problem?
View 11 Replies
Feb 12, 2011
We are currently creating a library system which includes a forgot password module. but we are having difficulties in retrieving the passwords from our database.[code]...
View 1 Replies
Apr 6, 2011
How can I retrieve the document from a RTB?
View 1 Replies
Mar 31, 2009
I'm trying to make a form that will have 1 textbox ( ID#)and 2 Labels (First Name)(Last Name)(And other stuff)The form will get the data from an access document.
What I want to accomplish is that when i enter the id# in the textbox the firstname and lastname will appear in their labels.i want them to appear automatically when i click on the next textbox, not by button.
View 5 Replies
Sep 26, 2010
I am using VBNET2008 The company BA asked me to develop Window application to retrieve just all the file name and not the Contents from the SALESDepart folder F:SalesDept and stored the retrieve just file name into a new TEXT File and save it in Folder F:ViewFileName.I have not written this type of coding before can you please share with me sample coding so that I can learn new logically technology.
View 1 Replies
May 31, 2011
I used to be a web developer in vb.net 2008 , now i get involved in some projects with application development. Which is the right way i mean the proffesional way to connect to database , syntax a query and bind the result to datagrid?I see 2 ways , the first is using the wizard i mean drag to the form the databinder from the toolbox and follow the wizard step by step , the second way is the same way i used in web development i get the connection string from app.config , syntax a query inside my code and follow manually steps to retrive the data from a database.which way to use for a large application projects?
View 5 Replies
Oct 13, 2009
I am not new to vb but still an amateur, however, I am still learning linking vb apps to mysql, here is where my troubles begin. I am stuck and been trying for hours on end to get past this problem. It's starting to hurt my head! I am sure others have similar problems.I posted my imports and the module I put my public sub in. The sub is called as a form loads.The Error is:
An unhandled exception of type 'MySql.Data.Types.MySqlConversionException' occurred in MySql.Data.dll
Additional information: Unable to convert MySQL date/time value to System.DateTime
[code].....
View 5 Replies
Feb 15, 2012
is it possible to get the details of an mp3 file like the Contributing Artist, Artist, Album, Year etc. and display it into a form? I am using the IO namespace and I have almost tried all the methods and properties under my variable.
View 3 Replies
Aug 17, 2009
I wanted to create an event that when I hit a button, it will check if the webbrowser has reached THISPAGE.html.
If webbrower1.Url.toString = "thispage.html" then 'this line may have been webbrowser.Url.toString("thispage.html") cant remember I tried both ways neither worked.
do something
End If
But I get a null exception error.
My other question is , is it possible to pull data or text from a website like through the webbrowser control thing and place it inside a textbox or label or something like that?
View 2 Replies
Apr 29, 2010
I have the following code to retrieve a string value from the registry.
Dim retval As String = String.Empty
Try
objManagementBaseObject = objManagementClass.GetMethodParameters("GetStringValue")
[Code]...
The problem is that if sValue doesn't exist, it generates a ManagementException. I want those errors ignored because I don't care if the value doesn't exist, it's entirely possible and acceptable. How can I "accept" those errors but display all others?
View 1 Replies
Jul 16, 2009
1, How to retrieve all characters in listbox?
2, How to know which lines (multiple and random lines) are selected by mouse?
3, How to scroll to bottom automatically when more lines added?
View 6 Replies