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

Search:

Type: Posts; User: SteveyD

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    1,789

    Re: Help Please; Form positioning

    to save the info for the screen the form was on when it last closed;

    Screen.AllScreens.Count(); //gets the total multiple screen count

    string CurrentScreenName =...
  2. Replies
    5
    Views
    1,789

    Re: Help Please; Form positioning

    I found and implemented the following code to deal with form location, now I need to solve the issue of multiple monitor and whether the form was closed on a screen that is not currently present.
    ...
  3. Replies
    5
    Views
    1,789

    Re: Help Please; Form positioning

    Thanks Arjay

    Almost as helpful as Google.
  4. Replies
    5
    Views
    1,789

    Help Please; Form positioning

    Looking for some help on Form positioning;

    How would I code the following?

    On Form Exit;
    -Save new form position.

    On Form Load;
    -Check to see if the form was saved on a multiple monitor...
  5. Replies
    2
    Views
    5,554

    How do you set a textBox.text value on exit?

    How do you set a textBox.text value on exit?

    I would like to make the user defined textbox value saved as the value of the textbox for the next time the form is opened

    Is there another way to...
  6. How do you populate a listbox with all available LPT,Com and USB ports?

    Hi gang,

    How do you populate a listbox with all available LPT,Com and USB ports?

    I'd like to use a Form, and on form load, collect all LPT, Serial and USB ports on the current system and have...
  7. Re: Using Delphi6 Dll's in C# - encountering an error

    Arjay

    Let me see if I follow this correctly, I'm sure I have the concept totally messed up in my head and its leading me in circles.


    function Receive(Adr, Len: integer): TData; stdcall;...
  8. Re: Using Delphi6 Dll's in C# - encountering an error

    Looking at the source code for the mrdsio.dll, it would appear that the function

    function TDM1.Receive(Adr, Len: Integer): TData; (from the source code) already does its Delphi version of the...
  9. Re: Using Delphi6 Dll's in C# - encountering an error

    Thanks for the reply

    This is looking like a interesting challenge. Never messed with IntPtr before.

    I have the source code for the mrds.dll (also written in Delphi6) maybe that will help me.....
  10. Using Delphi6 Dll's in C# - encountering an error

    Greetings again

    I originally posted this question at Daniweb, and I thought I'd try here for a larger group of eyes.

    I've been trying to use a Delphi6 DLL in a C# program, I've been...
  11. Replies
    3
    Views
    1,153

    Re: Error code CS0266?

    If I understand you correctly,

    Data[i] is a byte

    (int)(Edit1.Text[1]) is an int

    So I should convert the (int)(Edit1.Text[1]) to a byte first?
  12. Replies
    3
    Views
    1,153

    Error code CS0266?

    I'm stumped on this section of code;



    public void Button3Click(System.Object Sender, System.EventArgs _e1)
    {
    byte[] Data;
    // Data[0] = address, Data[1..] =...
  13. Replies
    0
    Views
    431

    newbie question about focus

    I have a simple Form that is created on startup, moving the mouse over the form displays x,y values of my mouse in another Child Form.

    When I move the Child Form from its startup location, the...
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured