unparalleled award winning scheduling and UI component software solutions
Downloads Support Products Purchase Consulting DBI
     
http://www.dbi-tech.com/developerbulletins/August2010.html
  News Bulletin Update - August 2010  
In this Update
    Appointment and Multi Resource Scheduling - unparalleled component software solutions   
    > Special Offer - Buy One get One for Half Price
  > Staff Scheduler Pro Special Offer
  > Tech Tip - RegFree COM
  > Keyword and Key phrase automatic extraction
  > Southwest Fox Conference
  > Subscription Renewals
  > What's coming up - product updates and new releases

  > Code Snippets
  > Component-Based Consulting Services
  > Quick Links
 
     
     
     
SPECIAL OFFER 

Buy One get One for Half Price !
 Available on all DBi Component Software products


Purchase a DBi product license and get a Second product license
of equal or lesser value for Half Price

(multiple quantities are welcome)

Take Advantage Today !
http://www.dbi-tech.com/SpecialOfferSummer.aspx
            

Studio Controls  -  UI design and reporting  
  unparalleled award winning component software solutions     
Special Offer ending August 31st  
  ==========================================  
     
Staff Scheduler Pro v3.2 - Special Summer Promotion  
     
Buy One Staff Scheduler Pro and get a Second for Half Price
 
Purchase one or more licenses of Staff Scheduler Pro
and get an equal number at HALF Price !

https://www.dbi-tech.com/StaffSchedulerPro_SpecialOffer.asp

Full details available at:
http://www.staff-scheduler.com
Staff Scheduler Pro - Drag N Drop Scheduling   
   Special Offer ending August 31st    
       
  ==========================================  
  Tech Tip  – RegFree COM and DBI Components   
     
 
Interest in our COM products is still very strong, which has led to more questions on the deployment side of things. As such I thought we’d delve into an interesting but often overlooked method of deploying ActiveX controls with applications. It’s called RegFree COM. That’s right, as the name implies it removes the need to RegSvr .ocx files or register them during deployment. This has an impact especially with the Vista UAC and registry lockdowns across networks. The process is pretty straightforward, you build a .manifest  file for your application that contains all the information needed to call your .ocx files. Here is the breakdown… you will need an IDE that will compile down to an executable in order to attach the manifest. In our sample below we will simply use the method for including the .manifest file with the application.exe, but there are ways to build the manifest into the actual executable. For more information on that do a google on MT.exe and manifest. Basically you can point the executable you are running to the OLE  control you want to use and specify the GUIDS for the TypeLib and Class in the manifest thus eliminating the need to check the registry (you can do a quick google on RegFree COM for more of the backstory) and I'll focus on how you can set one up to use some of our controls. As you are going to need both the typelib ID and class ID you may want to trackdown a copy of OLEVIEW. That little tool shipped back with VisualStudio 6 (I think it may actually go back to 4) but you can find a copy here...
 
 
 
http://www.microsoft.com/downloads/details.aspx?familyid=5233b70d-d9b2-4cb5-aeb6-45664be858b6&displaylang=en

 

So basically let’s start a small sample app for testing purposes... we'll toss ctList on a form there and call our app ctListTest.exe   Add a couple of node items in the firstdraw and build your app.Now let’s copy our ctList.ocx  to a folderin your app path called bin. We are then going to create a file called ctListTest.exe.manifest in the same folder as the executable. You can also check out some articles on building the manifests into the executables, here are a couple of command line utilities available from Microsoft that will handle this, but for our example we are going to use the "deploy with executable" method. The XML is going to look like so...

 
<?xml version="1.0" encoding="utf-8"?>

<assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <assemblyIdentity name="ctDate.exe" version="1.0.0.0" type="win32" />

  <file name="bin\ctDate.ocx" asmv2:size="118784">

    <typelib tlbid="{F5A21BA6-2C08-11D5-A85D-0080C8DFC881}" version="6.0" helpdir="" resourceid="0" flags="HASDISKIMAGE"  />

    <comClass clsid="{F5A21BA6-2C08-11D5-A85D-0080C8DFC881}" threadingModel="Apartment" tlbid="{F5A21BA6-2C08-11D5-A85D-0080C8DFC881}" progid="ctDATE.ctDateCtrl.6" description="ctDate Control" />

  </file>

</assembly>

Now you can see we have a single <file> tag in our XML, you can have as many as you need to define for your app. Notice this one is for ctDate, we are going to mod it for use with ctList by changing the tag properties as follows...

This info is from the actual exe file properties...

-orig-<assemblyIdentity name="ctDate.exe" version="1.0.0.0" type="win32" />

-new-<assemblyIdentity name="ctListTest.exe" version="1.0.0.0" type="win32" />

Now for the OCX part...

-orig-

  <file name="bin\ctDate.ocx" asmv2:size="118784">

    <typelib tlbid="{F5A21BA6-2C08-11D5-A85D-0080C8DFC881}" version="6.0" helpdir="" resourceid="0" flags="HASDISKIMAGE"  />

    <comClass clsid="{F5A21BA6-2C08-11D5-A85D-0080C8DFC881}" threadingModel="Apartment" tlbid="{F5A21BA6-2C08-11D5-A85D-0080C8DFC881}" progid="ctDATE.ctDateCtrl.6" description="ctDate Control" />

  </file>

-new-

  <file name="bin\ctList.ocx" asmv2:size="471040">

    <typelib tlbid="{38EC7E50-6A01-4727-88E7-47788ABD54FE}" version="6.0" helpdir="" resourceid="0" flags="HASDISKIMAGE"  />

    <comClass clsid="{2B447B04-4CDC-4F52-915C-694DDCAD79F4}" threadingModel="Apartment" tlbid="{38EC7E50-6A01-4727-88E7-47788ABD54FE}" progid="ctLIST.ctListCtrl.6" description="ctList Control 6.0" />

  </file>

So your XML text for the ctList will be...

<?xml version="1.0" encoding="utf-8"?>

<assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<assemblyIdentity name="ctListTest.exe" version="1.0.0.0" type="win32" />

  <file name="bin\ctList.ocx" asmv2:size="471040">

    <typelib tlbid="{38EC7E50-6A01-4727-88E7-47788ABD54FE}" version="8.0" helpdir="" resourceid="0" flags="HASDISKIMAGE"  />

    <comClass clsid="{2B447B04-4CDC-4F52-915C-694DDCAD79F4}" threadingModel="Apartment" tlbid="{38EC7E50-6A01-4727-88E7-47788ABD54FE}" progid="ctLIST.ctListCtrl.8" description="ctList Control 8.0" />

  </file>

</assembly>

full view

If you wish to test this on your dev machine, you'll have to regsvr32/u ctList.ocx  (in your Studio Controls for COM install folder) then if you did everything right your app should run as normal, rename the ctListTest.exe.manifest to something else and run it and you should get a class unregistered error.

As always from all of us here in support, take care and have a great day!

 
    PicoFocus.com - automatic keywork and key phrase extraction   
  ==========================================  
  Keyword and Keyphrase Extraction  
     
  Get to the heart of a subject, what a document is really about by extracting the keywords and key phrases found in any text. What's really behind those search engine results - get to the bottom quickly and accurately by extracting the keywords and key phrases - automatically.  
     
  Used by Search Engine Optimization services to document management
companies, the Extractor web service and SDK provide the flexibility for
developer's to put contextual meaning into unstructured information.
 
     
   Experience the difference today !   The Extractor difference.   
  http://www.ExtractorLive.com  
     
  ==========================================  
 

Southwest Fox Conference

DBI is proud to once again sponsor Southwest Fox - the number one North American annual Visual FoxPro conference held in Arizona each fall. Get the latest details at: www.swfox.net today!

Get in on the Early-Bird Registration for Southwest Fox 2010! The Early-Bird discount saves you $50 over our regular conference registration.

This year's conference, being held October 14-17, includes 15 speakers, 26 different sessions in the main conference, 4 pre-conference topics, and a free one-day VFP to Silverlight post-conference workshop. Plus, if you're a member of a registered VFP user group, when you attend Southwest Fox, your user group receives $25.

Also, watch the www.swfox.net site for your chance to win one of four $100 Visa gift cards.

 
     
  ==========================================  
  Subscription Renewals

REMINDER - keep up to date on the latest developments, changes and product updates - make sure to renew your product subscription. You can renew at any time prior to the expiry date and extend for another year or more!

If you have any questions call or send a note to sales@dbi-tech.com.
 
     
  ==========================================  
  What's coming up

A new Solutions Schedule for .NET update is soon on it way.

Under the WPF banner - watch for upcoming news on a new Month, Week and DayView Calendar control for WPF. You haven't seen anything like this... Want to be on the inside track before this new control is released - send a note to info@dbi-tech.com with the subject header 'dbiWPF Calendar'.
 
     
==========================================
  Code Snippets   
     
 
Code snippets can save buckets of time and even provide elements of pure genius. When you look under the covers of any DBi product, you'll find a bucket load of general and component specific code snippets. Open your DBi Product Manager,click on the Samples / Demo tab andyour choice of IDE for a whole collection of feature specific code snippets. Some are full featured code samples. Many of the code snippets available have been surfaced in Tech Tips in each month's DBI News Bulletin. You'll find more detailed code samples,  free to use, in each of the product evaluation downloads and of course the fully licensed products. Double click on the product manager desktop icon, click on the Samples/Demos tab and select your choice.
 
     
   If you're more interested in web delivery, look no further than our Smart Client samples:   
     
  =========================================  
  DBI Component Software-based Services  
     
Jump start your development project and give your development team
advanced knowledge of DBI's component products.

Receive direct coding assistance with DBI Component-based products.
Start with DBI Component Services for:

     > Appointment Scheduling
     > Resource (Gantt style) Scheduling
     > Integrating Extractor Document Summarization
     > Building Reg Free COM applications
     > Extending DBI .NET Controls
     > Using the DBI Warehouse Scheduling Framework

Take advantage today!
http://dbi-tech.com/DBIComponentServices.aspx  
     
  =========================================  
     
  Quick links:  
     
  Studio Controls for COM
http://www.dbi-tech.com/ProductPage_StudioControlsCOM.aspx
 
     
  Studio Controls for .NET
http://www.dbi-tech.com/ProductPage_StudioControls.NET.aspx
 
     
  Solutions Schedule for .NET
http://www.dbi-tech.com/ProductPage_SolutionsScheduleNET.aspx
 
     
  Solutions Schedule for COM
http://www.dbi-tech.com/ProductPage_SolutionsSchedule.aspx
 
     
  Staff Scheduler Pro - the Right People in the Right Place at the Right Time
http://www.Staff-Scheduler.com
 
     
  Extractor - Keyword and Keyphrase extraction  (great for text mining!) 
http://www.dbi-tech.com/productPage_Extractor.aspx
 
     
       
  =========================================
========================================= 
Relevant information in the Palm of Your Hand   
          HAVE A GREAT SCHEDULING DAY  
  =========================================
========================================= 
 
     
     
     
     
 

The world of relevant information in the palm of your hand 

 
     
    all rights reserved  |  copyright  © 1996  |  Terms of Use