Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (58)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (5911)

  • Anomalie #4504 : Pas d’installations des tables des plugins avec opcache activé en mutu OVH

    5 juin 2020, par b b

    Chelou ce opcache.revalidate_freq: non défini quand leur opcache est activé. Je peux demander à un de leur tech ce qu’ils font avec cette option si vous voulez...

  • Merge "Copy less when active map is in use"

    19 août 2011, par John Koleszar

    Merge "Copy less when active map is in use"

  • VB.NET : How to maintain main form control during loops in other sub ?

    5 février 2015, par Zed Machine

    I have a program with only one form.
    By pressing a button it starts a ffmpeg conversion.

    In the main form, in textboxes, ffmpeg stats are outputted. This is possible by taking StandardError output from ffmpeg.

    Public Sub Console()
           Dim Process As New Process

           Process.StartInfo.UseShellExecute = False
           Process.StartInfo.RedirectStandardError = True
           Process.StartInfo.RedirectStandardOutput = True
           Process.StartInfo.FileName = current_ffmpeg_path
           Process.StartInfo.Arguments = input_params
           Process.StartInfo.CreateNoWindow = True
           Process.Start()

           Dim ffmpeg_stats_output As System.IO.StreamReader = Process.StandardError

           Do While Process.HasExited = False
           [update all main form textboxes by taking input string from ffmpeg and elaborate it]
           Loop
    End Sub

    The problem is that while this loop is executed the textboxes and progress bar are updated but the main form cannot be modified. There is in fact no control at all by user. So if I want to make a button to stop/pause ffmpeg in main form this cannot be pressed as anything else on the main form.

    there is a way to maintain loops inside other Sub without loose control of main form while they’re running ?

    I tried to fix it by calling another dialog form with textboxes and progress bar. But even this form loose completely control until the process is finished.

    To send pause/stop conversion to ffmpeg (that runs without a window) is it correct use :

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
    SendKeys.Send("q")
    SendKeys.Send("^s")
    End Sub

    or must be specified that this key is sent to the current running Process ?