Solved

Handle Property

Posted on 2013-11-25
6
261 Views
Last Modified: 2013-11-26
Why my form has no handle property?

Thanks in advance.

Leonel
0
Comment
Question by:leorocha
  • 2
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

by:Deepak Lakkad
ID: 39676616
Hi,

Handle is a read only property and will be available in code.

It does not appears in Property Window

- Deepak Lakkad
0
 
LVL 24

Expert Comment

by:chaau
ID: 39676646
I must add to the previous comment that the property is changing every time the form loads. You can't rely on it as a constant value. You need to get the handle in the code every time you need to use it (e.g. for some API calls)
0
 

Author Comment

by:leorocha
ID: 39676940
I'know that , the fact is that when I type in code Me.handle, this property is unavailable
0
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 24

Expert Comment

by:chaau
ID: 39677178
I think the proper property is hwnd
me.hwnd

Open in new window

0
 
LVL 11

Accepted Solution

by:
Deepak Lakkad earned 500 total points
ID: 39677308
Hi,

The property name is Handle and you can access it in following way

Me.Handle
or
FormName.Handle

- Deepak Lakkad
0
 

Author Closing Comment

by:leorocha
ID: 39677407
yes, thanks Deepak. I'm confused, so tired...

thks
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question