Home All Groups Group Topic Archive Search About

Converting vb.net book examples

Author
22 Mar 2006 4:59 AM
Dennis D.
Having problems converting Murach's Beginning Visual Basic.net (Prince) and
Microsoft Press' Programming Visual Basic.net (Balena) examples for use in
VB.net 2005 Express. The VS conversion wizard has not been able to convert
any of them. These are just two example sources of many. What should I be
doing to convert these samples, or should I reinstall VB.net 2003?

Dennis D.,
http://www.dennisys.com/

Author
22 Mar 2006 5:25 AM
MS MVP ³sÀA¶¯ for VB.NET
Dear Dennis D,

I have not read those books, and sure I have no chance to try and see the
sample code. However, due to the limitation on VB2005 express edition(ie no
web project), you may try to use the upgrade wizard from VS2005.


--
Hope this help and welcome to reply the testing result.

Regards
Ken Lin, Kam Hung
Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com)
MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & win2k),
MCSE+I, MCDBA(SQL7 & SQL2K), MCSD(VB6 & .NET), MCAD(.NET)
Microsoft Community Star(Hong Kong & Taiwan)
Microsoft Most Valuable Professional(.NET since 2003)
MCT2004 & 2005


Show quoteHide quote
"Dennis D." <no***@nowhere.com> wrote in message
news:%23EplX1WTGHA.5172@TK2MSFTNGP12.phx.gbl...
> Having problems converting Murach's Beginning Visual Basic.net (Prince)
and
> Microsoft Press' Programming Visual Basic.net (Balena) examples for use in
> VB.net 2005 Express. The VS conversion wizard has not been able to convert
> any of them. These are just two example sources of many. What should I be
> doing to convert these samples, or should I reinstall VB.net 2003?
>
> Dennis D.,
> http://www.dennisys.com/
>
>
Author
22 Mar 2006 6:38 AM
Dennis D.
I >am< using VB2005 Express:
The wizard opens automatically when attempting to open a project.

Here is an error example.:
file - ObjectPool.vbproj

The element PropertyGroup in namespace
http://schemas.microsoft.com/developer/msbuild/2003 has invalid child
element UpgradeBackupLocation. List of possible elements expected:
'Property'

Here's the data:
<UpgradeBackupLocation>D:\vstudio\Projects-Balena\04 Class
fundamentals\ObjectPool\Backup2\</UpgradeBackupLocation>


I get a file not found error when putting the schema's address in IE. I get
nothing meaningful from http://schemas.microsoft.com/

Show quoteHide quote
"MS MVP ³sÀA¶¯ for VB.NET" <kenlin2***@hotmail.com.no-spam> wrote in message
news:eHNdrEXTGHA.4384@tk2msftngp13.phx.gbl...
> Dear Dennis D,
>
> I have not read those books, and sure I have no chance to try and see the
> sample code. However, due to the limitation on VB2005 express edition(ie
> no
> web project), you may try to use the upgrade wizard from VS2005.
>
>
> --
> Hope this help and welcome to reply the testing result.
>
> Regards
> Ken Lin, Kam Hung
> Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com)
> MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & win2k),
> MCSE+I, MCDBA(SQL7 & SQL2K), MCSD(VB6 & .NET), MCAD(.NET)
> Microsoft Community Star(Hong Kong & Taiwan)
> Microsoft Most Valuable Professional(.NET since 2003)
> MCT2004 & 2005
>
>
> "Dennis D." <no***@nowhere.com> wrote in message
> news:%23EplX1WTGHA.5172@TK2MSFTNGP12.phx.gbl...
>> Having problems converting Murach's Beginning Visual Basic.net (Prince)
> and
>> Microsoft Press' Programming Visual Basic.net (Balena) examples for use
>> in
>> VB.net 2005 Express. The VS conversion wizard has not been able to
>> convert
>> any of them. These are just two example sources of many. What should I be
>> doing to convert these samples, or should I reinstall VB.net 2003?
>>
>> Dennis D.,
>> http://www.dennisys.com/
>>
>>
>
>
Author
22 Mar 2006 10:15 AM
Michel Posseth [MCP]
Well instead of moving back to VB.Net 2003 you could also upgrade your book
to the 2005 version   ( balena has a 2005 book   as well :-)

however if you post the code here someone might be able to see what the
problem is

i for myself would have been pleased to help you however i have currently
not a Development machine ( resigned my job yesterday and will start at my
new companny at April 10th   ) so sorry can`t help you now although i have
the book

regards

Michel Posseth [MCP]



Show quoteHide quote
"Dennis D." <no***@nowhere.com> schreef in bericht
news:uV4$%23sXTGHA.1204@TK2MSFTNGP12.phx.gbl...
>I >am< using VB2005 Express:
> The wizard opens automatically when attempting to open a project.
>
> Here is an error example.:
> file - ObjectPool.vbproj
>
> The element PropertyGroup in namespace
> http://schemas.microsoft.com/developer/msbuild/2003 has invalid child
> element UpgradeBackupLocation. List of possible elements expected:
> 'Property'
>
> Here's the data:
> <UpgradeBackupLocation>D:\vstudio\Projects-Balena\04 Class
> fundamentals\ObjectPool\Backup2\</UpgradeBackupLocation>
>
>
> I get a file not found error when putting the schema's address in IE. I
> get nothing meaningful from http://schemas.microsoft.com/
>
> "MS MVP ³sÀA¶¯ for VB.NET" <kenlin2***@hotmail.com.no-spam> wrote in
> message news:eHNdrEXTGHA.4384@tk2msftngp13.phx.gbl...
>> Dear Dennis D,
>>
>> I have not read those books, and sure I have no chance to try and see the
>> sample code. However, due to the limitation on VB2005 express edition(ie
>> no
>> web project), you may try to use the upgrade wizard from VS2005.
>>
>>
>> --
>> Hope this help and welcome to reply the testing result.
>>
>> Regards
>> Ken Lin, Kam Hung
>> Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com)
>> MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & win2k),
>> MCSE+I, MCDBA(SQL7 & SQL2K), MCSD(VB6 & .NET), MCAD(.NET)
>> Microsoft Community Star(Hong Kong & Taiwan)
>> Microsoft Most Valuable Professional(.NET since 2003)
>> MCT2004 & 2005
>>
>>
>> "Dennis D." <no***@nowhere.com> wrote in message
>> news:%23EplX1WTGHA.5172@TK2MSFTNGP12.phx.gbl...
>>> Having problems converting Murach's Beginning Visual Basic.net (Prince)
>> and
>>> Microsoft Press' Programming Visual Basic.net (Balena) examples for use
>>> in
>>> VB.net 2005 Express. The VS conversion wizard has not been able to
>>> convert
>>> any of them. These are just two example sources of many. What should I
>>> be
>>> doing to convert these samples, or should I reinstall VB.net 2003?
>>>
>>> Dennis D.,
>>> http://www.dennisys.com/
>>>
>>>
>>
>>
>
>
Author
22 Mar 2006 10:32 AM
Dennis D.
Hello Michel:
My question is: The VB2005 wizard should properly convert the samples, so
what do I need to do to get it to do that?
Best of luck with your new employment.

Thanks,
Dennis D.,
http://www.dennisys.com/

Show quoteHide quote
"Michel Posseth [MCP]" <M***@posseth.com> wrote in message
news:uRmxEmZTGHA.4960@TK2MSFTNGP12.phx.gbl...
>
> Well instead of moving back to VB.Net 2003 you could also upgrade your
> book to the 2005 version   ( balena has a 2005 book   as well :-)
>
> however if you post the code here someone might be able to see what the
> problem is
>
> i for myself would have been pleased to help you however i have currently
> not a Development machine ( resigned my job yesterday and will start at my
> new companny at April 10th   ) so sorry can`t help you now although i have
> the book
>
> regards
>
> Michel Posseth [MCP]
>
>
>
> "Dennis D." <no***@nowhere.com> schreef in bericht
> news:uV4$%23sXTGHA.1204@TK2MSFTNGP12.phx.gbl...
>>I >am< using VB2005 Express:
>> The wizard opens automatically when attempting to open a project.
>>
>> Here is an error example.:
>> file - ObjectPool.vbproj
>>
>> The element PropertyGroup in namespace
>> http://schemas.microsoft.com/developer/msbuild/2003 has invalid child
>> element UpgradeBackupLocation. List of possible elements expected:
>> 'Property'
>>
>> Here's the data:
>> <UpgradeBackupLocation>D:\vstudio\Projects-Balena\04 Class
>> fundamentals\ObjectPool\Backup2\</UpgradeBackupLocation>
>>
>>
>> I get a file not found error when putting the schema's address in IE. I
>> get nothing meaningful from http://schemas.microsoft.com/
>>
>> "MS MVP ³sÀA¶¯ for VB.NET" <kenlin2***@hotmail.com.no-spam> wrote in
>> message news:eHNdrEXTGHA.4384@tk2msftngp13.phx.gbl...
>>> Dear Dennis D,
>>>
>>> I have not read those books, and sure I have no chance to try and see
>>> the
>>> sample code. However, due to the limitation on VB2005 express edition(ie
>>> no
>>> web project), you may try to use the upgrade wizard from VS2005.
>>>
>>>
>>> --
>>> Hope this help and welcome to reply the testing result.
>>>
>>> Regards
>>> Ken Lin, Kam Hung
>>> Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com)
>>> MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & win2k),
>>> MCSE+I, MCDBA(SQL7 & SQL2K), MCSD(VB6 & .NET), MCAD(.NET)
>>> Microsoft Community Star(Hong Kong & Taiwan)
>>> Microsoft Most Valuable Professional(.NET since 2003)
>>> MCT2004 & 2005
>>>
>>>
>>> "Dennis D." <no***@nowhere.com> wrote in message
>>> news:%23EplX1WTGHA.5172@TK2MSFTNGP12.phx.gbl...
>>>> Having problems converting Murach's Beginning Visual Basic.net (Prince)
>>> and
>>>> Microsoft Press' Programming Visual Basic.net (Balena) examples for use
>>>> in
>>>> VB.net 2005 Express. The VS conversion wizard has not been able to
>>>> convert
>>>> any of them. These are just two example sources of many. What should I
>>>> be
>>>> doing to convert these samples, or should I reinstall VB.net 2003?
>>>>
>>>> Dennis D.,
>>>> http://www.dennisys.com/
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Author
22 Mar 2006 12:29 PM
Cor Ligthert [MVP]
Dennis,

Nothing, it should see that it is a VB 2003, ask you if you want a copy and
than convert it.

(Not that that is as much as with VB6, better I have from a windowsform
application not yet seen what is converted from 2003 to 2005 in the vb
files. Probably are it only the system settings and RESX).

You can try to open a new project and than copy the xxx.vb files from your
2003 application and see than what it does.

Cor

Show quoteHide quote
"Dennis D." <no***@nowhere.com> schreef in bericht
news:%23sbdovZTGHA.776@TK2MSFTNGP09.phx.gbl...
> Hello Michel:
> My question is: The VB2005 wizard should properly convert the samples, so
> what do I need to do to get it to do that?
> Best of luck with your new employment.
>
> Thanks,
> Dennis D.,
> http://www.dennisys.com/
>
> "Michel Posseth [MCP]" <M***@posseth.com> wrote in message
> news:uRmxEmZTGHA.4960@TK2MSFTNGP12.phx.gbl...
>>
>> Well instead of moving back to VB.Net 2003 you could also upgrade your
>> book to the 2005 version   ( balena has a 2005 book   as well :-)
>>
>> however if you post the code here someone might be able to see what the
>> problem is
>>
>> i for myself would have been pleased to help you however i have currently
>> not a Development machine ( resigned my job yesterday and will start at
>> my new companny at April 10th   ) so sorry can`t help you now although i
>> have the book
>>
>> regards
>>
>> Michel Posseth [MCP]
>>
>>
>>
>> "Dennis D." <no***@nowhere.com> schreef in bericht
>> news:uV4$%23sXTGHA.1204@TK2MSFTNGP12.phx.gbl...
>>>I >am< using VB2005 Express:
>>> The wizard opens automatically when attempting to open a project.
>>>
>>> Here is an error example.:
>>> file - ObjectPool.vbproj
>>>
>>> The element PropertyGroup in namespace
>>> http://schemas.microsoft.com/developer/msbuild/2003 has invalid child
>>> element UpgradeBackupLocation. List of possible elements expected:
>>> 'Property'
>>>
>>> Here's the data:
>>> <UpgradeBackupLocation>D:\vstudio\Projects-Balena\04 Class
>>> fundamentals\ObjectPool\Backup2\</UpgradeBackupLocation>
>>>
>>>
>>> I get a file not found error when putting the schema's address in IE. I
>>> get nothing meaningful from http://schemas.microsoft.com/
>>>
>>> "MS MVP ³sÀA¶¯ for VB.NET" <kenlin2***@hotmail.com.no-spam> wrote in
>>> message news:eHNdrEXTGHA.4384@tk2msftngp13.phx.gbl...
>>>> Dear Dennis D,
>>>>
>>>> I have not read those books, and sure I have no chance to try and see
>>>> the
>>>> sample code. However, due to the limitation on VB2005 express
>>>> edition(ie no
>>>> web project), you may try to use the upgrade wizard from VS2005.
>>>>
>>>>
>>>> --
>>>> Hope this help and welcome to reply the testing result.
>>>>
>>>> Regards
>>>> Ken Lin, Kam Hung
>>>> Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com)
>>>> MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & win2k),
>>>> MCSE+I, MCDBA(SQL7 & SQL2K), MCSD(VB6 & .NET), MCAD(.NET)
>>>> Microsoft Community Star(Hong Kong & Taiwan)
>>>> Microsoft Most Valuable Professional(.NET since 2003)
>>>> MCT2004 & 2005
>>>>
>>>>
>>>> "Dennis D." <no***@nowhere.com> wrote in message
>>>> news:%23EplX1WTGHA.5172@TK2MSFTNGP12.phx.gbl...
>>>>> Having problems converting Murach's Beginning Visual Basic.net
>>>>> (Prince)
>>>> and
>>>>> Microsoft Press' Programming Visual Basic.net (Balena) examples for
>>>>> use in
>>>>> VB.net 2005 Express. The VS conversion wizard has not been able to
>>>>> convert
>>>>> any of them. These are just two example sources of many. What should I
>>>>> be
>>>>> doing to convert these samples, or should I reinstall VB.net 2003?
>>>>>
>>>>> Dennis D.,
>>>>> http://www.dennisys.com/
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Author
22 Mar 2006 12:54 PM
Dennis D.
Cor:

Great idea. I will give that a try. Sounds like it might work.
I'm guessing it is not working because the schema is expecting a path like
c:\program files\Microsoft Visual Studio\ instead of D:\my examples path. Do
you know the schema path so that I could take a look? Note the error further
down the post.

Thanks Cor,

Dennis D.

Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:uEM39vaTGHA.1868@TK2MSFTNGP09.phx.gbl...
> Dennis,
>
> Nothing, it should see that it is a VB 2003, ask you if you want a copy
> and than convert it.
>
> (Not that that is as much as with VB6, better I have from a windowsform
> application not yet seen what is converted from 2003 to 2005 in the vb
> files. Probably are it only the system settings and RESX).
>
> You can try to open a new project and than copy the xxx.vb files from your
> 2003 application and see than what it does.
>
> Cor
>
> "Dennis D." <no***@nowhere.com> schreef in bericht
> news:%23sbdovZTGHA.776@TK2MSFTNGP09.phx.gbl...
>> Hello Michel:
>> My question is: The VB2005 wizard should properly convert the samples, so
>> what do I need to do to get it to do that?
>> Best of luck with your new employment.
>>
>> Thanks,
>> Dennis D.,
>> http://www.dennisys.com/
>>
>> "Michel Posseth [MCP]" <M***@posseth.com> wrote in message
>> news:uRmxEmZTGHA.4960@TK2MSFTNGP12.phx.gbl...
>>>
>>> Well instead of moving back to VB.Net 2003 you could also upgrade your
>>> book to the 2005 version   ( balena has a 2005 book   as well :-)
>>>
>>> however if you post the code here someone might be able to see what the
>>> problem is
>>>
>>> i for myself would have been pleased to help you however i have
>>> currently not a Development machine ( resigned my job yesterday and will
>>> start at my new companny at April 10th   ) so sorry can`t help you now
>>> although i have the book
>>>
>>> regards
>>>
>>> Michel Posseth [MCP]
>>>
>>>
>>>
>>> "Dennis D." <no***@nowhere.com> schreef in bericht
>>> news:uV4$%23sXTGHA.1204@TK2MSFTNGP12.phx.gbl...
>>>>I >am< using VB2005 Express:
>>>> The wizard opens automatically when attempting to open a project.
>>>>
>>>> Here is an error example.:
>>>> file - ObjectPool.vbproj
>>>>
>>>> The element PropertyGroup in namespace
>>>> http://schemas.microsoft.com/developer/msbuild/2003 has invalid child
>>>> element UpgradeBackupLocation. List of possible elements expected:
>>>> 'Property'
>>>>
>>>> Here's the data:
>>>> <UpgradeBackupLocation>D:\vstudio\Projects-Balena\04 Class
>>>> fundamentals\ObjectPool\Backup2\</UpgradeBackupLocation>
>>>>
>>>>
>>>> I get a file not found error when putting the schema's address in IE. I
>>>> get nothing meaningful from http://schemas.microsoft.com/
>>>>
>>>> "MS MVP ³sÀA¶¯ for VB.NET" <kenlin2***@hotmail.com.no-spam> wrote in
>>>> message news:eHNdrEXTGHA.4384@tk2msftngp13.phx.gbl...
>>>>> Dear Dennis D,
>>>>>
>>>>> I have not read those books, and sure I have no chance to try and see
>>>>> the
>>>>> sample code. However, due to the limitation on VB2005 express
>>>>> edition(ie no
>>>>> web project), you may try to use the upgrade wizard from VS2005.
>>>>>
>>>>>
>>>>> --
>>>>> Hope this help and welcome to reply the testing result.
>>>>>
>>>>> Regards
>>>>> Ken Lin, Kam Hung
>>>>> Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com)
>>>>> MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & win2k),
>>>>> MCSE+I, MCDBA(SQL7 & SQL2K), MCSD(VB6 & .NET), MCAD(.NET)
>>>>> Microsoft Community Star(Hong Kong & Taiwan)
>>>>> Microsoft Most Valuable Professional(.NET since 2003)
>>>>> MCT2004 & 2005
>>>>>
>>>>>
>>>>> "Dennis D." <no***@nowhere.com> wrote in message
>>>>> news:%23EplX1WTGHA.5172@TK2MSFTNGP12.phx.gbl...
>>>>>> Having problems converting Murach's Beginning Visual Basic.net
>>>>>> (Prince)
>>>>> and
>>>>>> Microsoft Press' Programming Visual Basic.net (Balena) examples for
>>>>>> use in
>>>>>> VB.net 2005 Express. The VS conversion wizard has not been able to
>>>>>> convert
>>>>>> any of them. These are just two example sources of many. What should
>>>>>> I be
>>>>>> doing to convert these samples, or should I reinstall VB.net 2003?
>>>>>>
>>>>>> Dennis D.,
>>>>>> http://www.dennisys.com/
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>