Find which window is running right now.
Used for determining if OUR window is on background or not.
[DllImport("coredll.dll", SetLastError = true)]
public static extern IntPtr GetForegroundWindow();
Netbeans 6.0 - working with vss (Microsoft Visual SourceSafe).
1. first, we have to download VSS plugin:
a. Go to Tools -> Plugins -> Setting -> Add
b. name = VSS, url = http://updates.netbeans.org/netbeans/updates/6.0/uc/final/vcsgenerics/catalog.xml.gz
c. this will install vss plugin (netbeans restart may be needed...) (will create Versing tab on Menu bar)
2. Create new project (as desired) inside netbeans. (I will demonstrate -getlatest- for new project)
3. Go to Versioning -> Versioning Manager -> Add.
a. Working directory: name of the new project created (on netbeans)
b. VSS user name: user with privileges for using VSS DB.
c. VSS command: usually: C:\Program Files\Microsoft Visual Studio\VSS\win32\SS.EXE
(sometimes this file is incorrect, try to copy it from VSS folder)
d. VSS project: Name of the project. like: $/projectName
e. VSS Database: the url, like: file://googledb/d$/VSS_FOR_PROJECT/
f. mark -get latest version- checkbox for getting files from server.
g. click on FINISH.
Get latest version will start working and the files will move to the project.
Hope it usefull...
Auto Sized Label control for the compact framework:
I noticed that there is no solution for an autosized label (auto width & height)
so i build my example for this control:
i hope it will help you...