Results 1 to 3 of 3

Thread: Please HELP?????

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    2

    Question Please HELP?????

    hi all,

    as part of an assignment at uni i've got to develop a pay calculating program (thats the easy bit). i've been given a notepad file to use, which has to be use via the "open" and "close" functions. all ok so far...

    i can't seem to pick bits out of the file that i need, i can only get information off the first line and when i want something in the middle of the line (for example) it will display everything up to that charecter in the textbox. if anyone can help me, please mail me - [email protected] i have msn messenger and/or i can send you the worksheet file if that makes more sense.

    PLEASE HELP!!! - its worth 75% of my grade and all i've done so far is design the form and declare 2 variables (oh yeah, and open and close the notepad file)

    thank you
    Ree

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Please HELP?????

    Welcome to the Forums.

    You shouldnt post your email since the forums are scanned by bots regularly, unless you like spam
    Members can contact you through your profile's email that you might have choosen to display.

    For your assignment, members usually dont like to help do homework but they will help in guiding you to the right path.
    If you show an effort usually you can get some pointers/suggestions on it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Please HELP?????

    Post the code you have that doesn't work... (indicate the line) and you may get a response.

    As RobDog posted, members do not usually like to give answers to homework questions as it means you a) pass that part easily and b) fail miserably in the exam/tutor asks you to explain how you did it.


    One thing I found that does help (in projects) is to flowchart what you want to happen. Pseudo code also helps.

    You need to read up on string manipulation functions (I'll list them below and you can work up some code).
    Close
    Open
    Line Input
    Left$ (or Left)
    Right$ (or Right)
    Mid$ (or Mid)
    Instr
    Instrrev (not sure but there is a useful reverse of instr function)
    Print

    Read up, and write some code (or flowchart and write some code) and if it still isn't working, post you code (the code button above gives you the tags to surround your code and make it easier for us to read)

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width