Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, June 14, 2006 5:38:47 PM(UTC)

Rudy  
Rudy

Groups: Registered
Posts: 9


I'm using Lead Main Control(14.0), Lead Multimedia Library(14.5), and both are patched recently from this official site.

I added one ltmmPlay control and one lead Main control.

The form is normal form in VB 6.0, and I just changed one propety. KeyPreview=TRUE

The problem is, when I press any key, form accepted two key-down events even I pressed just once.

Adding only ltmmPlay is OK, but with Main control, form duplicates key-down events.

 

The below is source code I made

 

 

Option Explicit

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    Debug.Print KeyCode
End Sub

Private Sub Form_Load()
    ltmmPlay.sourcefile = "C:\VideoSamples\sample.mpg"
   
    leadMain.SetPicture ltmmPlay.GetStillPicture(10000)
End Sub

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, June 18, 2006 2:57:10 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Hello,

I checked this issue on my machine, but didn't notice the same behavior (the KeyDown event fires only one time).
I checked this issue using ltmm_n.dll build number 14.5.0.21 and ltocx14N.ocx build number 14.5.0.10.

I am attaching the project that I used to check this issue on my machine.

If you are using older build number of LEADTOOLS, then please download and install the latest patches from our support site support@leadtools.com.

Please recheck the same issue using the attached project and let me know how it goes.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
Test_LTMM.zip (2kb) downloaded 29 time(s).
 
#3 Posted : Sunday, June 18, 2006 7:34:15 PM(UTC)

Rudy  
Rudy

Groups: Registered
Posts: 9


I checked your project.

I just changed video sample path, and run the application. (there was no waning or error to open your project)

and I found that when I clicked the lead main control, the key-down events fired two times.

I think when window focus is on lead main control, key-events fires two times.

Please recheck it.

 

Thanks.

 
#4 Posted : Tuesday, June 20, 2006 5:56:16 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Hello,

Before continue checking this issue, can you please try the following?
Please try to use a non-lead control (such as the picture box in VB6.0) instead of the LEAD Main control and try the same issue. Do you notice the same behavior?

Please let me know how it goes.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#5 Posted : Tuesday, June 20, 2006 3:29:49 PM(UTC)

Rudy  
Rudy

Groups: Registered
Posts: 9


I tested Picturebox, imagebox, button and label.

It just works fine. one key press - one key event.

Only in lead main control, one key press - two key events

 

Thanks.

 
#6 Posted : Wednesday, June 21, 2006 1:46:55 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Hello,

I rechecked the same issue on my side and notice the same problem that you have.

I reported this issue to our engineers under incident number 4707AMN so that they can investigate more about this behavior.
Please keep the incident number to ask about the status in the future. Also, I will let you know when this incident is addressed.

Please let me know if I can be of further assistance.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#7 Posted : Thursday, July 6, 2006 3:47:05 PM(UTC)

Rudy  
Rudy

Groups: Registered
Posts: 9


Hello

This problem is seriously important for our application.

I've been waited two weeks to resolve this problem.

Please give me any idea as soon as possible.

 
#8 Posted : Tuesday, July 11, 2006 12:04:55 AM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 356


Rudy,
The problem is caused by VB itself and happens with some (but not all) non-LEADTOOLS controls, including a few of Microsoft's controls. The following Microsoft Knowledge Base article describes this problem and a suggested workaround that you could use with VB.
http://support.microsoft.com/default.aspx?scid=kb%3Bzh-cn%3B149273

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#9 Posted : Tuesday, July 11, 2006 3:42:37 PM(UTC)

Rudy  
Rudy

Groups: Registered
Posts: 9


It was MS's problem.

I didn't know it

Thanks

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.089 seconds.