Solved

VB6 - Very Interesting Windows8 Issue with Application

Posted on 2015-02-11
9
149 Views
Last Modified: 2015-02-11
Good Day Experts!

I have a very interesting issue that has come up with the first Windows8 machine we have set-up.  

Each new computer we set-up gets our main VB6 program installed(exe, ocx's and dll's).  I am a VB.Net guy but have went through this install routine over 100 times on XP and W7 machines.  Once installed, there is a stand-alone update function which takes the IP address of the User's machine and goes to our main server with it to look in a list of IP's to see if this User is "allowed" to get program updates.  If allowed, the dll's on the Users machine are compared with the dll's residing on the server.  If any newer ones are found on the server they are copied to the User's machine. The User now has the latest code updates.

Unfortunately, this Windows8 machine is able to have the program installed and it is operational.  However, the stand-alone update function will not work. We have taken an IP from a machine where the update function works and it didn't work on the Windows8 machine!!!

Can you think of anything perhaps permission wise that is new to Windows8 which may be preventing the update function from working?

Thanks,
jimbo99999
0
Comment
Question by:Jimbo99999
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 90

Accepted Solution

by:
John Hurst earned 125 total points
Comment Utility
VB6 is old and out of support. It does not work properly on Windows 8.
0
 
LVL 13

Assisted Solution

by:frankhelk
frankhelk earned 125 total points
Comment Utility
And even if it works, I bet that Win8 has new security nags preventing the check of those files and replacing them.

How about porting the VB6 stuff to .NET ?
0
 

Author Comment

by:Jimbo99999
Comment Utility
We just found the code for the updated function and put some messaging in it.  The IP is getting recognized but it is having trouble with referencing the server location by the mapped drive reference...perhaps that is something new for W8. We are going to try referencing the server IP in the code.  

The system that gets installed actually works just fine if you manually copy initially all of the dll's from the server to the User computer.  

Thanks,
jimbo99999
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 125 total points
Comment Utility
And what will happen with Windows 10.

As stated, VB6 is not supported anymore. It's a 18 years old technology. It's almost 200 years in computing time.

You are playing with fire. One of these days, your application will just bomb on you. For many years now I have seen programmers everywhere having big problems because their VB6 application could not make it from one version of Windows to the other, or from 32-bits to 64-bits, or with a change in the Office version used by the company.

Do yourself a favor and do not wait for the day were everything stops working and you are in limbo while you try to recreate the application in .NET and learn .NET at the same time. .NET needs time to get used to. The limbo will persist for a long time, and the application that you will then have to write in a rush, with new tools and a new language will probably be a mess.

You have chosen a field of work were waiting 18 years to update something is a dangerous thing. Your boss is probably the one that does not want to front the $$$ for a change. He will be the first to put the blame on you when the application will become useless. Part of your job as a programmer is to make him understand that he will eventually have a big problem on its hands.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
There is no way VB6 will work on Windows 10 (I have Windows 10 running).
0
 
LVL 13

Expert Comment

by:frankhelk
Comment Utility
I agree with Jacques Bourgeois ... porting the sofware to .NET would be the best way.
0
 
LVL 45

Assisted Solution

by:Martin Liss
Martin Liss earned 125 total points
Comment Utility
I'm an MVP in VB6 and (unfortunately) I have to agree with the several comments above. More than that, you should rewrite the app, rather than try to convert it.
0
 

Author Comment

by:Jimbo99999
Comment Utility
The system is currently undertaking the conversion to .Net.  We are hoping this spring it will be done.

Thanks for the advisement,
jimbo99999
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
@Jimbo99999  - Thanks for the update and I was happy to help.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to get a file from SqlServer DB 4 28
Object to array 7 26
SQL Server 2008 Error 7 54
Calculating a BCC (Xor) for a message 13 32
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now