*** vb.net - help debugging drag'n'drop problem ***

I have a vb.net project (VS2012) that has a main form with a grid control on it.

I have implemented drag n drop so I can drop files and eMails onto the grid.

This causes another form to load where notes can be added. The user then clicks a Save button on this second form which closes it, returning focus to the main form which then runs the code in the main forms Activated event which refreshes the grid.

This works great if I drag files from the desktop, but if I drag files from another application (Win Explorer, Outlook), the drop event fires fine and the second form loads but after the user Saves and the second form closes, the Activated event on the main form doesn't fire until they click on the main form.

Help appreciated !

Beceriler: Visual Basic

Daha fazlasını gör: vb net win forms, vb net help, vb.net code help, help vb.net, win forms with, net drag drop, visual basic net help, save drag, form drop outlook, visual basic problem, main drop, net help, application net project, vs2012, code save net, project grid control, drag drop project net, drag drop user control, notes outlook, visual basic project help, net gui examples desktop application, drag drop form, form drag drop, net project desktop application, net drag button

İşveren Hakkında:
( 65 değerlendirme ) Ashford, United Kingdom

Proje NO: #6557025



I am an advanced vb.net developer with 8 years of experience. I can help you with this. you have to add some line of code after the event. Hope to hear from you soon!

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(1 Yorum)

4 freelancers are bidding on average $146 for this job


It seems the Activate event wont be fired until the form got focus, so you should make it focused then it will work

in %bids___i_period_sub_35% gün içinde147%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(11 Değerlendirme)

This is logical! I can fix it. I think you can fix it too. When you drag'n'drop from another application the activated form (after second form closes) is the other application from which you drag'n'drop. Not the fir Daha Fazla

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)