|
-
May 24th, 2013, 01:37 PM
#1
Thread Starter
Member
Fake error message
hey guys, sorry that i'm not online all the time cause of some problems!
i'm making a project that need a stub (crypter)
i want to add like a fake error message
so i'm using this
const fmeaz = "TEST"
dim MessageFake as string
If checkbox1.checked = true then
MessageFake = "True" else = "False"
in the stub
Const fmeaz = "TEST"
Dim MessagFake as string
if MessageFake = "True" then
Msgbox("Hello", msgboxsytle.critical,"Testestest")
When I check the check box 1 in the crypter It Does not show the message ? :[
-
May 24th, 2013, 01:40 PM
#2
Re: Fake error message
Your code doesn't even make sense...why not use a Boolean instead?? I don't get that you're mixing data types needlessly and then you aren't even consistent!
I'm assuming you typed this in the browser due to the lack of capitalization, and that you forgot your [code] blocks again!
As for your issue, you're declaring "MessageFake" as a String, and then not assigning it any value! So, technically, MessageFake = "" when you do your check. I don't even know why you are when you could just see if the dern CheckBox is checked like you did previously!
EDIT: I seriously recommend you go pick up and use a tutorial. JMC has linked this website before, and I'll even give you this site as well. I can't guarantee the quality of the 2nd website (I found it merely in a quick search), but you really need to run through these tutorials. Your grasp of some basic concepts is severely lacking.
-
May 24th, 2013, 02:08 PM
#3
Re: Fake error message
You don't need MessageFake at all, because checkbox1.Checked is the same thing. At best, you are taking the boolean return from checkbox1.Checked and turning it into a string representation, which is inefficient.
However, the key issue appears to be that you expect a variable declared in one sub to hold the same value as a variable with the same name in a different sub. I think there may be some simple languages like that, but no complex language will allow it. The MessageFake that you are setting to True/False is not the same MessageFake that you are later testing. The fact that they have the same name is irrelevant, because the name is just a label stuck onto some memory for your convenience.
My usual boring signature: Nothing
 
-
May 24th, 2013, 03:46 PM
#4
Thread Starter
Member
Re: Fake error message
 Originally Posted by formlesstree4
Your code doesn't even make sense...why not use a Boolean instead?? I don't get that you're mixing data types needlessly and then you aren't even consistent!
I'm assuming you typed this in the browser due to the lack of capitalization, and that you forgot your [code] blocks again!
As for your issue, you're declaring "MessageFake" as a String, and then not assigning it any value! So, technically, MessageFake = "" when you do your check. I don't even know why you are when you could just see if the dern CheckBox is checked like you did previously!
EDIT: I seriously recommend you go pick up and use a tutorial. JMC has linked this website before, and I'll even give you this site as well. I can't guarantee the quality of the 2nd website (I found it merely in a quick search), but you really need to run through these tutorials. Your grasp of some basic concepts is severely lacking.
hey, yea you're right, that's what i get error MessageFake = "", i used boolean and didn't really work ! can you show me how please ?
oh and btw, i've seriously watched all those video in the howtostartprograming, Basically and to be honest, i just started programing Last Month, that's why i'am posting questinons here to get some little help from you guys, :[, the first website is not giving out tutorials for free !
-
May 24th, 2013, 05:01 PM
#5
Re: Fake error message
What do you mean by stub? Do you mean Sub? A stub generally has nothing in it. Also, what do you mean by crypter?
My usual boring signature: Nothing
 
-
May 25th, 2013, 04:45 PM
#6
Thread Starter
Member
Re: Fake error message
 Originally Posted by Shaggy Hiker
What do you mean by stub? Do you mean Sub? A stub generally has nothing in it. Also, what do you mean by crypter?
Stub is a part of the crypter, crypter crypte a file with a random encryption !
-
May 25th, 2013, 04:55 PM
#7
Re: Fake error message
 Originally Posted by 2pac
Stub is a part of the crypter, crypter crypte a file with a random encryption !
Can we please stop helping this user.
http://www.vbforums.com/showthread.p...efault-icon%29
http://www.vbforums.com/showthread.p...am-doing-wrong
-
May 25th, 2013, 05:18 PM
#8
Thread Starter
Member
Re: Fake error message
 Originally Posted by ident
Sorry man, You Did not help me, and you can't help me, cause the most people here don't know what i'am talking about, and you're one of them !
-
May 25th, 2013, 05:25 PM
#9
Re: Fake error message
I very much know what a stub is and also what a crypter is. Fake error messages are common for little wanna be haxors making RATS.
-
May 25th, 2013, 05:29 PM
#10
Re: Fake error message
 Originally Posted by 2pac
Sorry man, You Did not help me, and you can't help me, cause the most people here don't know what i'am talking about, and you're one of them !
We don't know what you're talking about because it's really hard to understand you!
I'm sorry, but until you can actually learn to help yourself, we can't help you. I've given you starting tips, since you can't seem to grasp the basics of VB.NET, or programming in general, and you seemingly don't read them. If you did, a lot of your problems would be resolved and we wouldn't be 9 replies in with little to no help done. You say "we don't know what you're talking about", well that's because your English is that of a grade school kid!
Your question was answered already and you continue to not understand what's going on. If you "seriously watched all the videos", like you claim, this would be elementary.
-
May 25th, 2013, 05:46 PM
#11
Thread Starter
Member
Re: Fake error message
 Originally Posted by formlesstree4
We don't know what you're talking about because it's really hard to understand you!
I'm sorry, but until you can actually learn to help yourself, we can't help you. I've given you starting tips, since you can't seem to grasp the basics of VB.NET, or programming in general, and you seemingly don't read them. If you did, a lot of your problems would be resolved and we wouldn't be 9 replies in with little to no help done. You say "we don't know what you're talking about", well that's because your English is that of a grade school kid!
Your question was answered already and you continue to not understand what's going on. If you "seriously watched all the videos", like you claim, this would be elementary.
1 - English is not my main language !
2 - as i said before, i just started learning Vb
3 - i watched all those videos, and spend hours and hours learning vb.net, and since i don't know english much, it so Difficull to learn, but i'm doing every thing i can Do to learn.
4 - you think i would come here and ask like skids do ?
5 - you probably was a skid and noob before, i will do help people as much as i can and not tell them to go learn or say something stupid as you said before
-
May 25th, 2013, 05:53 PM
#12
Re: Fake error message
 Originally Posted by 2pac
1 - English is not my main language !
2 - as i said before, i just started learning Vb
3 - i watched all those videos, and spend hours and hours learning vb.net, and since i don't know english much, it so Difficull to learn, but i'm doing every thing i can Do to learn.
4 - you think i would come here and ask like skids do ?
5 - you probably was a skid and noob before, i will do help people as much as i can and not tell them to go learn or say something stupid as you said before 
1) I believe I came to that conclusion earlier and may have mentioned it. I could be wrong.
2) This is true, but you have to work with us first before we can help you more! But this is a communication problem, which ties into #1.
3) Then rewatch and continue until you grasp the basics first. Until then, anything we do to help you, short of just giving you the code, won't be really beneficial.
4) Yes. Not because of who you are, but because of past experiences.
5) I was, we all were at some point. It's how we chose to improve ourselves that differentiated us. You say you don't understand programming, but you're trying to do all these higher things such a crypter. It's weird behavior that doesn't...really make sense. Forgive my suspicions and shortness of temper but this doesn't completely add up.
I do apologize for my comment about your English being that of a grade school kid; it was uncalled for.
-
May 25th, 2013, 06:03 PM
#13
Thread Starter
Member
Re: Fake error message
 Originally Posted by formlesstree4
1) I believe I came to that conclusion earlier and may have mentioned it. I could be wrong.
2) This is true, but you have to work with us first before we can help you more! But this is a communication problem, which ties into #1.
3) Then rewatch and continue until you grasp the basics first. Until then, anything we do to help you, short of just giving you the code, won't be really beneficial.
4) Yes. Not because of who you are, but because of past experiences.
5) I was, we all were at some point. It's how we chose to improve ourselves that differentiated us. You say you don't understand programming, but you're trying to do all these higher things such a crypter. It's weird behavior that doesn't...really make sense. Forgive my suspicions and shortness of temper but this doesn't completely add up.
I do apologize for my comment about your English being that of a grade school kid; it was uncalled for.
man, i apologize too for so many questions that i ask here, i'm sorry, i just started that crypter as my first project, and i swear that i've spend hours and nights trying to understand what i'am doing, i'm a nice guy.
-
May 25th, 2013, 06:22 PM
#14
Re: Fake error message
 Originally Posted by 2pac
man, i apologize too for so many questions that i ask here, i'm sorry, i just started that crypter as my first project, and i swear that i've spend hours and nights trying to understand what i'am doing, i'm a nice guy.
I think...perhaps you should start something else and come back to this when you understand more of what you're doing. This might be too advanced for you
-
May 25th, 2013, 08:32 PM
#15
Re: Fake error message
I have to inform you that we have got two reports about this thread so before anyone else is allowed to give one more reply to this thread I need 2pac to describe exactly what he's trying to do.
- What is it that you're trying to encrypt?
- For what purpose?
- Why in the world would you ever need to display a "fake" error message?
Until you have answered these question nobody is allowed to post any more information in this thread and I ask you not to create any new threads with any other question.
-
May 26th, 2013, 08:03 AM
#16
Thread Starter
Member
Re: Fake error message
 Originally Posted by Joacim Andersson
I have to inform you that we have got two reports about this thread so before anyone else is allowed to give one more reply to this thread I need 2pac to describe exactly what he's trying to do.
- What is it that you're trying to encrypt?
- For what purpose?
- Why in the world would you ever need to display a "fake" error message?
Until you have answered these question nobody is allowed to post any more information in this thread and I ask you not to create any new threads with any other question.
1 - i'm not trying to encrypt, i'm trying to crypt a file !
2 - as i said before, i'm trying to make a crypter that crypte any exe or txt files with a random encryption methodes, the crypter will be my first private crypter, i'll not give no one to download it, and it for educational purpose !
3 - the fake error message is only a way so that i can understand how i can deal with 2 projects !
-
May 26th, 2013, 02:20 PM
#17
Re: Fake error message
Sorry but this doesn't make any sense at all.
"I'm not trying to encrypt ... with a random encryption method".
To me it sounds as if you don't even know what you're trying to do. If you use an encryption method on a file then you are indeed encrypting a file. There is no such thing as "crypting a file". There are encryption and decryption.
Before you learn anything about any encryption methods you must first know everything about how to work with the file system. So how much do you know about file streams and the System.IO namespace? You also want to know how to deal with multiple projects. Well, there are many types of projects you can create with Visual Studio but I'm assuming that you talk about how to deal with two different EXE programs and how to communicate between them. Then you also need to understand about how memory management works and how Windows deals with different processes.
You can't just declare two things in two different projects and think that they are automatically the same thing. They are not, not even if you name them the same thing. They are two very different things located in two very different memory locations. If you want to share information between two different processes there are various methods you can use. You can share information using files, where one process write information to a file and the other reads it. To do that, you need to read up about file streams and file locks and possibly also how to use the FileSystemWatcher. You can also communicate by creating your own custom network protocol and send information over TCP or UDP, but you need to be aware about proxy settings and IP ports. Another way is to use named pipes so I wonder how much you've read up about that? Another alternative ís to send messages, however to do that both applications needs to be windowed so there are any window you can send the message to. How much do you know about Windows messages? There are no managed libraries to handle Windows messages so you need to use P/Invoke for that purpose so you need to learn about that as well.
I'm sorry but if you don't even know when to use a Boolean and when to use a String then there is no way you have enough information about VB programming to do any of the things I mentioned above. You say that this is for educational purposes, well that's fine and dandy, but if you want to educate yourself about programming you must learn the basics first. If you don't even know how to crawl you shouldn't try to run a marathon. Do yourself a huge favour and postpone this idea and start out doing something much simpler. Try for example to create a simple Notepad clone, that way you at least learn how to read and write to simple text files. Then enhance on that idea and give the user the option to write files using different encodings. This is of course just an example and a suggestion, you might have some other idea of a very basic application you want to create.
Unfortunately it is however painfully obvious that you just don't have enough knowledge to do the things you've been asking for in this thread. So people can't really help you in this thread and because of that this thread will not really be any help to anyone else either. So for those reasons and the very fact that the suspicion that you might be up to something malicious (and I gave you the chance to explain why you wanted to do what you asked, but in my opinion you failed to do so) I'm going to close this thread.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|