15,912,837 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 Python 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 nazarinlaw (Top 36 by date)
nazarinlaw
14-Apr-16 18:06pm
View
Actually i've been working on socket connection since webproxy don't support socks5 or socks4 connection :)
nazarinlaw
14-Apr-16 18:01pm
View
Thanks :)
nazarinlaw
14-Apr-16 17:54pm
View
i just thought i could use memorystream since it is straight forward ! any ideas ?
nazarinlaw
14-Apr-16 17:52pm
View
Just to be straight ! i want to update the header_bytes on class Utility from main() class without modifying !
nazarinlaw
14-Apr-16 17:50pm
View
var memorystreamoutput = new byte[10];
var ms = new MemoryStream(memorystreamoutput);
var bytes = new byte[] {1,2,3};
ms.Write(bytes,0,bytes.Length);
Console.Write('[');
foreach (byte b in memorystreamoutput)
{
Console.Write("{0:X2}, ", b);
}
Console.WriteLine(']');
i can update the memoryoutput from memorystream like this why can't i update it from another class with the same instance ? :(
nazarinlaw
14-Apr-16 17:40pm
View
you are displaying your ms bytes not the one on class Test
Kindly check it please
[
^
]
nazarinlaw
14-Apr-16 17:33pm
View
click me
[
^
]
Please check my code and show me what i did wrong :)
nazarinlaw
14-Apr-16 17:07pm
View
I've tried it is not working ! Still can't append additional bytes :(
nazarinlaw
14-Apr-16 16:01pm
View
Sorry for my bad english i just don't know a way to ask this ! i updated the question
nazarinlaw
25-Apr-14 9:29am
View
Nevermind then i don't know how to do that, as long as it works ! there won't be any issue !
Thank you buddy
nazarinlaw
25-Apr-14 9:28am
View
Nevermind then !
nazarinlaw
25-Apr-14 4:33am
View
Ok dude, let me have the class if you don't mind ! it only take 2 min for you ! :)
nazarinlaw
25-Apr-14 4:13am
View
Ok dude, can you just get me full class if you don't mind ?
nazarinlaw
24-Apr-14 19:51pm
View
Thank you bro, please look at the code below and let me know is it correct or do i have to lock the object to perform the threads to update my textbox without any further issue ?
nazarinlaw
24-Apr-14 19:45pm
View
I think that i figured it out bro ! please tell me if im wrong :)
Public Class EventLogger
#Region " Methods "
Public Target As Control
Sub AssignControl(c As Control)
Target = c
End Sub
Private Delegate Sub WriteEntryDelegate(Index As Integer, [Text] As String)
Sub WriteEntry(Index As Integer, [Text] As String)
Try
If Target.InvokeRequired Then
Target.Invoke(New WriteEntryDelegate(AddressOf WriteEntry), Index, [Text])
Else
Target.Text &= "Thread: " & Index & [Text]
End If
Catch ex As Exception
Debug.Print(ex.Message)
End Try
End Sub
#End Region
End Class
nazarinlaw
24-Apr-14 18:58pm
View
Sorry im rejecting this answer for just getting your attention ! please don't take this wrong :(
nazarinlaw
24-Apr-14 18:53pm
View
Are you there ?
nazarinlaw
24-Apr-14 18:49pm
View
I raised an event to update my textbox bro !
nazarinlaw
24-Apr-14 18:47pm
View
@Experts
I just want to update my textbox from different classes ? how can i suppose to do that if im running in thread ?
nazarinlaw
24-Apr-14 18:39pm
View
Thank you for reply, im about to update the textbox whenever i write.entry using multithread on different classes.
Example:
Module Program
Public Logger as New EventLogger
Sub Initialize()
AddHandler Logger.EntryWritten, AddressOf OnEntryWritten
End Sub
Private Sub OnEntryWritten(x As String)
frmMain.EventLog.Text = x
End Sub
End Module
I Update my Textbox from different class
Logger.WriteEntry("Something")
Sorry if iam wrong, is there anyother way to do that ! instead of using timer ?
nazarinlaw
18-Jan-14 5:34am
View
Thanks alot ! You deserve to be an expert :)
nazarinlaw
24-Nov-13 18:08pm
View
If you don't help me , fine just don't spam !
nazarinlaw
24-Nov-13 18:08pm
View
Im not familiar with javascript, just need them converted to use with my net project !
nazarinlaw
24-Nov-13 17:37pm
View
Hi bro just a few more doubts about this booleon function in js
e == 64 ? j[h++] = String.fromCharCode(b) : f == 64 ? j[h++] = String.fromCharCode(b, c) : j[h++] = String.fromCharCode(b, c, d);
i hardly can't understand this, and also i want to convert into .NET.
nazarinlaw
24-Nov-13 16:45pm
View
Thanks alot !
nazarinlaw
16-Nov-13 8:03am
View
Voted !! thumps up :P
nazarinlaw
16-Nov-13 8:02am
View
I think i just figured it out mate, just add 0 :) thank alot for your help ! much appreciated !
have a nice day and pleased to meet you bro :)
nazarinlaw
16-Nov-13 7:55am
View
Sorry to bother you mate looks like this value is different from both java and vb.net "8b5b3afc7d854d1597014042e14577ee" on hexnumber !
nazarinlaw
16-Nov-13 7:34am
View
oh let me look at your code bro !
nazarinlaw
16-Nov-13 7:33am
View
I updated the question bro ! i just want to convert that into vb.net.
nazarinlaw
16-Nov-13 7:08am
View
Hello mate, have a tiny problem with the convert, I converted those long code into double and i get '8.81026679414957E+37' but the java result '8.810266794149574e+37'. Any ideas bro ?
nazarinlaw
16-Nov-13 6:45am
View
Just figured it out ! thank you though :)
nazarinlaw
16-Nov-13 6:38am
View
Is there anyway can i convert this "8.810266794149574e+37" into "88102667941495738829884669591129946083" ?
nazarinlaw
16-Nov-13 6:35am
View
Thank you bro, sorry for that, i didn't know that :)
nazarinlaw
31-Aug-13 4:09am
View
Nobody can help me ?? :'(
nazarinlaw
30-Aug-13 8:11am
View
Questions always welcome, just wanted to figure out this issues on pinger.com, i know someone good at Oauth figure out this issue quickly :)
Show More