Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other hexagora products
 Programs (Programmi)
 [HELP] About GetUniCodeDroppedFiles
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

yoosh
Novice

3 Posts

Posted - 19 Nov 2013 :  03:51:59  Show Profile  Reply with Quote
Hi. all

I have tested UniCode control ver 4.xx
and I have question...

when using OLEDragDrop event, I try used GetUniCodeDroppedFiles method for getting filename as unicode.

But I cant get unicode style filename..

How can I do?
I had tested 'GetUniCodeDroppedFiles' in demo program

Private Sub txtUniDrag_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim oc As Collection
Set oc = moCommonWrapper.GetUnicodeDroppedFiles(Data)
....
str$ = oc.Item(1)
....
End Sub

Edited by - yoosh on 19 Nov 2013 11:07:23

s.dav
Site Admin

Italy
3364 Posts

Posted - 20 Nov 2013 :  11:59:57  Show Profile  Visit s.dav's Homepage  Reply with Quote
I suggest you to send us a sample (with also Unicode files to drag) and we'll check and let you know.

Regards, Davide
Go to Top of Page

yoosh
Novice

3 Posts

Posted - 20 Nov 2013 :  12:11:44  Show Profile  Reply with Quote
Thanks for your reply..

I had tested it with your sample code.. But same result.

sample file path is...
vbp :: HexUniControls 41\VB6 Sample 1\Project1.vbp
frm :: frmUniDragAndDrop.frm
sub routine :: ctlUniTextBoxXP1_OLEDragDrop

Test environment
1) Win7/32 bit (Korean version)
2) and try drag Chinese file name to control..

If any needed, please call me...

Best regard

Edited by - yoosh on 20 Nov 2013 12:12:18
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 20 Nov 2013 :  17:10:04  Show Profile  Visit s.dav's Homepage  Reply with Quote
I checked the internal documentation: this function only work in a compiled application because it can cause a VB6 IDE crash
If you need a screenshot for confirmation I'll let you have one.

Regards, Davide
Go to Top of Page

yoosh
Novice

3 Posts

Posted - 21 Nov 2013 :  01:32:08  Show Profile  Reply with Quote
oh.. worked well...

Thanks....

Regards
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000