Results 1 to 12 of 12

Thread: [RESOLVED] Why i can't edit my program in VB.Net 2005?

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    10

    Resolved [RESOLVED] Why i can't edit my program in VB.Net 2005?

    Hi...

    i have a problem in creating my program.
    i am using vb.net 2005.
    after i finished some modules in my program, i saved it.
    and the other day, when I'm going to continue my work,
    i can't be able to edit it. when i run it, the additional features that i created were not found. but, after running my program, i can see my added features in the form. i don't know what to do, because i am not familiar in vb.net, i am just a beginner using it. i hope anyone can help me.. thank you in advance...

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Why i can't edit my program in VB.Net 2005?

    A little more detail, what are these 'additional features' you created?

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

    Re: Why i can't edit my program in VB.Net 2005?

    Maybe easier if you removed any exe's from your solution and zipped it up and attached it for us to check.
    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

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    10

    Re: Why i can't edit my program in VB.Net 2005?

    for example i add a new button in form1, i saved it. but when i run my program, i can't see the added button.... i can't attach my file because it exceeds in 500kb...

  5. #5
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Why i can't edit my program in VB.Net 2005?

    Quote Originally Posted by kaye
    for example i add a new button in form1, i saved it. but when i run my program, i can't see the added button.... i can't attach my file because it exceeds in 500kb...
    Are there any errors showing in the error list when you run the program? If so, you need to correct those before the IDE will compile your code, otherwise it'll simply run the last successful compile and you'll never see your changes cause it wont compile till the errors are fixed.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Why i can't edit my program in VB.Net 2005?

    Does this happen with new projects you create too?

  7. #7

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    10

    Re: Why i can't edit my program in VB.Net 2005?

    there's no error when i run the program. it happens twice.. the last program I've created, i can't edit my work.. and the second time i decided to start again from the beginning, i use also vbnet2005.. at first i can edit.. but after 5days, i can't edit again..

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Why i can't edit my program in VB.Net 2005?

    Open the your project folder in Windows Explorer and delete the 'bin' folder, then run your project again. What happens?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  9. #9

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    10

    Re: Why i can't edit my program in VB.Net 2005?

    the same things happen.... i can't edit my work... even thou i deleted the bin....

  10. #10
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Why i can't edit my program in VB.Net 2005?

    Quote Originally Posted by kaye
    the same things happen.... i can't edit my work... even thou i deleted the bin....
    But you can run the project?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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

    Re: Why i can't edit my program in VB.Net 2005?

    Make sure your task manager process list doesnt have WindowsApplication1.vshost.exe" still running or when the compile tries to run it may use the one already running

    Also, try running the exe directly from the bin folder and see if the changes apply.
    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

  12. #12

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    10

    Re: Why i can't edit my program in VB.Net 2005?

    the program still runs, even thou i deleted the bin...
    i do everything you tell me...
    but nothings change...
    I've decided to repeat my work again, from the very start...

    thank you guys for your help... I REALLY APPRECIATE IT...

    i hope you will help me again in case I'll have my problem again...

    God Bless everyone...

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