.net miner

something about life, me and .net
  • Home
  • Categories
    • C#
    • .Net
    • Tools
    • General
    • Visual Studio
    • Open Source Projects
  • Contact Me
.Net

Capturing Screenshot And Paste Any Image To The Screen

12 February 2008 by Ozcan Degirmenci No Comments
Capturing Screenshot And Paste Any Image To The Screen

An example screenshot of the Screen Capturing

For a very long time ago, in one of my projects, I needed to capture the screenshot which must have to support both full screen capturing and specific regional capturing.

Also I need to paste that captured image back to the screen programmatically. At that moment I solved my problem by using some WinApi methods in the user32.dll and gdi32.dll. Here I want to share that code with you.

Continue reading

Share:
Reading time: 4 min
.Net

How To Find Sql Server On A Network

4 February 2008 by Ozcan Degirmenci No Comments

If you want to find MS SQL Servers which are available in a network, there are two different ways you can use for searching the network for available Sql Servers.

1 – There is a class in the .NET Framework which name is SqlDataSourceEnumerator in the System.Data.Sql namespace. We can use that class, and get the sql servers easly:

DataTable sqls = SqlDataSourceEnumerator.Instance.GetDataSources();

In this method we can only get the Sql Server machines on a network. There is also another method to get list of SQL Servers on a network. Also this second method can also be used to search for some other type of servers too. Here is the second method;

Continue reading
Share:
Reading time: 3 min
.Net

Create Object Instances Faster Than Reflection

2 February 2008 by Ozcan Degirmenci No Comments
Create Object Instances Faster Than Reflection

An example screenshot of the Test

Everybody knows that Reflection is a really very important topic in .NET. So I won’t repeat the importance of it, it is an unquestionable subject; besides, I have to admit that it saved my life too  many times.

But like every good thing Reflection has also some disadvantages, too. One of the important disadvantages of the Reflection is performance.

Continue reading
Share:
Reading time: 4 min
.Net•Open Source Projects

B-Msn

1 February 2008 by Ozcan Degirmenci No Comments

Download Source Code From GitHub

Tonight i uploaded an example about Server-Client applications to the server. The name of the example is B-MSN which is an instant messaging program like MSN, AOL or Yahoo IM.

Some of the specifications of the B-MSN are;

Supports Smileys
Supports personal image
NetServer and NetClient components which you can also use them as standalone
Flashes window when a new message received
Supports RTF text sending
Informs you while the person whom you chat with is writing a message to you
Supports Saving Message Histories  

Continue reading
Share:
Reading time: 1 min

Search

Projects

  • Process Viewer
  • B-Msn
  • Runtime Member Proxies
  • Searchable RichTextBox

Categories

  • .Net (19)
  • C# (12)
  • General (13)
  • Open Source Projects (4)
  • Quantum (1)
  • Tools (9)
  • Visual Studio (6)

Archives

  • November 2018
  • September 2018
  • September 2010
  • August 2010
  • August 2009
  • September 2008
  • August 2008
  • June 2008
  • May 2008
  • April 2008
  • February 2008
  • January 2008

About me

Hi, my name is Ozcan Degirmenci. I'm co-founder and CEO at Crs Soft.

Tags

Assembly Collection Editor Dialog Support Dynamic method enum Flag Editor Loader Exceptions Ole Calls Open source project open source projects Perfornance Comparison process viewer Proxy quantum Reflection Run Apps From Web schrödinger's cat Searchable Richtextbox Spoon thought experiment thread

© 2018 copyright ÖZCAN DEĞİRMENCİ // All rights reserved.