Results 1 to 6 of 6

Thread: [RESOLVED] Make form changes, they dont show up when ran!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    180

    Resolved [RESOLVED] Make form changes, they dont show up when ran!

    I've built up my form, made it look all purdy like (no code yet). And after saving it, now any changes I make to the form, doesnt show up when i preview the program! Say I add a button, doesnt show when ran. Change the size of my form, color, font, layout....NOTHING! I dont have anything locked, or any crazy properties set (not that I know of), it just wont update when I run the program (preview). Any ideas on what I did wrong?

  2. #2
    Addicted Member
    Join Date
    May 2006
    Location
    Manchester, England
    Posts
    255

    Re: Make form changes, they dont show up when ran!

    Never experienced anything like that, though VB.NET does do some weird things, occasionally.
    I find that if its just being weird, for no apparent reason, simply closing VB and re-opening your project can sometimes cure it.
    At home - VB.NET 2005/2008 Express, Visual Web Developer 2005 Express
    At work - VS 2008 Standard (VB)
    .NET 2.0/3.5


    Visual Studio Express Learning Centre | How do I videos | MSDN VB Express Forum | MSDN VB Developer Centre

  3. #3
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: Make form changes, they dont show up when ran!

    First thing to try would be to zip the whole project and keep the zip file somewhere save. Then delete the bin and object folders and run your project again. This will recreate the 2 folders and hopefully take care of your problem.
    VB 2005, Win Xp Pro sp2

  4. #4
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    413

    Re: Make form changes, they dont show up when ran!

    Try build and rebuild
    Visual Studio .NET 2005/.NET Framework 2.0

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    180

    Re: Make form changes, they dont show up when ran!

    Well deleting the bin folder and object folder did the trick. Got rid of them, had to rebuild the project, but then it worked fine. Thanks guys!

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    180

    Re: Make form changes, they dont show up when ran!

    Ok so deleting the BIN and OBJ worked last time. Well It did it again, and deleting those folders didnt work. Here's the errors I get:

    Error 1 The "ResolveManifestFiles" task failed unexpectedly.
    System.ArgumentException: Illegal characters in path.
    at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
    at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
    at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
    at System.IO.Path.GetFullPath(String path)
    at Microsoft.Build.Tasks.Deployment.ManifestUtilities.Util.RemoveDuplicateItems(ITaskItem[] items)
    at Microsoft.Build.Tasks.ResolveManifestFiles.set_NativeAssemblies(ITaskItem[] value) Media Center v0.0.1


    Error 2 The "NativeAssemblies=@(NativeReferenceFile);@(_DeploymentNativePrerequisite)" parameter for the "ResolveManifestFiles" task is invalid. Media Center v0.0.1


    Error 3 The "ResolveManifestFiles" task could not be initialized with its input parameters. Media Center v0.0.1

    Now there is no code as of yet, and it seemed (not sure if it caused it) to do it after I added a few more com components. Now I unchecked those components after I had the problem, in hopes of fixing them.

    Also (probably unrelated) a few random times, when double clicking on the man form in design mode It wouldnt take me to the form code. Instead it would take me to a form design code, with all the settings for every control on the form. Weird, never done that before. I've only seen it twice before, and only in this project. Not sure what I did, but didnt seem to cause any problems.

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