Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 05, 2006 02:20 PM by chon
Oct 03, 2006 10:21 AM|LINK
I'm currently working on the VB Version of the Classifieds Starter Kit and want to integrate Peter Kellners 'Membership Editor With Profile Information' Kit.
Becasue my site is in VB and the kit is in C my only choice is to simly create a class library project out of the
.cs files that would normally live in the app_code directory.
Then, include the dll it creates in my bin directory of your project and
it should work. Here is a copy of the project.
When I try to compile the files using the following command I get the following error message:
D:\MembershipEditorWithProfile\> csc /t:library /out:membershipwithprofiles.dll /r:System.dll /r:System.Web.dll *.cs
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
MembershipUserODS.cs(68,13): error CS0246: The type or namespace name 'ProfileCommon' could not be found (are you missing a using directive or an assembly reference?)
Can anyone help!?!?
Oct 04, 2006 03:31 AM|LINK
I am also looking for this solution
Oct 04, 2006 01:32 PM|LINK
VB.Net....C# same difference.
Wouldn't it be easier to convert the C# to VB.Net using one of the online converters?
Oct 04, 2006 01:44 PM|LINK
Do you have Profile enabled in your web.config?
Oct 04, 2006 01:54 PM|LINK
Oct 04, 2006 01:56 PM|LINK
yep, as follows:
<add name="FirstName" type="System.String"/>
<add name="LastName" type="System.String"/>
<add name="Telephone" type="System.String"/>
<add name="Street" type="string"/>
<add name="City" type="string"/>
<add name="County" type="string"/>
<add name="PostCode" type="string"/>
<add name="MemberId" defaultValue="0" type="System.Int32"/>
Oct 04, 2006 02:04 PM|LINK
Nov 29, 2006 08:15 PM|LINK
So did anyone translate the code to vb.net?? I'm new to vb.net and c#... so can someone help please.. The part that is hard for me is membershipuserODS.cs... how do i convert the following code..to vb??
Nov 29, 2006 09:46 PM|LINK
Select Case sortDataBase
comparison = New Comparison(Of
That delegate part is throwing me off as well. Why don't you ask the owner of the product to send you a VB.Net version?
Dec 01, 2006 02:39 PM|LINK