dcsimg

Search:

Type: Posts; User: skr706

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Re: Read Text file and make changes to text by searching a string

    Hi
    Thanks very much

    Resolved
  2. Re: Read Text file and make changes to text by searching a string

    Hi
    something is still not going good.



    here pi is a value (integer) and avals(i) is a string
    i think string + integer is not a good sequence or statement, thats the reason its...
  3. Re: Read Text file and make changes to text by searching a string

    Hi
    thanks once again for your reply.
    1. I hanged the avals as string
    2.I had noticed that the input file had a string before -90.00 at few places so the code stopped incomplete
    0.000 0.000...
  4. Re: Read Text file and make changes to text by searching a string

    Hi
    Thanks for your guidance and code.
    It worked, but i made a minor change as required.


    Private Sub Command1_Click()
    Dim ec As Boolean, i As Integer
    Dim strln, repval, fn, fn2, avals() As...
  5. Re: Read Text file and make changes to text by searching a string

    Sir
    as u suggested that
    "Read in each line
    then split
    then in a loop check to see if the column value=-90"

    how /what code shall i use for read each line below string/ after string EC1...
  6. Re: Read Text file and make changes to text by searching a string

    Yes
    All the values in red are to be changed except the string EC1 in the text file.
  7. Re: Read Text file and make changes to text by searching a string

    Hi
    Changes in values are to be made in line below the string EC1.
    Now i wonder what command / code to use for selection of every string?. The code included below selects the 3rd string , as...
  8. [RESOLVED] Read Text file and make changes to text by searching a string

    Hi Friends
    I ve come up for a help in modifying the codes of existing VB6 project of reading a file and make changes in the file.

    In my previous post similar to this project you helped out me by...
  9. Replies
    3
    Views
    181

    Re: Excel formula ofFusing "if"

    Thanks
    Solved
  10. Replies
    3
    Views
    181

    Excel formula ofFusing "if"

    Hi
    I was trying to fit it 1 formula used in excel file to vb in one of my codes. Vb6
    But am unable to fulfill it . It looks very simple but am getting wrong results.

    Please help
    ...
  11. Replies
    6
    Views
    924

    Re: Make changes in multiple files

    Hi Sam
    Please look to the code below , i tried but i was able to select only one file, I didnt know how to code for all files.

    Code:

    Private Sub cmdUpdate_Click()
    Dim intFileIn As Integer...
  12. Replies
    6
    Views
    924

    Re: Make changes in multiple files

    Hi Sam
    I trieduploading the files in forum but due to some reasons i. Couldnt, so i uploaded on zippyshare.
    Can u please help me
    Im in middle ofsomething

    Sunil
  13. Replies
    6
    Views
    924

    Re: Make changes in multiple files

    Hi Sam
    Im not a good coder, My level u can judge as a beginner, but im doing my petty coding since long to fulfill my required and genious people like you.

    The project is attached at the link...
  14. Replies
    6
    Views
    924

    Make changes in multiple files

    Hi Friends
    I was working on a project for converting file text and add a value to the file
    Now i need to define a particular folder and select all files in that folder i.e. all files for changing...
  15. Replies
    0
    Views
    1,000

    Convert from C to VB6

    HI ,

    I have a code in C. and I am not at all good in C.
    I need to convert it to VB6.
    Can some one help in this regard?
    you can also PM me to skr706@gmail.com. Thanks in advance

    code...
  16. Replies
    0
    Views
    375

    How to delete the registry entry

    Hi,

    In the code enclosed (downloaded from forum) for trial maker)

    1. How to delete the "start date" entry from the registry so that the trial is reset? (sorry could'nt locate)
    2. What shall...
  17. Replies
    6
    Views
    748

    Re: help to finish the project

    Hi Doogle
    Thanks for reminding the re-initialisation.

    One more problem remaining:
    If you look at the loop of selection of line numbers i.e. the list file selection,
    While the value of...
  18. Replies
    6
    Views
    748

    Re: help to finish the project

    Dear Westconn1,

    1. AA.text is a input file as one complete file having data.
    2. I need to split the file as per the requirement (of distance calculation between the lines which I sorted it out by...
  19. Replies
    6
    Views
    748

    [RESOLVED] help to finish the project

    Hi Friends
    Enclosed is the frm and the input files

    I have added the file list.txt because I couldn’t create a loop after calculating the distance between the lines. So I calculated the distance...
  20. Replies
    9
    Views
    854

    Re: odd and even linecount of file

    Dear Sir,

    I am struck since long in my project, Could u please help out?
    My code with ur previous help is
    code:
    F6 = "C:\Sunil\" + "list" + ".Txt"
    Open F6 For Output As #6


    f = FreeFile
  21. Replies
    0
    Views
    316

    help required in assembling the code

    Dear Friends,

    I have a 2 codes
    1. to read the file and calculate the distance between the 2 lines data
    2. to read the file and arrange as required ( linecount/ odd and even format) of course...
  22. Replies
    9
    Views
    854

    Re: odd and even linecount of file

    Dear Sir,

    Thanks for your help,
    Worked out fine
    Resolved

    Best Regards
    Sunil
  23. Replies
    9
    Views
    854

    Re: odd and even linecount of file

    Dear Sir,

    Although I was trying a lot of variables to extract the values.
    for instance i tried :

    A = myarr(i) & vbTab & Right(myarr(i), 5)
    End If
    If i = UBound(myarr) - 1 Then
    ...
  24. Replies
    9
    Views
    854

    Re: odd and even linecount of file

    Dear Sir,
    Tried a lot of variables too read the value of myarr(i) and add them. ut couldnt achieve succcess.
    Could U please give some hint

    Best Regards
    Sunil
  25. Replies
    9
    Views
    854

    Re: odd and even linecount of file

    Dear Westconn1,
    Thanks
    This worked out fine.
    Only left over is to sum up the last three columns/results printed to new file. Could u please add that too.

    Best Regards
    Sunil
  26. Replies
    9
    Views
    854

    [RESOLVED] odd and even linecount of file

    Hi Friends,

    I am trying to print my file using the line count and the print the word as oddline and evenline in column

    I tried to read the file for line count by this code :

    Option Explicit...
  27. Replies
    18
    Views
    1,949

    Re: Read Text file and make changes

    Dear Doogle,
    Although this post was resolved, I thought of adding some more codes to it with your kind help.

    The code you helped works fine, Now I planned to add some more code to it for getting...
  28. Re: How to stop the time stamp not to change

    Dear
    Sometimes we have to manipulate the data to get rid of the work done successfully. Else we are heldup until we achieve the given work.
    If it is against the forum, I will not ask for
    But if...
  29. Re: How to stop the time stamp not to change

    Dear Doogle,

    I am working on a data manipulation program.
    The data file will be given to client
    but the data logged will be having a sequence of time stamp.
    After manipulating the data the file...
  30. Re: How to stop the time stamp not to change

    Dear Weeluke
    Thanks for guidance

    Could u please help out with some sample code? which can make the project more easier.
    Thanks
    @Sunil
  31. Re: How to stop the time stamp not to change

    Thanks, for the prompt reply.

    Can I have a sample code of it?

    @Sunil
  32. [RESOLVED] How to stop the time stamp not to change

    Hi,

    While reading a text file and making some changes to that file normally the time stamp changes and we get the date and time changed in the file accessed or file created properties.

    How to...
  33. Read Multiple files, process and print new file

    Dear

    I have 2 files to read
    calculate
    Print a new result file

    Requirement is :
    1. Read the "pre" file and the "post" file.
    (a) read the data line in count, Then calculate the distance ...
  34. Replies
    18
    Views
    1,949

    Re: Read Text file and make changes

    Dear Doogle,

    Thanks for the kind help.
    ===Resolved====
  35. Replies
    18
    Views
    1,949

    Re: Read Text file and make changes

    Dear Doogle,

    I found a code for selecting multiple files. as mentioned below, But here I am unable to link the files with the previous code to operate. Could U please help me in this regard,
    ...
  36. Replies
    10
    Views
    1,295

    Re: Reading Excel file ith searching of date

    Dear Dilettante,

    Although the project is resolved, still I needed the output to be seen on the desktop in big fonts for the whole day, as if desktop reminder.

    Is it also possible to make it...
  37. Replies
    10
    Views
    1,295

    Re: Reading Excel file ith searching of date

    Dear Dilettante,

    Although the project is resolved, still I needed the output to be seen on the desktop in big fonts for the whole day, as if desktop reminder.

    Is it also possible to make it...
  38. Replies
    10
    Views
    1,295

    Re: Reading Excel file ith searching of date

    Dear Dilettante

    Resolved by installing service pack
    Thanks for all your help.

    Best Regards.
  39. Replies
    10
    Views
    1,295

    Re: Reading Excel file ith searching of date

    Dear Dilettante,

    The errors from log file :

    Line 39: The property name _ExtentX in MonthView is invalid.
    Line 40: The property name _ExtentY in MonthView is invalid.
    Line 41: The property...
  40. Replies
    6
    Views
    671

    Re: Sin and Cos

    Try This:

    PI = 3.14159265358979
    TRIG = PI / 180

    AD = Val(Text1.Text)
    AM = Val(Text2.Text)
    ASEC = Val(Text3.Text)
    Jarak=Val(text4.text)
Results 1 to 40 of 54
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width