Drag and Drop (and re-order) to ListBox binded to XML

Would you please help me with this scenario:
On stage, 2 listboxes and a textbox.
1.The first listbox lists all the items available, the list is grouped by 'Type' and its source is a binded XML file (read only).
2.The second listbox list all the items the user has dropped into from ListBox#1 and it should read from an XML at start-up and save to it on quitting.
3.The textbox list the details of the currently selected item in ListBox#2
My knowledge (and search on internet ) allowed me to achieve binding, grouping with an expander and perhaps the first step to drag item (to be verified)..but I'm
stucked at dropping AND re-ordering items on ListBox#2..then saving to the XML!!
Would you please help (even in c#..I'll try to do the translation) ? I join a graphic and the project file (with XML files inside) to help you help me! Thanks!!
Download project
The XAML
<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
    xmlns:dat="clr-namespace:System.Windows.Data;assembly=PresentationFramework"
    Title="MainWindow" Height="400" Width="525">
    <Grid>
        <Grid.Resources>
            <DataTemplate x:Key="Resource3">
                <Label Content="{Binding XPath=Name}"/>
            </DataTemplate>
            <Style x:Key="ListBoxItemStyle1" TargetType="{x:Type ListBoxItem}">
                <EventSetter Event="ListBoxItem.PreviewMouseLeftButtonDown" Handler="s_PreviewMouseLeftButtonDown" />
            </Style>
            <Style x:Key="ListBoxItemStyle2" TargetType="{x:Type ListBoxItem}">
                <Setter Property="AllowDrop" Value="true"/>
                <EventSetter Event="ListBoxItem.PreviewMouseLeftButtonDown" Handler="s_PreviewMouseLeftButtonDown" />
                <EventSetter Event="ListBoxItem.Drop" Handler="listbox_Drop"/>
            </Style>
        </Grid.Resources>
        <Grid Name="Grid01">
            <Grid.Resources>
                <CollectionViewSource x:Key="cvsSystems" Source="{Binding XPath=System}">
                    <CollectionViewSource.SortDescriptions>
                        <scm:SortDescription PropertyName="@Type"/>
                        <scm:SortDescription PropertyName="Name"/>
                    </CollectionViewSource.SortDescriptions>
                    <CollectionViewSource.GroupDescriptions>
                        <dat:PropertyGroupDescription  PropertyName="@Type"/>
                    </CollectionViewSource.GroupDescriptions>
                </CollectionViewSource>
            </Grid.Resources>
            <ListBox ItemsSource="{Binding Source={StaticResource
cvsSystems}}" ItemTemplate="{StaticResource Resource3}"
SelectedValuePath="Name" IsSynchronizedWithCurrentItem="True"
HorizontalAlignment="Left" x:Name="ListBox1" Width="160"
ItemContainerStyle="{DynamicResource ListBoxItemStyle1}"
Margin="0,0,0,0">
                <ListBox.GroupStyle>
                    <GroupStyle>
                        <GroupStyle.ContainerStyle>
                            <Style TargetType="{x:Type GroupItem}">
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate>
                                            <Expander Header="{Binding Name}" IsExpanded="True">
                                                <ItemsPresenter />
                                            </Expander>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </GroupStyle.ContainerStyle>
                    </GroupStyle>
                </ListBox.GroupStyle>
            </ListBox>
        </Grid>
        <Grid Name="Grid02">
            <Grid.Resources>
                <CollectionViewSource x:Key="cvsPreferences" Source="{Binding XPath=System}">
                    <CollectionViewSource.SortDescriptions>
                        <scm:SortDescription PropertyName="@Type"/>
                        <scm:SortDescription PropertyName="Name"/>
                    </CollectionViewSource.SortDescriptions>
                    <CollectionViewSource.GroupDescriptions>
                        <dat:PropertyGroupDescription  PropertyName="@Type"/>
                    </CollectionViewSource.GroupDescriptions>
                </CollectionViewSource>
            </Grid.Resources>
            <ListBox ItemsSource="{Binding Source={StaticResource
cvsPreferences}}" ItemTemplate="{StaticResource Resource3}"
SelectedValuePath="Name" IsSynchronizedWithCurrentItem="True"
HorizontalAlignment="Left" x:Name="ListBox2" Width="160"
ItemContainerStyle="{DynamicResource ListBoxItemStyle2}"
Margin="170,0,0,0"/>
            <Button Content="Save" Height="23"
HorizontalAlignment="Left" Margin="385,320,0,0" Name="Button1"
VerticalAlignment="Top" Width="75" />
        </Grid>
        <TextBox DataContext="{Binding SelectedItem,
ElementName=ListBox2}" Text="{Binding
UpdateSourceTrigger=PropertyChanged, XPath=Detail}" Margin="340,0,0,0"
x:Name="TextBox1" HorizontalAlignment="Left" VerticalAlignment="Top"
Width="160"/>
    </Grid>
</Window>
The VB code
Imports System.IO
Imports System.Xml
Class MainWindow
    Dim sysdata As XmlDocument = New XmlDocument()
    Dim prefdata As XmlDocument = New XmlDocument()
    Dim systemdata As XmlDataProvider = New XmlDataProvider()
    Dim preferencedata As XmlDataProvider = New XmlDataProvider()
    Private Sub MainWindow_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
        'Initialisation XML
        sysdata.Load(System.AppDomain.CurrentDomain.BaseDirectory & "Systems.xml")
        prefdata.Load(System.AppDomain.CurrentDomain.BaseDirectory & "Preferences.xml")
        systemdata.Document = sysdata
        preferencedata.Document = prefdata
        systemdata.XPath = "Systems"
        preferencedata.XPath = "Systems"
        Grid01.DataContext = systemdata
        Grid02.DataContext = preferencedata
    End Sub
    Private Sub s_PreviewMouseLeftButtonDown(ByVal sender As Object, ByVal e As MouseButtonEventArgs)
        If TypeOf sender Is ListBoxItem Then
            Dim draggedItem As ListBoxItem = TryCast(sender, ListBoxItem)
            DragDrop.DoDragDrop(draggedItem, draggedItem.DataContext, DragDropEffects.Copy)
            draggedItem.IsSelected = True
        End If
    End Sub
    Private Sub listbox_Drop(ByVal sender As Object, ByVal e As DragEventArgs)
    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click
        preferencedata.Document.Save(System.AppDomain.CurrentDomain.BaseDirectory & "Preferences.xml")
    End Sub
End Class

Barry,
Thank you very much for your reply...I've followed your advices, read the links you posted...and maked use of ObservableCollection.
So, the listbox source is a CollectionViewSource whose source is an ObservableCOllection object.
Unfortunately I'm still stucked at the drop part. (then there will be the save back to the xml file)
I think that the drag part might be right !?
Could someone please help ??
XAML
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
xmlns:dat="clr-namespace:System.Windows.Data;assembly=PresentationFramework"
xmlns:c="clr-namespace:WpfApplication1"
Title="MainWindow" Height="400" Width="525">
<Window.Resources>
<c:NameList x:Key="NameListData"/>
<c:PreferenceList x:Key="PreferenceListData"/>
</Window.Resources>
<Grid>
<Grid.Resources>
<Style x:Key="ListBoxItemStyle1" TargetType="{x:Type ListBoxItem}">
<EventSetter Event="ListBoxItem.PreviewMouseLeftButtonDown" Handler="s_PreviewMouseLeftButtonDown" />
</Style>
<Style x:Key="ListBoxItemStyle2" TargetType="{x:Type ListBoxItem}">
<Setter Property="AllowDrop" Value="true"/>
<EventSetter Event="ListBoxItem.PreviewMouseLeftButtonDown" Handler="s_PreviewMouseLeftButtonDown" />
<EventSetter Event="ListBoxItem.Drop" Handler="listbox_Drop"/>
</Style>
</Grid.Resources>
<Grid Name="Grid01">
<Grid.Resources>
<CollectionViewSource x:Key="cvsSystems" Source="{StaticResource NameListData}">
<CollectionViewSource.SortDescriptions>
<scm:SortDescription PropertyName="Type"/>
<scm:SortDescription PropertyName="Name"/>
</CollectionViewSource.SortDescriptions>
<CollectionViewSource.GroupDescriptions>
<dat:PropertyGroupDescription PropertyName="Type"/>
</CollectionViewSource.GroupDescriptions>
</CollectionViewSource>
</Grid.Resources>
<ListBox ItemsSource="{Binding Source={StaticResource cvsSystems}}" DisplayMemberPath="Name" IsSynchronizedWithCurrentItem="True" HorizontalAlignment="Left" x:Name="ListBox1" Width="160" ItemContainerStyle="{DynamicResource ListBoxItemStyle1}" Margin="0,0,0,0">
<ListBox.GroupStyle>
<GroupStyle>
<GroupStyle.ContainerStyle>
<Style TargetType="{x:Type GroupItem}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Expander Header="{Binding Name}" IsExpanded="True">
<ItemsPresenter />
</Expander>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</GroupStyle.ContainerStyle>
</GroupStyle>
</ListBox.GroupStyle>
</ListBox>
</Grid>
<Grid Name="Grid02">
<Grid.Resources>
<CollectionViewSource x:Key="cvsPreferences" Source="{StaticResource PreferenceListData}">
<CollectionViewSource.SortDescriptions>
<scm:SortDescription PropertyName="Type"/>
<scm:SortDescription PropertyName="Name"/>
</CollectionViewSource.SortDescriptions>
<CollectionViewSource.GroupDescriptions>
<dat:PropertyGroupDescription PropertyName="Type"/>
</CollectionViewSource.GroupDescriptions>
</CollectionViewSource>
</Grid.Resources>
<ListBox ItemsSource="{Binding Source={StaticResource cvsPreferences}}" DisplayMemberPath="Name" IsSynchronizedWithCurrentItem="True" HorizontalAlignment="Left" x:Name="ListBox2" Width="160" ItemContainerStyle="{DynamicResource ListBoxItemStyle2}" Margin="170,0,0,0"/>
<Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="385,320,0,0" Name="Button1" VerticalAlignment="Top" Width="75" />
</Grid>
<!--<TextBox DataContext="{Binding SelectedItem, ElementName=ListBox2}" Text="{Binding UpdateSourceTrigger=PropertyChanged, XPath=Detail}" Margin="340,0,0,0" x:Name="TextBox1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="160"/>-->
</Grid>
</Window>
VB
Imports System.Collections.ObjectModel
Imports System.Xml
Imports System.IO
Class MainWindow
Private Sub MainWindow_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
End Sub
Private Sub s_PreviewMouseLeftButtonDown(ByVal sender As Object, ByVal e As MouseButtonEventArgs)
If TypeOf sender Is ListBoxItem Then
Dim draggedItem As ListBoxItem = TryCast(sender, ListBoxItem)
DragDrop.DoDragDrop(draggedItem, draggedItem.DataContext, DragDropEffects.Copy)
draggedItem.IsSelected = True
End If
End Sub
Private Sub ListBox2_Drop(ByVal sender As System.Object, ByVal e As System.Windows.DragEventArgs) Handles ListBox2.Drop
Dim _class As SystemName = DirectCast(e.Data.GetData(GetType(SystemName)), SystemName)
If _class IsNot Nothing Then
Dim lcv As ListCollectionView = DirectCast(ListBox2.ItemsSource, ListCollectionView) '?
End If
End Sub
Private Sub listbox_Drop(ByVal sender As Object, ByVal e As DragEventArgs)
End Sub
End Class
Public Class NameList
Inherits ObservableCollection(Of SystemName)
' Methods
Public Sub New()
Dim sysdata As XmlDocument = New XmlDocument()
sysdata.Load(System.AppDomain.CurrentDomain.BaseDirectory & "Systems.xml")
Dim root As XmlElement = sysdata.DocumentElement
Dim nodes As XmlNodeList = root.SelectNodes("System")
For Each node As XmlNode In nodes
Dim tyype As String = node.Attributes("Type").Value
MyBase.Add(New SystemName(tyype, node("Name").InnerText, node("Detail").InnerText))
Next
End Sub
End Class
Public Class PreferenceList
Inherits ObservableCollection(Of SystemName)
' Methods
Public Sub New()
Dim sysdata As XmlDocument = New XmlDocument()
sysdata.Load(System.AppDomain.CurrentDomain.BaseDirectory & "Preferences.xml")
Dim root As XmlElement = sysdata.DocumentElement
Dim nodes As XmlNodeList = root.SelectNodes("System")
For Each node As XmlNode In nodes
Dim tyype As String = node.Attributes("Type").Value
MyBase.Add(New SystemName(tyype, node("Name").InnerText, node("Detail").InnerText))
Next
End Sub
End Class
Public Class SystemName
' Fields
Private _type As String
Private _name As String
Private _detail As String
' Methods
Public Sub New(ByVal type As String, ByVal name As String, ByVal detail As String)
Me._type = type
Me._name = name
Me._detail = detail
End Sub
' Properties
Public Property Type() As String
Get
Return Me._type
End Get
Set(ByVal value As String)
Me._type = value
End Set
End Property
Public Property Name() As String
Get
Return Me._name
End Get
Set(ByVal value As String)
Me._name = value
End Set
End Property
Public Property Detail() As String
Get
Return Me._detail
End Get
Set(ByVal value As String)
Me._detail = value
End Set
End Property
End Class
'Systems.xml' file
<?xml version="1.0" encoding="utf-8"?>
<Systems>
<System Type="TypeA">
<Name>NameA1</Name>
<Detail>This is the detail for NameA1</Detail>
</System>
<System Type="TypeB">
<Name>NameB1</Name>
<Detail>This is the detail for NameB1</Detail>
</System>
<System Type="TypeC">
<Name>NameC1</Name>
<Detail>This is the detail for NameC1</Detail>
</System>
<System Type="TypeA">
<Name>NameA2</Name>
<Detail>This is the detail for NameA2</Detail>
</System>
<System Type="TypeB">
<Name>NameB2</Name>
<Detail>This is the detail for NameB2</Detail>
</System>
<System Type="TypeC">
<Name>NameC2</Name>
<Detail>This is the detail for NameC2</Detail>
</System>
<System Type="TypeA">
<Name>NameA3</Name>
<Detail>This is the detail for NameA3</Detail>
</System>
<System Type="TypeB">
<Name>NameB3</Name>
<Detail>This is the detail for NameB3</Detail>
</System>
<System Type="TypeC">
<Name>NameC3</Name>
<Detail>This is the detail for NameC3</Detail>
</System>
</Systems>
'Preferences.xml' file
<?xml version="1.0" encoding="utf-8"?>
<Systems>
<System Type="TypeA">
<Name>NameA1</Name>
<Detail>This is the detail for NameA1</Detail>
</System>
<System Type="TypeC">
<Name>NameC3</Name>
<Detail>This is the detail for NameC3</Detail>
</System>
</Systems>

Similar Messages

  • Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    If you have Pages you can create customs pages for your book as TD suggested. If you have Pages from iWork 09 or 11 this app will add 80 or so additional frames to those offered:  Frames and Strokes Installer. Don't use it on the latest Pages version, however.
    This tutorial shows how to create a custom page with the theme's background: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book.  Once the page is complete to get it into iPhoto as a jpeg file follow these steps:
    Here's how to get any file into iPhoto as a jpeg file:
    1 - open the file in any application that will open it.
    2 - type Command+P to start the print process.
    3  - click on the PDF button and select "Save PDF to iPhoto".
    NOTE:  If you don't have any of those options go to Toad's Cellar and download these two files:
    Save PDF to iPhoto 200 DPI.workflow.zip
    Save PDF to iPhoto 300 DPI.workflow.zip
    Unzip the files and place in the HD/Library/PDF Services folder and reboot.
    4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
    5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
    That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. For books to be printed choose 300 dpi.

  • Help needed in Drag and Drop and  resizing of image icons

    Hi all,
    I'm doing a project on Drag and Drop and resizing of image icons.
    There is one DragContainer in which i have loaded the image icons and i want to drop these image icons on to the DropContainer.
    After Dropping these icons on to the DropContainer i need to resize them.
    I have used the Rectangle object in resizing.
    The problem now i'm facing is when i drag, drop and resize an image icon and when i try to drag, drop a second image icon the first image icon gets erased.
    can any one help me in fixing this error.
    if u want i can provide the source code.
    thanks in advance
    murali

    the major restrictions in its implemented only in
    jdk1.1.Why!

  • Hi could someone help me please ? Ive just bought the new ipad and want to put some movies on it. I have already converted some movies using handbrake and tried to transfer them to my ipad and it just wont work. ive tried drag and drop and everything

    Hi could someone help me please ? Ive just bought the new ipad and want to put some movies on it. I have already converted some movies using handbrake and tried to transfer them to my ipad and it just wont work. ive tried drag and drop and everything

    bluztoo wrote:
    Haven't really used any of them including VLC - actually use netflix on the ipad more than anything. I was able to drop an mp4 into imovie on my ipad and see it there. This was something I had shot as avhcd and converted with turbo.264. Played fine. Probably not what you want for a movie player though.
    Well, turbo.264 is indeed very nice to have - even for converting full-sized movies. (Nevertheless, TechRadar's latest roundup (see http://www.techradar.com/news/software/applications/6-of-the-best-video-converte rs-for-mac-1074303 ; also linked from another roundup at http://www.iphonelife.com/blog/87/benchmark-excellent-multimedia-converter-handb rake-vs-commercial-apps ) has shown it's still worse than HandBrake in most respects.)
    All H.264 files (assuming they are H.264 level 4.1 or lower) are compatible with the built-in Videos app.
    bluztoo wrote:
    Those of you who use other players, what do you reccomend? Just curious.
    It entirely depends on your needs. The top players (AVPlayerHD / ProPlayer, It's Playing, GoodPlayer) all have different strengths and weaknesses. I myself use It's Playing the most as I convert everything into MP4 and simply love the DSP's (brightness / volume / saturation boosting). (Its software decoders are definitely worse than those of AVPlayerHD / ProPlayer; however, MP4's are played back from hardware.)

  • Track pad extremely sensitive in drag and drop and clicking

    Please help with a pad that's driving me nutz! Over sensitive in underlining, drag and drop and clicking. Is there any way to control sensitivity or do I have to take it to the Apple Store?
    Thanks!

    Hello there, salvarez1957.
    The following two Knowledge Base articles offer up some great steps for troubleshooting issues with trackpads:
    Portables and Magic Trackpad: Jumpy or erratic trackpad operation
    http://support.apple.com/kb/TS1449
    and
    Intel-based Mac notebooks: Troubleshooting unresponsive trackpad issues
    http://support.apple.com/kb/TS1248
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I just installed LR6.  I can't seem to move any photos between folders.  I drag and drop and  nothing happens.  No error

    I just installed LR6.  I can't seem to move any photos between folders.  I drag and drop and  nothing happens.  No error

    To open photos from Photos in Preview use the Media Browser. You do not need to have Photos open to use the photos inPreview.
    In Preview use the command "Flle > Open".
    The File Chooser dialog will open. Switch the file chooser to columns view and scroll down, until you see the Media section.
    Click the Photos view.
    Select the Photos app and click the disclosure triangle.

  • Making simple Cross desolves at the end of still photo clips from my library. Not making a clean disolve beteen. Single frames from the previous clip are flashing half way through the desolve. Did both a drag and drop and insert disolve.

    Making simple cross desolves at the end of still photo clips from my library.
    Not making a clean disolve between clips.
    Single frames from the previous clip are flashing half way through the desolve.
    Did both a drag and drop and insert disolve.

    Making simple cross desolves at the end of still photo clips from my library.
    Not making a clean disolve between clips.
    Single frames from the previous clip are flashing half way through the desolve.
    Did both a drag and drop and insert disolve.

  • How do I import music using homeshare with iTunes 11...I can see the shared libraries but I can't drag and drop and there is no import button.  Thanks!

    How do I import music using homeshare with iTunes 11...I can see the shared libraries but I can't drag and drop and there is no import button.  Thanks!

    Yes, that appears how Mavericks works right now. However, you can open the Address Panel, select all your contacts, then click the To (or CC, or Bcc) buttons to move the selection to the address field.
    If it is not already in the Toolbar, right-click on the Toolbar and select Customize Toolbar…
    Then, drag the address panel up to wherever you want it.
    You may also want to add it to the New Message window in the same way.

  • How do I move music from iTunes to my iPhone? I have tried dragging and dropping and it doesn't work.

    I have tried dragging and dropping and have also tried creating a file called iPhone.

    Maybe you should read the manual:
    iPhone User Guide (For iOS 5.0 Software)
    If you want to drag and drop, then check the Manually manage music box. Otherwise sync your content.

  • Drag and Drop to Change Order of a Collection

    I have created a collection and now want to change the order of the photos in the collection. I try to select a photo to drag and drop it to the correct position.
    Sometimes I can do this, other times I can't.
    If I exit and reenter Lightroom, the problem of not being able to drag and drop is corrected.
    Any ideas about a workaround for this bug without exiting and restarting Lightroom?
    Thanks,
    Harry

    Harry,
    You have to be at the lowest level of a folder/collection to get drag and drop to work.
    If you have 'Include Photos from Subitems' unticked then you can sort in higher up folders/collections, but this only shows items in the actual collection/folder.
    If you have images in multiple collections that you want to sort in order, select them and then Ctrl N (Cmd N on Mac ) to create a new collection. Tick the use selected photos box and name the new collection. Make sure it's at the bottom of a collection tree (or on it's own) and then sort inside the new collection.
    When dragging, drag from the image itself, not from the border around it.

  • Drag and Drop to Change Order in a List

    Does anyone know of an example where there is the ability to drag and drop elements in a list and thus change their order? (I.E. drag item one below item two and then item one and two change locations)
    Thanks!

    Check out http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html
    There's an example towards the end of the page for drag-and-drop between 2 JLists. Might be a good starting point.

  • Drag and drop songs in order?

    I want to organise the order of songs in a playlist but can't seem to drag and drop anymore since updating?

    I can still drag and drop - from within the playlist.

  • Drag and Drop and JGraph

    Hi,
    I'm trying to use drag and drop for adding nodes to a panel which has a JGraph component in it.
    The problem is that when I add the JGraph, the panel which holds it (a JScrollPane) stops listening the drops... is there any way to solve this?
    I thought that I could subclass the JGraph in order to have it manage the event, which doesn't look very good from an architectural point of view, but is the only thing I could came up with.
    thank you very much!
    krahd

    Hi PlaySmile,
    These features are not available in current version of Lync 2013.
    From
    https://support.office.com/en-us/article/Send-an-IM-a74b4cf3-1c56-413f-a22a-be19c9dcbb70?CorrelationId=d329f320-aa5e-41a3-b850-ce843912cb7c&ui=en-US&rs=en-US&ad=US
    You can send a file or picture by doing one of the following:
    a.  Drag-and-drop the file or picture from your computer into the message window or text input area.
    b.  Copy and paste the file or picture from any Office program into the message window or text input area.
    c.  Press PrtScn on your keyboard to capture an image directly from your screen, then paste it into the message window or text input area.
    Note: Your sent message will show a small representation of the file or picture. To open the file or see the full-size picture, the recipient clicks Save or Open, which transfers the file to
    their computer. Also note that embedded images only show up in one to one IMs, not group conversations.
    I also tested with the new client “Skype for Business”, the feature that drag and drop pictures from any browser to Skype for Business is still not available, but the feature that copy/past pictures
    from browsers to Skype for Business is available.
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Drag and Drop and java.io.NotSerializableException

    I have been implementing some code to essentially allow me to drag and drop from one JTree to another. The requirement was to be able to drag multiple nodes at one time and drop them on the other JTree in the order selected.
    I was getting a java.io.NotSerializableException when I was in the drop code in the destination jTree and could not figure out what was going on. Basically, I was wrapping all the objects that i wanted to transfer in a custom ArrayList subclass that implemented transferable. The NotSerializableException was was indicating that the object in the JList was not serializable.
    If you are getting a NotSerializableException and you have defined a custom DataFlavor like so:
    public static DataFlavor DATATYPE_TRANSFER =
            new DataFlavor(
               TransferableImplementor.class,  //  make sure that this is the class that implements transferable
                "Datatype Information");make sure that the .class is indeed the class that implements the transferable interface (and not some other random .class). You can be led down a wild goose chase on trying to make sure every object in your Transferable implementor class is serializable, when the problem lays in the DataFlavor instantiation.
    Nik

    If you haven't already read these, here are a couple of good sources for DND tree implementation details.
    http://www.javaworld.com/javaworld/javatips/jw-javatip97.html
    http://www.javaworld.com/javaworld/javatips/jw-javatip114.html

  • Unable to upload a file with Drag and Drop and http

    Hello,
    I am trying to upload a file through the web interface (Netscape 4.7 and IE 5.0). When I click un upload, Via Drag and Drop, a new window is started, but never completes.
    With Netscape, I get a message box: Netscape is unable to locate the server null. Please check the server name and try again.
    With IE 5, I get an error: This page can not be displayed.
    Are there any files I need to edit on the PC side to get this to work?
    Thanks
    Scott
    PS I think you guys are doing a great job with support on iFS.

    WebUI Drag & Drop requires FTP to be running and available.
    Drag & Drop is really just uses the browser built in FTP ability.

Maybe you are looking for

  • How to call two RFC in a single JAVA method.

    Dear all, I just want to know that how to call two RFC in a single java method which is defined in CRM implementation file. I'm using NWDS as the customization IDE & working on ISA 7.0.

  • IWeb 3.0.4- missing fonts –Arial MT and Arial BOLD

    When using iWeb 3.0.4 I'll get the missing two fonts –Arial MT and Arial BOLD– error messages on every single page. This font is NOT in use and I don't have a working version as replacement on my font folder. I don't want to buy it to get rid of the

  • Why wont quicktime install?

    i try to install quicktime, but it always has an error. i have cleaned out my temp folder, deleted all of itunes and quicktime, and it still wont install.

  • How to create an Hierarchy from 2 tables in Essbase

    Hi, Currently We have 5 dimension tables and one fact table in Star Schema Model.We have requirement to create an hierarchy which pulls from multiple tables For Eg: Table:1 P1 P2 Table:2 Q1 Q2 Expected Hierarchy : P1 Q1 While we try to implement it s

  • How to BackUp BOE Edge XI 3.1 Steap by Steap?

    Good day all, Couls you please guide me how to back-up BOE Edge XI 3.1 with standar configurations and using mySQL? I am looking for a Tool or SW that best works for this... Thanks. Edited by: klon2001cr on Oct 10, 2011 3:46 PM Edited by: klon2001cr