Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 5th, 2003, 12:55 PM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default closing a project is a problem inside an addin...

hi there..
im making an addin to compile several projects on demand..
i can open a project, make it compile, but when i want to close it (removing it or opening a new one) always gives error 59999..
according to MS is a bug caused by opening the a shared form in several projects, but my projects doesn't have shared item..
Instead i have VSS.. could that be the problem???
anyone has an idea on how to solve it???

Thanks in advance...

Gonzalo Bianchi
__________________
HTH

Gonzalo


================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the
proof.
================================================== =========
Reply With Quote
  #2 (permalink)  
Old June 9th, 2003, 04:27 PM
Authorized User
 
Join Date: Jun 2003
Location: Livermore, CA, USA.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How is your VSS project created?

Think Hierarchy... Is your main project the root? Or is each project it's own root folder?

How many projects are you trying to compile? Is this async? Could it be trying to compile projects that have forms of the same name, not neccesarily the same form? (frmAbout comes to mind)

What more info do you have about the error? What is the link to MSDN?
Reply With Quote
  #3 (permalink)  
Old September 1st, 2003, 01:46 PM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi again.. this start a few month ago.. but now i have new info..

Forget about VSS.. or at least don't look like the error come from there..

i have forms with the same name in several projects.. but they open ok and i can load another ok..

maybe i just need a method to close the project.. so there will be no error them...

im doing something like this...

Code:
Private Sub CmdComenzar_Click()
   On Error GoTo CmdComenzar_Click_Error
    With gVBInst
        .ReadOnlyMode = 0
         .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\siap_funciones\Siap_funciones.vbp", True
        .ActiveVBProject.MakeCompiledFile
         .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\blowfish\segdll.vbp", True
        .ActiveVBProject.MakeCompiledFile
         .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\xmlamdb\Xmlamdb.vbp", True
        .ActiveVBProject.MakeCompiledFile
         .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\interfaces\clasegenerica\Icgen.vbp", True
        .ActiveVBProject.MakeCompiledFile
         .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\siap_contribs_dll\Contribs.vbp", True
        .ActiveVBProject.MakeCompiledFile
        .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\siap4\contribuyentes\SIAP_CONTRIBUYENTES.vbp", True
        .ActiveVBProject.MakeCompiledFile
        .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\modulo Instalar\Proyecto1.vbp", True
        .ActiveVBProject.MakeCompiledFile
        .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\siap4\siap_backup\SIAP_RESGUARDO.vbp", True
        .ActiveVBProject.MakeCompiledFile
        .VBProjects.AddFromFile "e:\archivos de programa\s.i.ap 2\siap4\Siap_4.vbp", True
        .ActiveVBProject.MakeCompiledFile
    End With
    Me.SetFocus
errores:
   Exit Sub
CmdComenzar_Click_Error:
    MsgBox "error" & vbNewLine & Err.Number & vbNewLine & Err.Description
    gVBInst.Windows(1).SetFocus
End Sub
as you can see.. i never close any project.. maybe that's the problem???

thanks in advance.. any point toward this will help me a lot...


Gonzalo Bianchi
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tags closing problem igna36 XSLT 5 May 14th, 2008 07:02 AM
Can't See/Edit GUI After Save and Closing Project? highflight1985 General .NET 2 January 25th, 2007 05:33 PM
problem with closing the child window swarnap Javascript How-To 4 November 16th, 2006 12:54 AM
Addin Project References bdancis Excel VBA 1 February 10th, 2005 08:11 PM
Problem with closing popup fs22 Javascript 4 May 20th, 2004 09:37 AM



All times are GMT -4. The time now is 07:54 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.