Search VB 2010

Showing posts with label Search Optimization. Show all posts
Showing posts with label Search Optimization. Show all posts

Sunday, August 11, 2013

Visual Basic Online Course FlexGrid

Visual Basic 2010 - FlexGrid

Visual Basic 2010 FlexGrid
Visual Basic 2010 FlexGrid
The Microsoft FlexGrid (MSFlexGrid) control displays and operates on tabular data. It allows complete flexibility to sort, merge, and format tables containing strings and pictures. When bound to a Data control, MSFlexGrid displays read-only data.

You can put text, a picture, or both, in any cell of an MSFlexGrid. The Row and Col properties specify the current cell in an MSFlexGrid. You can specify the current cell in code, or the user can change it at run time using the mouse or the arrow keys. The Text property references the contents of the current cell.

If the text in a cell is too long to display in the cell, and the WordWrap property is set to True, the text wraps to the next line within the same cell. To display the wrapped text, you may need to increase the cells column width (ColWidth property) or row height (RowHeight property).

Use the Cols and Rows properties to determine the number of columns and rows in an MSFlexGrid.

Note : Before you can use an MSFlexGrid in your application, you must add the MSFlxGrd.ocx file to your project. To automatically include the file in your project, put it in the Autoload file. When distributing your application, you should install the MSFlxGrd.ocx file in the users Microsoft Windows System directory. For more information about adding an ActiveX control to a project, see "Standard ActiveX Controls" in the Visual Basic Programmers Guide.

How to add a FlexGrid component to Visual Basic .Net Form ?

- MSFLXGRD.OCX is a COM not a Net component but it can be added to a .Net Form in Visual Basic 2010 and work with it. In order to do so :

1) Open Visual Basic 2010 - New Project - Windows Form Application
Visual Basic 2010 Online Courses Free
Visual Basic Windows Form Application
2) Make sure you are displaying the design mode of the Form1.vb, to be able to choose components
Visual Basic 2010 online courses free
Visual Basic 2010 Form Design Mode
3) From Tools at the left side of the form, right-click anywhere and there will be a list, choose [Choose Items....]




Visual Basic Online Courses
Visual Basic 2010 Tools - Add FlexGrid
4) You will notice a new dialog box is opened where you get to pick up .Net components and Com components, click on the Tab with COM Components, then navigate to [Microsoft FlexGrid Control].

FlexGrid in VB2010 .Net
Visual Basic 2010 - Adding FlexGrid to Form
5) Click OK. Now from Tools, navigate to the end of the current section and you will file [Microsoft FlexGrid Control], just drag it on the Form or Double-Click it to be placed automatically on the Form
Visual Basic Online Courses
FlexGrid in VB2010 .Net Form
6) Now you successfully placed a COM component on .Net Form. Visual Basic 2010 will automatically convert this COM component into .Net component when Building your application.

Here are some online Visual Basic lessons and courses :

Friday, June 21, 2013

Visual Basic Online Course The following control could not be licensed: TxTextControl.TextControl

The following control could not be licensed: TxTextControl.TextControl

Search Optimization, Word Processing Integration
Tx TxtControl, powerful tool for VB2010 that enhances Word Processing Integrations

How to compile a specific license (*.licx) file to your Visual Basic 2010 project for example the [Tx TxtControl] Object. Tx TxtControl is an evaluation product and can be downloaded from here, unless you register the product with a standard license, it will not work properly with Visual Basic 2010

Tx TxtControl is a Visual Basic .Net powerful tool that enable you to create a Word Processing Integration form to enable the user to take notes and save it and retrieve it. With Tx TxtControl you can do the following :
  • Integrate comprehensive word processing into your Windows applications
  • Load, edit and save Microsoft Word formats (DOCX, DOC, RTF etc.)
  • Build powerful reporting and mail merge applications
  • Load, edit and create Adobe PDF documents
  • Completely royalty-free
The problem is that the Eval. Version pops up a message in the IDE and the Run-Time and generate an error message :
The following control could not be licensed: TXTextControl.TextControl
Visual Basic .Net 2010 Tx TxtControl Cracked
Tx TxtControl License Problem in Visual Basic .Net (VB2010)
To solve the Tx TxtControl license problem, you need to do the following :
1) Add Reference to Tx TxtControl in your Visual Basic 2010 Project
Visual Basic 2010 Online Courses and Solutions
Add Reference to Tx TxtControl in Your VB2010 project
2) A 'licenses.licx' file must exist in the 'My Project' folder. To build such a file, create a new text file in this folder and name it 'licenses.licx'. Open the file and add the following string: 
TXTextControl.TextControl, TXTextControl, Version=13.0.500.500, Culture=neutral, PublicKeyToken=6b83fe9a75cfb638
The 'licenses.licx' file is not a TX Text Control specific file, but a Visual Studio file that is used by 'lc.exe' (which is part of the .NET SDK) to compile the licenses into the assembly. These above steps are done automatically, if you drag and drop a TextControl from the toolbox onto a form.

The above line that refers to the License will vary from version to another. To find the proper License file for the existing Tx TxtControl Version for VB.Net WinForms :

  • Go to the C:\ drive and locate the installation folder for Tx TxtControl
  • You will find the License for the current version most likely here :
    C:\Users\User_Name\Documents\TX Text Control 19.0.NET for Windows Forms\Samples\WinForms\VB.NET\TX Text Control Words\My Project
  • You will find the License.Licx file placed there
  • Open it, copy the contents
  • Open your Visual Basic 2010 Project. Folder [My Project] add *.txt file and call it License.Licx if it is not already there and paste the previous copied lines
  • [If you found License.Licx there already, just open it with NotePad and add the following to the end of it]
  • Save all you work, Build Solution for your Project.
Here are some online Visual Basic lessons and courses :

Wednesday, June 19, 2013

Visual Basic Online Course Search Optimization

dtSearch Engine
Using dtSearch Engine to Create Search Optimization via Visual Basic 2010

Create Visual Basic .Net Search Optimization tool using dtSearch Engine to :

 Optimize Search
Index files
Search Index
Retrieve Search Results
Highlight Search Results
dtSearch Engine : Powerful tool can be downloaded from its official website. There is the dtDeskTop Search and dtSearch Engine for developers, we need the last one to be downloaded. You will be given a password to install the Eval. Version of dtSearch Engine by the customer support team via Email or via SkyPe. I recommend downloading the dtSearch Engine 772.

After installing dtSearch Engine successfully on your machine, you will find the files in the C:\ drive and Start Menu. Restart your machine.
Search Optimization
dtSearch Engine - installed files
There will be VB.Net examples in the C:\ drive cover most of the supported programming languages by the dtSearch Engine Tool including VB.Net 2010 [.Net frameWork 4] in this folder (C:\Program Files\dtSearch Developer\examples\vb.net4).

dtSearch Engine mechanism goes like this :

  • Create Indexes (If exists, then you can update the existing Index)
  • Add Files to be Indexed
  • Search Index
  • Retrieve Search Results (Highlight search results)

From Visual Basic .Net 2010

In order to use dtSearch Engine within VB2010 you will need :
      1. Create new Visual Basic 2010 Project
      2. Add dtSearch Engine Reference Files.
dtSearch Engine Reference Files to be added to the VB2010 project, are :
dtSearch Engine Optimization via Visual Basic .Net
dtSearch Engine via Visual Basic .Net (framework 4.0)
Not only searching System Files but also you can Search Database using the same mechanism (Create Index, Add Resources to Index, Search Indexed Resources, .... ,etc.)
Here is a source code example well detailed and explained of How to use dtSearch Engine to Optimize Search "Optimization" via VB.Net 2010 and .Net framework 4.0.

Using dtSearch Engine in Visual Basic .Net 2010 [Source Code Example] :
(1) dtSearch Engine - Logic and Design
(2) dtSearch Engine - Indexing/Searching local Files

Here are some online Visual Basic lessons and courses :

Visual Basic Courses - Share