Indexoutofrangeexception in vb2010 after installing windows 8.1

I created an app in vb 2010, which works fine on a windows Vista laptop. I have bought a new laptop with Window 8.1 and wanted to use the app on that machine. I installed VB 2010 and imported the source-code. The app works ok until closing. Then I get the
indexoutofrange exception. Because i thought that VB2010 could have issues with Windows 8.1. I installed Visual Studio Express 2013 without succes. I get the same exception. 
While debugging the app runs ok with <F5> until closing. With a break just before me.close() it runs ok until the break. Stepping into me.close() results in hanging of the app with no error.
What should i do to solve this problem. 

I can't display any code or line, because the exception doesn't give any line number. It is located in the autogenerated code. The exception appears during closing. It makes no difference how the program is closed. 
Accepting or cancelling the exception box seemed at first to repeat endlessly  the same exception. Closer looking showed that the exception was thrown multiple times with one character changing every three times (0,0,0,1,1,1,2,2,2,etc) and visible data
disappearing  in the datagridview. After discovering that fact it became clear that all 3 datagridviews in the app cause the problem. It seems to me now that the method I used to display linked data in a datagridview has caused the exception. In fact
I changed numeric values for text. This results during closing in several index null errors. 
For some reason this causes in Win 8.1 (and/or Framework?) exception errors, where it does not in Vista and Win 7. Because the problem appeared for the first time when I used Win 8.1 I assumed that it was caused by the difference between the operating systems.
Which in a way it is. 
Though the solution was not given in the replies. The mails were helpful, because no one mentioned these differences between the operating systems. Which made me start to look for problems in the program. The problem was solved this way. But I am still curious,
why there where no errors in Vista and Win 7. 
For Mr Monkeyboy:
I installed VSE 2013, because i thought that maybe the combination VB 2010 en Windows 8.1 caused my problem. In VSE 2013 the error still existed. Therefore 'installing without succes'. My app still threw the same exception errors. 
You say the problem was solved. Which of course doesn't explain what the problem was or how it was solved. Therefore how would anybody be able to know what the problem was in order to advise why it did not occur in Vista or Win 7?
You say in a way it is a problem with Win 8.1. I should think the problem would be you wrote a program that was not compatable with Win 8.1 rather than there was a problem with Win 8.1. New OS's usually have more requirements and may be stricter in some
areas, especially with regard to security, than older OS's. Which is why applications which worked on older OS's may have to be altered to work on newere OS's. Especially if the programmer was not adhering to programming practices for MS OS's in general when
a program was initially created.
I only have Win 7 and am not a developer so I am not knowledgable or experienced with those issues though they occur often enough regarding questions about programs working on one OS but not another in these forums.
La vida loca

Similar Messages

  • A lot of problems after installing Windows XP using Boot Camp on a Mac Book

    I have been having a lot of problems after installing Windows XP Home Edition (2002).
    For one, after installing Windows using Boot Camp with Mac OS X 10.5.1, I opened Windows on my Mac Book, inserted the Mac OS X Disk 1 as in the instructions and got the message: +"This package requires a newer version of the Windows installer. Do you want to update the version of the Windows Installer on your system?"+ When I clicked Yes (I had NO idea what it meant at the time), I got the message: "The required resource 'UPDATE' is missing" and the Installer quit.
    How do I fix this problem?
    Another problem I have is that there is no sound on the Windows XP, yet it works perfectly on Mac OS X. Is there any way to fix this problem?
    A third problem I have is that I can't wirelessly connect to the internet using Window XP, yet I can on Mac OS X. I have no idea on how to fix this, and it's really messing with me. D:<
    D: There are way too many problems, and I have a feeling there will be a lot more later on. Help....
    ~Twilight

    ---I'm moving this topic to the Boot Camp forums.
    -Twilight

  • I can no longer boot up in osx after installing windows 7 with bootcamp

    After installing windows 7 with boot camp I am no longer able to access my osx side, I do not receive an option when holding alt when turning on my MacBook

    What options do you get? If you don't get any options then you may not be pressing and holding the option key long enough or you are pressing it too early or too late.

  • No Bluetooth after install Windows 8.1 - Model: pavilion dv6 6080se

    Hi
    please help me
    there is no blutooth driver & software after install windows 8.1 pro 64bit
    i used all of past ver. drivers, but it says, your bluetooth device not connected
    i installed hp support asistant, i used windows update and check optional updates, a......n......d, no action
    please show me a way to use my bluetooth

    what? downgrade?!!!
    is this HP support?!!!
    are you kidding me?
    downgrade!!!
    best of luck!!!
    my friend's old dell laptop has 8.1 O.S. and it's working with good performance. without problems like this.
    and now, you want to downgrade While I've bought windows 8.1

  • Do I need to install boot camp on Windows 7 as well as on Lion? I already installed it some years ago on Leopard when installing Windows Vista on my Macbook Pro. But now after installing Windows 7, many things in windows doesn't work (sound etc.)

    Do I need to install boot camp on Windows 7 as well as on Lion? I already installed it some years ago on Leopard when installing Windows Vista on my Macbook Pro. But now after installing Windows 7, many things in windows doesn't work (sound etc.). I made a clean installation because I needed to go from 32 bit to 64 bit.
    Or should I just update bootcamp in Lion? (cause when I search for "boot camp" in Windows 7 there's no result)

    Installation Guide
    Instructions for all features and settings.
    Boot Camp 4.0 FAQ Get answers to commonly asked Boot Camp questions.
    Windows 7 FAQ Answers to commonly asked Windows 7 questions.
    Apple Boot Camp Support
    Lion's Boot Camp Assistant 4.x should have downloaded Apple drivers as part of also partitioning.
    You need Apple drivers. And you then need to add on your own audio driver.
    You can run Assistant at any time to download and save a set of drivers.

  • How can I partition internal HDD after installing Windows 7 Professional via Boot Camp 4.0?

    I recently purchased MacBook Pro 13" (Late 2011) model with OS X v10.7.2 Lion installed. I've upgraded to OS X v10.7.3 Lion and updated all other software.
    I require Windows 7 for some Windows based softwares that do not support Mac OS X. Therefore, used Boot Camp 4.0 to install Windows 7 and then tried partitioning single internal HDD  to have 3 partitions (4 total including BOOTCAMP partition). Disk Utility created a 648.5MB partition and then I was able to create 3 other partitions of custom sizes. After applying these changes, I got an error message that said selected volume size is too small. I resized this 648.5MB partion to a custom size and had total 4 partitions, including BOOTCAMP.
    After reapplying these changes, BOOTCAMP partition was removed and I was left with only 3 partitions and empty space.
    I've tried several different ways to partition the disk, all in vein. Is there a way I can partition my single internal HDD after installing Windows 7 Professional via Boot Camp 4.0?

    You can't do what you want with GUI utilities, which will only allow a total of 4 partitions due to the limitation of MBR needed to support Windows. Those four partitions: EFI System (hidden), Mac OS, Recovery HD (hidden), Windows. So with Lion, you only get two visible partitions if you're going to use Windows with BootCamp. You can't make anymore with the included graphical tools.
    If you need more partitions you'll need to use something like GPT fdisk (gdisk) to create the partitions in the GPT first. Then add the Windows partition only to the MBR and flag it as bootable. gdisk can be googled and downloaded for Mac OS X off sourceforge. It is not a GUI tool.
    You should read this:
    http://www.rodsbooks.com/gdisk/
    And this:
    http://www.rodsbooks.com/gdisk/hybrid.html

  • No bootable drive after installing windows successfully

    I am trying to install Windows XP/Vista 32 Bit On Intel Mac Notebook through BootCamp.But after installing windows successfully,when it reboot?resatrt,It gives me error message that NO bootable Drive ,Press any to key to continue.......
    I have Downloaded Windows XP/Vista 32 Bit ISO format and burned it on my DVD through Disk utility.I can install windows successfully but when it restarted then it gives that message.However I am able to locate windows hard drive after holding the Option Key and when I choose the windows HDD (BootCamp),It gives me same error.
    I started the installation in osx using boot camp, and the windows was completely installed, even the boot camp driver for windows was installed and there are options to restart into either windows or mac osx.
    But when I restart the machine and choose to go into windows, it just can not boot, saying no bootable device. If I insert the installation disc into the drive, then I restart and go to windows, it can boot successfully.
    Please Help.
    Much appriciated.

    While we all have MacBooks in this forum not all of us use BootCamp. There's a BootCamp Support Community where everybody uses BootCamp. You should also post this question there to increase your chances of getting an answer.
    https://discussions.apple.com/community/windows_software/boot_camp

  • How Can you reinstall Photoshop Elements12 to a computer that its was there but loss it after installing windows 8.1

    How Can you reinstall Photoshop Elements12 to a computer that its was there but loss it after installing windows 8.1

    Reinstalling Mavericks depends on several factors:
    if you erased your recovery partition
    what OS originally came on your Mac.
    I'll assume you don't have a backup available that you made before your mishap,  because you didn't mention it.
    That's really the take home message here: have a backup!
    If you still have your recovery partition:
    boot into the recovery partition (command R at restart)
    use the recovery partition to reinstall Mavericks. see: OS X: About OS X Recovery
    if you do not still have your recovery partition, then it depends on whether your Mac originally came with installer disks or not.
    If it originally came with installer disks, you would boot from the installer disks, erase your HD, and then reinstall the OS that is on the installer disks, and then upgrade as necessary until you get to Mavericks.
    If your mac did not originally come with installer disks, but you managed to erase your recovery partition, then you can try to boot into internet recovery (option-command-R at restart), and use internet recovery to erase your HD and reinstall the OS that originally came with your computer, and then upgrade to Mavericks if you need to. See: Hands on with Mountain Lion's OS X Recovery and Internet Recovery | Macworld
             (the reference refers to ML but it applies just as well to Mavericks).

  • Is there a new driver needed to run Photoshop CC after installing Windows 8.1?

    Has anyone had trouble with downloading pictures to Bridge after installing Windows 8.1?

    You may have to reset preferences.  Hold down Ctrl key and start Bridge.  You should get a reset window.

  • Dvd/cd player won't work after installing windows 8.1

    I recently installed windows 8.1 on my Pavilion All in One Desktop Computer and now the computer won't recognise the DVD/CD player. I have downloaded all current drivers, but still not working. Any ideas?

    Hello Gindel95,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More. I have read your post on how the DVD/CD player will not work after installing Windows 8.1, and I would be happy to assist you! To begin, I will need to ask you a few questions:
    What is the Product and Model Number of your desktop computer?
    What version of Windows did you have installed on your computer before upgrading to 8.1?
    Has your computer completed all of its important Windows Updates?
    In the meantime, I recommend following this document on Download or Update Software and Drivers for HP Computers, which should help configure your DVD / CD drive.
    Please re-post with the results of your troubleshooting, as well as the requested information above. I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • \\?\volume{fabc216-f912-4ff7-ae4b-6914f7d120c53}\ after installing windows 8.1

    \\?\volume{fabc216-f912-4ff7-ae4b-6914f7d120c53}\ after installing windows 8.1 this drive came up and it needs 22% defragmenting, also another drive showed up windows RE tools... please help!!!!!

    Hi,
    You're asking this question in the wrong forum, this forum is meant for discussions on the forums redesign, not individual product support.
    Your best bet to get some help with this issue will be to post in the Windows forums here:
    http://answers.microsoft.com/en-us/windows
    Good luck.
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • HP6520 Scanner and Copier Broke after installing windows 8.1

    After installing windows 8.1, my copier and scanner stopped working.  I have an HPPhotosmart 6520.  There is no "Microsoft Fix it" for Windows 8.1. Could you help me with this problem? Thank you.

    Hi,
    Give it a try. All the best.
    Regards,
    Asim

  • Monitor calibratio​n problems after installing windows 8.1

    I have a hp envy m6-1105tx and right after installing windows 8.1 my monitor changed completely.
    When i have a photo open in photoshop tones, colors luminosity, gamma etc are all wrong. Before i never had problems, when i looked at a photo in photoshop and i will see the photo on a different screen it would be basiclally identical but now the photo in photoshop is much different than the actual photo, and this doesn't apply only to photoshop but to everything. I already try to do the calibration through the control panel but it didn't improve the situation, is there a way to get the screen back to the way it was before?
    Thanks

    Wehodancer, welcome to the forum.
    I checked for an updated driver for the video, but there is none for Win 8.1.  Therefore, I suggest installing the original driver for the video to see if it helps.  It may be that it was corrupted during the update process.
    Please click "KUDOS" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Sound missing after installing windows 8.1 pro.

    hi. i have a problem. after instaling windows 8.1 pro , sound is missing. i in device manager everything is fine. instaled every driver.
    product name:  laptop hp 620.
    a day before this, i had windows 7 and everything worked fine.  tried everything. i dont know what else to do. if i dont find a solution then i go back to windows 7 ((

    Hi:
    The only suggestion I can offer would be to try a W8.1 IDT audio driver...
    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5229457&sp...

  • NO SOUND AFTER INSTALLING WINDOWS 8.1

    Hi, I'm hoping someone will be able to help.  My sister has a compaq 58 laptop and after installing windows 8.1, now has no sound.  The sound was there when 8.1 was installed but after logging off and logging back on again, the sound disappeared.  We reinstalled windows 8.1 and same thing happened.  We have run scans and got sound again but once again logging off and logging back on again, the sound disappeared, very frustrating.
    The product code is DOX18ea#abu and serial number [edited Serial Number by Moderator]
    help would be much appreciated.

    Devina,  This seems to be a common problem with Windows 8.1. It does not save a working state when logging off. I was afraid to touch my pc when the AUDIO was in a working state. However Microsoft logged me off with no fear and did not save the working state. What a great "glutware" corp. Having said that when the AUDIO is working it appears to work great! Sure wish HP/MICROSOFT could get their act together. Can you say "BASE BAND" , "DSP", "FIR" ETC. Well they think they know the fancy stuff. Now if they could just get it to function for normal people. Can you say "KISS".
    ham123 ps: just send it back!! for total care!!!

Maybe you are looking for

  • Sort order with filtered topics

    When looking at all topics in a forum, the topics are listed by the date of the latest post. This makes a certain amount of sense. Yet when I filter the display to only show me Open Questions, the display isn't sorted by date. I'm not sure what sort

  • Write back from Excel into OBIEE?

    Hi Experts, I have a requirement, where in I have to write back into Oracle DB through OBIEE. The user will upload an excel/csv containing more than hundred records into OBIEE dashboard. The functionality is, on click of a (submit) button the OBIEE s

  • 10.1.3.4 - FTP adapter polling multiple servers

    Is it possible to get files from multiple servers for a given BPEL or ESB service ? My source application writes to its local file systems in the exact same location, but 2 different servers. Is there anyway we can instruct the FTP adapter to poll bo

  • Menus Imported from Photoshop (problem)

    So I design a menu in Ps, then bring it into DVDsp, and i have my little "play all" - and "scene selection" in the corner of the jpeg, how to i get that to become highlighted, when in a dvd player, so you are able to select them with a remote, say a

  • Java abstract classes and methods

    Can anyone please tell me any real time example of abstract classes and methods. I want to know its real use. If anyone have ever used it for some purpose while programming please do tell me.