Prevent .exe From Accessing Internet?
Feb 17, 2012
Is there a simple way to do this without having to programme a complete application level firewall or using Windows firewall?I found this very interesting: Winsock Injector It disables the use of Windows Sockets (winsock) for selected processes.Can such an injector be done in VB.NET and does it work for everything?I tried the injector but it doesnt seem to work for certain applications?
View 1 Replies
ADVERTISEMENT
Apr 18, 2012
How can I prevent debuggers from accessing my program?
View 2 Replies
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
Feb 17, 2012
I have searched the forums a bit in search of ways to find out how to prevent Internet Explorer to open when you click on a new window link in a WebBrowser control. I came across a topic with this code:
[Code]...
View 1 Replies
Jan 31, 2011
I've been looking for a way to do this for like two days now, and no luck.
What I want to do is get into the temporary internet files, find a certain file....
(^^^ I can do that just fine (using specialfolders, etc) ^^^)
and get the internet address associated with it.
See the attachment if you don't get my meaning.
View 1 Replies
Oct 15, 2011
we have our system running but our system needs to be modified because we did something wrong...we are doing an "Internet monitoring System" in our school library where the user can only access the internet 1hr a day, and he/she cannot use the internet within that day if he couldn't buy a time on a serve...every students should only have 20hrs time usage per semester...our problem is every day their 20hrs is being reduced in 1hr.. the rule is the time per semester which is 20hrs that is given to the students was reduced 1hr only if he uses the internet..but our system is reducing their 1hr every day.
View 1 Replies
Jun 30, 2010
Basically in visual basic 6 I could access word tables in existing templates with the code owordactivedoc.tables(1).select() where owordactivedoc refers to the active word document and tables(1) refers to the first table in the template.Trying the same code in VB 2003 just leads to errors. Secondly how do I access bookmarks or alternatively word variables.Furthermore how do one deploy web.services. For example the current program I am building is for another computer. Simply copying the web service to Inetpubwwwroot dont work because it is not picked up by the Internet Information Services program. I have to create the web service in vb2003 on the other computer change msconfig manually. Copy and paste the existing service vb file in the created folder replacing the empty vb file.
View 3 Replies
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
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
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
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
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
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
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
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
Feb 1, 2010
The '&' in the text gets escaped and gets converted to & 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
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
Dec 29, 2009
How can you detect when the registry is changed? Furthermore, how can you prevent changes to the system registry? I want to create a security tool, but can't seem to find this anywhere.This is in vb.net.I know the registry is stored as files on your computer somewhere, but I have no clue where it is stored, though I could probably use a FileSystemWatcher component to check it.Then, for prevention, would simply duplicating the registry files and rolling back the changes work?
View 1 Replies
Mar 20, 2012
We know a tolower function will turn all A to a How to turn all à to a.The purpose is I am creating ids for databases and id need to be unique. Sometimes the same stores are written as à in one place and as a on other places. This will create duplicate id problem.So I need a function that will turn all à and all of it's variation into a. The same way ě should become e.
Basically I would use utf8_unicode collation on my databases. Letters that count as the same letter under that collation should map to the same character under this function.I need to make sure that all other east asian characers are not affected in anyway.
View 1 Replies
Apr 26, 2011
I want to prevent from resize of form. I set false MaximizeBox and I set FormBorderStyle to FixedSingle. I couldn't change the MaximumSize of form at runtime. If the user double click on the Tiltebar of the form the form resized. I couldn't prevent that
Then I write the following code at size changed event
If FormLoaded Then
Me.MaximizeBox = True
Me.WindowState = FormWindowState.Maximized
Me.StartPosition = FormStartPosition.WindowsDefaultLocation
Me.Size = InitialSize
Me.MaximizeBox = False
End If
View 8 Replies
Apr 8, 2010
I have a small problem with my application. When the system starts up, the program starts with it, but runs hidden (registry key with paremeter). The program also has a GUI.I want it so that when the user clicks the desktop icon, it does not start a second instance of the executable, but instead reveals the currently running background process. Is that possible?i.e. when the application is started with the "-startup" paremeter, it loads a hidden form2, and closes form1. When the desktop icon is clicked, it loads form1, while form2 remains hidden.
View 4 Replies
Oct 24, 2011
i got 2 program here...exe and B.exe.. B.exe is external program.. how can i run my program just once at same time? all start from .exe.. if .exe running twice, a messagebox appear ".exe already running".. if .exe detect B.exe was running, a messeagebox appear "B.exe already running".. i'm using Visual Basic.NET..
View 2 Replies
Apr 19, 2010
Working with winforms I wonder if there is some way to prevent vertically resize of the form. I would like to allow user to resize form in all directions except vertically.Moreover I would like to allow vertically resize in upward direction, but not downward.
I have tried to use maximumsize by setting it to: Me.maximumsize = new size(0,me.height)
I set width to 0 because I want to allow user to change form width.
View 5 Replies
Sep 12, 2011
I've got this little 'Sticky Notes' type of application and the form I have is a borderless, taskbarless form and for Windows 2000 compatability I'm using VS 2008 and targeting the 2.0 framework. One of the hurdles I have is that in XP, Vista & 7 when you click the Show Desktop button all of my note's windows get minimized and without a taskbar icon, it's not easy to get them back (at least not for a normal user) & I'm looking for a way to either right after the windows minimize I just have them all show again or if I can skip the minimizing message in the wndproc altogether
I've put together a test app that'll show the messages in a listbox for the form, but I'm not sure how to go about skipping sending the message to the form's base class. Here's a snippet, listMessages is the listbox on the form[code]...
View 8 Replies
Mar 17, 2011
We have 2 apps that we display at once for data entry. 1 taking up the left side of the screen, and 1 taking up the right side.
1 of those apps is the data entry application. The other app is for viewing scanned info. But they can't talk to each other directly.
So I'm creating a tool that runs in the background to intercept certain keys.
I want to be able to capture keys such of Ctrl + Home, Ctrl + Page Up, etc from the data entry application, and send it to the scanned image to rotate it or zoom, etc.
I believe I can do most of it, except 1 part.
Right now if I did Ctrl + PageUp, it will send the key press to both apps. How do I prevent a keypress from the originating application?
View 4 Replies
Aug 23, 2010
Is there a way to prevent an OpenFileDialogue box from using so much memory other than using a background worker control with it?
I tried to use it with the bg worker control but it worked a bit quirky...
View 5 Replies
Aug 8, 2011
i want to be able to prevent an application from downloading. For example Utorrent. I have seen applications that can do this but never been able to integrate it in my own application. Also i have tried blocking the application's allowed ports in my windows firewall
View 1 Replies
Jun 22, 2011
[code]...
How to prevent the text in checkbox from wraping?
View 3 Replies
Mar 12, 2011
I am making a class that will behave like a collection class. I want to prevent the end-user from creating a new class of this. For example, the following should give error:
[Code]...
View 10 Replies
Feb 10, 2012
How do I prevent a duplicate entry from a text field by using SQL Query?
View 3 Replies