Create A Zip File Which Will Open A Url When A User Unzips It?

Jul 31, 2011

I want to create a small application in VB.Net which will zip the file such that when user will unzip this file, a url will be opened in user's default browser. Is there any way to create such files?

View 4 Replies


ADVERTISEMENT

VS 2010 Make A Code That Unzips Files And Then Move Those Files Into Another Zip File?

Feb 23, 2012

How do i make a code that unzips files and then move those files into another zip file?

View 2 Replies

Create A Program That Lets The User Open A Text Document?

Apr 9, 2009

Ok i need to create a program that lets the user open a text document and lets him do the following. This is with Visual Basics 2008.

Count Characters
Count Lines
Count Words
Count All

I don't know how to get my program to count just individual words and i have no idea how to get it to do all 3.

[Code]...

View 5 Replies

Create Link To Open User Control In Program Form To Use At Design Time?

Feb 1, 2010

I've got a VB.Net form application that dynamically loads user controls based on which navigation link the user clicks on. I'd like to make it easier to use at Design time by putting a link of some sort to open the User Control at design time. The link would go onto the form in the space where the User Control will be going. This just saves a little time from having to browse through the files to open the correct file.

View 2 Replies

VB 2008 - Create A Label That When Clicked By The User It Will Open A Website Using The Default Browser?

Jun 12, 2011

how do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it.

View 3 Replies

File Create - Create - Open In Binary

Feb 8, 2011

Tell & interduce a pdf the full explain about file programming in vb.net(such as create , open in binary and .... , explain file stracutre and all)? a full article (most of the ways about file in vb.net)?

View 4 Replies

Allow User To Open A File?

Aug 20, 2007

I have a method that allows a user to open a file. The InitialDirectory property is set at the beginning of the method. If the user selects a file in a different folder, the next time the dialog opens, it opens to the last folder used insted of InitialDirectory folder.

View 9 Replies

Block User To Open An Ini File

Jan 8, 2011

I have a application which reads from ini at startup, What i want is a vb code that will block the user from opening the ini file manually, program could be running as service eg: C:config.ini. program should block the user from opening the file.

View 1 Replies

Check If Excel File Is Open By Other User

Mar 31, 2010

I have a excel file place on server. I am using a application which written by VB.NET to open file in read only mode. User 1 open file in read only mode. How can user 2 detect that file is open or not status?

View 2 Replies

Open A Pdf File With User Password In Program?

Nov 6, 2009

Open a pdf file with user password in vb 2008

View 6 Replies

Open And Create Log File

Oct 22, 2009

How can I open and create file in VB.NET as I do in VB6?[code]

View 5 Replies

Download Dialog Box That Allow User To Open Or Save File

Jul 9, 2009

I have the following code that generates a csv file on a button click. [Code] What I want to do is open a download dialog box that will allow the user to open or save that file it has just created.

View 2 Replies

Open A File Or Program When The User Clicks On The Balloon?

Apr 23, 2010

I have a notify icon that uses balloons t notify the user of certain events. In some circumstances I would like to open a file or program when the user clicks on the balloon. The default behavior is to close when the user clicks the balloon. How can change this?

View 1 Replies

.net - The Microsoft Jet Database Cannot Open The File '...' It Is Already Opened Exclusively By Another User

Sep 1, 2011

I have a WinForms application that I have taken over support for and it was build using Visual Studio 2005 with VB.Net. The application makes use of an Access database. It runs fine when it is installed as a standalone application, but the install cd for the application also allows for a network install and this is where I am currently encountering issues.

To test the network install I created a folder on my server (Windows Server 2003 SP2) and copied the Access database to this folder. I created a share for this folder and gave everyone full permissions to the share. Then on the workstation I installed the application and gave the path to the database as follows:

\myservermysharemydb.mdb

(The install steps here are as per the instructions given on the installation cd)The workstation that I installed it on is Windows 7 Ultimate. When I run the application, I get the error message given in the title when the application tries to read the database file. I have confirmed that I am able to write to the shared folder on the server, so I don't think this is a permissions issue. Also, the database file is not in use at all, so it is definitely not opened exclusively.

UPDATE:I have tested the workstation installation on a computer with a fresh install of Windows XP SP3 and it is able to access the database file without a problem. So it seems that this error that I am getting is somehow specific to Windows 7. Is there maybe a known issue with Oledb drivers on Windows 7? My version of Windows 7, btw is 32 bit.

View 1 Replies

Cannot Open Excel File - Error 0x800AC472 - User Permission

Apr 10, 2012

This is a simple fragment of my code:

[Code]...

The last line throws an exception "Cannot open file" with certain end-user profiles. It works perfectly fine when executing from an Admin account. I just cannot figure out what user privileges and access settings may cause the error. Note that it also works with some end-user accounts (not admins). What missing user rights can cause this?

View 6 Replies

VS 2008 - Open Browser For File Dialog On User Click?

Sep 1, 2011

I have a project that will add the conents of a .txt file to a listbox but how would I make the program to open a browse for file dialog when a user click a button and then add the file to something to be read from like:
Dim accpath As String = My.Computer.FileSystem.ReadAllText(System.IO.Directory.GetCurrentDirectory() + "\somefile.txt")

View 2 Replies

Make A User Control Like A Open File Dialog Or A Folder Browser?

Feb 22, 2012

The specific features I want to produce is it doesn't place on the form, it places in the little box at the bottom and when CustomUserControl.Show() is called it shows as a dialog boxI'm sorry if I misspelled something or my grammar is wrong, I've never done well in those subjects.

View 1 Replies

Open A Particular Html Page In A Chm File When The User Clicks On A Menu Item?

Nov 8, 2009

How do I open a particular html page in a chm file when the user clicks on a menu item.

View 2 Replies

Create Dynamic Html File From Code Behind And Open In A New Window

May 23, 2012

I'm letting my users write their own HTML from my webpage. When they click the preview button, my code behind needs access to controls on the page (and so I understand I can't use a web method here). It builds the HTML and saves it as a file on the server. My question is: Once the file has been made, I want to automatically open the file in a new window for the user to see their handy work. I'm using vb.net, but happy to receive c# answers.

[Code]...

View 2 Replies

Error: Mscorlib: The Requested Operation Cannot Be Performed On A File With A User-mapped Section Open

Apr 6, 2012

I've written a VB.NET program for a client that stores all of its data in XML files. I use the XMLReader to read the data into a dataset. When I run the sub to encrypt the XML file, I'll get the following message: Error: mscorlib: The requested operation cannot be performed on a file with a user-mapped section open.

It doesn't happen all the time, so I know it does work. But on occassion, I'll get this message. I've been all over the forums and I've tried everything I've read to try and stop this error.

I close the reader object and set it equal to Nothing. I've even tried using DoEvents to make sure the object finished closing before running the Encrypt sub. Nothing has helped.

I develop on a x32 PC. It works fine on the development machine. But then, when the client runs it on a x64 PC, he gets these errors. Could the x64 system really be running so fast that the .Close() and the = Nothing and evern the .DoEvents() can't keep up?

View 2 Replies

Create A File On The User's Desktop

Mar 4, 2011

As part of a program for class we were instructed to create a text file on the user's computer. The instructions were to create the file to the C: (or the same drive as the Windows directory) but Windows7 requires Admin privileges to write to this directory. It works great if I run Visual Studio as admin, but I'd rather just write to an unrestricted area. For example the desktop. Is there a way to write directly to the user's desktop without knowing the user's username. Right now I'm using this "c:UsersNickDesktopScores.txt"; which works but of course the user's name is different on every machine. How would I go about specifying the user's desktop?

View 10 Replies

Create A Executable File Which Did Not Require The User To Install?

Jun 20, 2011

how I can deploy my .NET applicationwithout the user having to install the program.i.e. In VB6, I could just create a executable file which did not require the user to install anything, they would simple run the program.

View 6 Replies

Create A Form That Allows A User To Load An Input File?

Dec 8, 2009

how to create a form that allows a user to load an input file? I'm assuming a form like a windows explorer window will be too difficult, or not? If it is then I guess I could just put a textbox on the form and ask the user to input the directory with file name.

View 5 Replies

Create A Text File With The Name Coming From User Input

May 23, 2010

E.g The user enters data into txtName, what i then want to do is make a text box with the data entered into txtName

So if the User enters Daniel into txtName, then a txt File is created called "Daniel.txt"

View 3 Replies

Create A User Defined Menu For .pdf File Right Click?

Jan 30, 2010

Why is it that when I close the application that I've made, it is still seen as running in the background in task manager? I open my forms using the .show() method, and when I need to close them programmatically, I use .dispose().

View 2 Replies

VS 2008 Create Settings (user.config File) On App First Run?

Jul 16, 2009

I know that when using my.settings that when I exit my app that it saves them and then next reload it imports my.settings back.

My question, is there a way to create this user.config file on the apps first load?

View 3 Replies

Return To Already Open Application When User Tries To Open A New Instance If Same Version?

Nov 27, 2011

I want to open up an existing instance if my program is already running only if its running the same version.I noticed that this question was asked for only if the name exists, but what if the version is older, I just want to notify the user that an older version is still running, "please remove older version before starting this version."The other link is this one:Return to an already open application when a user tries to open a new instance but they don't talk about closing an instance if an older or newer version is detected.

View 3 Replies

Create A Page That Allows A User To Upload A File Directly To Ftp Server?

Jan 6, 2011

I want to create a page that allows a user to upload a file directly to my ftp server. For some reason when I run the code and try to upload a file I get:

ERROR: Could not find file 'C:Documents and SettingsuserMy DocumentsVisual Studio 2010ProjectsASP.NETuploadASP.NETuploadfile.txt This is not where the file is located. I am fairly new to .NET programming so I may have done some things incorrectly.

Here is my code:

If FileUpload1.HasFile Then
Dim fileExt As String
fileExt = System.IO.Path.GetExtension(FileUpload1.FileName)
fileExt = fileExt.ToLower

[code]....

View 1 Replies

User Create Template / Configuration File For Application That Can Be Used For Different Scenario's?

Aug 13, 2011

I have an application that I'm writing that needs to allow the user to be able to create templates and save them for how the applicaton will work. For instance, lets say I am provisioining mobile devices, and my application allows the user to create a template to only install "application1" on the device, with "application1" settings for "devicetype1". But then if the user has "devicetype2", he or she can select the template that they created to install the software for that kind of device. I've looked around and all I find is the .exe.config for read only application settings, and I have found the user.config for the read/write variables. But that won't work as my application could have several templates depending on what the user chooses. I'm looking to have my app have a "create template", "edit existing template, and"use existing template" buttons, and have my config file extension like *.ipx for example.

View 1 Replies

C# - Return To An Already Open App When A User Tries To Open A New Instance If Same Version?

Nov 28, 2011

I want to open up an existing instance if my program is already running only if its running the same version. I noticed that this question was asked for only the the name exists, but what if the version is older, I just want to notify the user that an older version is still running, please remove older version before starting this version. The other link is this one: Return to an already open application when a user tries to open a new instance but they don't talk about closing an instance if an older or newer version is detected.

View 1 Replies







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