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

Search:

Type: Posts; User: chongsf

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    24,190

    How to insert " in a string

    Hi,
    How would I insert a double quote <"> in a string in C#?
    I want to have a string which include a " inside......but I get compile error for below code:

    string st = "abc" + ""1"";

    Thanks...
  2. sgPassPct is not the return value of that dll...

    sgPassPct is not the return value of that dll function call.
    It's another variable to keep percentage of pass unit.

    I had declared a long variable for the return value, lgRet
  3. In my actual code I pass in string and double...

    In my actual code I pass in string and double variables to this DLL function....
    In order to trap the error, I try to pass in something like this:

    lgRet = check_binning("WA", 0.3456, 0.3456,...
  4. Thanks for the reply. My Total is a public...

    Thanks for the reply.

    My Total is a public type:

    Public Type StructTotal
    lgGrand As Long
    sgPassPct As Single
    sgFailPct As Single
    End Type
    Public Total As StructTotal
  5. Overflow in VB after called a VC++ DLL's function

    In my code, after calling a VC++ DLL function, the VB EXE give an overflow runtime error......
    When I debug it in VB IDE, the error come from this line:

    if Total.lgGrand > 0
    Total.sgPasspct =...
  6. Replies
    0
    Views
    498

    Stop Advance After Print some lines

    Hi,
    I'm using a dot matrix printer to print a sticker.
    I call StartPage() and EndPage to print my text. The problem now is after EndPage(), the printer will print out my text and load out the...
  7. Replies
    0
    Views
    544

    Unsupported operation in W2K

    My application developed using VC++6.0 in W2K run in my development PC (with Visual Studio 6.0 installed).
    When I run the same application in a client PC without VS installed, I get this error:
    An...
  8. Replies
    1
    Views
    484

    Single Quotes in table field

    My SQL statement is as below:
    stSQL = "SELECT u', v' FROM Result"

    I get an error when I open a recordset with this statement in VB 6.0 to access my database in Access format.
    How do I include...
  9. Replies
    2
    Views
    558

    ReadString and WriteString To a file

    Hi,
    I need to seach for a number in a file, then overwrite this line with some others string.
    I know I have to seek that position, then move the file pointer to that position before I write the...
  10. Replies
    4
    Views
    640

    Too Many controls in one dialog box

    Hi,
    Can somebody help me on this:
    My dialog box contains more than 250 controls. When I try to add more
    control.....it seems like Visual C++ does not allow me to add anymore control.
    May I...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured