Upgrade From Quick Basic On XP?

Nov 12, 2009

I used to write programs in Quick Basic on my XP computer. I now have a Vista (64bit) computer and everybody knows (except me) that those programs won't run on my Vista computer.I want to be able to write single user programs on my Vista computer like I did with my XP computer. Since I'm somewhat familiar with the Quick Basic language, I want to stay in the "Basic" language family. What do I need to have on my Vista computer that would allow me to write and run simple single user programs?

View 4 Replies


ADVERTISEMENT

Converting Quick BASIC To VB - Random Access Files

Jan 16, 2012

I'm trying to convert an old Quick BASIC program to VB.Net. There doesn't appear to be any direct replacement for the old file statements. Building a database seems like overkill for my simple needs.

How can I do the following in VB.Net?

OPEN "test.dat" FOR RANDOM AS #1 LEN = 20
FIELD #1, 10 AS a$, 10 AS b$
LSET a$ = "One"
LSET b$ = "Two"
PUT #1, 1
GET #1, 1
PRINT a$, b$
CLOSE #1

View 1 Replies

VS 2008 Visual Basic Upgrade Wizard Not Opening?

Oct 11, 2011

I have a Visual Basic 6 program that I would like to update to Visual Basic .NET I am running Windows 7 Professional and have downloaded and installed Microsoft Visual Basic 2008 Express Edition. The problem I have encountered is that when I open my VB6 project file (.vbp) the Upgrade Wizard does not open. Instead, a list of references, objects and forms from my project appear. Is there any other way to run the wizard? Or am I missing something?

View 4 Replies

Quick Find And Quick Replace Dialog Windows For 2008 IDE?

Dec 7, 2010

I am developing a VB application using the Visual Studio 2008 IDE. I was making changes to my code using the Quick Replace function when the dialog window stopped displaying. Selection of Quick Find or Quick Replace from the Edit menu, as well as use of shortcut keys (CTL+F and CTL+H) all have the same affect: the IDE loses focus but no dialog windows display. Is this a known issue with an available fix?

View 1 Replies

Cant Seem To Get The Quick Sort To Work

Feb 29, 2012

I am trying to do my sorts such as bubble sort and quick sort i got the bubble sort to work but cant seem to get the quick sort to work.

CODE:

View 2 Replies

Quick Search In A Richtextbox?

May 13, 2010

I have a RichTextBox where I expect 100 characters per line. Each line can start with the letter A, B, or C. I may have thousands of lines and most of them will start with the letter C.When the cursor is moved from one line to another and is placed on a "C" line, I need to be able to quickly locate the nearest "B" line above it. It may be hundreds of lines away. A loop to search for the "B" line using GetFirstCharIndexFromLine(x) is too slow.

The user may want to paste many lines into the textbox. If necessary, a mild wait after pasting is acceptable.Do you have any suggestions for a technique to accomplish what I need to do? Even just a high level suggestion like "use a linked list"

View 4 Replies

Quick Search Of Database

Aug 2, 2010

Could anybody guide me how to perform a quick serch in vb.net database?I used to do it in vb6, using FindFirst method.Is anything else like that in vb.net?Do i always have to use SQL to check if record under current data exists in the database or not?

View 3 Replies

.net - Quick Check Of All Sub Items In A List?

Jul 19, 2010

I have a list with a boolean value as one of the properties. I need to check if every one of these is true. Now normally LINQ would give a nice clean answer here, but as I am using .NET 2.0 I can't use that.If there a nicer way to do this or am I going to have to do a for each loop and break out on finding a false?

Edit:Seems I could have been a bit clearer. I have an object in a list (eg List (Of MyObject)). There is a boolean property on this object called Processed.I need to check that all objects in the list are processed.So in LINQ I'd do:if (from o in list where o.processed = false select o).count = 0 then....

View 3 Replies

Create Quick Launch Icon?

Aug 4, 2010

Decided to make my own installer. code for making a quick launch icon.This is the code im using for creating a desktop icon.

vb.net
Dim WshShell As WshShellClass = New WshShellClass
Dim MyShortcut As IWshRuntimeLibrary.IWshShortcut
' The shortcut will be created on the desktop

[code]....

View 4 Replies

Desiging ActiveX Where A Quick Tutorial

Jun 19, 2009

As a measure of emergency I need to prepare a very simple ActiveX object to be used in Excel sheet and VBA.I'm not a hardcore programmer myself but I'm able to put together a code in VBA to get things done. I have no experience compiling ActiveX dll's in VB though.Could anyone point me to a simple tutorial on the web where I could learn steps how to do it in VB? (project type, setting up methods for the control, parameters for compiling the dll so it's recognized as an ActiveX.. etc)The ActiveX object will be very simple - it's a stopwatch:

1. displaying elapsing time, I have it done already in VB as a windows ap.

2. As an object it will be taking only 3 types of methods: start, stop, reset

3. it has to be a proper ActiveX, so I can use "insert ActiveX" in Excel to add it to the sheet and the code.

I guess I have to start with creating a 'class library' project, haven't I ?

View 5 Replies

Display A Quick Notification Balloon Tip?

May 26, 2011

I am wondering how can I show a balloon tip for my system tray NotifyIcon application QUICKLY. What I mean by quickly is not linger around for like 5 seconds.. I have tried entering 1. For example my code is currently:

NotifyIcon1.ShowBalloonTip(1)

I thought about trying decimals but if I remember correctly from C++ it does nto work or make a difference.. how to display a balloon tip that pops up for only 1 second then dissapears very fast?

View 7 Replies

Does Any One Have A Quick Fix Apart From Getting A New Version Of Visual Studio

Nov 4, 2010

The last app I put together was back when .net had just come out around 2002.Ive dusted off my cd's as I need another app writen.The problen is im now running Vista 64bit OS and my Visual Studio.net 2002 cd's are not likeing it at all.Does any1 have a quick fix apart from getting a new version of Visual Studio?Im reloading an old laptop back to XP atm to get a start on the app but would really like it on my main comp.And I dont want to run it in a sandbox either.

View 2 Replies

How To Parse Through Text File In Quick Way

Jul 5, 2009

I have to parse through a text file that is growing and currently is about 30MB, but it takes a long time for the stream reader to load it before It can loop through the lines. Is there a faster method other than the streamreader?

View 2 Replies

Possible To Make Quick Selection Tool?

May 16, 2012

Is It possible to make quick selection tool in vb.net like in photoshop?if not can you tell me how to make a free selector or rectangular selector please?

View 6 Replies

Quick & Easy Code To Detect OS?

Dec 24, 2009

Ran across a snippet a while back but can't seem to find it again. Was very short and simple and detected all versions using version major and minor.

View 4 Replies

Quick Clarification About When Have To Remove Handlers In .Net

Aug 6, 2010

If I have a class with a couple of event handlers inside of it which are attached to an object that is defined within the class, am I right in thinking that I don't need to implement IDisposable to remove said handlers, even if I explicitly added the handlers myself? Also, can anyone point me in the direction of an article that explains the scope of when it is needed to remove handlers to avoid memory leaks. (I've tried searching many times but I must be screwing up my search terms.)I have a collection; every time an object is added to that collection, I add a handler to a change event of the object.When I'm done with the collection, do I need to go through each item and remove the handler before setting the reference to null?

View 3 Replies

Quick Dgv With Code--a Fun 5 Minute Romp?

Aug 29, 2011

Okay, I've been at this ALL DAY no one's advice has helped so I'm zipping up the simplest version of my problem and attaching it a silver dollar for anyone who wants a quick and (seemingly) easy problem. What it is:

frm1 loads with a button to start frm2(and populate a datagridview).I'm trying to save its data in the module in the example but it might not be necessary.Then another button closes/hides form2 and you can push a button on form 1 to TRY TO get the frm2.datagridview1.item(0,0).value.I can't do any more tonight.

View 6 Replies

Quick Method To Update Dataset?

Jan 7, 2012

I have a filled dataset from a query.

I must modify 2 columns in this dataset, based on a custom function value (a normal vb function), which parameter is an another column from the dataset.[code]...

View 3 Replies

VS 2005 Quick Tutorial Or Reference?

Feb 12, 2010

I am rather familiar with the ins and outs of VB.NET and Database Selects, Updates and Inserts. Not so good with Transactions. (Oracle, MSSQL)

for example, take a Billing System for a hardware store.I create a 'New Order' and select the Cash Customer I start adding items to this order. 1 Rake 1 Shovel Where do I store this information (temporarily) until the user hits 'SAVE'. Maybe the customer decides they don't want the items. Too expensive. I just EXIT. nothign to do.

Or - I open an existing order and make a bunch of changes. Where do I put these changes until the user hits SAVE. I am sure transactions might have something to do with this - or temporary somethings??? I just don't know and need some guidance.

View 7 Replies

VS 2008 Quick Way To Print A Pdf File?

Sep 17, 2010

What's the best/quick way to print a pdf file? The user in the gui only needs to select the pdf and set the printer settings...

View 3 Replies

VS 2008 Really Small And Quick ListView?

Jan 6, 2010

Really small and quick question:When i have a listview, with detail view mode. Say i have like 5 columns.

When i select one item in one column, it only selects that item in that specific column i clicked, like a cell

View 2 Replies

VS 2010 Quick Way To Update Datatable?

Nov 14, 2011

I have a table that has 9 columns, this table has about 5000 rows, but sometimes the user need to update the data in the table. The new data is in another table, with different columns names and only with 8 columns, the ninth column it's the date of the update (i know that this columns shouldn't be here...).

So for now i'm filing one datatable (the data come form a webservice that returns a dataset with this table), and after that i clean the original table and then for each row in the new datatable i call the insert command.Is there other way, better way, to do this?

View 10 Replies

Array Of Variables - Put Together A Quick Program For Database

Nov 17, 2009

I'm trying to put together a quick program for our database, I haven't touched VB since vb6, and we have 2008 .NET now. my question.

Ideally I'd like to make an array which can hold multiple values...such as

Job[job#].joblocation
Job[job#].jobsupervisor

So there would be a Job array, and then different values contained within that. I can't seem to make an object or whatever which allows me to hold different variables inside it.

View 7 Replies

Display A Certain Message For A Quick Period Of Time?

Apr 10, 2012

I am developing an application that prompts an user for doing certain tasks in a form. What i want is that a certain message should be popped for a certain amount of time and then close (probably say 2 seconds or so). I tried doing it with message boxes but they do not close on their own as they are designed to be modal (to wait for user command ). i do not want to display the text in a textbox of listbox. Is there a certain way i could do this.

View 4 Replies

Infralution Licensing Or Quick License Manager?

Feb 5, 2008

I want to buy a license manager. I have read about these 2 products (from his web) but I don't know which is better. which you recommend to me?

View 2 Replies

Quick Domain Up Down - End Of Sub Is Make It Go To The Next Instance In The List

Jan 19, 2010

All i want to do at the end of my sub is make it go to the next instance in the list

say if its on A (the first instance) i do my thing then it rolls to the next instance B and so on

View 7 Replies

Quick Technique Of Setting / Saving Variables

Dec 26, 2011

I know this is a VB.Net messageboard, but it can work with in all languages. Is there a quick way to complete a line (sample code):
//Setting variables set 1
a = e;
b = f;
c = g;
d = h;
.....

//Saving changes set 2
e = a;
f = b;
g = c;
h = d;
without having to type everything out...A technique using EXCEL or Notepad....Find and Replace. This would save a lot of time coding and becomes pain in the butt when you working with many variables.

View 4 Replies

Quick Way Of Creating A New Blank Bitmap Say 1680x1050?

Jun 23, 2009

if there is a quick way of creating a new blank bitmap say 1680x1050 - just wondering cause i want to make a live animation that is this big ... but when looping this it is fairly slow while doing this...I have tried:

New method:
Dim B as new bitmap(1680,1050)

Create once then clone:

Static NewB as new bitmap(1680,1050)
Dim B as bitmap = NewB.Clone[code]....

All of the above are about as slow as each other...

View 2 Replies

Textbox IsNumeric And SupressKeyPress Quick Query

Jun 11, 2012

Private Sub Bearing_Textbox_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Bearing_Textbox.KeyDown
If e.KeyCode = Keys.Enter Then
e.SuppressKeyPress = True
Call Plot()
[Code] .....

Which is used to plot bearings. The user inputs a bearing of 0-360 degrees. It works fine if a user say types in "abc" or "/" i.e. anything that isn't numeric. But if a user types in "90/" then it allows it. When the bearing is plotted the keypress is surpressed so the user cant then go back an edit. Is there a quick way to amend the code to allow for this?

View 5 Replies

VS 2010 Quick Question Regarding Form Size?

Aug 25, 2011

Just trying to make a form which is 15,13 (small I know!).When I set the form size it accepts it but when building it bumps the form size back up to a larger value.The reason this is required is irrelevant, just wondering if there is a minimum size a form can be set to and if there is, is there a work around?

View 4 Replies







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