?
Solved

Handle Property

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

Thanks in advance.

Leonel
0
Comment
Question by:leorocha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 25

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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 25

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 1000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

765 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