15,886,873 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 Umut Comlekcioglu (Top 56 by date)
Umut Comlekcioglu
28-Jun-16 19:31pm
View
When I change it with IPAddress.Parse("100.96.106.192"); this time it thrown an exception on Bind() method. If I remove at line of code, it's thrown an exception on Listen(4) method.. I written there that situation too..
http://www.codeproject.com/Articles/807861/Open-NAT-A-NAT-Traversal-library-for-NET-and-Mono
I'm using that library and I don't need to be port forwarding. After NAT processes, it create and Public IP for my computer.
Umut Comlekcioglu
3-Mar-16 12:15pm
View
I didn't think like that. I'll be more careful
Umut Comlekcioglu
3-Mar-16 10:47am
View
I'm very glad for answer and sample. Yes, I'm came from C++ and sometimes I get confused. So, I'm not worry about Memory Management on C# too much... Happy coding too!
Umut Comlekcioglu
3-Mar-16 10:37am
View
Just beacuse, I think, I can explain what I want with image. Otherwise, there is no different with image(I'm write code on image) or writing code on here...
Umut Comlekcioglu
11-Dec-15 11:40am
View
I'm already trying to do that since 2 day Mr. Sergey but still I cannot get result. So, I wanna ask u people. Then Okay, I'm read more source code and try to developing it. Thanks for helps.
Umut Comlekcioglu
11-Dec-15 11:05am
View
I know how can I use GDI but I can't draw that shape with GDI. I think I need to use Graphic Path but I don't know too much thing about Graphics Paths. Maybe someone share the code to draw Puzzle Piece
Umut Comlekcioglu
11-Dec-15 11:02am
View
Polygon isn't compatible for my question because I need to Curved Line for Puzzle Piece
Umut Comlekcioglu
16-Sep-15 14:53pm
View
Thanks for answer, I will try that way. I will storage them Online and also keep them in user computer and use them with service all time.
Umut Comlekcioglu
16-Sep-15 9:03am
View
But I need to keep them somewhere for re-create. Okay, I can't create "cannot delete file" but what is the other any solution? Where can I storage my files to somewhere User cannot reach?
Umut Comlekcioglu
30-Aug-15 9:33am
View
Thanks for answer but I wanna hide Taskbar, not Form. You remember right. For hide form in taskbar, we just use "ShownInTaskbar" properties.
Umut Comlekcioglu
1-Aug-15 9:21am
View
Yes there is a lots of samples but they aren't solve my problem. I need to communication between Android Mobile Phone (Client) and C# .NET Computer(Server). But I can't create a connection between Mobile phone and Windows PC.
Umut Comlekcioglu
1-Aug-15 4:45am
View
I'm tried above code for Android Client side. Just one line code and it's not work.
But with Windows Client side, I can connect to Server (Server work on Windows 7).
In Windows Client Side, I wrote that code;
clientSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IAsyncResult result = clientSocket.BeginConnect(remoteEP, new AsyncCallback(ConnectCallback), clientSocket);
Umut Comlekcioglu
24-Jul-15 11:38am
View
No, no... I don't want to send all project to me. Just I want to What I need to do?
For example, in server side I write;
IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[ipHostInfo.AddressList.Length - 1];
IPEndPoint localEndPoint = new IPEndPoint(ipAddress, 11001);
listener = new Socket(ipAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
listener.Bind(localEndPoint);
listener.Listen(100);
listener.BeginAccept(new AsyncCallback(AcceptCallback), listener);
And Client Side;
IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse("My Computer IP"), 11001);
Socket client = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
client.BeginConnect(remoteEP, new AsyncCallback(ConnectCallback), client);
But I'm still cannot connect to server.. What's my wrong?
Umut Comlekcioglu
29-Jun-15 16:19pm
View
So, I'm start to write Socket for communication first. And when data wanna send to other Client, Server check all permission and routing information for security. Thank you, you're help me. Now I need to more research about Socket Programming.
Umut Comlekcioglu
16-Jun-15 9:55am
View
I want to send Data from Android to Windows with use Socket or what I need to do this Mr. Kryukov. But I can't do this and I need to help. I have free host on web but I don't know how can I use this. I'm search little bit and Socket Programming is work for me but I can't write to code myself.
Umut Comlekcioglu
14-Jun-15 10:11am
View
Yes I'm check too many solution but I can't found what I want. Finally I found that one,
LRESULT CALLBACK LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam)
{
if (nCode == HC_ACTION)
{
KBDLLHOOKSTRUCT* p = (KBDLLHOOKSTRUCT*) lParam;
if (p->vkCode == VK_LMENU) // VK_LMENU = ALT key
{
switch (wParam){
case WM_SYSKEYDOWN :{ // use SYSKEYDOWN
cout << "Key down" << endl;
keybd_event(VK_LCONTROL, 0x1D, KEYEVENTF_EXTENDEDKEY | 0, 0 );
break;
}
case WM_KEYUP: // use regular keyup
{
cout << "Key up" << endl;
keybd_event( VK_LCONTROL, 0x1D, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0);
return 1;
break;
}
default:
wParam = WM_SYSKEYDOWN; // if you do not specify it changes back to alt
break;
}
return 1;
}
}
return CallNextHookEx(hHook, nCode, wParam, lParam);
}
but I want to ask them too.
Umut Comlekcioglu
17-May-15 8:07am
View
In Windows OS..
For example, User select Chrome.exe and my project will read Chrome.exe addresess in RAM.
0x000000 : 500
0x000001 : 7500
0x000002 : Chrome
Like that, I wanna read RAM addreses..
Umut Comlekcioglu
13-Mar-15 17:39pm
View
I need to change Windows Border Style because it's not compatible with my form design.
Right now, my formborderstyle property is None and I draw border in dynamicly. But in this time, I can't resize my form. I need to help resize form without border.
Umut Comlekcioglu
13-Mar-15 14:35pm
View
There is no borders appearing in Form but Form can be resizable. I want to do this, or like this.
Or Border style can like Gom Player borders.. Thanks for interesting...
Umut Comlekcioglu
25-Feb-15 11:59am
View
Okay I will be publish solution tomorrow. But, I need to test it other computers and resolutions. If test results will correct, I will publish it. :)
Umut Comlekcioglu
25-Feb-15 11:45am
View
I guess, finally I'm done it. Now, I will try that solution with other computer. I hope it's will work. Thanks for link and other everything.
http://tinypic.com/view.php?pic=2mg3x34&s=8#.VO37zfmsWGw -- I think, this measurement is enough?
Umut Comlekcioglu
25-Feb-15 11:29am
View
Like you say, second solution have very poorest performance. So I can't use it in my project.
First solution is not solve my problem. I tested them before. :(
Thanks for all helps. I'm waiting for your comments.
Umut Comlekcioglu
30-Nov-14 7:04am
View
Thanks, this code is work. But Why are we add '40' to 'aa'?
When I change Font, Will am I need to change that value?
Edit : Ohh, sorry. I understand why you use 40.. :)
Umut Comlekcioglu
30-Nov-14 7:02am
View
Unfortunately, TextRenderer is calculate more wrong result. Because TextRenderer return Integer value..
Umut Comlekcioglu
29-Nov-14 21:21pm
View
I'm so sorry. With that link, Only I can see the Image. I hope this link will work.
http://imgur.com/TnSJEqt
Umut Comlekcioglu
9-Oct-14 13:51pm
View
No, every subtitle words need to be clicklable. Subtitle can't be created with Label absolutely.
Umut Comlekcioglu
8-Oct-14 9:24am
View
I'm saying Control because I'm developing Subtitle Words with Custom Control. Then, these subtitle words are need to align on UserControl.
Umut Comlekcioglu
6-Oct-14 20:23pm
View
I want to align custom controls into User controls.
Umut Comlekcioglu
2-Mar-14 20:04pm
View
Thanks for answer, problem is just, between two project Framework mismatch...
Umut Comlekcioglu
2-Mar-14 18:34pm
View
Thanks for answer but finally I create own control. Now, I have other problem. I want to this control add other project. But I can't. Do you know how can do this, help me. Good day.
Umut Comlekcioglu
1-Mar-14 16:59pm
View
I don't do this, how can get the scrollBar width for listbox?
http://www.joomlavision.com/wp-content/uploads/2012-10-31/6c2dd_scrollbars.jpg
I want to do like this scrollbar. Please help me.
Umut Comlekcioglu
1-Mar-14 15:32pm
View
I read and trying now. Please stay here, i can ask you some question :)
Umut Comlekcioglu
1-Mar-14 15:26pm
View
Yes, in Winforms. I just want to create scrollbar in listbox like this link. http://www.joomlavision.com/wp-content/uploads/2012-10-31/6c2dd_scrollbars.jpg
Umut Comlekcioglu
1-Mar-14 15:19pm
View
No, i can add the own scrollbar...
Umut Comlekcioglu
1-Mar-14 15:14pm
View
:) Sorry, but I don't know how can add new control uses XAM. If you help me, maybe i can add it, in my project... :) :)
Umut Comlekcioglu
1-Mar-14 15:04pm
View
I just add new simple scrollbar.
Umut Comlekcioglu
1-Mar-14 15:03pm
View
I'm develop my project in C# not in WPF. I want to add simple scrollbar..
Umut Comlekcioglu
23-Aug-13 16:10pm
View
That code have two 'For Loops". For this, while my control move in the form, graphics is disappear.
Umut Comlekcioglu
16-Aug-13 12:09pm
View
No, This isnt what i want. Please check the link http://www.codeproject.com/Articles/19767/Basic-Illumination-Model-in-C...
I want to do exactly this.
Umut Comlekcioglu
15-Jun-13 13:06pm
View
I want, my project design fixed all resolution. For example, I am preparing my project resolution of 1920x1080. But it doesn't work, different resolutions. It's working, but design is break down. Dock and Anchor properties not a solution for this problem.
As you said yourself,I have similar control ViewBox in WPF...
Umut Comlekcioglu
26-May-13 14:14pm
View
I'm send to project your g-mail(SharpWork) adress...
Umut Comlekcioglu
26-May-13 12:23pm
View
Please give me your e-mail adress and I send my project...
Umut Comlekcioglu
26-May-13 5:17am
View
Please try this link: http://speedy.sh/vPfyy/Backgammon.rar // Click "Indir: Backgammon.rar" for download
I'm read your all answer and blog. But still continue my problem.
Umut Comlekcioglu
25-May-13 5:11am
View
Okey, thanks for help, I'm grateful you, enough to try... :)
Umut Comlekcioglu
24-May-13 18:49pm
View
I wonder, I send the project and you are check it please.I'm almost read all blog but still continue the problem.Thanks for help, I'm work this problem a long time...
http://turbobit.net/7dqw98vzl152.html
Umut Comlekcioglu
24-May-13 18:21pm
View
Thanks for answer.But;
How i do transparent this control backcolor?
And my second problem is, I have a two Custom Control (Polygon and Checker).
While program is running and "Checker" bring to front "Polygon" , again, graphic is disperse.
Umut Comlekcioglu
18-May-13 13:18pm
View
But how can draw this Button? I know Custom Control, OnPaint and other events, but I can't draw this graphics...
Umut Comlekcioglu
18-May-13 10:31am
View
No, Thanks for answer but Checkers must be dynamic color and type.So picturebox not enough.
Umut Comlekcioglu
28-Apr-13 7:52am
View
What did you mean? Which, where used?
Umut Comlekcioglu
9-Dec-12 6:39am
View
I sending my project.
http://s2.dosya.tc/server23/AiTTMn/Backgammon.rar.html
Thanks for help.
Umut Comlekcioglu
9-Dec-12 6:09am
View
checker[0].Size = new Size(50, 50);
checker[0].Location = new Point(300, 300);
checker[0].BringToFront();
Panel a = board1.GetBoard();
a.Controls.Add(checker[0]);
But this code isn't add the Checkers.
How can I add Checker to Board (User Control)?
Umut Comlekcioglu
9-Dec-12 5:15am
View
I already wrote them but didn't write it here.
Umut Comlekcioglu
7-Dec-12 12:30pm
View
I already use FillRegion or FillPath and so on.
But I can't reach (this link 2) board and piece.
For draw Piece I use this code;
---------------------------------------------------------------------------
Rectangle R = new Rectangle(0, 0, this.Width, this.Height);
g.SmoothingMode = SmoothingMode.HighQuality;
g.PixelOffsetMode = PixelOffsetMode.HighQuality;
GraphicsPath path = new GraphicsPath();
path.AddEllipse(R);
this.Region = new Region(path);
R.Inflate(1, 1);
g.FillEllipse(new SolidBrush(Color.FromArgb(Opacity * 255 / 100, FillColor.R, FillColor.G, FillColor.B)), R);
---------------------------------------------------------------------------
But This piece isn't resemble other(link 2) piece.
How can I draw this(link 2) piece?
Please send me code.
Thank you for interest.
Umut Comlekcioglu
7-Dec-12 11:47am
View
I don't want use to Bitmap instead I want Draw board and all piece.
I don't want be easy to use bitmap.
If I don't make drawing , use bitmap.
Umut Comlekcioglu
7-Dec-12 11:44am
View
Hi,
I'm programming Backgammon.But I don't draw Checker and Board.
I want to make one of the below links.
1.)http://postimage.org/image/igsft62qb/8d2eaf4d/[^]
2.)http://postimage.org/image/9ufzgrrbv/[^]
How can I draw that Checker and Board in C#?
Please help me.Thank you for answer.
Umut Comlekcioglu
7-Dec-12 11:43am
View
Deleted
Hi,
I'm programming Backgammon.But I don't draw Checker and Board.
I want to make one of the below links.
1.)http://postimage.org/image/igsft62qb/8d2eaf4d/[^]
2.)http://postimage.org/image/9ufzgrrbv/[^]
How can I draw that Checker and Board in C#?
Please help me.Thank you for answer.
Show More