16,018,458 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Mohamad77 (Top 48 by date)
Mohamad77
17-Mar-20 4:23am
View
In this link I think I should refer to this part: "5.Working on the MuPDF SDK". It just said that "you will need to check out the following git repositories". But It doesn't mentioned how could I modify the source and then compile it to jar file for example.
Mohamad77
23-Feb-14 14:45pm
View
Thanks alot SoMad. I've found the missing system dlls and installed.
Mohamad77
25-Aug-13 6:56am
View
It is obvious that the time is just an example to explaining the problem! The problem IS NOT THE TIME !!! change seconds to microseconds !!
Mohamad77
22-May-13 0:53am
View
Thanks. Yes, It seems too hard. In other words, I need to create an application that works like the commercial components such as PDFNet SDK ! whould you please guide me how should I start? where could I get help from ?
Mohamad77
20-May-13 23:39pm
View
Thanks, But no answer yet !
Mohamad77
15-May-13 11:04am
View
thanks alot.
Mohamad77
24-Apr-13 0:37am
View
Line 29: compilation debug="true" targetFramework="4.0"
Mohamad77
24-Apr-13 0:37am
View
thanks for comment but I get this error in 4.0 framework:
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Line 29: <compilation debug="true" targetframework="4.0">
Mohamad77
7-Mar-13 4:14am
View
I used this code too, and no difference:
foreach (DataRow temp in ONds.Tables["serverA_table"].Rows)
{
OFFds.Tables["serverB_tanle"].ImportRow(temp);
}
OFFds.Tables["serverB_table"].AcceptChanges();
Mohamad77
2-Mar-13 0:44am
View
oh, YES, you're right ;) thanks alot
Mohamad77
2-Mar-13 0:15am
View
thanks, but the grant permission is previously granted to user2 ! NOW how can I revoke this permission which is previously granted !?
Mohamad77
28-Feb-13 2:48am
View
thanks, but it doesn't work.
Mohamad77
27-Feb-13 1:45am
View
when I logged in with user2 and tried this query: "GRANT select ON myTB TO user2",
I get this error instead:
Cannot find the object 'myTB', because it does not exist or you do not have permission.
Mohamad77
27-Feb-13 1:22am
View
thanks for checking my problem.
1. I've logged in with user1, then create db and table (now user1 is the owner I think !)
2. I've created another user named user2.
3. my problem is user2 can't execute any query on the db and table that created by user1 ( user2 CAN connect to my database )
4. so, to solve the problem, I've logged in by user1 and tried this query:"GRANT select ON myTB TO user2" to grant the select permission to user2.
what was wrong with 4th step ? should I change any user ?
Mohamad77
26-Feb-13 2:11am
View
Thansk alot SA, I've just got confused for a minute ! :D
I've solve my second question, and I've added the newlabel(with new method) to my winform.
thanks again for checking my problem.
Mohamad77
26-Feb-13 1:52am
View
Deleted
Thanks alot for complete answer.
I have some problem yet, please take a look at the code bellow:
(forget about Label or TextBox! this is just an example of a control with this method )
public partial class Form1 : Form
{
public Form1() { InitializeComponent(); }
private void Form1_Load(object sender, EventArgs e) { }
}
public class MyLablel : Label
{
MyLablel newlabel = new MyLablel();
// Here I should Add the newlabel control to my WinForm(form1), am i right ?
// the code you mentioned above for adding the control to UI doesn't work.
// How I can use my nelabel control in my project ?
protected override void OnTextChanged(EventArgs e)
{
MessageBox.Show("Label Text is Changed !");
}
}
I appreciate more helps !
thanks again.
Mohamad77
23-Feb-13 23:19pm
View
Thanks a lot.
Mohamad77
23-Feb-13 23:08pm
View
yes, right.
But the user computer doesn't run web browser, he run windows application (WinForm) which is written by C# for example.
thanks anyway.
Mohamad77
23-Feb-13 9:41am
View
thanks for the answer.
you mean that I shouldn't connect directly to sql server on my website? I should first connect to my webserver (HOW?!) then the server connect to sql server then answer it ?
Mohamad77
17-Feb-13 0:58am
View
thanks Lina,
But I didn't find any annotation features such as highlight, undeline, adding note, and ...
Am I right?
Mohamad77
17-Feb-13 0:05am
View
thanks valery,
It's not bad but I need more powerful one.
Mohamad77
16-Feb-13 23:40pm
View
Hi,
Yes I've visited it, but it seems that it doesn't support annotations like text markup, highlight, underline, ...
Am I right ?
thanks
Mohamad77
1-Sep-12 3:11am
View
WELL DONE.
THANKS ALOT.
Mohamad77
30-Aug-12 14:04pm
View
sorry Christian,
I didn't create Web Application, I Create New Website in visual studio, and how could I access the specific reference properties in Website !? (NOT WebApplication)
thanks for reply
Mohamad77
30-Aug-12 12:39pm
View
I have create a new Website in visual studio,
then I go to website -> add reference... and add the MySql.Data.dll from installation folder.
now i have this ERROR message after uploading files to my server and then browse it:
Parser Error Message: Could not load file or assembly 'MySql.Data, Version=6.4.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Line 40:<add assembly="MySql.Data, Version=6.4.5.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D">
so what should i do now?
thanks again
Mohamad77
26-Aug-12 14:59pm
View
thanks for answers,
you're all right !
but don't you think so that this way is better than nothing!!?
i didn't find any other idea!it was the only way I found to disable the cracked apps !!
Mohamad77
26-Aug-12 13:31pm
View
i don't know :( , i'll try my best in the application to detect invalid keys, but i should accept that there will be some invalid keys and invalid users !
waiting for user to connect to internet is the only chance for me !
how could i implement it !?
Mohamad77
4-Aug-12 1:40am
View
thanks _Amy
I'll try it.
Mohamad77
4-Aug-12 1:19am
View
thanks helmi,
i'm sorry i forgot to say that i should use HyperLink to Navigate to another page ! i don't know that it's possible to navigate to the other page by clicking LinkButton! is it possible ? then how ?
thanks again.
Mohamad77
4-Aug-12 1:17am
View
thanks for the answer but can i recognize with ID or Text !?
where should i type the code like this:
if(hl.text == HyperLink1) label1.text = HyperLink11
else if(hl.text == HyperLink2) label1.text = HyperLink12
Mohamad77
13-Jul-12 0:33am
View
Yes, i have thought about some of these scenarios !
and i'll try my best to make it easy for the customer.
yes, losing a lot of money and paying for the damage to the companies is making me to secure my software more and more !
thanks for the help Griff :)
i'll appreciate any other idea to solve my issue !
Mohamad77
13-Jul-12 0:26am
View
thanks lewax.
what do you mean by saying that MD5 isn't exactly secure to begin with!? do you have any other idea ?
would you explain more please?
Mohamad77
12-Jul-12 15:00pm
View
ok thanks,
but i think if i use the unique hardware id ( e.g. Processor ID ) as the username, in this way each license can just be valid on a specific computer !!
i mean in this way every computer has it's own specific username ( e.g. Processor ID ) !
am i wrong?
so i hash the unique username, and give the KEY to the customer.
32-char KEY annoying customers i think !
isn't there any hash algorithm, or any other way to create 12-char KEY from the unique username !?
thanks again.
Mohamad77
12-Jul-12 13:18pm
View
it's almost ok, but i think using 16-char hex string could calculate repetitive KEYs.
for example H(x) = [A][B] (A: 16-char, B: 16-char)
and H(y) = [A][C]
although the result of H(x) and H(y) is different, the first 16-char is the same ! and it will hackers to crack the KEY !
am i wrong !!?
thanks for answer.
Mohamad77
12-Jul-12 13:11pm
View
thanks for your answer.
I want to publish an application for windows,
the user should buy the license to use my application,
so my application request two fields: USERNAME: ... , and KEY: ....
I want to hash the USERNAME and create the KEY, then the user should enter the specific USERNAME and KEY.
my problem here is that the KEY should be 12-characters,
(But in MD5 hash, I get the 32-char KEY).
you mean that i should change the 32-char KEY to 12-char KEY manually !?
please help me, i really need it.
Mohamad77
9-Jul-12 9:12am
View
thanks lukeer,
but don't you think that the user simply identify the XOR algorithm, and hack it easily !?
i need a powerful algorithm. is it possible?
Mohamad77
9-Jul-12 9:08am
View
i don't have any idea about this, for instance two 12 character codes, result one 12 character code as code3.
the user shouldn't identify how it happens, and he shouldn't be able to guess how the third code created !
Mohamad77
24-Jun-12 4:21am
View
thanks for answer,
i'll try all as soon as possible.
Mohamad77
24-Jun-12 4:20am
View
my code use these lines to save decrypted file to hard disk, then i should use the file, BUT in this way the user can see and access the decrypted file and copy it !
my question is that i want to use the decrypted file without saving it to hard disk !
if Memorystream is the answer, then how should i use it !?
FileStream fsOut = new FileStream("output decrypted file address here", FileMode.Create);
int data;
while ((data = cs.ReadByte()) != -1)
fsOut.WriteByte((byte)data);
thanks alot.
Mohamad77
19-Apr-12 9:24am
View
sorry for delay,
i've tested TX TextControl but unfortunately it doesn't support RTL language well.
do you know any powerful Control ? doesn't matter not be free !
Mohamad77
7-Apr-12 9:14am
View
hi shahin,
i realy need help in this!
you mentioned Dev Express XtraRichEdit, it's very good but unfortunately it does'nt support RTL languages!
i searched alot but found nothing like this application.
would you please suggest another control !?
thanks alot.
Mohamad77
7-Mar-12 15:14pm
View
thanks alot buddy :)
Best Regards
Mohamad77
7-Mar-12 15:13pm
View
thanks for help,
i'll try another way to create my Viewer!
and again i'll appreciate any idea about it ! :)
Mohamad77
25-Feb-12 17:04pm
View
oh, thanks.
creating an editor with this Capabilities is the first step of my idea!and i choose it as my university project too.
XtraRichEdit doesn't support persian language!but it could help:)
i'll try more and i'll be pleased for your further help:)
thanks alot shahin.
Mohamad77
25-Feb-12 14:32pm
View
thanks shahin,
i'll promise i'll try my best to extend your help!;) i just need the clue!
i searched more and more about pageclass, but i did'nt find anything, please guide me on PageClass! what is it!? do you know any article or refrences please?:)
Mohamad77
20-Feb-12 7:30am
View
hi shahin,
thanks for answering,
i've downloaded XtraRichEdit and i'll try it soon,
but i almost didn't understand your second note! would you please explain more? is it related to XtraRichEdit?
and how should i use these codes !?
thanks for helping.
Mohamad77
27-Dec-11 15:07pm
View
so you mean that I forget including picture, ok thanks, plaese show me how I can design a class Page!?
Mohamad77
26-Dec-11 15:15pm
View
thank you for answering,
but would you please explain more about storing my pages info (containing pictures) in an object :-? i'm sorry i didn't understand.
i wonder how the microsoft done it in MS WORD!? what's behind MS WORD's pages !!?
please help me, i realy need it !
thanks again.
Show More