Solved

Handle Property

Posted on 2013-11-25
6
263 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

820 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