Protecting Software From Being Copied?
Dec 5, 2009Protecting software from being copied?
View 9 RepliesProtecting software from being copied?
View 9 RepliesMy 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 RepliesIs 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.
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 RepliesFor 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 RepliesI 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]...
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.
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 RepliesI am using below code to copy a file from one location to other location...
System.IO.File.Copy(Source, Dest)
i have created a program using vb 2010 and i want to sell it but i dont know how to make it be uncopyable.I have set to read only and administrator permission etc... but i can still copy it.
View 2 RepliesI'm a bit confused here. I'm copying all the controls from one form to a panel on the main form and for some reason only about half of them copy.
Private Sub switchComponent()
Dim selection As String = TreeView1.SelectedNode.Text
Panel1.Controls.Clear()[code]....
When stepping through the code, serverDic(selection).Controls has 12 elements, but only 6 of them get copied. Next time this gets called, only 3 get copied. Does Panel1.Controls.clear() somehow kill the references?
EDIT: Just to show that there are infact 12 elements in the collection:
I want to delete records in table1 once i copied them into table2.
Im using C#, VS08. I had created database:admin.mdf, with two tables, tblOutbox(table1) and tblSend(table2). Here are the codes on how i insert into table 2.
private void Form1_Load(object sender, EventArgs e)
{
try
{
[Code].....
What condition should i use to delete the record? this command is use when i want to delete only one record, But what if many records involve?
cmd.CommandText = "DELETE tblSend WHERE id = 5";
Does anybody know an effective way to protect your application from being copied? I 'd like to make my application as shareware for limited numbers of trials and after that the application shouldn't not run anymore on the same PC.
View 4 RepliesI'm trying to deploy my first program and I've run into the following trouble.The program uses an access database dbUserPractice.accdb. In debug mode, everything works fine.When I deploy, install and run the application, I get a System.TypeInitializationException (which I asked about in a separate thread). The inner exception is the following:
System.Data.OleDb.OleDbException
Could not find file 'C:UsersPatrickAppDataLocalApps2.0DataW8EL4B31.5OL13DJ6BGK.5TNgmat..tion_97baec9c26ea8d1a_0000.000a_bf94ecc77eee8fa0DatadbUserPractice.accdb'.
If I manually paste dbUserPractice.accdb in the directory above, the application runs ok. Why isn't the installer putting the file where the application will need it? The file is part of the downloaded install package (it is in the 'Application Files' folder as 'dbUserPractice.accdb.deploy')
I encountered a serious problem while working withclipboard class in VB.NET.I want to simulate cut-copy-paste operation withmy application and Windows Explorer.User can copy files from Explorer and paste it intomy application & vice-a-versa.My question is-How can I determine if user has copied or cut the filesfrom Windows Explorer? I want to differentiate cut & copy.I am using >> My.Computer.Clipboard<<.
View 7 RepliesClickonce deployment 'Publish succeeded,' however not files are uploaded to the server, and the deployment webpage does not start, even though 'automatically generate deployment web page after every publish' is enabled.The problem began after copied the application from running on 'XP' and tried to publish from vista.
View 1 RepliesI have an Web application that retrieves some db info and send it out to an html table. All created on the fly in vb code behind. For every post (row) in the db I also fill puts an instance of a Dropdownlist with items read from the db. That means that for every row I read from the database I read the same db info into the Dropdownlist (see the skeleton example below). A lot of overhead I think. It must be possible to create the Dropdownlist once before the loop and copy from that instance in the loop.
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cboCombo2 As DropDownList
Dim i As Integer
[Code] .....
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Not System.Windows.Forms.Clipboard.GetDataObject() Is Nothing Then
Dim oDataObj As IDataObject = System.Windows.Forms.Clipboard.GetDataObject()
If oDataObj.GetDataPresent(System.Windows.Forms.DataFormats.Bitmap) Then
[code].....
is fine for grabbing a graphic from the clipboard, but I'm after grabbing a file that's been copied there, either copied from explorer or from an email attachment from Outlook.
System.Windows.Forms.Clipboard.GetFileDropList(0) is fine if it's been copied from Explorer, but fails if it's a mail attachment.
Code is below. I am designing this code to transfer a file at a specified time. Right now, I have it sending me an email when it succeeds for test purposes. It will be only when the file copy fails later.
Here's my question: how can I get the program to wait until the file copy is complete to report success or failure? Right now I'm using exists to see if it works, but some other method of checking the file will be built in later. Eventually, this will be deployed to various locations for a bit of automated backup.
[Code]...
I have a textbox with exisitng text into which I'd like to paste copied strings. My problem is that when I paste (Clipboard.GetText().Trim), the existing text disappears.[code]...
View 11 RepliesI have a folder called "Documentation".I also have a menu option in my windows form app called "Help" that I want to launch a web browser and load the index.html file within this Documentation folder.To have this folder be copied to the installation directory at time of install, do I just add the folder to my project?How do I code the "Help" menu option to open a web browser and navigate to this folder?
View 9 RepliesI have a number of listboxes such as lstDivision1, lstDivision2 and so on. A user can choose the division they are interested in using code similar to:
For Each item As Object in lstDivision1.Items
lstDivision.Items.Add (item)
Next
These listboxes have their Visible Property set to False. The contents are copied to lstDivision which is visible on the form.What I want to know is how I can ensure that the correct listbox is being copied to lstDivision?
When I reference a DLL in my VB.net 2005 project, is there any way to prevent it from being copied to the projects release folder? I would just like it to use the dll were it is registered on the server.
View 2 RepliesI want to write a program that will log all the files that has been copied to removable device. I tried to work with FileSystemWatcher but I didn't get the result.
View 3 Repliesis any method to know ATIP info of cdr/ cdrw.. or other method to protect cds from being copied - detect manufacturer id using VB.NET?
View 5 RepliesI have a project I built in VB 2010 Express Edition. I copied the project's folder to a flash drive, pasted it into the visual studio 2010 projects folder on a different computer, and opened it with VB 2010 Express Edition on that computer. I can view the code, but when I try to open the design view, I get the following error:
[Code]...
2 - Saves the server XML file it into a folder separate from the root folder of the application.3 - Deletes the local XML file in the root folder of the application.4 - Copies the server XML file to the local folder of the application.5 - Opens the application.6 - Closes the updater.Now when the application opens, it reads this XML file in the local folder. When I run it stand alone, it works fine and can find this XML file. However, my problem is when the application is opened by the updater, it can't read the XML file in the local folder. I check for this file doing File.Exists(XMLfilename) and it returns false but like I said, if I close the application and reopen it it works fine.
I'm thinking that for some reason the updater is "locking" this file so my other process can't read it? I can't close the process before I open the original application so I'm not sure what's happening here. My Update Folder is the users ApplicationData folder and the root directory of the application is in the Program Files folder.
This is my code in the updater:
Dim ImageDir As DirectoryInfo
Dim fi As FileInfo
[code].....
How can i get the text of the Selected Item in copied into a textbox.So if i click on a item in the ListBox1 it copies the text of it into Textbox1.
View 2 RepliesFollowing up on my question yesterday to deepcopy an object with events in C# and attach the events of the original object to the Cloned copy is pretty easy, you just set the Event declaration in the Copy = the value in the original. Deep Clone when events are attached. How do you do this in VB.Net? (Using .Net 2). Maybe there was something with reflection where you can examine what events are bound and somehow transfer those to the new object.
View 1 RepliesI have a simple windows Forms application where in I have a usercontrol called "MyControl" derived from PictureBox.
In this MyControl, I have the following code :
Sub New()
MyBase.New()
Me.BackgroundImage = My.Resources.MyImage 'This is a project resource image
End Sub
Now when I drag and drop this MyControl into a form, I get the image and also those stuff. But the problem is that the BackgroundImage is being copied into the Form's local .resx file.So when I look into the form.designer file, I find the following :
Me.MyControl1.BackgroundImage = CType(resources.GetObject("MyControl1.BackgroundImage"), System.Drawing.Image)
This is a problem and also when I try to change the image in the control, it does not get reflected in the form's control instance.