What Are "external Files" For Visual Basic 2008

Dec 12, 2009

In a discussion with another programming student I was asked if I knew what external files are and how they are used with VB? Before coming here I referred to my VB tome, searched the web with Google, and looked at other VB forums without finding an answer. I would just like to find something that explains what "external files" are. I have already read something about "reference files" but reference files do not appear to be the same thing as ext. files

View 1 Replies


ADVERTISEMENT

Getting Visual Basic To Run External Application?

Dec 10, 2009

I'm a complete beginner to Visual Basic & am hoping to get a solution here.(VB version = Microsoft Visual Basic 2008 Express Edition)I'm trying to use VB to construct a GUI that runs an external application w/ arguments. The actual app is a DB builder that takes 3 arguments:

- a working directory ( flag = -d )
- an output directory ( flag = -o )
- an input text file

When I run the application from a DOS window it works fine as follows:

[Code]...

View 1 Replies

Visual Basic 2008 - Writing To Multiple Files

Jan 31, 2011

I've made sort of a "Game"

I want to add an Item to all accounts. I know HOW to write into files and add the item but it's adding it to ALL accounts.

Accounts Dir: C:DatabaseAccounts"Username"Items.txt

Without adding EVERY Account file as a streamwriter how would I make the streamwriter do all available directorys for the account's name.

View 3 Replies

Cannot Read HTML Help Files In Visual Basic 2008 Windows Application

May 1, 2011

My students did a tutorial in HTML Help Workshop to add Help files to a VB 2008 Windows application. They zipped the files and uploaded them to our class web site.

I downloaded them at home, unzipped, and tried to check, but every one shows Table of Contents or Index and cannot find the .htm documents for the topic. The same thing happened in my office. However, these projects work correctly in our classroom
lab and do display the .htm files.

View 4 Replies

Convert Visual Basic 3 Binary Files?

Jun 24, 2009

I wrote a programme about 12 years ago in visual basic 3.Since then I have moved interstate and changed jobs quite a few time and lost the original Visual Basic 3 discs.Visual Basic 3 saved the files in a binary format that has not been used in any other version of Visual Basic. So now I cannot read or modify the files.

View 3 Replies

Iterate The Files In A Folder In Visual Basic?

Jan 5, 2011

I would like to iterate the files in a folder in Visual Basic. I want to check for each file's name. I heard about a Dir function or something, but I am not very sure how to use it..

View 1 Replies

Manipulate Picture Files (jpg, Gif, Png, Etc) In Visual Basic?

Jan 16, 2012

For instance, I would like to read the picture's dimensions (width, height) and modify them to fit space available on a page. I have many pictures, so don't want to do this by hand.

If this involves using components or objects, where to find useful documentation about properties, methods, or whatever I need in order to write a program.

I'm using Vis Basic 2010 Express in Vista Ultimate.

View 11 Replies

Move Files Using Kill In Visual Basic?

Dec 7, 2011

I am making a desktop cleaner and I want the program to search For files extensions and move them into a new folder each named after the extension name. Here is what I have.

Public Class Form2
Private Sub Form_Load()
End Sub

[Code]...

I want to use Kill(Me.FileReference.Text("*.txt")) to move the files with .txt extention in the Directory which the textbox named Filereference.text contains which is extracted using MyFolderBrowser.SelectedPath.

View 1 Replies

Reading Files Off Of A CD/DVD Using Visual Basic 2010?

Jan 21, 2011

Me Again, Can anyone tell me how to go about using Visual Basic 2010, on getting file information off of My CD'S/DVD'S as I have Many of them with No titles written on them.basically i would like to insert a CD or DVD into my computer and when i click a Button, A textBox will have all the files from the CD or DVD. and then i could print the list and keep a record of my CD/DVD.

View 8 Replies

Run Applications And Open Files With Visual Basic

Mar 31, 2007

How do I run files/application with standard editor/viewer?

View 1 Replies

Running .ivr Audio Files Through Visual Basic

Aug 24, 2008

In VB, i see file format in wav, but how we can run other formats through vb code my.computer.audio take wav format is there any other posibility

View 5 Replies

Visual Basic .exe Files Security Level

Jul 10, 2010

I have this

[code]...

Still it shows the message box, this shouldn't be the case and is a tested and proofed situation, in this case it didn't, what am I doing wrong here?

Kind Regards, Starf0x

View 2 Replies

Visual Basic 6 Runtime Extended Files?

Jul 6, 2011

I am trying to locate the runtime install for Visual Basic 6 Runtime Extended Files. I am not a developer just the guy truing to get it onto the systems for them. My question is simple anI hope the answer is the same. We are converting our systemsfrom Windows XP to Windows 7 and we need the extended runtime modules so a number of our applications will actually work.

I cannot locate the install for this in the Visual Studio download area. Is the re-distributable part of the studio install (so it should be on one of the developers systems) or do I download it from somewhere else.

View 7 Replies

What Files To Include With Visual Basic Publish

Oct 22, 2010

What files do I need to include when I share my published VB form. I see in the "Application Files" folder there are all my version that I have published. Do I need to include all these or just the most resent with the Setup.exe?

View 1 Replies

Creating And Updating Ms Access Mdb Files With Visual Basic?

Feb 27, 2010

how can i create and update mdb [ access ] files in visual basic 2008..and also if i have a dll library how can i get all of its syntax for using it in visual basic?

View 2 Replies

Microsoft Visual Basic Code For Merging Files?

Jun 3, 2010

how to merge records in ms access 2007 in just a click away??i need visual basic code for merging files.

View 6 Replies

Renaming Group Of Files Using Loop In Visual Basic?

Jun 25, 2012

I currently have these group of files I want to rename:

C:Users medinaDocuments estenviromentTestfolderfile1-1111.doc
C:Users medinaDocuments estenviromentTestfolderfile2-1111.doc
C:Users medinaDocuments estenviromentTestfolderfile3-1111.doc
C:Users medinaDocuments estenviromentTestfolderfile20-1111.doc

I have a text box on my form where a I would enter a string of text which will replace the '1111' to whatever the string is in the text box field.

So for example, On my app, in the text box field, I would enter 2222, then when I click on button1, it will rename file1-1111.doc to file1-2222.doc, file2-1111.doc to file2-2222.doc, etc.....

This is my VB code I currently have:

[Code]...

View 4 Replies

Sorting Group Of Files Using HashTable - Visual Basic

Jan 25, 2012

how to sort the group of files in the directory using Hashtable by values?

i'll have more than 500 no of files in the below format:

prod_orders_XXX_<TimeStamp>.dat

XXX = symbol of the product and the length may varies.
<TimeStamp> = date and time

Multiple files for the same XXX are possible with different time stamps.

Here are some examples:

prod_orders_abc_20122001083000.dat
prod_orders_abc_20122001083111.dat
prod_orders_xyz_20122001093157.dat

[Code]......

I have posted a similar question before but this time i need this specificly using Hashtable.

View 1 Replies

Visual Basic 2010 - Correctly Reference Files?

Dec 30, 2011

I have an issue with creating a VB program. I reference files on my computer that are displayed in a webbrowser in the program. The issue comes when I install the program on another computer because of the file path. The program is looking for the files on the computer I created the program on because of the file path, instead of looking for the files within the program resource files.

For example, I created the program on Computer A and referenced File "C:ComputerAMy DocumentsHelp.txt"

Once installed on Computer B, the program doesnt display the image because it's looking for "Computer A" in the file path.How do I correct my programming so that the files are universial and can be found on any computer the program is installed on?

View 13 Replies

ProgressBar Disappears When Updated Via Visual Basic (Visual Studio 2008 Standard)?

Jan 17, 2011

In a while loop, I am writing a progressively increasing integer value (between 0 and 100) to the Value attribute of a ProgressBar control, when it disappears from the window in which it resides. I have verified at the time that it disappears that the Min is 0, Max is 100, and Value is a valid integer in range.

View 9 Replies

Disabling The Visual Basic Background Compiler In Visual Studio 2008

Mar 20, 2009

How do I disable the background compiler for Visual Basic in Visual Studio 2008?

For my sins, I have to work on a large VB.NET project and it often locks up for 20 seconds at a time whilst doing the very helpful background compilation

I'd rather work blind between compiles and be able to do some work.

View 1 Replies

Make A Console Program In Visual Basic On Visual Studio 2008?

Jan 22, 2010

I am trying to make a console program in Visual Basic on Visual Studio 2008. I want to ask the user of the program if he wants the premium version or the standard version. If he chooses the premium version, then I want it to say premium in his "receipt" later on and if he chooses standard, then standard in the receipt.

[code]...

View 1 Replies

Read Only Selected Text From Pdf Files - Visual Basic Language?

Jun 20, 2010

how to read selected text from pdf files in vb.net - visual basic language ?

View 1 Replies

Reading Access Database Files Directly Into Visual Basic?

May 6, 2010

I would like to be able to read a column of numbers from an Access database into a VB.NET program and then manipulate that data.For example I have a column of numbers and want to add them up and then take the averageThe maths is not a problem but how do I read the column of data into the program. I know how to do this if I first export the Access data into a CSV file, but

View 11 Replies

Send An Application To The System Tray With Visual Basic In Visual Studio 2008 Professional?

Sep 26, 2009

I have Visual Studio 2008 Professional and I'm trying to make it so I can click a button to send the application to the System Tray and then click the icon in the System Tray to make the application come back.

Can anyone provide me a method or sample code to do this?

View 8 Replies

Can't See Visual Basic Project Option In Visual Studio 2008

Jan 13, 2012

I am very new to Visual Studio Application Development. I'm mostly a DB guy. I used Visual Studio as a Report Designer, not much of an .Net guy though I can understand it. I am now asked to create a .net application and I'm trying to create a "Hello World" starter app. I opened my Visual Studio, click File-New Project and all I see is Business Intelligence Projects and Other Project Types. My step-by-step guide says choose Visual Basic, Windows Forms Application. But I can't see it as an option.

View 2 Replies

MS Visual Studio 2008 Standard Edition, Visual Basic?

May 22, 2012

I recently loaded my copy of MS Visual Studio 2008 Standard Edition, with Visual Basic, on to my new laptop, one with a Windows 7 operating system. This version of Visual Studio had been on my other laptop, a Windows Vista machine. When I attempt to run any of my Visual Basic applications which has a MSFlexGrid container on it, I get this error message "Unhandled exception has occurred in your application... The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG). Also,

View 2 Replies

Visual Studio 2008 (visual Basic) Error Id Bc32400

Dec 19, 2009

whilst trying to debug a sample program, get error code bc 32400. Also error code Class 'CLSID_CorSymWriter' could not be created system error &H80040154&

View 3 Replies

Deleting Rows From .sdf Files Using Database Explorer Utility Of Visual Basic?

Feb 14, 2011

I am trying to delete rows of an .sdf file using the Database Explorer utility of Visual Basic. When doing so, I get the following error message:No rows were deleted.

A problem occurred attempting to delete row 1.

Error Source: Microsoft.VisualStudio.DataTools. Error Message: The row value(s) updated or deleted either do not make the row unique or they alter multiple rows(48 rows). Correct the errors and attempt to delete the row again or press ESC to cancel the change(s). It is correct that the data in the rows are not unique (and not supposed to be; there is no "error" to correct), but why should this prevent deleting them?

View 4 Replies

Add 3D Space In Visual Studio 2008 Using Visual Basic?

Aug 22, 2011

I have been working on a game development program for a few days now. And have come to a halt on one part, and thats adding a 3D space in the program. I do not know the code for this, would some one please provide something i could use for adding 3D space in my project? for example, i have a panel set up to be the view port in to the 3D space. Now i need to figure out how to program it so you can see a 3D space, click on the mouse and drag and the grid will follow the mouse.Likecreate a grid, i wish to give it a grid of 150 x 150 grid pixles.

View 2 Replies







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