User Profile

Collapse

Profile Sidebar

Collapse
siilexx
siilexx
Last Activity: Aug 8 '12, 06:58 PM
Joined: Aug 27 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • siilexx
    started a topic Print a binary tree based on XML file
    in XML

    Print a binary tree based on XML file

    Hello,
    I'm looking for a software that taken an XML file as input and will produce a binary tree as output.
    Does this exist ?
    Example of XML:
    Code:
    <root>
    <node>
    <type>AT_ROOT</type>
    <addr>0x100100360</addr>
    <left>0x100100330</left>
    <right>NULL</right>
    <bval>UNDIF_BOOL</bval>
    <sval>NULL</sval>
    ...
    See more | Go to post

  • The following query is working:
    myQuery = "SELECT Bail.*, Client.ID, Client.NoClient , Client.Label, Client.Adresse, Client.CP, Client.Commune, ClientBail.* FROM ((Bail LEFT OUTER JOIN Client ON Bail.IDClient=C lient.ID) LEFT OUTER JOIN ClientBail ON Bail.IDClientBa il=ClientBail.I D) ";

    Thank you
    See more | Go to post

    Leave a comment:


  • Select on multiple tables based on "IDs" from the first table

    Hello,

    I'm trying to build a query that will search information on a few tables at once, in an Access database.

    I must SELECT all records from a "Table1", then a few columns from "Table2" using a "WHERE Table2.ID=Table 1.IDClient".

    What's the best way of working (Multiple select, JOIN or else) ?

    Thank you
    See more | Go to post

  • siilexx
    replied to How to play FLV files in winform
    I've managed to manually add the reference to Microsoft.Direc tX.AudioVideoPl ayback but now I receive the following error "vfw_e_unsuppor ted_stream" while playing a FLV file.

    Should I add other references or codecs, and which one ?
    Thank you
    See more | Go to post

    Leave a comment:


  • siilexx
    replied to How to play FLV files in winform
    I've installed DirectX SDK but cannot find the reference "Microsoft.Dire ctX.AudioVideoP layback" in VS2010 librairy.

    In the "COM" list, I only see "Microsoft DirectX Transforms Core Type Librairy" and Microsoft DirectX Transforms Images Transforms Type Librairy".

    How can I add the AudioVideoPlayb ack references ?

    Thank you
    See more | Go to post

    Leave a comment:


  • siilexx
    started a topic How to play FLV files in winform

    How to play FLV files in winform

    Hello,

    I'm building a multi-standard player, which randomly shows JPG, GIF, SWF,... files on screen, BUT I cannot find a way to play a FLV file in my winform.

    Could you please advise ?

    Thanks for your help.
    See more | Go to post

  • siilexx
    replied to Playing swf in C#
    I've finally found a solution:

    Code:
    myFlash[i] = new AxShockwaveFlashObjects.AxShockwaveFlash();
    ((System.ComponentModel.ISupportInitialize)(this.myFlash[i])).BeginInit();
                     
    System.ComponentModel.ComponentResourceManager resourcess =    new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
    this.myFlash[i].OcxState = ((System.Windows.Forms.AxHost.State)(resourcess.GetObject("myFlash["
    ...
    See more | Go to post

    Leave a comment:


  • siilexx
    started a topic Playing swf in C#

    Playing swf in C#

    Hello,

    I'm trying to play a swf movie into my C# winform application.

    I've added the references "AxInterop.Shoc kwaveFlashObjec ts" and "Interop.Shockw aveFlashObjects ".

    When I start the application, the following error message is catched: "Property set of 'Movie' cannot be invoked at this time."

    I also receive the following error:
    Exception of type 'System.Windows .Forms.AxHost+I nvalidActiveXSt ateException'...
    See more | Go to post

  • siilexx
    replied to How to optimize User interface creation
    Do you have some kind of tutorial explaining how to use or create controls similar to a windows form "Label" using directx ?
    Thank you
    See more | Go to post

    Leave a comment:


  • Why is my "ping" command not pinging the requested IP

    Hello,
    I've been including network code in some tools and I'm getting a bit confused with the results.
    The tool is not pinging the right IP in some cases (from windows server).

    For example:
    Code:
    ping 10.18.135.24
    Pinging 10.18.135.24 with 32 bytes of data:
    
    ping 10.18.135.024
    Pinging 10.18.135.[b]20[/b] with 32 bytes of data:
    Why is my ping command trying to ping another IP...
    See more | Go to post

  • siilexx
    replied to Print in excel : zoom to one page
    I've found the missing parameter:

    xlWorkSheet.Pag eSetup.Zoom = false;
    See more | Go to post

    Leave a comment:


  • siilexx
    started a topic Print in excel : zoom to one page

    Print in excel : zoom to one page

    Hi,
    I'm trying to print an excel page using C#. I need to resize it to one page wide and one page tall. I've written the following code but it doesn't work (print the printarea only):
    Code:
    xlWorkSheet.PageSetup.Orientation = Microsoft.Office.Interop.Excel.XlPageOrientation.xlLandscape;
    xlWorkSheet.PageSetup.PrintArea = "A1:G" + NbrLines.ToString();
    xlWorkSheet.PageSetup.FitToPagesTall = 1;
    xlWorkSheet.PageSetup.FitToPagesWide
    ...
    See more | Go to post

  • Actually I'm trying to build some kind of weekly agenda, including tasks and rendez-vous management as outlook does, and I'm using one panel for each day, but this doesn't seem to be the best way of working...
    Do you have some experience in this kind of program ? Which kind of controls should I preferably use ?

    Thank you
    See more | Go to post

    Leave a comment:


  • Hello,

    I'm using myPanel.Control s.Add(myLabel) instead of drag and drop function.
    I will try again with DoDragDrop.
    See more | Go to post

    Leave a comment:


  • siilexx
    started a topic Move object between panels using drag and drop

    Move object between panels using drag and drop

    Hello,

    I'm trying to write an application which will allow the user to move objects such as Labels between different Panels.

    I've managed to move the objects in one panel (using MouseDown/MouseUp/MouseMove) but cannot drop the object to another panel. The objects actually stays bound to it's original owner's form.

    The "Panel.DragEnte r" only accept objects from outside the application (text files,...
    See more | Go to post

  • Hi
    thanks for your help
    See more | Go to post

    Leave a comment:


  • siilexx
    started a topic how to setup static variable at program load

    how to setup static variable at program load

    Hello,

    I'd like to setup a static variable at program load, depending on data saved in a text file.

    It's currently hardcoded :
    internal static int ApplicationVers ion=3;
    And I use it to declare my arrays of objects,... :
    internal Button[,] ButtonDays = new Button[ApplicationVers ion, 7];

    How can I update the "ApplicationVer sion" once at the startup of the program, so that...
    See more | Go to post

  • siilexx
    replied to How to optimize User interface creation
    Hello,
    I'm using both buttons and label on the same line, and different color on each line which can be changed dynamically by the user (see this screenshot ).

    Do you think that a DataGridView could handle this easily ?

    Thank you
    See more | Go to post

    Leave a comment:


  • siilexx
    started a topic How to optimize User interface creation

    How to optimize User interface creation

    Hello,

    I'm building an interface showing many users controls (mainly Labels and Buttons) but the result is rather slow.

    Here is a basic sample of the code:

    Code:
    Panel myPanel = new Panel();
    
    int nbrPPL=15;
    for (int k=0; k < nbrPPL; k++)
    {
       Case[k] = new Label();
       Case[k].Location=...
       Case[k].Size=...
       Case[k].Name=...
    ...
    See more | Go to post
No activity results to display
Show More
Working...