User Profile

Collapse

Profile Sidebar

Collapse
gilit golit
gilit golit
Last Activity: Sep 6 '12, 08:42 AM
Joined: Feb 6 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gilit golit
    started a topic php socket socket_create blocks
    in PHP

    php socket socket_create blocks

    Hi
    when I do
    $socket=socket_ create(AF_INET, SOCK_STREAM, SOL_TCP))
    it blocks. Nothing happens.
    here is the code :
    I copied it from php.net
    I am using webmatrix , and IIS , Not apachi. maybe this causes the problem

    Code:
    error_reporting(E_ALL);
    
    set_time_limit(0);
    
    ob_implicit_flush(); 
    
    
    $address = '192.168.0.233';              
    
    $port = 1000;
    ...
    See more | Go to post

  • gilit golit
    started a topic SOCKET connect C/C++ to PHP
    in C

    SOCKET connect C/C++ to PHP

    Hi!
    SOCKET
    Can anyone show me the code of
    server in C , windows
    and client in PHP using socket
    I have managed to do socket from php to php
    (both server and client in php)
    I need only the simple option for one connection

    Here is the code that worked for me in php:
    Code:
    simple_server.php
    <?php
        echo "SERVER start  <br/>" ;
        $server_socket
    ...
    See more | Go to post

  • c# read one word string from a file - like scanf()

    Hi everybody
    Reading string from a text file in c#
    I would like to know How to read words from an input file in C# ?
    In C / C++ there is fscanf ( %s) to get one word or %d to get one integere ect from the input file.

    In C# , Readline reads the whole line , and read reads a key and return the char integer unicode.
    But How do I read one integer ? one alphanumeric string ect ?
    A code example that...
    See more | Go to post

  • gilit golit
    started a topic move from windows forms to WPF ?
    in C

    move from windows forms to WPF ?

    I am an expirienced software eng. (C++ and C# , mainly algorithms)

    Lately , I have started using Winform.

    I know that WPF is more mature .
    My questions are

    1. Is it easier to implement the GUI in WPF ?
    2. How long should it take to learn WPF
    3. what are the main functionalities and features , that I can implement in WPF and not in winform , and via versa.
    4. For Web application...
    See more | Go to post

  • good !
    thanks

    How do I refer from one form to events in another form ?
    See more | Go to post

    Leave a comment:


  • gilit golit
    started a topic winform c# dataGridView binding to array
    in C

    winform c# dataGridView binding to array

    Hi
    Can I bind DataGridView to an array , (one dimetion ? two dimentions ?)
    The dataGrid is Set to fixed number of rows. So it can be bound to an array.
    in a similar way that I can bind it to a BindingList

    I saw something about ArrayDataView ,
    But, it seems that it does not exist in C# (???)
    C#
    See more | Go to post

  • gilit golit
    started a topic winform efficiancy
    in C

    winform efficiancy

    I wrote a a small winform project with few forms,
    and the application is consuming 17 M while running.
    Also, sometimes it looks a little slow.

    It looks like it is loading heavy libraraies.
    a quit heavy project with no GUI is taking me less then 2 M


    Just create an application with one form ,
    and look how much it takes .

    Is this used for commercial applications ?...
    See more | Go to post

  • gilit golit
    replied to winform table
    1. The answer is WindowsGridView

    2. all the form screan was jumping. some bug (?). But it is not relevant
    See more | Go to post

    Leave a comment:


  • gilit golit
    started a topic winform table

    winform table

    Hi !
    I want to show a table in the user form
    Every line represents the fields of one costumer
    The user enters the values for each entry in a line.
    I have used :
    TableLayoutPane l , and put the buttons in the cells of it.

    In the user form, I don't see the table cell borders.
    usualy, it is good,
    But I wanted the user to see it in a table
    my questions are :
    1. I have defined...
    See more | Go to post

  • gilit golit
    replied to multi forms in one desktop application
    ok
    Now, I added "using Form2NamesSpace; "

    and it seems working . Thanks again
    Yeee !!
    See more | Go to post

    Leave a comment:


  • gilit golit
    replied to multi forms in one desktop application
    Thanks alot
    I understood what you said.
    Now
    First I opened a C# winform application
    and implemented the form (Form1).
    Then I did Project->add windows form
    It opened relevant files. I implemeted them (Form2).

    But, When I wanted to define an object of class "Form2"
    in the handle of a button of form1, It did not recognize Form2.
    Maybe there is a need to somehow do
    some...
    See more | Go to post

    Leave a comment:


  • gilit golit
    replied to multi forms in one desktop application
    Thank
    But I ment standard application that pressing on a button in one form causes
    opening another form.
    nor multi documents at the same time
    See more | Go to post

    Leave a comment:


  • gilit golit
    started a topic multi forms in one desktop application

    multi forms in one desktop application

    1. How do I define multi forms in the same winform app (C#) ?
    See more | Go to post

  • gilit golit
    started a topic web appilcation gui - vs - user application

    web appilcation gui - vs - user application

    I want to enable users use my desktop application also via web site.
    Do I have to write all the GUI manues again in asp.net ?

    In other words - the one application with the same manual needs web option and also local option .
    Do we need two different codes for this ? how ?
    See more | Go to post

  • gilit golit
    replied to array of objects in C#
    Thanks.
    I wrote :
    System.Windows. Forms.Button [] buttons_list = new System.Windows. Forms.Button [10];
    (ok)
    and then, I wrote :
    buttons_list[1] = button7 ;
    and it complained:
    buttons_list is a filed , but is used like a type

    help !
    See more | Go to post

    Leave a comment:


  • gilit golit
    replied to windows forms
    Thanks

    What is the diff between winform and WPF ?
    See more | Go to post

    Leave a comment:


  • gilit golit
    replied to windows forms
    Thanks
    Thats more then enought
    I wanted to know that Winform will not cause me troubles.
    What is the diff between winform and WPF ?
    See more | Go to post

    Leave a comment:


  • gilit golit
    started a topic array of objects in C#

    array of objects in C#

    How do I declare array of objects (in C#) ?
    See more | Go to post

  • gilit golit
    started a topic windows forms

    windows forms

    Hi !

    What is the common and recommended way for writing GUI for a c# project ? Is it windows forms or not ? If so, does it have limitations (like number of buttons )?
    Is it simple to implement all the GUI for a commercial project using winforms ?
    Thanks
    See more | Go to post

  • ok

    1. I have found out , that for every function in the c# calling project , I have to do the DllImport . as follows:



    [DllImport("Test DLL.dll", CallingConventi on = CallingConventi on.Cdecl)]
    public static extern int DLLFunction(int Number1,
    int Number2);
    [DllImport("Test DLL.dll", CallingConventi on = CallingConventi on.Cdecl)]...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...