Hi Ow,
I'm very sorry you've run into problems converting the .res file to a resx
file. I have not heard of this problem before. Can you please tell me
which version of VB you're using? There is a command line tool called
ResToResx.exe that is in your VBUpgrade directory but I expect you'll get
the same results since this is the same tool the Upgrade Wizard uses. I'd
really like to get a repro of this problem. Any chance you can send the
res file or one that repros the problem to me? You can send it to
JohnHart@microsoft.com. I'd be glad to look into this problem further for
you.
--
John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view] > Thread-Topic: most icons missing after upgrade of .res file to .resx file
> thread-index: AcSBLuFQeMOSc5oDR1e9Oon0/UhRzA==
> X-WBNR-Posting-Host: 195.224.237.147
> From: "=?Utf-8?B?b3ctb3VjaA==?=" <owouch@discussions.microsoft.com>
> Subject: most icons missing after upgrade of .res file to .resx file
> Date: Fri, 13 Aug 2004 05:13:02 -0700
> Lines: 27
> Message-ID: <B8EF0879-6425-4453-A573-EEDF31BA4BB3@microsoft.com>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
> Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:6828
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
>
> Hi Everyone,
>
> I'm upgrading a vb6 app to .net2003.
> I'm using the upgrade wizard to do as much as it can, however most of my
res
> file has gone AWOL! :(
>
> All bitmaps are converted, all strings are converted, however only the
first
> 2 of the 400 odd icons make it from the .res file into the .resx file.
> (when I say 'all' the res file is 9mb is size containing 1000's of
strings
> and 100 odd bitmaps so i've not checked every single one, but the vast
> majority appear to be present...)
>
> I've tried creating another project, just containing a single module and
the
> res file - same thing happens.
>
> Does anyone have experience of anything like this ?? hints tips welcome !
-
> is there a standalone app that will convert the .res file to a .resx file
??
>
> many thanks
> Ow.
>
> ===============
> your forehead may well start bleeding, but you can bet the wall will
still
> be standing
> ===============
>
>
Hi John,
Fantastic - I'll drop you a mail with the details.
As you expected using the exe I get the same result - but more error info....
C:\VBUpgrade>restoresx Prot.RES prot.resX /CreateLog
An error occured while converting:
Value cannot be null.
Parameter name: source
C:\VBUpgrade>
[quoted text, click to view] "John Hart [MSFT]" wrote:
> Hi Ow,
>
> I'm very sorry you've run into problems converting the .res file to a resx
> file. I have not heard of this problem before. Can you please tell me
> which version of VB you're using? There is a command line tool called
> ResToResx.exe that is in your VBUpgrade directory but I expect you'll get
> the same results since this is the same tool the Upgrade Wizard uses. I'd
> really like to get a repro of this problem. Any chance you can send the
> res file or one that repros the problem to me? You can send it to
> JohnHart@microsoft.com. I'd be glad to look into this problem further for
> you.
>
> --
> John Hart, Microsoft VB Team
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
> > Thread-Topic: most icons missing after upgrade of .res file to .resx file
> > thread-index: AcSBLuFQeMOSc5oDR1e9Oon0/UhRzA==
> > X-WBNR-Posting-Host: 195.224.237.147
> > From: "=?Utf-8?B?b3ctb3VjaA==?=" <owouch@discussions.microsoft.com>
> > Subject: most icons missing after upgrade of .res file to .resx file
> > Date: Fri, 13 Aug 2004 05:13:02 -0700
> > Lines: 27
> > Message-ID: <B8EF0879-6425-4453-A573-EEDF31BA4BB3@microsoft.com>
> > MIME-Version: 1.0
> > Content-Type: text/plain;
> > charset="Utf-8"
> > Content-Transfer-Encoding: 7bit
> > X-Newsreader: Microsoft CDO for Windows 2000
> > Content-Class: urn:content-classes:message
> > Importance: normal
> > Priority: normal
> > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> > Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
> > NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> > Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
> > Xref: cpmsftngxa06.phx.gbl
> microsoft.public.dotnet.languages.vb.upgrade:6828
> > X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
> >
> >
> > Hi Everyone,
> >
> > I'm upgrading a vb6 app to .net2003.
> > I'm using the upgrade wizard to do as much as it can, however most of my
> res
> > file has gone AWOL! :(
> >
> > All bitmaps are converted, all strings are converted, however only the
> first
> > 2 of the 400 odd icons make it from the .res file into the .resx file.
> > (when I say 'all' the res file is 9mb is size containing 1000's of
> strings
> > and 100 odd bitmaps so i've not checked every single one, but the vast
> > majority appear to be present...)
> >
> > I've tried creating another project, just containing a single module and
> the
> > res file - same thing happens.
> >
> > Does anyone have experience of anything like this ?? hints tips welcome !
> -
> > is there a standalone app that will convert the .res file to a .resx file
> ??
> >
> > many thanks
> > Ow.
> >
> > ===============
> > your forehead may well start bleeding, but you can bet the wall will
> still
> > be standing
> > ===============
> >
> >
>
I just wanted to let others that read this post know that the problem
turned out to be a corupt resource file. For some reason it had Icons in
an Icon Group that had invalid IDs so when the ResToResx utility tried to
extract the resources it failed.
I was able to identify these icons so Owen could rebuild the resource file.
--
John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view] > Thread-Topic: most icons missing after upgrade of .res file to .resx file
> thread-index: AcSGojAo5RWAyy6jSA2lUIK8g3xjoA==
> X-WBNR-Posting-Host: 195.224.237.147
> From: "=?Utf-8?B?b3ctb3VjaA==?=" <owouch@discussions.microsoft.com>
> References: <B8EF0879-6425-4453-A573-EEDF31BA4BB3@microsoft.com>
<4vLfIiVhEHA.3636@cpmsftngxa06.phx.gbl>
> Subject: RE: most icons missing after upgrade of .res file to .resx file
> Date: Fri, 20 Aug 2004 03:41:02 -0700
> Lines: 93
> Message-ID: <32EA7AD7-3322-4A3D-A7C1-A56BABA033ED@microsoft.com>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.languages.vb.upgrade:6813
> X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
>
> Hi John,
> Fantastic - I'll drop you a mail with the details.
> As you expected using the exe I get the same result - but more error
info....
>
> C:\VBUpgrade>restoresx Prot.RES prot.resX /CreateLog
>
> An error occured while converting:
> Value cannot be null.
> Parameter name: source
>
> C:\VBUpgrade>
>
>
>
> "John Hart [MSFT]" wrote:
>
> > Hi Ow,
> >
> > I'm very sorry you've run into problems converting the .res file to a
resx
> > file. I have not heard of this problem before. Can you please tell me
> > which version of VB you're using? There is a command line tool called
> > ResToResx.exe that is in your VBUpgrade directory but I expect you'll
get
> > the same results since this is the same tool the Upgrade Wizard uses.
I'd
> > really like to get a repro of this problem. Any chance you can send
the
> > res file or one that repros the problem to me? You can send it to
> > JohnHart@microsoft.com. I'd be glad to look into this problem further
for
> > you.
> >
> > --
> > John Hart, Microsoft VB Team
> > This posting is provided "AS IS" with no warranties, and confers no
rights.
> > --------------------
> > > Thread-Topic: most icons missing after upgrade of .res file to .resx
file
> > > thread-index: AcSBLuFQeMOSc5oDR1e9Oon0/UhRzA==
> > > X-WBNR-Posting-Host: 195.224.237.147
> > > From: "=?Utf-8?B?b3ctb3VjaA==?=" <owouch@discussions.microsoft.com>
> > > Subject: most icons missing after upgrade of .res file to .resx file
> > > Date: Fri, 13 Aug 2004 05:13:02 -0700
> > > Lines: 27
> > > Message-ID: <B8EF0879-6425-4453-A573-EEDF31BA4BB3@microsoft.com>
> > > MIME-Version: 1.0
> > > Content-Type: text/plain;
> > > charset="Utf-8"
> > > Content-Transfer-Encoding: 7bit
> > > X-Newsreader: Microsoft CDO for Windows 2000
> > > Content-Class: urn:content-classes:message
> > > Importance: normal
> > > Priority: normal
> > > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> > > Newsgroups: microsoft.public.dotnet.languages.vb.upgrade
> > > NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> > > Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
> > > Xref: cpmsftngxa06.phx.gbl
> > microsoft.public.dotnet.languages.vb.upgrade:6828
> > > X-Tomcat-NG: microsoft.public.dotnet.languages.vb.upgrade
> > >
> > >
> > > Hi Everyone,
> > >
> > > I'm upgrading a vb6 app to .net2003.
> > > I'm using the upgrade wizard to do as much as it can, however most of
my
> > res
> > > file has gone AWOL! :(
> > >
> > > All bitmaps are converted, all strings are converted, however only
the
> > first
> > > 2 of the 400 odd icons make it from the .res file into the .resx file.
> > > (when I say 'all' the res file is 9mb is size containing 1000's of
> > strings
> > > and 100 odd bitmaps so i've not checked every single one, but the
vast
> > > majority appear to be present...)
> > >
> > > I've tried creating another project, just containing a single module
and
> > the
> > > res file - same thing happens.
> > >
> > > Does anyone have experience of anything like this ?? hints tips
welcome !
> > -
> > > is there a standalone app that will convert the .res file to a .resx
file
> > ??
> > >
> > > many thanks
> > > Ow.
> > >
> > > ===============
> > > your forehead may well start bleeding, but you can bet the wall will
> > still
> > > be standing
> > > ===============
> > >
> > >
> >
> >
>
Don't see what you're looking for? Try a search.