Quantcast
Viewing all articles
Browse latest Browse all 27208

VS 2008 msgbox

I have a situation where I am reading through a file line at a time, and based on certain criteria the program goes to look up in a different file some more information based on the original file and if it can not find that information, then a messagebox pops up. Now, I know this is a perfect setup for a database, but the program I was given uses a flat file system so I am stuck for now.

Anyway, I am getting different results from the .exe file as compared to the code running from the visual basic studio. Running the program as an exe, if this message pops up, the program minimizes after I click "OK", but if I run the same program in the visual basic developer, it does not minimize under the same criteria. I looked to see if there are any me.minimize lines after the msgbox, but nada.

here is the code that makes the msgbox pop up:
Code:

If Item_Found = False Then
                    MsgBox("Unable to locate station number: " & temp)
                    WriteLine(Session_Log_File_Number, "Unable to locate station number: " & temp)
                End If


Any Ideas here?

Viewing all articles
Browse latest Browse all 27208

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>