locked
DataGridview Filter Popup RRS feed

  • Question

  • Hi all

    I'm trying to convert the DataGridviewPopUp by Vincenzo Rossi from c# to vb.net (I'm new to vb.net) 

    The problem I have is in DgvFilterHost (that should be a user control) in the Implementation Folder

    The DgvFilterHost has a DgvFilterHost.designer.cs file that I don't know how to convert or build

    Can anybody help me ?

    Claudio

    Thursday, April 12, 2018 4:40 PM

Answers

All replies

  • Hello,

    I played with this filter popup about six years ago but never did anything to create my own custom interface. Even with that you should check out my code sample which may assist with other aspects of the component.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Thursday, April 12, 2018 4:47 PM
  • For those not familiar with the component.

    https://www.codeproject.com/Articles/33786/DataGridView-Filter-Popup


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Thursday, April 12, 2018 4:48 PM
  • It's possible that you can use an online converter such as Telerik to convert the code.

    Telerik also has JustDecompile which is free and can convert a C# assembly to a C# or VB.Net Visual Studio project. When it installs it either asks or gets which Visual Studio you have installed so it can know which version to create a "legacy" project for. It works with up to Visual Studio 2015 and down to I don't know but probably Visual Studio 2010 or so.

    If you have VS 2017 then you should be able to create a legacy project to VS 2015 and then load it in VS 2017 where I suppose it would upgrade it.

    However some things in C# may not be directly convertible to VB.Net but perhaps Telerik works around that for all I know.


    La vida loca

    Thursday, April 12, 2018 4:51 PM
  • I downloaded the .Dll and notes from the Code Project site. I then dragged the .Dll onto Telerik JustDecompile (new version) and it decompiled it to VB.Net. Then I created a Legacy project for VS 2012 in VB.Net and no errors occured.

    You can download the project called PopUp from my onedrive at https://1drv.ms/u/s!Ag0nb6dfIqu4giebM0lLk1twFUIm and see if it works in whatever VS you have. Hopefully 2012 or later as you don't say.


    La vida loca

    Thursday, April 12, 2018 5:28 PM
  • Hi Monkey

    Thank you.


    • Marked as answer by Claudio111 Wednesday, April 18, 2018 8:06 PM
    Wednesday, April 18, 2018 8:06 PM
  • Hi Monkey

    Thank you.


    Hi

    Why do you mark your own post as the Answer? I think you need to mark Mr.Monkeyboy post as the Answer - wouldn't you agree?


    Regards Les, Livingston, Scotland

    Wednesday, April 18, 2018 8:24 PM