VS 2010 Using File?

Sep 5, 2011

I've created a help file to a program, and to test it, I've put it in BinDebug directory. It worked fine, and now I have to publish the program into a server, but it seems that the help file isn't running for the user.I'm using HelpProviders and Application.StartupPath & "help.chm" to access it. Oh, and I selected "The application is available offline as well (launchable from Start Menu)" option in Install Mode And Settings.What a I have to do to make it work? Do I have to put the help file into BinRelease?

View 5 Replies


ADVERTISEMENT

Create Package And Deployment (setup File Or Install File) File In VB 2010 Project?

Jan 8, 2011

I do one project in visual basic 2010.In visual basic 6 project can be make Package and deployment (setup file or install file) file using Package and deployment wizard.But in visual basic 2010 express edition does not have Package and deployment wizard.how to make Package and deployment (setup file or install file) file in visual basic 2010 project?

View 4 Replies

File I/O And Registry :: Text File Tab Delimited Import Visual Studio 2010?

Nov 28, 2010

trying to input a text file that's tab delimited that looks something like this.

2.2 5.6
3.7 9
1.2 9.1

[code].....

View 1 Replies

File I/O And Registry :: VB 2010 Formatting Data In Text File?

May 4, 2012

1 List all of the data from Teams.txt in a Listbox. Include suitable headings.

2 List all of the data from Results.txt in the Listbox (use the same Listbox as in 1 above).Include suitable headings. Note that you cannot assume that the file contains onlyresults for the first 3 weeks of the season. Your program should be able to process a results file with more or fewer results.

3 List all of the data from Results.txt in the Listbox. However, in this case the actual team names should be output (your program will need to get this data from Teams.txt. The data should be formatted so that it is aligned correctly. Include suitable headings.

The output might look as follows:

Home Team Away Team Home Team Goals Away Team Goals
Bunbury Braves Nedlands Nodders 5 2

View 1 Replies

Text A File To Excel 2010 With 2010

Jul 19, 2011

with VB.net 2010, i would like to export a text file (with ; separator and variable length lines) to excel 2010

View 3 Replies

VS 2010 - Open The File VB 2010 On VB 2008?

Nov 27, 2010

When i try to open the file in Visual Basics 2008 it says: "The selected file is a solution file, but was created by a newer version of this application and cannot be opened"

View 3 Replies

VS 2010 - Archive A File Based On File Size?

May 4, 2010

I'm working on a school project right now and I have everything fine except this one part of the project: "The audit and errorevent logs should be archived if they are larger than 5K and up you need to keep up to 3 copies of the files." I know how to read and write text files just fine, so I don't need help with that. What I don't know is how to archive a file based on file size, or how to keep up to 3 copies of the files?

View 2 Replies

VS 2010 Open File Dialog Get Select File Name?

Jun 18, 2011

im making a simple program that will copy a single file. im trying to get the name of the file that i selected in the open file dialog but i get the location and file name (C:Users****Documents est est.txt) im trying to just get (test.txt)

View 2 Replies

VS 2010 View Pdf File From Resource Or Added File?

Oct 4, 2010

I'm trying to use a .pdf file I've added to my project but can't figure out how to get it to show using the webbrowser control. Here is what I'm using to call it:

View 9 Replies

VS 2010 Combine A Picture File With An MP3 File?

Oct 9, 2010

Is there a way in VB to create a video with an mp3 file and a picture file?

Input picture file Input mp3 file

Output mp4 video (mp3 file, picture as overlay)

View 2 Replies

VS 2010 Read File And Write To New File?

Nov 5, 2010

I have a problem and hope someone have idea to rsolve it. I have a file and inside the file the format is like that :

123.567 456.789 12.345 223 223 221 223
123.555 456.788 12.344 223 223 221 222
123.456 345.678 456.234 445 445 445 445

total line is 3456789903. I want use vb console application to read the line and every 130000 line create a new output file.

View 3 Replies

VS 2010 Excel Method Find In VB2010 - Convert Excel Macro In A Exe File Using Visual Studio 2010

Oct 25, 2010

I decided to to convert my excel macro in a exe file using visual studio 2010. In excel macro method find is present like this:

[Code]...

View 9 Replies

VS 2010 Coping A File In VB 2010?

Mar 13, 2012

im having problems copying a file to another folder and replacing the original im trying to copy a dll to another folder but it says you can do this because the file already exists in this folder how can i do it so it will replace the original

View 9 Replies

VS 2010 Txt File To Db?

Jun 23, 2011

So, I've got three files that are auto-generated XML reponses that I need to import into my database but I'm having some serious issues with thinking this one through and then coding it (I haven't coded in quite some time). The database is an Access accdb file with table tbl_ext and fields e_FN, e_LN, e_EXT, E_LOC.I need to do the following during each routine.1) Erase all current records in the table.2) Scan each of the three files (format of the files below), pulling out the First Name (e_FN), Last Name (e_LN), Extension (e_EXT), and Location (e_LOC), for each "record" in the response file.What would the most efficient way to do this, be? As I said, I need coding help in the extreme here.An example of the file would be:

<response method="switchvox.extensions.search">
<result>
<extensions page_number="1" total_pages="1" items_per_page="500" total_items="3">

[code].....

View 8 Replies

VS 2010 - VB Using A VC File?

Jan 5, 2011

I am using VB for our entire company. Recently, we have had a need to dial into a VT220 to retrieve information from our customers. We are using ZOC terminal and it has a .dll for Visual C that lets us automate ZOC without needing a human interfacing with it.

Does anyone know anyway for a VB application to run a VC file? I highly doubt it and no one here has ever tried something like this, nor have I ever heard of anyone try this before. Just trying to see if this is even possible and if so - how...

Limitation: -We cannot restructure our company using VC (way too large)

Reason: -We import data on a daily basis but do not want to have to have someone remember everyday to run ZOC. In addition, our imports are done before anyone is in house.

View 2 Replies

VS 2010 File To An EXE?

May 22, 2010

I want to have a button where if i click it c:program filesinfinity softwareaerocrash appplayervlc.exe will open the file c:program filesinfinity softwareaerocrash appseason 11.mpack. I know shell execute can do it but i dont know how, im a newbie so please explain properly

View 9 Replies

VS 2010 Run App From Xml File?

Jan 1, 2011

i will explane more about it: Its continued from the thread [URL]..So here i need help about to start the GameServer1 2 3 and to write in Label2 message if the program closes

Example:GameServer1 closes In Label2 write message : GameServer 1 crashed , reopened after %seconds Here %seconds are the seconds from the .xml file in Time = the same goes for GameServer2 and GameServer3

And the last thing left is to start the links by the buttons
Button3 (will start GameServer1 Path , Name , Port that are from the config file)
Button4 (will start GameServer2 Path,Name,Port that are from the config file)
Button5 (will start GameServer 3 Path,Name,Port that are from the config file)

For more easy way to help you to understand what i need i will upload my source code so you can take a look and help me made it[URL]...

View 27 Replies

2010 Write INI File

Apr 15, 2012

I'm trying to write data to an INI file, I've got some code to read it: url...I've tried to modify this code to get it to be able to write to INI files, but I haven't had much success.I know there are DLL's designed for this, but I would like to have my application so it can be distributed as a single EXE.Also, I know there is My.Settings, but I cannot use this, as this INI file is used by another application, that I have not developed.
So, I was wondering if anyone could help me modify this code to write to an INI file, something like WriteIniValue(IniPath, Section, Item, Value)

View 2 Replies

Editing Js File By .net 2010?

Mar 11, 2012

I want to know how to get the name of the profile's default of Firefox by vb.net and how can i editing Js file on vb.net < like i want to insert txt on the je file Under the line number 47?

View 9 Replies

Open A File In VB 2010?

Jan 15, 2012

How to open an array into visual basic. I have it saving as a text file correctly but i have no idea on how to open it up to use it again. what i have so far is Private Sub Hour1ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Hour1ToolStripMenuItem.Click[code]...

View 10 Replies

Open Up A File In VS 2010?

Feb 12, 2011

The console is closing automatically.

[code]...

View 5 Replies

Opening A File In 2010?

May 16, 2010

I have created a .wsf file which on opening executes some functionality. I need to open this file in vb for my project to work, but i don't know how to do this.

View 2 Replies

VB 2010 - Information On File?

Dec 25, 2010

-to know when the file was created (i remember that it is possible as i've done it before)-if there are any other copies of the same file in the entire pc

View 1 Replies

VS 2010 - File Is In Use Or Does Not Exist

Oct 12, 2011

I've just recently started noticing this crash as my program has gotten more complicated. I have a few lines that look like this in my program:
Dim alines() = System.IO.File.ReadAllLines("C:deviceinfo.txt")

The problem that I am seeing is that my program is updating these files every second, so sometimes the files are being appended and or just being replaced as it is trying to run this line. Receive the error, "File is in use or does not exist." Is there anyway to put a line of code that tells the program that if the file does not exist to check again till the file does exist.

Sort of:
If System.IO.File.exists(cstr("C:deviceinfo.txt")) then
Dim alines() = System.IO.File.ReadAllLines("C:deviceinfo.txt")
else
loop
endif

Or I read somewhere that you can use:
If Len(Dir("C:deviceinfo.txt")) < 0 Then
or
If Dir("C:deviceinfo.txt") <> "" Then

Maybe:
Loop while Len(Dir("C:deviceinfo.txt")) < 0
else Dim alines() = System.IO.File.ReadAllLines("C:deviceinfo.txt")
next

I realize the danger of having a possible never ending loop in the program, but I cant think of another way to have the program wait for data and use the data immediately as it becomes available. I looked into having a wait() sub or to do system.threading, but my rational behind not using those are because waiting for 200 ms doesnt ensure that the data actually shows up, I could still receive the error.

View 9 Replies

VS 2010 - SQL Server (File Already In Use)

Aug 23, 2011

I have a database is SQL Server 2008 Express. I have added this database to an ASP.NET project, now I want to add the same database to a VB.NET project, however, when I try to set it up it says I need to choose a different file because it already is in use (which makes perfect sense). So how can I set the database up so ASP and VB can use at the same time?

View 3 Replies

VS 2010 : How To Read Ini File

Feb 17, 2011

in my project, i want to read an ini file - i.e. C:xyz.ini

ini contains:

[0089]
Vendor=INTEL
8874=28F640W18TE
8981=NU48F256
8982=NU48F512

I can read through usb - i.e. phone id : "89820089" Now 8982 should = to NU48F512 as we have it in ini.

View 4 Replies

VS 2010 : Is Same .DLL File Can Be Used In WinForms And ASP.NET

Sep 27, 2010

I want to create a .DLL (my library file) so that it can be used as data source for reports (to use with .RDLC files).Can I use same .DLL in my ASP.Net application for reports as data source (here also .RDLC files).It will save my time and maintain report integrity between WinForms application and ASP.Net application.

View 2 Replies

VS 2010 : Rewriting An INI File?

Jun 23, 2011

I am making an application so I can easily clear up this ini file. The ini file contains such data as playerlevels, abilities they own, abillities available, conclusion: it contains all information for the RPG modification for a game.Now when I have for example this in my INI:

[[CD]Infernus RPGPlayerDataObject]
OwnerID=xxxxx-xxxxxx-xxxxx
Level=57
Experience=234

[code]....

;Each ability will be removed. The problem here is that earlier in the code you also have Abilities= which I really need to keep, I only want to remove it from parts starting with the header [**some name** RPGPlayerDataObject]

View 7 Replies

VS 2010 Can't Find File

Feb 21, 2012

I have a peculiar error in a Visual Basic 2010 Express that doesn't seem to cause any problems, but it's there every time I open this particular project. It's a Windows Forms Application. If I do a Build function on the project, the error message goes away. But if I close the project and re-open it, the error is back again.Here's the error as it appears in the Error List at the bottom of the screen:[code]

View 3 Replies

VS 2010 Cannot Delete The File

Sep 23, 2011

I'm working on a program. It watches a folder for file changes. in certain cases, it needs delete the files in that folder. sometimes, it has this error:

The action can't be completed because the file is open in another program

is there a way to force delete a file? or this is not possible?

View 1 Replies







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