Prevent Forwarding Of Sent Exe File?

Dec 23, 2009

I have developed a program in exe format & sell it on WWW.?Is there a way to ensure that the buyer does not e-mail the exe file to a third person?In other words, Is there a way to prevent the recipient of your exe file from forwarding it to a third person?EXE file is installer of VB2008-created exe & other compiled files.

View 3 Replies


ADVERTISEMENT

Port Forwarding With Program?

Apr 6, 2010

I am looking to write a VB.NET windows app or service to do simple HTTP port forwarding. This is normally done within my router, but I have more forwards to do than the router can support (10) so I would like to do it programatically.

Quite simply, an HTTP request would come in on a port where the application/service is running, and it would automatically forward the conversation to another IP address and port. That way, my router could forward a range of ports to one machine (where the application/service would be running) and the application/service would dole the requests out to the various IP/Port combinations it was listening for.

View 1 Replies

Create A Number Sequence That Always Forwarding?

Oct 2, 2009

how to create a number sequence that always forwarding.. but back to first number again..

for example:

i have determine that number only 0-9
i give an input the 'start' and 'end number'

[Code].....

View 5 Replies

Visual Studio - Port Forwarding With .net?

Jul 10, 2011

I am trying to write a program that launches a game server, the only problem is that I do not know how to port forward with vb.net or if it is even possible? It is for a game

View 1 Replies

DB/Reporting :: MS SQL Cannot Pass Port Forwarding Function On Router

Oct 2, 2008

I have setup a MS SQL server in my computer and enable the sql server to listen to the TCP/IP port 1500. I can use my vb.net program to access to the sql server from another pc within the same LAN by using the following connection string "Data Source=192.168.1.101,1500;Database=ABC;UID=SA;PWD=123;

But if I changed the "192.168.1.101" in the connection string to the IP address that provided by the ISP (i.e.: "Data Source=<IP from ISP>,1500;Database=ABC;UID=SA;PWD=123 the connection string do not work. I have set the port forwarding function in the router as forward all TCP from 1500 port to IP 192.168.1.101. But it don't work neither......

Then I checked the port 1500 with the webpage below: [URL]
It show that the port 1500 is closed! But if I use DMZ function on the router to explose my computer the internet.... the above webpage can checked the port 1500 is opened! And I can successfully connect the sql server with this connection string
"Data Source=<IP from ISP>,1500;Database=ABC;UID=SA;PWD=123;"
Is that the mssql cannot pass the port forwarding function on the router? I have set the port 8080, 21 forward to another IP on the router and it work fine......

View 1 Replies

VS 2010 - How To Get Users To Receive Messages Without Port Forwarding

Aug 8, 2011

I am testing out packet sending with some friends and I've made a chat program which seems good and all...(not really, its really bad actually), But anyway... The users cant receive incoming messages unless they portforward port 1337 to their computer... How can I get users to receive messages without portforwarding?

View 7 Replies

VS 2010 UPNP Port Forwarding (Error Appeared Out Of Nowhere)?

Nov 4, 2011

I'm working on a type of p2p program, and I found the need to forward ports. That can get complicated for the average user, so I'm including the option to use UPNP to forward the ports for them. I'm using code I found HERE, and it worked too! then randomly it stopped working. I don't remember changing anything in the codeThis is the entire code. I have the Exception Highlighted in Red. The project includes a Listview (6 columns), three buttons (4, 5, 6), a progress bar, and a background worker.

Imports System.Net.Sockets
Public Class Form1
Dim upnpnat As New NATUPNPLib.UPnPNATClass()

[code].....

View 2 Replies

.net - There Was An Error Generating The XML Document" While Forwarding An ArrayList To Webservices

Feb 24, 2012

I am trying to consume the webservice from the .Net environment which was build in Java environment. Currently am trying to forward the ArrayList of type object array as parameter to the WSDL file.Am experiencing the following error message : "There was an error generating the XML document"let me know the whether I need to manually convert the ArrayList to XML . May I know the best procedure to forward the ArrayList to webservice in Java ?

View 1 Replies

Prevent File Copy Where Source And Target Are The Same File?

Sep 14, 2011

In my program I allow the user to copy a file from one folder to another. If the file already exists in the target folder I want it to be overwritten.

All that works just fine - I'm not asking how to copy files.

But here's an example

Source file is:-

\SomeMachinesomeFolderfile.xyz

Target is:-

P:file.xyz

This might at first look like two separate files but in this case P: is mapped to \SomeMachinesomeFolder so the source and the target are actually the same file and the file copy will obviously fail.

Of course I want it to fail but my problem is that the windows generic error message seen by the user is not very helpful. It says something simple like "... can't be copied because it's busy". If the user isn't very bright he doesn't realize he's selected the same file both as source and target and he doesn't understand why it's busy.

What I want to do is detect in advance that the source and the target are the same file and display a more meaningful message to the user and not even bother trying to copy.

So, is there a way to detect that

\SomeMachinesomeFolderfile.xyz

and

P:file.xyz

are actually the same file?

View 8 Replies

Mscomctl.ocx File Which Prevent Me From Opening A Program?

Jun 26, 2009

I've been trying to open a program called 'DET 3' which is designed by the Honduran government and helps us pay taxes for the government. I've been getting this error message when I try to open the program "Component 'Mscomctl.ocx' or one of its dependencies not correctly registered: a file is missing or invalid" I need this program to work so I can pay my taxes before July 10th.

View 8 Replies

Prevent File Deletion And Move To Specified Folder

May 11, 2012

Is there a way to detect if a file is being deleted,
1) Using the Del key
2) Using the Shift+Del keys
3) Using the above keys from a remote computer through a shared folder
And instead of deleting move it to another folder in the same computer. Basically when a user tries to delete a file or folder it should move it to a specified folder instead of deleting it.

View 2 Replies

Prevent File Opening (temporarily) On Certain Files

Jan 21, 2012

I want to prevent file opening (temporarily) on certain files. I've tried encryption, which is fine, but a bit slow for my purpose. The actual end product doesn't have to keep some computer hacker type from getting in, just the lay user. I was wondering if it was possible to encrypt only part of a file and reverse this after or what options I had.

View 1 Replies

Prevent Users Viewing Javascript File?

Mar 16, 2011

I have built a vb.net web application. I have tried to make it secure, with all users requiring a password to get in. The only problem is that if anyone can guess (or detect using some kind of hacking tools) the url of the javascript file, they can download it and read it, without even having to log in first.

Is there any way that this can be prevented?

View 2 Replies

VS 2005 How To Prevent An Excel File From Locking

Jun 25, 2009

I have developed an application which requires reading data from Excel file and performing some calculation. However for some reason the Excel file is always locked at the end of the computation after I close the application.

View 3 Replies

.net - Vista Seems To Prevent .net From Reading/updating File Attributes?

Jun 3, 2010

The following function copies a file from Source & Path to Dest & Path, normally setting file attributes to normal before copying.Yet, a user of my app has reported it to fail when copying readonly files, returning a permissions-related error. The user is however running the code as administrator, and the error happens - quite strangely - on the SetLastWriteTimeUtc line.Although the code reports that the file attributes are set to normal, windows explorer shows that they are set to read only.

[Code]...

View 1 Replies

Lock / Prevent The User From Opening The Perl File / Code

Dec 15, 2011

i want to create an exe in vb.net by packaging few perl files along with it. when i am packaging those files i am able to hide those files by making the hide option true. but if the 'show hidden files' is selected those files will be visible. I want to lock/prevent the user from opening the perl file/code. want to know if there is any way to do it.

View 1 Replies

Prevent Directory.GetFiles() From Searching Short File Names?

Jun 9, 2012

I have a directory 'C:Test' with three files in it:

A23456789.txt
A1.txt
G 5.txt

And I run this command:

Dim FileArr = Directory.GetFiles("C:Test", "*1.txt", SearchOption.AllDirectories)

All three files are returned.I understand that this is by design and .NET searches the 8.3 short file names as well.But is there any way to override this and search the actual file names only?Surely, in this day and age there must be a function to do this. Or do I have to write my own?I would like the search function to have the same behavior as the Windows Explorer for consistency.

View 2 Replies

VS 2010: Prevent Multiple Users From Accessing File At The Same Time

Jul 15, 2011

I have written a program in VB 2010 that dumps documentation info into an Excel file. Basically, the Excel file is a log file that keeps track of revisions for design drawings at an engineering firm.

There are approximately 20 people that have access to this program. However, I've run into issues where multiple users may be using the program and trying to send info to the Excel file at the same time. The Excel file is set to read only. My program opens the file with write access, and dumps the info into the appropriate cells, then closes the file. If one person is in the process of using the program, it causes an error with another persons system if they try to use it at the same time.

In some cases, it causes my program to crash, and it leaves the Excel file open on someones system.

Typically, my program would only have the Excel file open for a couple seconds. So, the issues mentioned above are rare, but they do happen.

I'm looking for ideas to prevent this issue from occuring.

View 7 Replies

Remove Character From A Text File And Prevent Crash W/ No Text File?

Apr 7, 2011

All I would like to do is remove one character from the line of the text file that I am reading, which is the first character and also prevent the program from crashing if no text file is present.Here is the code. Can anyone notice where I am going wrong? I thought the "if" statement would cover the crash but it didn't. Clueless, but sort of have an idea on the character removal.

Private Sub RadioButton_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton.CheckedChanged
Dim fileReader As System.IO.StreamReader
Dim lineRead As String
If RadioButton.Checked Then

[Code]...

View 1 Replies

Synclock Doesn't Prevent Sharing Errors When Multiple Threads Access Same File

Apr 14, 2010

I am using Synclock to prevent multiple threads from logging text messages to the same file at the same time, but this doesn't seem to work:I get frequent sharing errors on the logfile, within the synclock block.The Synclock is using the variable holding the filename, because it exists all the time and because it is always the same object, whatever class instance or thread I'm in.[code]Despite using Synclock and a Using block around the code, I keep getting this error in the sw.WriteLine(Msg) line:System.IO.IOException: The process cannot access the file '(filename)' because it is being used by another process.Should I use some other type of object than a string to synchronize on?I cannot use a user interface object (button or so) because it is a windows service project.It was written and compiled in Visual Studio 2008, but targeting the 2.0 framework because it has to be able to run on some old Win2000 machines.

View 12 Replies

How To Prevent Others Using Dll

Aug 16, 2010

Does anybody know how I can prevent others from referencing and using my VB.NET dlls?Because when I create a dll then I can easily reference it to my project and use the code in it. So my main concern is that when I distribute my application others can use these dlls.

View 8 Replies

Doesn't Prevent Pop Up

May 6, 2009

i coded a simple webbrowser and started surfing with it but i realise it doesnt prevent pop up advertisements.. how i prevent it?

View 1 Replies

Prevent A Number Being Used?

Apr 19, 2009

Im wondering, whats the code for looking up and preventing a number from being submited into, say a textbox?

View 2 Replies

Prevent GUI From Freezee?

Jan 3, 2010

Currently I have to retrieve over 2000 records from DB and bind with combobox. and then follow with another 3 retrieving (less than 20 records)My problem is when I call this function, my GUI became freeze.I try to use Application.DoEvents() method but it still didn't work.I read some post and pages, they mention about BackGroundWorker and .Net 2.0.But what i use it MS 2003 with 1.1 so i think i can't access BackGroundWorker.

View 6 Replies

Prevent Pop-ups While Using WebBrowser1?

Jan 10, 2009

How can I prevent pop-ups while using WebBrowser1? If possible, I would like the url to open within the WebBrowser - not in a new internet explorer browser window.

View 3 Replies

VS 2005 - How To Prevent To Run Same Exe

May 6, 2009

I have an client.exe, through contextmenu in windows explorer i run this client.exe. is working fine. How to prevent , if user clicks same client.exe while its already runs.

View 5 Replies

.net - Code Prevent SQL Injection?

Nov 25, 2009

I've been contracted to analyze an existing Data Provider and I know the following code is faulty; but in order to point out how bad it is, I need to prove that it's susceptible to SQL injection.

Question What "Key" parameter could break the PrepareString function and allow me to execute a DROP statement?

[Code]...

View 7 Replies

Add To TextBox, Prevent Scrolling?

Mar 25, 2009

I have a textbox to which text is continuously appended (every second new status data at the end).I would like to act it as follows:- When the cursor is positioned at the end: Stay at the end, scroll the textbox (text disappearing at the top).- When the cursor is positioned somewhere else (not at the end): Stay exactly there, don't move the cursor, don't scroll, don't change the top line of the textbox.This seems to be surprisingly difficult (tried quite several ways).This is how far i came:

Private Sub addToTextBox(ByVal daStrg As String)
Dim posAtEnd As Boolean, selPos As Long, selLng As Long
If myTextBoxForm.txBox.SelectionStart = myTextBoxForm.txBox.TextLength Then

[code].....

View 5 Replies

C# - Prevent The Conversion Of & To &amp Using XmlTextWriter?

Feb 1, 2010

The '&' in the text gets escaped and gets converted to &amp; when creating the xml file using XmlTextWriter but i dont want the conversion to take place how to prevent it?

Is there any other way besides using WriteRaw func of xmltextwriter?

View 3 Replies

Deployment :: What To Prevent Anyone From Using DLLs

Feb 2, 2010

You developing a application named "DemoSoft" which is going to be a shareware or Premium, you use different DLL's in this project and some DLL's are owned by you, they are very useful and valuable, you are selling this software and are charging the customer for what the software does but since this software uses one of your Valuable DLL, actually few functions from it you have to deploy it and cannot additionally charge for the whole dll. since that would be unwize.now i want to ask what can you do so that This DLL in "DemoSoft" cannot be exploited, meaning end user could use my software but if some thief tries to use my supplied DLL in one of his own app he is unable to do it, in simple terms DLL should work only and only with DemoSoft.

View 5 Replies







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