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

Search:

Type: Posts; User: Saeed

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. [RESOLVED] manipulation of a winword document

    Hi
    I am posting this thread to see if anyone has come across extracting data from a winword document and putting that in another document.

    What i woudl like to do is to be able to read a...
  2. Replies
    2
    Views
    414

    A window of a folder is open or not

    I m not sure if going through the processes in the taskmanger is going to help me with this but this is something i want to do and before i start to try a few things thought pop that question in here...
  3. Replies
    7
    Views
    1,140

    Re: [RESOLVED] Dll and its location

    In compliment to what Aray said I hope you have not forgotten to register your dll

    >RegAsm.exe smanageddll.dll /tlb:smanageddll.tlb /codebase
    You have to run this command before being able to...
  4. Replies
    7
    Views
    1,140

    Re: [RESOLVED] Dll and its location

    give me your email and i will send u my proj on MONDAY , its the Weekend now
  5. Replies
    7
    Views
    1,140

    Re: [RESOLVED] Dll and its location

    HI
    I m sorry but I dont recall what the remedy was.
    I somehow fixed the issue and the project is working but Cant remember what I did.
  6. Replies
    26
    Views
    5,814

    Re: print white space

    Yes you are right
    must have been one of those days for me that I logged on here sleepy.
  7. Replies
    26
    Views
    5,814

    Re: print white space

    try a simpler soultion:

    string.Empty.PadLeft(i, ' ');
  8. Thread: String Format

    by Saeed
    Replies
    2
    Views
    347

    String Format

    In

    string y= "CodeGuru site"
    string result = string.Format("%8s",y);

    Is there a way that "%20s could be a dynamic text ?


    string format = "site is %8s";
    string result =...
  9. Thread: HEAP Error

    by Saeed
    Replies
    6
    Views
    474

    Re: HEAP Error

    Thanks paul;
    but i do need the pointer as it contains a series of Values


    sprintf(textUID,"%s%02x ",textUID, *pabUID+i));


    textUID is a char* with enough number of bytes allocated. That has...
  10. Thread: HEAP Error

    by Saeed
    Replies
    6
    Views
    474

    HEAP Error

    There is an API that I need to call to fetch a VALUE (UID)

    //declaration
    RET_STATUS ActivateIdle(uint8_t *pabATQ = NULL,
    uint8_t *pbSAK = NULL,
    ...
  11. Replies
    9
    Views
    944

    Re: Reading email mesgs from the inbox

    After 11 years, Thanks to dot net and c sharp , bye bye cpp
  12. Re: avoid stretching an image but in a fixed size

    Thanks Hanne;
    Good work .

    Cheers
  13. [RESOLVED] avoid stretching an image but in a fixed size

    I am displaying an Image in a fixed size section of screen say X and Y
    If the picture happend to be smaller or bigger I use stretch to fit it in my area of control.
    Now the area could be wider or...
  14. Replies
    2
    Views
    452

    Question about Regex

    mTrack = new Regex(@"^%B\d{8,19}\^.{1,26}\^\d{2}(01|02|03|04|05|06|07|08|09|10|11|12)\d{3}((.{9,57})+|\^)\?", RegexOptions.None);



    between the two ^ it says minimum 1 , Maximum 26
    This I...
  15. Replies
    8
    Views
    879

    Re: Split into records in CPP

    Thanks for teh reply...
    What you have posted shoudl deal with a string terminator ,\r\n or \r\n\r\n
    An issue has risen and I know it has to do with having some binary in the record .from exp i...
  16. Replies
    8
    Views
    879

    Re: Split into records in CPP

    istream& getline (char* s, streamsize n );
    istream& getline (char* s, streamsize n, char delim );


    Hi
    Thanks for the reply.
    The file is in binary .... records may contain control characters,...
  17. Replies
    8
    Views
    879

    Split into records in CPP

    Hi C++ gurus;


    string strBinAll = s0.ReadToEnd();
    s0.Close();
    string[] records = Regex.Split(strBinAll, "\r\n");


    in C# .net one can easily split a...
  18. Replies
    5
    Views
    453

    Re: Excel & reading cells content

    Ok for those that may have the same problem here is my conclusion:


    DO NOT use Ole
    use Microsoft.Office.Interop.Excel

    Using that I managed to read/fetch what was in the spreadsheet regardless...
  19. Replies
    5
    Views
    453

    Re: Excel & reading cells content

    Have tried all that. removing locks on cell formulas , sheet

    again once pasted from other cells its OK , as soon as you modify it
    you wont get anything back
  20. Replies
    5
    Views
    453

    Re: Excel & reading cells content

    Hi thanks for the reply

    sample xls is attached within the zip file.

    Rows 12-15 ,Column Z
  21. Replies
    5
    Views
    453

    [RESOLVED] Excel & reading cells content

    I have functions that use
    OleDbCommand , OleDbDataReader and OleDbCommand
    to read values of cells within an excel sheet.

    it works fine for everything else , however in some cases like:
    Row...
  22. Replies
    0
    Views
    1,117

    Excel OleDbDataReader numeric problem

    Hi;

    I am running into a problem that I dont seem to be able to find the answer however someone who deals with OleDbDataReader most likley knows the answer.

    When a cells attribute is General
    ...
  23. Replies
    3
    Views
    680

    Re: 8 bit strings Encoding issue

    apologies
    i did not scroll down enough to see the code ;)

    Thank You
  24. Replies
    3
    Views
    680

    [RESOLVED] 8 bit strings Encoding issue

    This is a unit test to ensure 8 bit data (00-FF) can be placed in an string moved to a byte array and vice versa and nothing is lost in this conversion.

    it seems that base64String does not seem...
  25. Replies
    4
    Views
    419

    Re: byte [] and string

    If Encoding ignores the unprintable characters , what this means is some of the data would be lost when they are moved to the string objext is not it?
    then teh answer woudl be NO i guess to my...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width