Protecting File By Program?

Aug 11, 2010

Is it possible to limit access to a file based on the program accessing it?

I am trying to create a VB program that interacts with an XML file to store and retrieve user accounts and passwords. I would like for my program to be the only thing that can access the XML file, but still have the ability to edit it inside of the program.

View 1 Replies


ADVERTISEMENT

VS 2008 Is CodeVeil The Best Tool Out There For Protecting A Program?

Aug 3, 2010

Is CodeVeil the best tool available right now for protecting a program? I'd like to be sure that when I release my program, it'll be either ridiculously hard (and not worth it) to crack (I.E, to make it free), or impossible to crack. I've been told the latter is impossible

I really just want it to be the absolute safest, and secure, without increasing the memory or CPU requirements of my program. I'm going to trial CodeVeil from Xheo... I'm wondering if anyone else has used any others, and what is the best? Pricing isn't a big deal for me.

View 5 Replies

Protecting Data - XML And RTF Files

Jun 3, 2011

My application creates, as well as, reads and writes to both xml and rtf files. A way to protect these files from tampering? That is, the content within them should only be changed by the application.

View 6 Replies

Protecting Software From Being Copied?

Dec 5, 2009

Protecting software from being copied?

View 9 Replies

VS 2008 Protecting The Source?

May 22, 2010

I'm developing an app atm. When it is finished, I will be selling the source. How do I make it so that the source can only be compiled if the persons Hardware ID is in my database? or something like that. I basically want it so that the user cannot use the source if they aren't "registered".

View 2 Replies

Protecting Connection String In Config

Apr 4, 2011

For the first time for my project i have saved the connection string in config file. i have created a new config file by the name of SQL.Config and used it in app.config <connectionStrings configSource="SQL.config"/>

View 2 Replies

Protecting Text In A Find / Replace Action

Oct 9, 2010

I have been wondering about this for a long time and have not found any ways to do this other than write my own text editor for it. Regarding the following lines of

[Code]...

View 6 Replies

Guide To Protecting Software Products Against Top 8 Piracy Threats

Jul 18, 2011

Here is a link to a FREE whitepaper relating to;"From Hack to Counterattack: A Guide to Protecting Software Products Against the Top 8 Piracy Threats"in case any of you want to get it? url...If you do not want to enter your details on the above page then go here: url...Try the World's Strongest Software Protection Today.You can download the Sentinel HASP software DK Version 5.10 right now or request the full Sentinel HASP DK at no charge. The standard Sentinel HASP DK enables you to test Sentinel HASP with both HASP SL (software) and HASP HL (USB dongle) protection keys. The software DK enables you to test Sentinel HASP with HASP SL protection keys only following a simple software download.[code]

View 6 Replies

VS 2008 - .txt File - Write The File Path So That Someone Else Can Download My Program And File And Read The File

Feb 27, 2012

Reading a .txt file in VB.net. My file path is C:UsersMyLilMulePepeDocumentsVisual Studio 2008Projectscurtain_calls.txt.

This is my line of Dim LoanOptionsFile As String = "C:UsersMyLilMulePepeDocumentsVisual Studio 2008Projectscurtain_calls.txt"

I can read the file when I run the program, but how do I write the file path so that someone else can download my program and file and read the file on their system?

View 3 Replies

VS 2010 Program Program That Generates A Batch File Stops Responding?

Sep 26, 2011

I've been working on a program that generates a batch file, then when you press a button, it executes that batch file. There are multiple batch files attached to each item in the list box.

[code]...

The only thing that it does when I press the button, is starts the batch file, then goes to function searchtitle, which executes the batch file again when it finds out it didn't work properly.The button text doesn't change, none of the items are being added to my first list box, and I can't do anything to the window after pressing the button. It constantly opens the batch file every 5 seconds or so.

View 2 Replies

Flash Card Program - Type All The Words On A Text File And Have The Program Randomly Pull One Of Them

Feb 15, 2009

Anyway, I'm a teacher and am writing a program that simply shows kids a word on a flashcard. There are 2 buttons, 1 to read the word and 1 to go to a new work. There are going to be 300 words. Really I'm just testing it right here. What I want to know is should I be inputting all the words right into the code like I did with "hi" and "not 1" (Don't ask. those are just the 2 random words I picked to test this out with). OR is there a better way (maybe somehow to type all the words on a text file and have the program randomly pull one of them (I don't know how to do this).

Here is the code so far:

Public Class Form1
Dim word
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[CODE]...

View 2 Replies

DB/Reporting :: Database - Access Denied To A Text File (since It's Stored In The Program Directory In The Program Files)

Sep 20, 2010

I have a program where a lot of the required information for it is stored in text files. I simply read this information into large arrays. However, I don't think it's necessary to load all the information each time. Rather, it would be more efficient if I could simply search through a list of items to find the one I need and then use the data from it, or to find a similar name and use it elsewhere.

Would I be right in using a database? And is database programming done in SQL? I have a book on it telling me to use the SQL Server (IIRC), so I shouldn't be doing it in the VB.NET Express GUI?

Here's an example of what I would do:

Hex = 03 00 => dex number 003
Search in file Pokemon Dex Numbers
003 returns Bulbasaur
Check Bulbasaur base stats in the base stats file
etc

So basically I'm reusing a lot of information. I think a database would be best and it would all be internal right? I'm getting complaints about access denied to a text file (since it's stored in the program directory in the program files).

So to cap up the few questions I have:

-Databases are done in SQL and not inside the GUI?
-Databases would load internally?
-I could search a database without having to load it into like an array or something?

View 2 Replies

Make A Program That Opens A File In The Folder The Program Is Stored?

Aug 26, 2009

How do I make a program that opens a file in the folder the program is stored?

View 6 Replies

File I/O And Registry :: File Stream - Backup Program That Zips Files ?

Feb 9, 2009

I am writing a backup program that zips files. Using some sample code I have the following that creates a zip file. Problem is it does not get any subdirectories or files. Where am i going wrong?

Dim azFileNames() As String = Directory.GetFiles(SourceFolder)
Dim objCrc32 As New Crc32()
Dim zipStream As ZipOutputStream

[CODE]...

Alternativley, there is another component to the zipping dll that I could probably bypass the above altogether. It is: FZ.CreateZip(DestFile, SourceFolder, True, "", "") Where DestFile is (Output stream as system.io.stream). I'm trying to read all the files, directories, sub dir and files, etc from a specific location, let's say 'My Documents' into Destfile in which the FZ.CreateZip zips the file. FZ is FastZip which is from icsharpcode.net. They have c# examples, but that's greek to me. I'm trying to just learn VB!

View 6 Replies

Use The WebBrowserControl To Download A Program Generated PDF File Without The File Save As Dialog

Sep 15, 2011

I am writing a Windows Form program to automatically download and store generated PDF reports from a web site using the WebBrowser Control. The web site uses Ajax to link an icon back to the source aspx file which then returns a PDF file.

The problem I have is that the WebBrowser control brings up the File Save As dialog box when the PDF file is returned and I can find no way of handling this to cature and save the returned file. I have found other examples of how to manage this using the Navagating event to validate the extension of the file that is being accessed (e.g. [URL] and, if not an HTM, file then use the HTTP Web control to directly download the file. Unfortunately this will not work as the call references a .aspx page.

View 14 Replies

File I/O And Registry :: Code A Delete Button For A Browsing Program Based On Data From A Txt File?

Dec 3, 2010

I am trying to code a delete button for a browsing program based on data from a txt file. I have coded the buttons to sort(ascending and descending), append to the text file, search the text file, but I can not seem to get the delete function working. I am using VB 2010, this is what I have so far:

Code:
Dim deleline As String
Dim line As String
Dim isFound As Boolean = False
sr4 = IO.File.OpenText("Students.txt")

[code]....

View 2 Replies

VS 2008 File Handling - Create A '.txt' File And Then Fill In The Dates And Times When The Program Is Opened

Oct 25, 2009

I want my program to be able to create a '.txt' file when it is run for the first time, with the date and time the program was accessed, and to be able to add new 'logs' of program history every time it is accessed. What i mean is that i want my program to be able to create a '.txt' file, and then fill in the dates and times when the program is opened.

View 7 Replies

VS 2008 - Program That Will Patch A Program With A New Exe - "Could Not Find File 'System.Byte[]'." Error

Mar 29, 2010

I'm making a program that will patch a program with a new Exe. Its all working with this code

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles patch.Click
patching = True

[CODE]..........

I get an "Could not find file 'System.Byte[]'." error.

View 2 Replies

File I/O And Registry - File Storage - Where The Best Place To Keep Files For A Program

Jun 2, 2009

Looking for an idea of where the best place to keep files for a program. I use them frequently and they interact with the program directly. I want to place them in a place where they won't be easy to find if someone is just cruising thru the directories. Any ideas?

View 7 Replies

Make A Program That Read The File Information Directly From A Specified File?

Oct 10, 2011

I am making trying to make a program that can read the file information directly from a specified file, but I am having a lot of difficulty reading things like file comments.An example of this can be found in windows XP when you alternate / right click on any file and click on properties. You'll get a lot of extra information.Now I have a few questions about this.

1.Can this information even be read in VB.NET
2.If so how
3.If not do I need to create some kind of data file to store the file information

Here is what I did so far

[Code]...

View 4 Replies

Open Specific .pdf File From A Whole Range Of File Located In Program

Oct 8, 2009

im having trouble opening adobe from my coding, also is my file ok or do i need to call from its folder location within the program.i need to be able to open a specific .pdf file from a whole range of file located in the program.what im getting the user to do is press 1 of about 14 buttons to select a brand. then in textbox1,enter the first part of the file name so in this case a274 (adobe runs in .pdf format so the file would be a274.pdf).at the moment i get a win32 error high lighting startinfo as the problem so im thinking its the adobe.exe is the problem. [code]

View 9 Replies

VS 2008 File Association And Opening Program From Save File

Jul 20, 2009

I'm having a slight problem getting my program to load a save file when double clicking the save file.I'm using the Command$() to get the command line argument. I can open a save file by dragging it onto the exe. But not by double clicking the save file (after it's associated with the exe).I though dragging and dropping a file on a program and double clicking the file would open it in the same way, but I guess not.So in short how does file association work and how do I get the file path set to a var when the program loads.

View 5 Replies

Write A Program To Convert Binary Pdf File To TIFF File?

Feb 2, 2010

Program to convert binary pdf file to tiff file in VB.NET..?? We can use third party tools also..???

View 1 Replies

Passlist Separator Program Will Not Let Read And Write Half Of A File To One File, Then The Other Half To Another File?

Nov 8, 2011

What my program does is load a file (password list), then progressively reads each line of text in the file whilst writing each line to a new file. After X amount of lines have been written, it should start writing the lines of text to a new document until the initial password list has been split into X amount of password lists. The problem I have is that after hours of tweaking, all I can get it to do is write either blank ocuments, or write all of the lines to only one file. I really need it to be able to split into multiple files, preferably at runtime rather than loading a whole text document into the program in a textbox or array then writing it to new files.Below is the source:

Imports System
Imports System.Windows.Forms
Imports System.IO

[code].....

View 11 Replies

Make Update On Class And Then Put It As DLL File In The File Of Program?

Nov 20, 2011

I create a project using query sql ( Select, Update,Delete,Insert ) in many various way. example by Select with condition ..etc someone work in programing field. tell me that you are not profession in using vb.net , because you have to use OOP instead all of these Sql query. because if you want to make any update on your program after start to work on the Pc you will open your project on design and change the code. but in OOP you will make update on class and then put it as DLL file in the file of program.

View 5 Replies

File I/O And Registry :: Sequentrial File Access Throughout Program?

Oct 30, 2008

For my application, I want to have three output files, a small summary output, a medium-sized standard output, and a larger detailed output. It's convenient to write to these from various subroutines in various modules to report data and progress at the thing runs.

[Code]...

View 16 Replies

Write A Program That Can Convert .dwg File Into .xml File Format

Aug 12, 2010

i am a beginner and trying to write a program that can convert .dwg file into .xml file format.i am familiar with visual studio 2008, vb.net and autocad 2007.my question is what do i need to do or learn to start this project?

View 2 Replies

Have Program Download File From Non-file Web Address

Feb 2, 2010

I have an account with a website and I want my software to automatically download files that are generated.

I go to the website and login, and then I click a link that downloads a file. Unfortunately, I can't use the My.Computer.Network.DownloadFile function, because the first argument of that function is a file address (http:// www . website . html/file.txt). Instead of that, the address if I look at the link to download the file is something like this (http:// www . website . com/pid=1&output=csv&action=view&pview=pview).

You see how this won't work? I'm looking to use my software to automatically download the file that's available, but I can't use the DownloadFile function.

View 11 Replies

Delete A File In Program File?

Jan 6, 2011

I'm Having a probleme whit coping files or deleting them For exemple i want to delete a file in program file

For Deleting Files I Have That problem when i Use:

Kill(Target File) But the problem is like that (Info: the program is not running): QuoteAccess to the path 'C:\Program Files\Apple Software pdate\SoftwareUpdate.exe' is denied.

The Seconde problem thant when i want to copy a file to a directory that the file exist it gave to me a chose to replace or copy file whit other name .. I want copying fil and replacing a without showing any message

View 5 Replies

Create A "File Not Found" Error To Display If A File The Program Is Looking For Is Not Created?

Oct 5, 2009

I'm trying to create a "File Not Found" error to display if a file the program is looking for is not created.Example:

Dim ProcessProperties As New ProcessStartInfo
ProcessProperties.FileName = "filename"
ProcessProperties.WindowStyle = ProcessWindowStyle.Hidden[code].....

I also need help creating a text box, that will submit information to another source (like echoing to a command prompt window). I'm trying to add a killtask option where the user can enter the name of the tast (such as notepad.exe) and press 'Submit'. The button will then send a code (killtask -f notepad.exe) to a command prompt window.

View 1 Replies







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