Results 1 to 11 of 11

Thread: xp to window 7

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    xp to window 7

    how can i run xp compiled vb6 exe in window 7-8?

    changing compatibility does not help

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: xp to window 7

    If your programs follow the rules and are installed properly they should run just fine unless they use any of a few obsolete features.

    Without a more specific question it is hard to give a more specific answer.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: xp to window 7

    Quote Originally Posted by dilettante View Post
    If your programs follow the rules and are installed properly they should run just fine unless they use any of a few obsolete features.

    Without a more specific question it is hard to give a more specific answer.
    this is just an exe i compiled on xp vb6 and this is not working on win 7

    there is no set up

    only .exe

    i dont know what more i can explain, i explained all

  4. #4
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: xp to window 7

    Actually you did not explain much at all.

    You did not tell us what it is supposed to do.
    You did not tell us what controls you use nor what libraries.
    You did not tell us if it uses data files.
    You did not tell us what problem you are having with it.

    All you said is that it is an exe compiled under xp that does not work under 7.

    If that is your idea of an explanation then you should really think about that a bit more and then try again to tell us what you have and what you are experiencing.

  5. #5
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: xp to window 7

    There should be no issues at all. I've got VB 6 apps running on Windows 8 and even 8.1 without any issue. Is there other files ( except for your exe ) that is needed?
    VB.NET MVP 2008 - Present

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: xp to window 7

    Quote Originally Posted by DataMiser View Post
    Actually you did not explain much at all.

    You did not tell us what it is supposed to do.
    You did not tell us what controls you use nor what libraries.
    You did not tell us if it uses data files.
    You did not tell us what problem you are having with it.

    All you said is that it is an exe compiled under xp that does not work under 7.

    If that is your idea of an explanation then you should really think about that a bit more and then try again to tell us what you have and what you are experiencing.
    This all uses Inet Control and few textboxes and buttons
    This also uses MS ACCESS database
    Getting the error "System can not execute the specified program"

    Exe just does not open.

    i was thinking that i need to do something special in the application to make it work in Window 7 thats y i asked like this. Im still not sure what more i can explain, I have explained what i think is OK, But im sorry for anything

    Hi HanneSThEGreaT
    this app just does not open in Window 7, im using msinet.ocx and database.mdb i have given him database.mdb and is placed on the correct place in his system. And i hope msinet.ocx could be there already but there is no 339 component missing error.

    everytime this message comes
    Getting the error "System can not execute the specified program"

  7. #7
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492
    VB.NET MVP 2008 - Present

  8. #8
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: xp to window 7

    Quote Originally Posted by chunk View Post
    there is no set up

    only .exe
    This explains everything if you are using external controls and such.

    It won't even work on another Windows XP machine. I'm not sure why you'd expect it to.

    Packaging and deployment is a vital part of programming. You can't just shovel EXEs around.

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: xp to window 7

    Quote Originally Posted by dilettante View Post
    This explains everything if you are using external controls and such.

    It won't even work on another Windows XP machine. I'm not sure why you'd expect it to.

    Packaging and deployment is a vital part of programming. You can't just shovel EXEs around.
    i gave him all files and it still did not work.

    Only i have to create setup to make it work on Win7 or Win8? no other option?

  10. #10
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: xp to window 7

    Chunk, did you read Post #7 concerning the controls you have used?
    VB.NET MVP 2008 - Present

  11. #11

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: xp to window 7

    Quote Originally Posted by HanneSThEGreaT View Post
    Chunk, did you read Post #7 concerning the controls you have used?
    hi hannes
    yes i asked my friend to do all the steps for registering .ocx but .ocx was not succsssfully registered and exe still does not open
    thank you

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