CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: lwong

Page 1 of 9 1 2 3 4

Search: Search took 0.09 seconds.

  1. Re: Help with accessing a globe variable on a form from other form problem, thank you

    Thank you very much
    TheGreatCthulhu
    I can get the correct value now.
    Thank you again.
  2. Re: Help with accessing a globe variable on a form from other form problem, thank you

    Thank you very much for replying.
    Yes, the first two codes are from Flogin.cs
    The LoginFlag property and Application run as below for Flogin.cs.


    public FLogin()
    {
    ...
  3. Help with accessing a globe variable on a form from other form problem, thank you

    Hi,
    I am sorry for poor programming skill.
    I have a form. Inside, I declared a global variable loginflag, the initial value is false, when users login, the value becomes true.But when I accessed...
  4. Replies
    2
    Views
    11,426

    Re: how to plot the graph in real time using c#

    Thank you very much
  5. Replies
    2
    Views
    11,426

    how to plot the graph in real time using c#

    Dear All,

    I have one laser machine connects with the pc by serial port, by using SerialPort class in C#, I can get the energy data of it,how can I use these data to plot the graph in real time?...
  6. Replies
    2
    Views
    1,806

    Attempted to read or write protected memory.

    Dear All,
    I have a problem with calling a dll which writed by C++


    private void read_Click(object sender, EventArgs e)
    {
    if (OpenCom(3) > 0)
    ...
  7. Re: how to update the form text in real time?

    Thanks, I will try, ha....that is really not a homework. I just have interested to think about that.

    Thanks, I have done it.
  8. [RESOLVED] how to update the form text in real time?

    Dear All,

    I have one Form in which has two textboxes, when the value of one textbox is changed, the other one also been changed immediately.how can I do that?
    Thanks.
  9. Replies
    3
    Views
    622

    Re: what is the problem about this code

    oh, yes, thank you all.
  10. Replies
    3
    Views
    622

    what is the problem about this code

    Dear,
    Why the below code ask me to enter 6 numbers? does it not input c[0]....c[4]?


    int c[5], *y,i;
    for(i=0;i<5;i++)
    {
    printf("%d:",i);
    scanf("%d\n",&c[i]);
    }
  11. Replies
    16
    Views
    2,476

    Re: how to generate a random number

    Remarks

    A ListBox or ComboBox that is bound to a Data control doesn't support the RemoveItem method.

    how to solve this? Thank you.
  12. Replies
    16
    Views
    2,476

    Re: how to generate a random number

    thank you. how to delete one item in the list
  13. Replies
    16
    Views
    2,476

    Re: how to generate a random number

    Thank you. Maybe I not state clearly, my meaning is that I have one list, says, 10,12,15,20,32 and so on, I just want to generate one random number from this list everytime, how can I do that?
  14. Replies
    16
    Views
    2,476

    how to generate a random number

    Hi, everyone,
    How to generate a random number from a given list? Thank you
  15. Replies
    5
    Views
    577

    Re: help with combobox

    thank you. but i rename the combobox as combobox1, and want to add a new item to exsiting items. but use such code cannot archieve that, help me.
  16. Replies
    5
    Views
    577

    help with combobox

    dear,
    how to add the item


    combobox1.AddItem "1"


    this code cannot do that.
  17. Re: how to save the data in datagrid into excel file

    thank you very much, let me try these
  18. how to save the data in datagrid into excel file

    I have a record show in the datagrid, how can I save it to the excel files?Thank you.
  19. Replies
    3
    Views
    581

    Re: help with excel macro

    I know, but what event can do that? when cell A change value, cell B also immediately changed value
  20. Replies
    3
    Views
    581

    help with excel macro

    Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
    Dim x
    For x = 1 To 1000
    If Cells(1, 1) <> "" Then
    Cells(2, 1) = "hi"
    End If
    If Cells(2, 2) <> "" Then
    Cells(3, 2) =...
  21. Replies
    5
    Views
    843

    Re: print problem in VB

    I have a lot of rows in the data grid, printform just can print what be showed on the screen, can I print out all those data out just like the EXCEL in VB Form? means it maybe print out 2 pages or...
  22. Replies
    12
    Views
    1,210

    Re: really need your help

    thanks, Pranay,
    I will post the project after I rearrange the code first.
    send the "read page" form to receipient is really hard???
  23. Replies
    12
    Views
    1,210

    Re: really need your help

    thanks, waiting for you.
  24. Replies
    12
    Views
    1,210

    Re: really need your help

    How about the situation, Pranay?
  25. Replies
    4
    Views
    564

    Re: help with initial

    I find the fault now, it is my fault, i put the codes which relationed to num wrongly in one function. Thank you.
Results 1 to 25 of 222
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured