Data In A VBasic Program As Was Possible In GwBasic Eg?

Sep 8, 2009

I've programmed in gwBasic for years, but it won't run in a 64bit OS, so I've had to learn vBasic. But I haven't learned how to have simple data in the program. Eg., in gwBasic there'd be a line like this:

140 Data 123, 64, 2382, 40, ..(etc) or it might be strings, or both.

And of course, you'd use the Read stmt to read it, and Restore to 'refresh' the data list.

I can't find equivalent cmds in vBasic, tho it seems most of the old stmts do have counterparts in vBasic.

View 22 Replies


ADVERTISEMENT

Convert Codes Writen For GWBasic Into 2005?

Jul 30, 2009

I want to use a program codes written for GWBasic in VB 2005. how to do it?

View 9 Replies

Insert A Row Onto DataBase Using VBasic?

Mar 5, 2010

I want to insert a row into a 10 row database. with 5 fields: 1) text 2) text 3) text 4) text 5) decimal

And

I want to delete a row from my 10 row database.

I want to insert and delete records If necessary...

View 7 Replies

Convert A Database Field Text Into A VBasic String?

Oct 8, 2009

I want to convert a database field that is text into a VBasic String...

View 3 Replies

Automatically Accept RUN From Vbasic Code Without Pressing By Mouse / Keyboard?

Sep 3, 2010

I created a menu in sharpdevelop 3.20 and by pressing button is started bat file located on mapped network drive

Sub Button1Click(sender As Object, e As EventArgs)
Process.Start("Q:INTRALINK_config_prod.bat")' TODO: Implement Button1Click' TODO: Implement Button1Click
End Sub

but when I press on that button security warning information appears - is there any way to automatically accept RUN from Vbasic code without pressing by mouse / keyboard ?

View 2 Replies

Program First Open And Saving Data When Program Is Closed?

Nov 19, 2011

I am currently working on a menu driven console program that so far has 4 menu options of checking internet connection, decrypting/encrypting a message, calculator, and a logout, and i am wondering about a few current things.

1. How do i make it to where, when a program starts for the first time, it asks for a user to enter in his data, like signing up for a site for the first time?

2. How do i make it to where the program will save the data entered, and does not delete when the user closed the program.

3. How can i make it to where when a user signs in, his/her data is read correctly? Like an array search for a multidimensional array.For my "New user" sign data i created a function...

Function createNewUser() As String()
Dim name As String
Dim userName As String[code]...

View 2 Replies

VB 2008 Check For Data And Make The Program Stay There Until The Data Is Input?

Aug 3, 2010

I have a program for school project that has input fields for Name, Address, City, State and Zip. I need to error check so that the fields are not empty.I have used If statements that check to see if the fields are empty and shows a message box if they are but if I leave the whole form empty and click the button that activates it, all the if statements go- one by one instead of pausing for the user to input the required data.How do I check for data and make the program stay there until the data is input? I have tried TRY/CATCH but it won't catch this type of error.

this is the

'This program computes customer's bills at the pizza shop for all combinations of
'crusts, toppings, sizes and discounts
Option Strict On
Public Class PizzaForm

[code].....

View 10 Replies

Program That Takes Data From A Survey In The Program?

Jul 7, 2010

I am working on a program that takes data from a survey in the program and needs to compile it into a PDF file. Optimally it would just be a snapshot of the filled out survey. I tried using the PrintForm component in the PowerPacks section, but I need a PDF not an EPS.

View 1 Replies

Export Data From Access Table Data To Excel Using Program?

Sep 30, 2010

I've tried exporting data from an Access 2003 database to Excel in VB.NET using the following [code]...

View 4 Replies

Placing Data Into A Program?

Dec 1, 2010

Is it possible to place data from a vb.net windows form program to a program that we can't edit. What i am trying to accomplish, is setup either an automation or select several drop downs and press save and it will save everything into the program that we don't have control over.I can find the window handle and the class for each window with spy +++ would this help me so i can atleast put text into a box? The program i am trying to place data into doesn't write to any type of database it only writes to an xml file. From there we pull data from the xml file to feed our vb.net program Where is the best place for me to start on this?

View 7 Replies

Program ADO Disappearing Data

Apr 12, 2012

I have a bound datagridview and a dataset with tables.

I have two sets of comboboxes bound to the same field "Restaurant" in the tables (mirroring each other).

In the "NewEmployeeRestaurant" combobox I change the value and it reflects in the datagridview. I can shoot around clicking all over the datagridview on other employees, but when I return to the employee I changed, the value remains what I changed it to. All is good in the world.

However, when I go to the "EmployeeRestaurant" combobox with the same settings, I change the value and it is reflected in the datagridview. So far so good. But when I go to another employee then click back on that employee I changed, the datagridview still shows the new value but the combobox is empty! NOT COOL!

View 1 Replies

Program Keep Caching Data

Jan 8, 2010

I'm pulling data from a Lotus Notes database, this works fine but when I change the data and pull it again, it doesn't take the changes, a restart solves this so it must be getting cached somewhere, how do I prevent it?[code]...

View 7 Replies

Program That Uses XML To Store Data ?

May 21, 2010

I'm making a program that uses XML to store data and I'm having problems retrieving the data. Here's an example of how I'm storing data:

<?xml version="1.0" encoding="utf-8"?>
<main>
<category>

[Code].....

View 4 Replies

Putting Data In Other Program?

Jul 31, 2010

I have attached a picture of yahoo Messenger with this Thread and highlighted the 2 text fields and a button with red line. The problem is that I have seen a small program in the computer of my friend. When He double clicked on that program, it (program) automatically puts the User ID and Password in Yahoo Messenger relevant fields and automatically presses the Login Button. I have tried much to get the source code of that program, but cant.

View 6 Replies

Read Data From Cmd Program?

Oct 11, 2009

I am running hlds server. I want to make server status page on my website and I thought that it could be easiest way to read data from "console" with some cool program.

Serverwindow looks like this: [URL]

how to read all that text from servers console and save it to .txt file so i can include and parse that .txt with php to my website?

View 5 Replies

Retrieve Data By Program?

Mar 11, 2010

I have managed to connect vb.net to Microsoft database access but now i am struggling with the code to authentication log in. when i log in to the form i want it to display the user name in the label in vb.net form.

View 1 Replies

Save Data To Sql Using Program?

Oct 15, 2011

I'm trying to save data from textboxes in visual studio using vb.net to sql server 2008. the coonectiong is working perfectly but is not displaying the data output in data grid. This is the part of the code.[code]...

View 10 Replies

Set Data To DataGridView In Program?

Apr 29, 2012

I have a DataGridView on windows Form, just draged and droped from tools.Now I want to set data to this gridview using DataSet or DataTable. How can set it by coding.

View 1 Replies

Sorting Data For Use Within Net Program?

Mar 25, 2011

I would like to utilize some excel addin data (about 5 worksheets of 1000 rows) in a .net program. Is there a way of storing that data within the .net program or some other means so that it can be accessed by the program.

View 2 Replies

Store Data In Program?

Jul 18, 2010

I m trying to create a windows app that will store employee working hours of everyday. Is there any way to store a week much data in some sort of file or somewhere else beside database ? Or I have to use some sort dbms.

View 6 Replies

Automatically Update UI When Data Changes By Other Program?

Jul 15, 2011

Is there any way to automatically update the data viewing on a datagridview when data is changed in the database by some other processes/Program?

View 4 Replies

Data Is Discarded When Program Runs

Apr 21, 2010

1. When the program is running and if i save the data , it gets saved in the db. But when i close the program and again run it the data gets discarded

2. Say first i have saved the info about person 'A', and then When i Save then info of Person 'B', instead of the the details of B the details of A is getting duplicated[code]...

View 2 Replies

Encrypt Database And Using Data In Program

Mar 29, 2010

My database is going to contain personal data. (such as contact details, names, password, etc...) This is what I need:

1) I need to encrypt the database

2) However, i will also need to be able to use it in my vb.net program.

To expand on my second point, i will need to be able to display the data (non-encrypted, obviously), and i will need to be able to compare user inputted data to the database data (like, i will be using datasets, so, IF txtUsername.text = ds.tables(0) ...)

[Code]...

View 12 Replies

End A Data Packet From Program To An IP Address?

Jul 20, 2011

How am I able to send a data packet from my program, to an IP Address on a certain port (using Udp).

View 4 Replies

Extract Data From Websites With Program?

Sep 4, 2009

I find no male in a forum the idea of extracting data from websites using java or php but the idea is to do with VB.NET

View 3 Replies

Get Data From A Button Into The Rest Of The Program?

Feb 17, 2011

I'm trying to write a program which allows a user to determine how many 'I's will go into a text box. (i.e if they select 10 then the text box will look like I I I I I I I I I I ). I'm writing a program where if I click on one of three buttons then a number of 'I's will disappear out of the text box. Button one will subtract one 'I', button two will subtract two 'I's, and button three will subract 3 'I's. I don't know how to get the information from the button into the program to subtract the correct number of 'I's. If I press button one, and I have:

Dim OneI as Integer = 1

How do I get the 1 in the OneI variable into a calculation outside of the btn sub, like into a function or a different sub?

View 3 Replies

Get Data From Excel Sheet Using Program?

Sep 4, 2011

I want to get data from excel sheet using visual basic.

View 9 Replies

How Can A .NET Program Read Data Within A PDF File

May 4, 2010

A VS 2008 desktop .NET program needs to open a PDF file and read its contents as data. That is, the program must scan through the PDF file searching for certain text. The program will not merely open the PDF file and display the contents using a control such as an ADOBE Reader control. It has to actually read the individual data within the PDF.

How can a .NET program read data within a PDF file?

View 2 Replies

How To Update Program And Not Overwrite Data

Jul 15, 2010

I have a program that records time data in database when the user performs task. When I published the program for user install, I did not specify any update location. So, since initial creation, whenever I need to update the software, I simply install the new .exe file and this overwrites the old version and erases all data created by the old version (similar to uninstall and reinstall). Is there a way to only install updates to the software so that all data is not erased each time I need to update? Seems like this would be simple, but I can't figure out how to do it and am quite new to programming. I will eventually want to have the software check for updates online, but I need to understand how to update from a local file location first (without erasing current data).

View 3 Replies

Make A Graphic Of Certain Data In Program?

Jun 22, 2010

I want to make a graphic of certain data in my program. The problem is that the zedgraph doesn't zoom out to see the dots or lines in the graphic. This is my code:

[Code].....

I've tested the codes that Zedgraph provides in his homepage, but that code only work if you call this subroutine in the form load. Instead of that, I want to make the graphic when I clic a button.

View 1 Replies







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