Your Premier Source for Interprise Suite Plugins
Call Now!  (951) 928-1990
Toll Free  (800) 434-4514

   
Saturday, September 04, 2010           Cart                          Register

Please Register and Log In

You can view public forum contents without logging in.  But to post messages to the forums you must Register and Log In.



Community Forum
 
  Community Forum  Public Forums  General Chat Ab...  IS Form Info Plugin Generate Code VB.Net version
Previous Previous
 
Next Next
New Post 2/9/2008 10:20 AM
  billmillikin
1 posts
No Ranking


IS Form Info Plugin Generate Code VB.Net version 
Modified By admin  on 2/11/2008 2:02:24 AM)

Hello, first off, I wanted to post a big THANK YOU for this great tool. It will cut hours off my development time. Second, since I am new to Interprise and just starting into VB.Net, I spent some time converting your c# code example into VB and though I would post it here. Please take a look and let me know if the code needs any improvement, but the test works on my version SP3 Hotfix1. I placed this code into an Interprise.Presentation.Inventory.WebOption.StockPageSettingControl Add-in and triggered it with a CheckedChanged event to return the item description.

*******************************************************************************

Protected Sub chkShowOnWeb_CheckedChanged(ByVal source As Object, ByVal e As EventArgs) Handles chkShowOnWeb.CheckedChanged

Dim memDescription_Control As DevExpress.XtraEditors.MemoExEdit

memDescription_Control = DirectCast(Me.FindForm.Controls("PanelBody").Controls("MainControl").
Controls("PluginContainerGeneral").Controls("TabGeneral").Controls("TabPageGeneral").
Controls("TablelayoutGeneral").Controls("PluginContainerHeader").
Controls("HeaderControl").Controls("LayoutHeaderControl").
Controls("memDescription"), DevExpress.XtraEditors.MemoExEdit)

Interprise.Presentation.Base.Message.MessageWindow.Show(memDescription_Control.Text)

End Sub

*******************************************************************************

 
New Post 2/11/2008 12:29 AM
  bdimes
18 posts
No Ranking


Re: IS Form Info Plugin Generate Code VB.Net version 

You're welcome and thanks for the kind words.  I'm glad to hear another programmer is diving into IS.  Welcome aboard!

Your code looks good.  I'm always worried about errors in the object references.  Realize that IS doesn't instantiate the tabs until they are clicked on.  So, I never count on my object reference being there.  I always put it in a try-catch block so I can exit gracefully if I have a problem.

FYI - I just released an updated version of the tool that generates VB.Net output.  Give it a try.

Thanks,


Bill Dimes
DimeSoft Business Solutions, Inc.
Certified Interprise Solutions Solution Provider
(800) 434-4514 x221
(909) 928-1990 x221
www.interprisesuiteplugins.com
www.dimesoftinc.com
 
Previous Previous
 
Next Next
  Community Forum  Public Forums  General Chat Ab...  IS Form Info Plugin Generate Code VB.Net version

Privacy Statement    |    Terms Of Use Copyright 2007-2009 by DimeSoft Business Solutions, Inc.