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

Search:

Type: Posts; User: jordiebarrett

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    394

    Re: VB6 edit a record

    Hey, I've also now added this piece of code to the bottom of the orginal code...


    Open Filename For Random As #1 Len = Len(product)
    Get #1, 1, newquantity
    newquantity =...
  2. Replies
    2
    Views
    394

    VB6 edit a record

    Hi, I've created a program to be used in a school to monitor the stock of equipment. a student is able to loan stock out, which should as a result drop the ammount of stock by 1 and increase a tally...
  3. Replies
    16
    Views
    901

    Re: Kill file issue

    Get #1, , product
    If index <> recordnumbeRtodelete Then

    Put #2, , product
    End If

    Success! I miss-spelt the word record...However...it may just be me being dumb here...once...
  4. Replies
    16
    Views
    901

    Re: Kill file issue

    Hi, again thanks for the reply...ive done all the steps you said about cleaning the code up and the .txt :)

    However, i still cant get it to delete the record i want it to when pressing the cmd...
  5. Replies
    16
    Views
    901

    Re: Kill file issue

    Hi David, I finally have the product deleting the old file and renaming the new! However, now when i click delete no records are removed...instead all the records are moved without the orginal one...
  6. Replies
    16
    Views
    901

    Re: Kill file issue

    Hey David, thanks for the reply. However, Im slightly confused on the three line batch program? and surely, if i rename the file before i open it...when it goes to open it...it wont be able to find...
  7. Replies
    16
    Views
    901

    Re: Kill file issue

    Hey, heres the code...


    Private Sub cmddelete_Click()
    Dim File As String
    Dim index As Integer
    Dim NumberOfRecords As Integer
    Dim recordnumbertodelete As Integer
    Dim newfilename As String...
  8. Replies
    16
    Views
    901

    Re: Kill file issue

    Hi, thank you for the replies so far. I'm currently out, so will try uploading the files again later. Also I will
    Copy the code aswell. The program stores information on different pieces of...
  9. Replies
    16
    Views
    901

    Kill file issue

    Hey, Second post...same program...Currently trying to code a program that will be used in a school style situation. What im stuck with is deleting a record from the document. It should copy them all,...
  10. Re: Visual basic 6 - Next without for

    Hi, thanks for the replies! I had indeed missed that line of code, however now the program deletes the orginal file but doesnt create the new one for the data to be put into? It should copy all the...
  11. [RESOLVED] Visual basic 6 - Next without for

    Hey, this is my first post. Currently completing A2 ICT and we have a brief to code a program to allow a school worker the ability to monitor the loaning of equipment. Got an array so i can add data...
Results 1 to 11 of 11


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center