|
Try an obfuscator - it will protect nothing, but may satisfy your requirements anyway.
|
|
|
|
|
harold aptroot wrote: it will protect nothing, but may satisfy your requirements anyway.
Oh you cynic you. But Yes.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Sir Thomas More (1478 – 1535)
|
|
|
|
|
kalyanacvk wrote: How to Protect the dll or exe Code By not distributing it. Anything that's released, can be broken (given enough resources).
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I want to get the coordinate of the controls in the game ,is there any way except color detection.I want to make a simple bots please help me
|
|
|
|
|
Nope. You're essentially taking a screen shot of the flash game and going image manipulation and OCR to get the data you want.
Flash doesn't use controls that your code can get to.
|
|
|
|
|
Maybe it's not a good idea to simulate mouse_click by clicking the controls location ,right?
most web game bots using simulate data pack to make the bot ,yes?
|
|
|
|
|
|
Thank u very much,you helped a lot
|
|
|
|
|
Hi
I have an access database and i want to make this setup.
This setup will be install in a laptops or in a servers.
There are different ways to do this? and how can i make access database setup?
this database will be used from my c# project that i also make
setup.
I also understand that i must make database setup because when i try to run my project setup an error has occurred.
the error is :
---------------
Execute reader requires an open and available connection.The connection's current state is closed.
|
|
|
|
|
That error has nothing to do with creating a setup for the database. You don't have to make a seperate setup for the Access database. It's just a file.
That error means that you tried to use a connection to the database that you never opened. You have to open the connection and THEN you can read from it. It's a bug in your code...
|
|
|
|
|
i solve the error. i must include in my application folder the access file now it's ok ..
i have another question:
If i want to run my project access database from a server i have to make more work about it?
|
|
|
|
|
You can NOT put the database in the application folder under Program Files. Everything under Program Files is readonly by default. Admins don't like giving write permissions to anything under that folder.
Put your database in a more suitable location.
But, no matter where you put it, you'll have to change your applications connection string to tell it where to find the file.
If this is going to be a shared database used by more than one person, you really do NOT want to use an Access database.
|
|
|
|
|
the database will be use by minimum 3 person but this is not my decision i only follow instructions
from others.
because i don't make setup in previous times that must be in a server,
it is my first time.
Can you please tell me or give me some examples about how make setup access database that have to be save in a server??
thnx
|
|
|
|
|
There's nothing to setup for an Access database. You just copy the .MDB file to wherever it needs to go.
|
|
|
|
|
Let me add some reinforcement to Dave, DO NOT USE ACCESS AS A SERVER database, convert to SQL Server. Access is a single user database, Microsoft states this in the documentation. You should not be using for shared data. BTW SQL Server express is FREE, no charge unless you require more than 4gb at which point you need to get a server licence.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
It really depends how your application is connecting your .MDB?
If your application assumes the ms access database to be a specific folder like Application Installation folder, then you can follow below link <a href="http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html">http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html</a>[<a href="http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html" target="_blank" title="New Window">^</a>] and to attach your 'Access' database: In the figure 4 of above tutorial -> right click on 'Application Folder' -> select 'File...' and then search the *.mdb file on your hard disk. When you compile (Debug or Release) it will copy the database to the App Folder.
While installation it will be copied to user’s application installation folder (i.e C:\Prog Files\xyz…)
|
|
|
|
|
zebra88 wrote: this database will be used from my c# project that
MS Access requires that the OS must have file level access to the database file.
So if you want 3 people (three different computers running the client app) to use it then all three of those must have the file viewable via Explorer.
|
|
|
|
|
Hi All
1. I have GridEX which bound to DataSet
2. One of the column is ceckbox cloumn
3. I fileter one of the column (not the ceckbox column) by the header column and I see the correct data in the Grid
4. I want to checked only the filtered record (the record which shown in the grid) how can I do it?
until now I Loop on all of the records in the dataset and checked all the records and finally refresh the grid
any advice
Thanks
|
|
|
|
|
I get the basic parts of incrementing and decrementing a variable by one.
Maybe because I'm not quite thinking like a programmer yet, is why I don't understand this code below.
"Console.WriteLine(y); // result = 99 — The value of y after" - this is what's confusing me. How do you get 99 when there is no loop?
And
doesn't 100 become 99 before you add it to 10?
Of course after compiling this, it worked. It came from a book from BrainMeasures dot com. They said the book was even for novices (PSSH)
Dummy it down for me quite a bit please. LOL
<pre lang="c#">using System;
class ArithmeticOperators
{
public static void Main()
}
int x = 10;
int y = 100;
int z = y-- + x;
Console.WriteLine(z); // result = 110
Console.WriteLine(y); // result = 99 — The value of y after
// decrementing
z = --z + x;
Console.WriteLine(z); // result = 119
}
}</pre>
<a href="http://www.widmarkrob.com">My Coding Journey</a>
|
|
|
|
|
WidmarkRob wrote: How do you get 99 when there is no loop
Why do you think that you would need a loop to add or subtract anything?
WidmarkRob wrote: y--
The '--' is a post decrement operator that is what is decrementing 100 to 99.
|
|
|
|
|
y = 100;
Also when the console.writeline(y);
that should be 100, shouldn't it?
It is declared at 100.
I would probably understand the answer if it was written like this "console.writeline(y--);
<a href="http://www.widmarkrob.com">My Coding Journey</a>
|
|
|
|
|
WidmarkRob wrote: It is declared at 100.
Yes the initial value is 100, did you see the y--? As you were told, the -- is the decrement
operator that makes y 99. The -- is short hand for y = y - 1.
|
|
|
|
|
did you see the part where I said I would understand if it was written the other way?
<a href="http://www.widmarkrob.com">My Coding Journey</a>
|
|
|
|
|
WidmarkRob wrote: did you see the part where I said I would understand if it was written the other way?
Yes I saw that. That line of code would print 100 so it would not help you understand why y is 99 at all.
|
|
|
|
|
"Console.WriteLine(z); // result = 110"
After reading the book, that line right there makes sense to me.
It said something similar to, "you evaluate the expression before you do that decrement".
I get that part, the way the expression was written I understand that.
So when we write the next line to the console, "Console.WriteLine(y);"
the variable y automagically turned into 99?
y is declared at 100. I just don't see how it could automagically turn into 99 without some sort of loop.
y-- is used in an expression, not used as a declared variable.
I think that's where I'm getting confused.
Maybe I've just seen too many YouTube videos where they are using incrementing and decrementing with loops.
<a href="http://www.widmarkrob.com">My Coding Journey</a>
|
|
|
|