Converting vb.net book examples

D

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/
 
M

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
 
D

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/
 
M

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]
 
D

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/

Michel Posseth said:
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. said:
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/
 
C

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

Dennis D. said:
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 said:
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. said:
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/

message 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


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/
 
D

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.

Cor Ligthert said:
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. said:
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 said:
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." <[email protected]> schreef in bericht
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/

message 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


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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top