15,748,615 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 Javascript questions
View C++ questions
View Python questions
View Java 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
Gun Gun Febrianza
(Top 157 by date)
Gun Gun Febrianza
9-Jan-17 1:22am
View
good news if it's possible, i'll find a way. sir, last years you was help me on this forum.
now i can build compiler with target to IL Assembly. you can see the progress here :
http://gungunfebrianza.tumblr.com/post/147576884131/update-ilp-looping
i am undergraduate thesis, build compiler using our native language(indonesian language).
i am working hard to make this application with my limited programming skill,
Gun Gun Febrianza
9-Jan-17 1:12am
View
thanks sir, you are still awesome. helping people like us on this forum (y)
Gun Gun Febrianza
21-Jul-16 7:59am
View
problem solved ! i am forget to add
InitializeComponent();
inside the constructor of codeeditor XD
Gun Gun Febrianza
21-Jul-16 7:33am
View
still i get null reference :(
i was using this awesome library (y)
using WeifenLuo.WinFormsUI.Docking;
Gun Gun Febrianza
5-Jun-16 3:24am
View
:laugh: :D
Gun Gun Febrianza
5-Jun-16 3:16am
View
accepted ^_^
Gun Gun Febrianza
5-Jun-16 3:09am
View
nice articles five star ! and bookmark
thanks for coming sir SA :))
Gun Gun Febrianza
4-Jun-16 8:59am
View
@mori
yes i am wrong, i did not read in details. just quick reading. sorry,
@dave
thanks for correct my question title. :)
Gun Gun Febrianza
4-Jun-16 8:57am
View
thx brother :D you are really codeproject angelkeeper (y)
Gun Gun Febrianza
4-Jun-16 8:56am
View
thanks! vote five star.
well i didnot see that link on msdn..
Gun Gun Febrianza
4-Jun-16 8:28am
View
vote five start for your effort sir (y)
bookmarked your articles . :)
Gun Gun Febrianza
3-Jun-16 5:08am
View
now this is obvious, thanks for helping me :)
another way is :
private void button1_Click(object sender, EventArgs e)
{
Class1 sample = new Class1(this);
sample.send();
}
Gun Gun Febrianza
3-Jun-16 5:07am
View
Bookmark your articles and i am reading now :)
Gun Gun Febrianza
2-Jun-16 5:05am
View
thanks you are codeproject angelkeeper (y)
Gun Gun Febrianza
2-Jun-16 4:33am
View
dear friend, do you have any suggestion to split this string :
display("hello world!@");
into :
display
(
"hello world!@"
)
;
i still learn regex for lexical analysis..
Gun Gun Febrianza
2-Jun-16 4:31am
View
it's work perfectly, this is my code :
Match result = Regex.Match(textBox1.Text, "(\"[^\"]*\")|([^\\s]+)");
if (result.Success)
{
MessageBox.Show(result.Value + " " + result.Index + " " + result.Length);
while (result.Success)
{
result = result.NextMatch();
MessageBox.Show(result.Value + " " + result.Index + " " + result.Length);
}
}
the input : words1 words2 = "hello world @!";
Output :
words1
words2
=
"hello world @!"
;
Gun Gun Febrianza
4-May-16 8:53am
View
how about web scraper? where is the best?
Gun Gun Febrianza
14-Apr-16 7:45am
View
noted bill thanks for advice. i will learn no matter how long it takes :)
Gun Gun Febrianza
14-Apr-16 5:20am
View
here is my code now but this is not efficient and complex
if (source.Contains("program"))
{
treeView1.BeginUpdate();
treeView1.Nodes.Add("program");
treeView1.EndUpdate();
if (source.Contains("statements"))
{
treeView1.BeginUpdate();
treeView1.Nodes[0].Nodes.Add("statements");
treeView1.EndUpdate();
if (source.Contains("statement"))
{
treeView1.BeginUpdate();
treeView1.Nodes[0].Nodes[0].Nodes.Add("statement");
treeView1.EndUpdate();
if (source.Contains("var_declaration"))
{
treeView1.BeginUpdate();
treeView1.Nodes[0].Nodes[0].Nodes[0].Nodes.Add("var_declaration");
treeView1.EndUpdate();
}
}
}
}
else if (source.Contains(""))
{
}
else
{
}
Gun Gun Febrianza
14-Apr-16 5:08am
View
is there any example for input string like this :
(program (statements (statement (var_declaration (primitive_type string) (identifier a) = (expression "hi") ;)) (statement (func_declaration (predefined_fun tampilkan) ( (identifier a) ) ;))) <eof>)
btw i was visit the link & it's hard to follow..
Gun Gun Febrianza
14-Apr-16 5:06am
View
so i need to convert the input string format into xml file right?
and change the contents by following xml structure?
Gun Gun Febrianza
14-Apr-16 5:02am
View
do you know ANTLR 4? i am interested on domain specific language. They have prebuilt feature to parse this string into treeview control in java.
So the real input is :
(program (statements (statement (var_declaration (primitive_type string) (identifier a) = (expression "hi") ;)) (statement (func_declaration (predefined_fun tampilkan) ( (identifier a) ) ;))) <eof>)
i am still curious how to parse this string into treeview control in c#, but with my current programming skill i need painkiller, good example, step by step.
i am interested with your parser, would be happy if you share and train me :)
Gun Gun Febrianza
14-Apr-16 2:54am
View
thanks for the links. it saved my time.
Gun Gun Febrianza
3-Feb-16 8:27am
View
thanks george jonsson :)
Gun Gun Febrianza
5-Jan-16 5:06am
View
your name is johnson right? george johnson :)
Gun Gun Febrianza
30-Dec-15 17:17pm
View
thanks so much john :)
Gun Gun Febrianza
3-Dec-15 13:35pm
View
but he never respon the comments in his article.
Gun Gun Febrianza
19-Dec-14 0:41am
View
Reason for my vote of 5 \n Vote 5 for you thank you dear :)
Gun Gun Febrianza
30-Oct-14 23:38pm
View
Reason for my vote of 5 \n perfect dear :)
Gun Gun Febrianza
24-Oct-14 5:09am
View
Reason for my vote of 5 \n this is what i need bro ! L(
Gun Gun Febrianza
24-Oct-14 5:03am
View
Reason for my vote of 4 \n nice one :)
Gun Gun Febrianza
24-Oct-14 5:02am
View
Reason for my vote of 5 \n Cool man !
Gun Gun Febrianza
15-Oct-14 5:00am
View
Reason for my vote of 5 \n good stuff .. i love it :)
Gun Gun Febrianza
9-Jul-14 13:26pm
View
Reason for my vote of 5 \n this is what i need :)
Gun Gun Febrianza
20-May-14 4:44am
View
yes sir -_-" i am very bad understanding english language..
Gun Gun Febrianza
19-May-14 0:16am
View
Deleted
any link so i can read about that things?
Gun Gun Febrianza
19-May-14 0:11am
View
Deleted
but how this feature will be useless, so i need an advice..
Gun Gun Febrianza
18-May-14 23:24pm
View
Deleted
yes its for e-banking project..
Gun Gun Febrianza
5-May-14 23:18pm
View
Reason for my vote of 1 \n no source code ..
Gun Gun Febrianza
30-Apr-14 5:40am
View
exit($id); <- iam add this still i get nothing changed in my database..
$sql = "UPDATE users SET Username='$name', Password='$password', EmailAddress='$emailaddress', privilege='$privilege' WHERE UserID='$id'";
$result=mysql_query($sql);
Gun Gun Febrianza
28-Apr-14 11:32am
View
i track the problem code is here dear,
$sql = "UPDATE users SET Username='$name', Password='$password', EmailAddress='$emailaddress', privilege='$privilege' WHERE UserID='$id'";
$result=mysql_query($sql);
Gun Gun Febrianza
22-Dec-13 9:56am
View
are you have some link sir?
Gun Gun Febrianza
22-Dec-13 5:22am
View
Dear Sergey i need your help :( here:
http://www.codeproject.com/Questions/700415/IF-Statement-in-Cplusplus-For-My-Fingerprint-Proje
Gun Gun Febrianza
27-Nov-13 14:46pm
View
Reason for my vote of 5 \n testing your code
Gun Gun Febrianza
26-Nov-13 5:21am
View
Dim data As Byte() = File.ReadAllBytes("C:\\a.mp3")
File.WriteAllBytes("C:\\a1.mp3", data)
hehe this what i want sir :)
Gun Gun Febrianza
26-Nov-13 4:10am
View
sorry iam late to reply.. hehe thankyou sir your link give me some solution :)
Gun Gun Febrianza
26-Nov-13 4:06am
View
thank you sir for help me :)
sorry iam late to reply your solution ..
Gun Gun Febrianza
16-Nov-13 22:25pm
View
thx this is working ifound some another algorithm.
Gun Gun Febrianza
16-Nov-13 14:48pm
View
well still i cant get my new tweet :(
Gun Gun Febrianza
16-Nov-13 14:43pm
View
try to Tweets.clear() :)
Gun Gun Febrianza
16-Nov-13 14:26pm
View
Deleted
hmm i will try input Dim Tweets As List(Of String) = parseTweets("hazeleekaizera")
inside parsetweet function. i wish this work.
Gun Gun Febrianza
16-Nov-13 14:24pm
View
hmmm still cannot display my new tweet sir.. :(
Gun Gun Febrianza
16-Nov-13 14:19pm
View
hehehe okay i will try it :) thanks for help me again and again..
Gun Gun Febrianza
16-Nov-13 14:00pm
View
sirr i did application restart to make my textbox1.text can detect my new tweet on my twitter account timeline. without application restart my textbox1.text only display first time data of mytimeline. so how to make my textbox1.text could display my new time at specific time using timer without restart my app?
Gun Gun Febrianza
16-Nov-13 13:51pm
View
ok i will try it again sir... report soon :)
Gun Gun Febrianza
16-Nov-13 13:16pm
View
Reason for my vote of 5 \n Vote 5 for you.. :)
Gun Gun Febrianza
16-Nov-13 11:32am
View
ahhh thiss is what i need !! thank you love you sir muaccccccccccch !! hahah
Gun Gun Febrianza
16-Nov-13 11:31am
View
thx for help, i will try the code. iwill report soon :)
Gun Gun Febrianza
29-Oct-13 12:22pm
View
okee on the way twitter doc by google search ;) thx for visit
Gun Gun Febrianza
7-Sep-13 23:07pm
View
Reason for my vote of 5 \n Unique control sir.. :)
Gun Gun Febrianza
3-Sep-13 14:41pm
View
Reason for my vote of 5 \n thank you the script is usefull..
Gun Gun Febrianza
31-Aug-13 2:17am
View
Reason for my vote of 5 \n Nice article :)
Gun Gun Febrianza
31-Aug-13 2:16am
View
hehe okay :)
Gun Gun Febrianza
31-Aug-13 2:15am
View
Reason for my vote of 5 \n Vote 5 for you brother.. ilove this artcle :)
Gun Gun Febrianza
31-Aug-13 1:48am
View
problem solved bro thank you so much for participating help me :)
Gun Gun Febrianza
31-Aug-13 1:45am
View
thank you so much i will try it ! :)
Gun Gun Febrianza
31-Aug-13 1:44am
View
thank you so much sir :)
i am understand what you talking about above.. but i am sorry i am still learning english knowledge.
Gun Gun Febrianza
15-Aug-13 10:06am
View
love you sir (y)
you help me this code works like magic <3
Gun Gun Febrianza
15-Aug-13 9:30am
View
sir can you help me i will upload my project
Gun Gun Febrianza
12-Jun-13 6:52am
View
vote 5 for you, thanks to visit here and tried to help me.
that is not what i need sir.
Gun Gun Febrianza
11-Jun-13 4:32am
View
ok i will try it soon , thank you sir. vote 5 for you , i think someone flamed here he was give me and you vote 1 start.
Gun Gun Febrianza
9-Jun-13 19:20pm
View
this is my code so far
Sub Loops(ByVal key As String)
For a = 1 To 10
Thread.Sleep(3000)
SendKeys.Send(key)
Next
End Sub
Private Sub RedemptionCheckBox124_CheckedChanged(ByVal sender As System.Object) Handles RedemptionCheckBox124.CheckedChanged
If RedemptionCheckBox124.Checked Then
Loops("A")
Else
'what i must do here to stop loops?
End If
End Sub
Gun Gun Febrianza
9-Jun-13 19:16pm
View
but how to stop the loops?
Gun Gun Febrianza
9-Jun-13 19:14pm
View
oke sir i will try it now.. i will give a report soon .. vote 5 ;)
Gun Gun Febrianza
8-Jun-13 0:41am
View
Reason for my vote of 5 \n nice tutorial :)
i love it..
Gun Gun Febrianza
8-Jun-13 0:39am
View
oke thanks ;)
Gun Gun Febrianza
6-Jun-13 15:03pm
View
ok thank you sir for your suggestion :)
Gun Gun Febrianza
6-Jun-13 12:51pm
View
hmm.. why sending text to other windows mean hack?
are you have suggestion to solve this problem mybe using UAC bypasser..
Gun Gun Febrianza
6-Jun-13 9:42am
View
thanks let see what did he was do.. :)
Gun Gun Febrianza
5-Jun-13 17:59pm
View
thank you so much sir.. after iam going iwill try it soon :)
Gun Gun Febrianza
29-May-13 12:47pm
View
thank you i can execute it :)
Process myProcess = new Process();
myProcess.StartInfo.UseShellExecute = true;
// You can start any process, HelloWorld is a do-nothing example.
myProcess.StartInfo.FileName = "calc.exe";
myProcess.StartInfo.CreateNoWindow = true;
myProcess.Start();
Gun Gun Febrianza
29-May-13 12:27pm
View
ok i am trying.. i will give you my report soon :)
Gun Gun Febrianza
29-May-13 12:05pm
View
Reason for my vote of 5 \n Smart , Simple And Easy.....
Gun Gun Febrianza
28-May-13 12:26pm
View
are still possible to do it pure using C# programming sir?
Gun Gun Febrianza
28-May-13 9:20am
View
100% work thank you.. :)
Gun Gun Febrianza
28-May-13 9:20am
View
thankyou sir :)
i got it..
Gun Gun Febrianza
28-May-13 9:20am
View
thank you i get new knowledge by learning substring :)
Gun Gun Febrianza
28-May-13 9:14am
View
like this code sir?
string[] dirs = Directory.GetFiles(@"c:\", "*.txt");
Gun Gun Febrianza
28-May-13 9:14am
View
like this code sir?
string[] dirs = Directory.GetFiles(@"c:\", "*.txt");
Gun Gun Febrianza
28-May-13 8:23am
View
iam still not have idea when i read that link sir.
any suggest?
Gun Gun Febrianza
28-May-13 8:17am
View
thanks, for give me some link reference i will visit that link..
Gun Gun Febrianza
27-May-13 12:14pm
View
hmm... yep i found this script using google,
and this easy to understand because chr(character) is a part of string that was obfuscated, and the "execute" will read perchar. are you have som suggest how to protect our vbs file, sir?
thank you for visiting this thread.
Gun Gun Febrianza
27-May-13 8:53am
View
wscript.echo "helloworld" become "loolh heticwdrwle"oc.prs when i using that code so it will make my vbs not work.
Gun Gun Febrianza
27-May-13 8:45am
View
will my vbs file still can executed when it was obfuscated?
Gun Gun Febrianza
26-May-13 15:37pm
View
Reason for my vote of 5 \n Thank you this is what i need :*
Gun Gun Febrianza
24-May-13 7:08am
View
yep.. this fix some error sir.. :)
error in this code ,
int DevType = Runtime.InteropServices.Marshal.ReadInt32(M.LParam, 4);
i was convert it from VB.Net
Dim DevType As Integer = Runtime.InteropServices.Marshal.ReadInt32(M.LParam, 4)
error result
Error 1 The name 'Runtime' does not exist in the current context C:\Users\Kaizer\Desktop\Anti Copy Media Version 2.0\Anti Copy Media Version 2.0\Form1.cs 277 39 Anti Copy Media Version 2.0
Gun Gun Febrianza
24-May-13 6:38am
View
boss. below code is the error :
Error 6 'Anti_Copy_Media_Version_2._0.Form1.DEV_BROADCAST_VOLUME.Dbcv_Flags' is inaccessible due to its protection level C:\Users\Kaizer\Desktop\Anti Copy Media Version 2.0\Anti Copy Media Version 2.0\Form1.cs 287 37 Anti Copy Media Version 2.0
god i am stuck :(
Gun Gun Febrianza
24-May-13 6:32am
View
Error 1 'System.IntPtr' does not contain a definition for 'toInt32' and no extension method 'toInt32' accepting a first argument of type 'System.IntPtr' could be found (are you missing a using directive or an assembly reference?) C:\Users\Kaizer\Desktop\Anti Copy Media Version 2.0\Anti Copy Media Version 2.0\Form1.cs 271 34 Anti Copy Media Version 2.0
Gun Gun Febrianza
24-May-13 6:30am
View
i am tried but still found error :)
Gun Gun Febrianza
24-May-13 6:30am
View
iam tried use this code to casting it into integer but still not working ..
below is my code .. hmm, any suggest sir?
switch((int)m.WParam))
Gun Gun Febrianza
24-May-13 6:24am
View
found 25 Error........
Error 3 'Anti_Copy_Media_Version_2._0.Form1.DEV_BROADCAST_VOLUME.Dbcv_Flags' is inaccessible due to its protection level C:\Users\Kaizer\Desktop\Anti Copy Media Version 2.0\Anti Copy Media Version 2.0\Form1.cs 288 37 Anti Copy Media Version 2.0
Gun Gun Febrianza
19-May-13 8:16am
View
oke thank you sir :)
Gun Gun Febrianza
19-May-13 8:16am
View
thankyou this is work for me :)
Gun Gun Febrianza
18-May-13 4:08am
View
private void disableA()
{
e.Handled = (e.KeyChar == (char)Keys.A)
}
private void disableB()
{
e.Handled = (e.KeyChar == (char)Keys.B)
}
private void disableC()
{
e.Handled = (e.KeyChar == (char)Keys.C)
}
private void disableD()
{
e.Handled = (e.KeyChar == (char)Keys.D)
}
so in another time i can call the method using checkbox,
if checkbox1.checked = true
{
disableA();
}
if checkbox2.checked = true
{
disableB();
}
can you help me?
Gun Gun Febrianza
18-May-13 3:54am
View
sir how to make this code become a method like this
private void disableA()
{
e.Handled = (e.KeyChar == (char)Keys.A)
}
so i can call it another time? but the code in above is not working,..
Gun Gun Febrianza
18-May-13 1:46am
View
haaaaaaa (y)
thank you i will do it sir.. :)
i will report my result soon
Gun Gun Febrianza
26-Feb-13 14:32pm
View
Deleted
ok i will try sir, btw thanks :)
vote 5. if success i'll accept your solution..
Gun Gun Febrianza
26-Feb-13 14:32pm
View
Deleted
hmm i think i am bad in array sir, ok i will trying. thank you before :)
Gun Gun Febrianza
13-Nov-12 19:46pm
View
by the way i use this code in new class but still not working..
the code is correct.
Gun Gun Febrianza
13-Nov-12 19:31pm
View
in that point isee we must create some public sub main , i will trying in new class or in my main form. thanks any way sir for help me.. :)
Gun Gun Febrianza
30-Oct-12 21:49pm
View
thanks sorry for my bad english sir..
Gun Gun Febrianza
30-Oct-12 21:15pm
View
yes sure when i am debugg this code.. helo me sir !
Gun Gun Febrianza
24-Oct-12 13:04pm
View
Thank for trying to help me . Vote 5 For you sir.
Gun Gun Febrianza
24-Oct-12 12:57pm
View
ouh so this is not perfect method for create Anti Virus? i just need more information about this. if you have any information or link reference post here.. thank you.
Gun Gun Febrianza
24-Oct-12 11:48am
View
no, the context of my question about develop Anti Virus with byte scanner method. The Database Anti Virus contains information about 1000bytes any files then it will be comparing with any file again.. if bytes are same so that is malware if not the files is not malware..
are you understand what i'm talking? sorry i cant speak english very well
Gun Gun Febrianza
24-Oct-12 11:38am
View
Reason for my vote of 5
Nice Tips !! :D haha..
Gun Gun Febrianza
24-Oct-12 11:37am
View
Reason for my vote of 5
VOte 5 For you Bro !!
Gun Gun Febrianza
24-Oct-12 3:29am
View
Reason for my vote of 5
Nice i VOte 5 For You :D
Gun Gun Febrianza
24-Oct-12 3:27am
View
Reason for my vote of 5
Vote 5... For basic..
Gun Gun Febrianza
16-Oct-12 23:00pm
View
Reason for my vote of 5
Vote 5 for you ! :)
Gun Gun Febrianza
16-Oct-12 22:42pm
View
Reason for my vote of 5
Vote 5 For You broo ! you are smart !!
Gun Gun Febrianza
9-Oct-12 9:23am
View
hmm but my code still not working , :(
can you help me?
Gun Gun Febrianza
9-Oct-12 0:37am
View
sir can you help me to convert this code into vb.net?
string[] linesp = line.Split(' ');
Gun Gun Febrianza
9-Oct-12 0:29am
View
sir wes aday thank you so much :)
Gun Gun Febrianza
9-Oct-12 0:27am
View
string[] linesp = line.Split(' '); <-- this is C# code
can you help convert this to vb.net?
Gun Gun Febrianza
8-Oct-12 23:04pm
View
Deleted
i update the code in the above sir, help me please
Gun Gun Febrianza
8-Oct-12 22:26pm
View
You can see the full source code in the above sir, thank you.
Gun Gun Febrianza
8-Oct-12 22:20pm
View
mr wes aday thank you for the solution, but why when i'm compil still error in give me this message :
Error 1 'Integer' values cannot be converted to 'Char'. Use 'Microsoft.VisualBasic.ChrW' to interpret a numeric value as a Unicode character or first convert it to 'String' to produce a digit. C:\Users\KAIZERFAMILY\Desktop\File Combinator\File Combinator\Form1.vb 19 47 File Combinator
Gun Gun Febrianza
11-Sep-12 2:38am
View
this is asp.net solution yeah? i need to implement it in C# . = j
Gun Gun Febrianza
11-Sep-12 1:46am
View
hei karthik, are you have this project? http://smallsharptools.com/Projects/WebPreview/
i found in your link :
http://nolovelust.com/post/Generate-website-screenshotthumbnail-with-net-webbrowser-control-on-c-aspnet-website.aspx
but i can find that project,
Gun Gun Febrianza
11-Sep-12 1:35am
View
hmm nice link thank you, ok i will try it thank you sir :)
Gun Gun Febrianza
11-Sep-12 1:20am
View
are you mean like this?
yourtextboxtex = "blablablab";
Gun Gun Febrianza
6-Sep-12 0:59am
View
mr.kuthu thank syou so much.
i can solve my problem with this code
string selectedFile = System.IO.Path.Combine(startupPath, listBox1.SelectedItem.ToString());
System.IO.File.Delete(selectedFile); //inspirated from your code
or
System.IO.File.Delete(startupPath + "\\" + listBox1.SelectedItem.ToString());//from source.compiler
Gun Gun Febrianza
6-Sep-12 0:58am
View
thank you sir your code is work 100%% thank you so much :* :* hehehhe
Gun Gun Febrianza
6-Sep-12 0:50am
View
but my current account is admin sir. ghos -_-"
Gun Gun Febrianza
6-Sep-12 0:47am
View
wow your code work sir :) Thank you so much. But still one problem again.. how to delete selected file in the listbox. can you help me?
Gun Gun Febrianza
6-Sep-12 0:46am
View
ok i will check :)
Gun Gun Febrianza
6-Sep-12 0:44am
View
sir, i think your code is work but the file in the startup still exist. the selected file would not deleted why?? i'm stuck T.T
Gun Gun Febrianza
6-Sep-12 0:41am
View
ok i will trying your code :)
thank you before, wait a minute sir.. i will inform the result.
Gun Gun Febrianza
6-Sep-12 0:36am
View
oh no, i still get problem... when debug
Error 1 'System.Windows.Forms.ListBox' does not contain a definition for 'SelectedText' and no extension method 'SelectedText' accepting a first argument of type 'System.Windows.Forms.ListBox' could be found (are you missing a using directive or an assembly reference?) C:\Users\Kaizer Family\Desktop\Startup Monitor\Startup Monitor\Form1.cs 284 80 Startup Monitor
Gun Gun Febrianza
6-Sep-12 0:34am
View
ok mr.kuthu i will trying. thankyou before for help me :)
Gun Gun Febrianza
6-Sep-12 0:03am
View
yaw :( i got some problem..
The system cannot find the file specified
Gun Gun Febrianza
6-Sep-12 0:01am
View
Ok, wait i will trying your code :)
Gun Gun Febrianza
22-Aug-12 15:14pm
View
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace WindowsKeyPressed
{
public partial class Form1 : Form
{
// Structure contain information about low-level keyboard input event
[StructLayout(LayoutKind.Sequential)]
private struct KBDLLHOOKSTRUCT
{
public Keys key;
public int scanCode;
public int flags;
public int time;
public IntPtr extra;
}
//System level functions to be used for hook and unhook keyboard input
private delegate IntPtr LowLevelKeyboardProc(int nCode, IntPtr wParam, IntPtr lParam);
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr SetWindowsHookEx(int id, LowLevelKeyboardProc callback, IntPtr hMod, uint dwThreadId);
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern bool UnhookWindowsHookEx(IntPtr hook);
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr CallNextHookEx(IntPtr hook, int nCode, IntPtr wp, IntPtr lp);
[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr GetModuleHandle(string name);
[DllImport("user32.dll", CharSet = CharSet.Auto)]
private static extern short GetAsyncKeyState(Keys key);
//Declaring Global objects
private IntPtr ptrHook;
private LowLevelKeyboardProc objKeyboardProcess;
public Form1()
{
ProcessModule objCurrentModule = Process.GetCurrentProcess().MainModule;
objKeyboardProcess = new LowLevelKeyboardProc(captureKey);
ptrHook = SetWindowsHookEx(13, objKeyboardProcess, GetModuleHandle(objCurrentModule.ModuleName), 0);
InitializeComponent();
}
private IntPtr captureKey(int nCode, IntPtr wp, IntPtr lp)
{
if (nCode >= 0)
{
KBDLLHOOKSTRUCT objKeyInfo = (KBDLLHOOKSTRUCT)Marshal.PtrToStructure(lp, typeof(KBDLLHOOKSTRUCT));
if (objKeyInfo.key == Keys.RWin || objKeyInfo.key == Keys.LWin) // Disabling Windows keys
{
return (IntPtr)1;
}
}
return CallNextHookEx(ptrHook, nCode, wp, lp);
}
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
MessageBox.Show(e.KeyChar.ToString());
}
}
}
from here : http://geekswithblogs.net/aghausman/archive/2009/04/26/disable-special-keys-in-win-app-c.aspx
and make formborder to none , opacity 1% , and windowsate maximized, hehe :)
Gun Gun Febrianza
22-Aug-12 14:44pm
View
thank you sir :)
link visited and still trying to understanding ..
Gun Gun Febrianza
22-Aug-12 14:42pm
View
Deleted
as you wish, sir :)
Gun Gun Febrianza
22-Aug-12 14:40pm
View
as you wish :)
Gun Gun Febrianza
22-Aug-12 14:34pm
View
thank you for help me sir :)
Gun Gun Febrianza
22-Aug-12 14:33pm
View
ok. :)
Gun Gun Febrianza
22-Aug-12 14:32pm
View
ouh hehe -_- i think disable keyboard is parental control. i'm wrong.
now i can protect my keyboard from childern by creating screen locker. but just my idea i want to learning for disable/enable keyboard sir. :)
Gun Gun Febrianza
22-Aug-12 14:10pm
View
i want to make it more simply. so i want to make a keyboard disable without unplug keyboard sir, ok thank you i'm still trying to learning about global hook before to make a solution. :)
Gun Gun Febrianza
22-Aug-12 14:06pm
View
thx for your suggestion sir. my childern always press a random key in keyboard so i decided want to make a keyboard disable. :/
Gun Gun Febrianza
22-Aug-12 14:00pm
View
hmm i can't understand how to block key using hooks , sir. :(
Gun Gun Febrianza
22-Aug-12 13:53pm
View
i want to create parental control software to disable keyboard.sir..
disable from childern.
Gun Gun Febrianza
22-Aug-12 13:50pm
View
sir, how to reject. i found a global keyboard hook and still trying to understanding.. :/
Gun Gun Febrianza
18-Aug-12 18:12pm
View
thank you mr sergey for help me :)
you give me complete information
Gun Gun Febrianza
18-Aug-12 18:10pm
View
thank you in this link :
http://msdn.microsoft.com/en-us/library/3dwk5axy.aspx[^]
i learning how to make a dword type Smile | :)
SetValue("", "0", RegistryValueKind.DWord);
just add..
RegistryValueKind.DWord
Show More