VS 2008 Stop Patching / Cracking
Apr 19, 2009I'm useing a auth system for my programme and wanted to no how people Patch/Crack programmes
View 6 RepliesI'm useing a auth system for my programme and wanted to no how people Patch/Crack programmes
View 6 RepliesMy current method was overwriting the file with a file from My.Resources, but that's only good if the file is really small in size... Is there a better way to patch files? For example. Lets say I have 2 100 MB files. If I were to use my current way, the EXE would be at least 100MB. I basically want to make a File Patcher that can patch a large file without the patcher having to be a large file.
View 20 RepliesI am looking to crack(Break) public key of DLL component
View 5 RepliesI've written a VB program. How do I add anti-tamper code so people can't crack it?
View 2 RepliesIs it possible for my application to check if its been modified?
e.g. Could i compile the app and use a 3rd party tool to calculate the MD5 checksum of the compiled exe - and inside the app, code it so that if the MD5 checksum doesnt match then run the deactivation process?
I know its not foolproof but if it makes it slightly more hassle to crack my app i'd rather have it
I have a simple application that use thread pool to read a file and input the data into a listbox. I want to be able to stop threadpool from running after clicking a stop button. How do I stop threadpool? Here is the code for my application below:
Imports System.Threading
Public Class Form1
Private Delegate Sub StringDelegate(ByVal text As String)
[Code]....
Alright, so I'm still working on the slot machine. I have three timers all independently going for my three "wheels" of the slot machine.
My issue, is that I'm trying to make a Stop button to stop each timer one at a time, and I'm not understanding why this code isn't working. The logic completely makes sense, and the first "wheel" stops when I click the button, however, it doesnt appear to stop the other two timers.
CODE:
I created a form and have the variable inputs for 4 motor run statements. Then with a start button the script starts and it is surrounded by a for next statement to loop 10 times. It works fine but if i need to stop the execution of the script with a stop button. I put the stop in a new section but of course does not work to do a motor stop. It just causes the exe to not respond till the loop is complete. Just need to be able to stop the Run1_Click button section.
Edit:I do not mind if it finishes the 4 motor run commands and then stops execution of the loop. So need to figure out a way to trigger a stop from a button on the form to stop the cycle. For the future the loop will be a variable integer input so 10 will not be the standard.
Edit::Does a ' Do ' statement sound like the thing to use? If so how and where would I place that? Have a Stop button on the form and it would stop after the 4th motor run command.
#End Region
Declare Function InitStp Lib "stp.dll" () As Integer
Declare Function RunMotor1 Lib "stp.dll" (ByVal steps As Integer, ByVal interval As Integer, ByVal direction As Integer, ByVal outputs As Integer) As Boolean
[code]....
Problem Fixed. Mod please delete this thread, .
View 2 RepliesI have created a small program but the code is quite big.
I have a start button that when clicked it runs the script in a private sub called start(), when it gets the the ens it calls the start() again to loop it and restart the script.
I have added a stop button, but how do i make the script stop ?
I have a app that gathers and store updated data from a list of websites. My app use threadpool and each thread visits a site within the list and gathers the data. I want to create a stop button to stop/ prevent threadpool from running once it is clicked. How do I go about doing this?
View 1 RepliesVB CODE
Private Sub pstart()
Dim i As Integer
[code].....
I have a loop set up as [code]I need to know a way to break that loop at the current item it's on in the listbox (listbox1) via a button click (button8)
View 5 RepliesI used this in VB6 to prevent my program from running twice as it sits the system tray.
If App.PrevInstance = True Then End
What code would i use in VS 2008 to prevent the program from running twice?
i have made program and would like a progress bar to start at the start of the script and stop at the end of the script.
I was thinking of using a timer and haver timer.start at the beginning of the script and timer.stop at the end for the progress bar but timers use time :/
I tried look online for a simple task but I haven't been able to find the answer. How do you stop a code for testing? I triedexit - only works for loops and if statementsstop - kinda works, but doesn't completely stopsend - the form disappears when it ends
View 4 RepliesI have a browser object, but when I play YouTube or things that use sound and such, I want to stop it.I tired Browser1.Stop() but it just kept on working
View 3 RepliesI have a timer, and I want it to stop after 1 minute, and to have a message box pop up saying that it's done.
View 11 RepliesThe following procedures sorts a listview column based on what the tag is, 'Numeric', 'String' or 'Date'. When you click on the column header the sort procedure kicks in. On the first click it will sort ascending and on the second click it will sort descending.
My problem is that when I click a second time it won't sort descending but re-sorts ascending again.It appears when the sortorder is passed to the ListViewColumnSorter.vb classes it changes back to ascending even though it's called as descending. I've bolded the offending variables using a Numeric search.Now here's the really iritaing thing, I have exactly the same code in another application and it works perfectly?
Private Sub lvwResults_ColumnClick(ByVal sender As Object, ByVal e As System.Windows.Forms.ColumnClickEventArgs) Handles lvwResults.ColumnClick
SortMyListView(Me.lvwResults, e.Column, , True)
[code].....
Public Sub TextBox3_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox3.KeyDown
counter1 += 1
End Sub
I set TextBox3 max length to 8.What code should i write if i want it to be like this:I wan the counter1 to stop increasing if the TextBox3 reaches 8 characters. (Even there's still key down occurs)After I click a button, the counter1 is able to increase again.
I develop an appliaction which is running a process in the background. This process is "forked" from the application (I'm not using threads). The process may take a few minutes while the 'father' application is waiting to the process output, so I'd like to enhance the application with the following:
a) a "Stop" button (like in IE, FireFox) to stop the process in background
b) A status bar that displays what's going on while the process is running in BG.
how to draw a button or status bar of course... I mean how VB.NET handle with stopping or displaying while something else is running in background and how to do it.
I'm having a problem with some code which seems to stop my program from working correctly. Below is my (i have only added to code which i think you will only need to see.
Dim con As New OleDb.OleDbConnection
Dim dbprovider As String
Dim dbsource As String
[code]....
I am writing a Windows Forms Application using Visual Studio 2008 Pro .NET version 3.5 with STRICT and EXPLICIT options both ON.
I am having trouble using ".Start()" and ".Stop()" for my stopwatch method from other methods. I have tried several different methods of writing the line that calls the start and stop, but none work, and VS keeps sending me in circles with its correction suggestions.
Form Level
vb
Imports System.Diagnostics
Class Level
[Code]....
and promptly gives me the same error with no options for correcting it. The same thing happens for the stop command.
any way to stop a for loop untill i have user input, once the input is correct continue the for loop, is that possible at all?
View 4 RepliesI want the web browser to run much quicker:To acheive this I would like to disable the vb webbrowser from displaying pictures.I could not find a property to do this, within the vb browser settings
View 1 RepliesI have a START and STOP button and when the user clicks "start" the program does a whole bunch of calculations and all. However, I noticed that when I was testing the program I clicked STOP the program continues to execute stuff.
My START code is basically a while loop that iteratively does some calculations.
So I just put a boolean variable as the while condition and when user clicks stop its set to false and when user clicks start its set to true. However, when I click stop, the condition is set to false yes but it still executes all the code until the condition is re-evaluated right...so my question is how can I get out of the while loop when user instantly clicks "stop"?
I migrated some applications from Visual Studio 2005 to Visual Studio 2010. I develope using VB.NET in VISUAL STUDIO 2010 on a Windows 7 PC (32 bit). The applications writed in VB.NET - VS2005 run correctly in PC having XP, VISTA, WINDOWS 7 and Windows Server 2008. After the migration, the exe of these applications work correctly in PC having XP, Vista, Windows 7 but work stop immediatly on Windows Server 2008. The error returned is 'System.InvalidOperationException'. Seems that the application stop when attempt to evaluate the first global variable that meets. If i change the framework from 2.0 to 3.5, things don't change.
[Code]...
I'm a new to visual basic and I need to create a boat animation in vb in visual studio 2008. The animation needs to be able to move from left to right, then stop in a specific place and then move from bottom to top. However before it moves it should bring up a labels. I have managed to move the boat from right to left using the timer and left and top assets but unable to stop it on a particular place on the form.
View 5 RepliesI use visual studio 2008. I have a problem I finally got the progress bar to work but I want it to stop when the website I choose to display is fully loaded.
Here is my code below
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Navigate(TextBox1.Text)
End Sub
[Code] .....
I've created an httplistener and I'm using the async method it has.Starts like this on a BUTTON click in my test app
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim prefixes() As String = {"http://*:8080/HttpListener/"}
StartRequests(prefixes)
End Sub
[code]....
This forces the callback to fire - for some reason that I don't quite understand and it gets this error...
Quote:
The I/O operation has been aborted because of either a thread exit or an application request at this line
Private Sub GetContextCallBack(ByVal result As IAsyncResult)
'Dim listener As HttpListener = CType(result.AsyncState, HttpListener)
Dim context As HttpListenerContext = m_listener.EndGetContext(result)