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

Search:

Type: Posts; User: vaas

Search: Search took 0.01 seconds.

  1. Thread: Recursion

    by vaas
    Replies
    6
    Views
    731

    Re: Recursion

    I got it to upload all the directorys but now I need the files to be placed in the folders to but im having no luck. the files are going in the very last sub directory. Heres is my updated code!

    ...
  2. Thread: Recursion

    by vaas
    Replies
    6
    Views
    731

    Re: Recursion

    BOOL CListfilesDlg::recursion(CString sPath)
    {

    HANDLE hFind;
    WIN32_FIND_DATA fdFind;
    UpdateData(true);

    CString StrPathS = m_editvalue;

    CString salvation = StrPathS + sPath;
  3. Thread: Recursion

    by vaas
    Replies
    6
    Views
    731

    Recursion

    The code below is suppose to create directories and upload files, but it is not working. What can I do to make the code work?



    void CRECURSIONDlg::Recursion(CString sPath)
    {

    hInternet =...
  4. Replies
    2
    Views
    451

    UnixTimestamp to time

    I have the following code that takes a unix time stamp into a date.


    #include "stdafx.h"
    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <conio.h>
    //e.g. 1331812987 = Thu...
  5. Replies
    2
    Views
    572

    CListCtrl Multiple selections

    hello


    How do you select multiple folders and upload them. Search recursively? I cant find any code or examples.
  6. Replies
    4
    Views
    748

    CString replace? index of?

    Is there a function that can take out part of the string such as,


    C:/Users

    I want to take out Users.

    I need the function to search for the first "/" and take out the last dir name...
  7. Replies
    4
    Views
    477

    Re: Wildcards! Which one?

    Dang, man its hard...even looked up the IsDirectory on msdn with no luck
    heres some code that I came up...jerry rigging and still does not work entirely..i get double folders of the directory im in....
  8. Replies
    4
    Views
    477

    Wildcards! Which one?

    Im working on a simple file list program that list folders and files using CFileFind. Heres how the program goes!
    1. User types a directory in a edit box
    2. Presses button and files and folders get...
  9. Thread: ftp file size

    by vaas
    Replies
    6
    Views
    894

    Re: ftp file size

    alright.. I fixed


    m_yay.SetRange(0,100);

    And also..here isi the code that I edited..but still the progress is going crazy. Should I put the "StepIt" function in a while loop? Or maybe chop...
  10. Thread: ftp file size

    by vaas
    Replies
    6
    Views
    894

    Re: ftp file size

    MY question is....why does the progress bar go crazy..filling like 10000 times..instead of starting from the beginning and slowing incrementing ot the end....

    I used StepIt instead of setpos and...
  11. Thread: ftp file size

    by vaas
    Replies
    6
    Views
    894

    ftp file size

    My question is...can this be fixed to work right??????????????????




    int index;
    CString strText;
    index = m_dir.GetCurSel();

    m_dir.GetText(index,strText);
  12. Replies
    2
    Views
    338

    WinInet progress bar

    Will anyone help me out with a progress bar for a wininet ftp client?

    here is my code that I have so far but is not working.


    int row = m_listcontrol.GetSelectionMark();

    CString s2 =...
  13. Thread: CString + CString

    by vaas
    Replies
    7
    Views
    336

    Re: CString + CString

    No, im not testing anyone..but I figured out the problem..and I was posting it ...maybe incase if someone has the same problem
  14. Thread: CString + CString

    by vaas
    Replies
    7
    Views
    336

    Re: CString + CString

    for this error

    error C2001: newline in constant


    instead of using one \ I used \\ and it works now
  15. Thread: CString + CString

    by vaas
    Replies
    7
    Views
    336

    Re: CString + CString

    I tried



    CString backlash = "\";
    CString whatever = m_path + backlash;


    it takes backlash as a new line though
  16. Thread: CString + CString

    by vaas
    Replies
    7
    Views
    336

    CString + CString

    How can I join two cstring


    C:\USERS\****\Desktop


    and

    \
  17. Thread: fie info

    by vaas
    Replies
    2
    Views
    329

    Re: fie info

    I narrowed it down...



    pFile = new CFile(fdFind.cFileName,
    CFile::modeRead);


    that is the problem.i tried messing with the access..no luck
  18. Thread: fie info

    by vaas
    Replies
    2
    Views
    329

    fie info

    Somewhere in the code below is causing this error(ACCESS TO $RECYCLE.BIN$ WAS DENIED), not letting me get file info TO populate a list control.



    pFILEINFO fiInfo = new( FILEINFO );

    HANDLE...
  19. Thread: Ftp Client Files

    by vaas
    Replies
    1
    Views
    383

    Re: Ftp Client Files

    Nevermind..got it to work with



    while (InternetFindNextFile(hFind, &findData)){




    m_dir.AddString(findData.cFileName);
  20. Replies
    4
    Views
    426

    Re: *char user input

    Try this



    char name[256];

    cin >> name;
  21. Thread: Ftp Client Files

    by vaas
    Replies
    1
    Views
    383

    Ftp Client Files

    Here is the code that gets the list of files with WININET functions



    void CSimpleftpclientDlg::OnButton3()
    {
Results 1 to 21 of 22


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center