Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsDNN Event Module - Anyone have a C# (C Sharp) version of the source?DNN Event Module - Anyone have a C# (C Sharp) version of the source?
Previous
 
Next
New Post
5/27/2011 10:52 AM
 
I am looking for a C# (C-Sharp) (C Sharp) source version of the DNN events module.  I am trying to convert it myself, but it is taking too long.  Has anyone done this already?
 
New Post
5/27/2011 8:00 PM
 
Hey Paul,

Not really sure if anyone has gone down this path yet - though to be honest - like most module developers are thinking - there is no real point in doing the conversions for single modules.  There are some code converters around that can help out though if you do a search on google.

Westa
 
New Post
5/27/2011 8:19 PM
 
Westa,

Ya, I used Telerik's code converter. I am know working through the 3400+ compilation errors. I am down to 1660 and chugging away. I just wanted to see if anyone has done it yet. If anyone has, let me know.

Paul
 
New Post
5/27/2011 8:55 PM
 
Yeah its never a slow process - One other option that I tried in the past was to work in reverse.  

And decompile the dll - back to c#  -  never been totally sure why most of the code converters do such a poor job of converting code when 
http://www.reflector.net/ and even more so http://www.remotesoft.com/salamander/ do such a good job of decompiling dlls back to 
in some cases better source code than the original.

We used salamander a while ago to recover a new clients system - the original developer had moved overseas - taking all the source code for a very large and complex project with him.

Using salamander we had the code back and fully re-compilable in a matter of hours.  It wasn't a cheap tool but it worked all but perfectly and the client who had spent a lot of money on his system now had a full set of workable source code to move forward with.  About the only hiccup was in the naming of variables - which one would assume were more English like and document-able - but since we didn't have the original source anyway it was a minor thing.

Westa
 
New Post
5/28/2011 8:59 PM
 
I am stuck on one line of code that occurs many times:

gvEvents.Columns.Item(0).Visible = True      (this is VB)

I want to convert this to C#, but

gvEvents.Columns.Item[0].Visible = true;
                                   ~~~~
gets a compilation error because there is no .Item under Columns.
What should the line be converted to to complete this? 
Thanks,
Paul
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsDNN Event Module - Anyone have a C# (C Sharp) version of the source?DNN Event Module - Anyone have a C# (C Sharp) version of the source?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out