473,324 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

AllowDrop

Hello,

I'm using VB 2005 Express.

I want to implement a functionality into my app that allows users to drag an
image file from explorer onto a picture box control in my app. I can't get
it to work. Nearly each control has the AllowDrop property, but I can't find
it for the PictureBox Control. But there are DragEnter, DragDrop events for
the Picturebox control.

Any help please.

Regards,
Bart
Nov 20 '07 #1
1 4499
Here is a sample
http://www.vbforums.com/attachment.p...9&d=1143755430

and the thread
http://www.vbforums.com/showthread.php?t=328593. Read through all of it.

Regards,
Trevor Benedict
MCSD

"Bart Steur" <so*****@xs4all.nlwrote in message
news:ea**************@TK2MSFTNGP04.phx.gbl...
Hello,

I'm using VB 2005 Express.

I want to implement a functionality into my app that allows users to drag
an image file from explorer onto a picture box control in my app. I can't
get it to work. Nearly each control has the AllowDrop property, but I
can't find it for the PictureBox Control. But there are DragEnter,
DragDrop events for the Picturebox control.

Any help please.

Regards,
Bart

Nov 21 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marty Cruise | last post by:
I have a listview and its AllowDrop property is set to True. I need to detect a doubleclick, but the AllowDrop seems to always eat the first click, so the event never fires. Is there a way around...
3
by: Gary Dunne | last post by:
I'm writing an app that requires drag and drop operation between a ListView and a TreeView control. (The source is the ListView). During the drag drop operation I want to be able to detect the...
3
by: thomasp | last post by:
Has anyone got some sample code to do drag and drop from one listbox to another listbox using VB.Net 2005. The below code works for draging and droping one at a time, but not for multiselected...
6
by: johnxsun | last post by:
Hello, I am having a problem with set AllowDrop from a callback function for any types of control boxes, ie. ListView. The following is the example code that creates the problem. The...
0
by: R. MacDonald | last post by:
Hello, Group, I have an application that contains a large number of controls of a few different types (all custom defined). During certain specific drag-drop operations, I would like to be able...
0
by: Cylix | last post by:
I am trying to do the drag and drop effect in my simple form, I can drag a button and copy a text to outlook email, but I cannot drag it and drop to a textbox in the same application. I swear that...
2
by: Water Cooler v2 | last post by:
May be I've just been awake a bit too long but I can't seem to find the AllowDrop property on a System.Windows.Forms.GroupBox object in the design mode. I've set it in the code window but I am...
7
by: Barkingmadscot | last post by:
I am try to find out how to check if the mouse button is held down. The e.click =2 works, it allows me to enter the double click double. I what the single click to do some different and then...
6
by: IanWright | last post by:
I'm trying to test something to see if its functionally possible, and am having a little trouble with drag events... I basically want to draw a line between two TreeNode entities, contained within...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.