Friday, 23 May 2014

Including Folders to your MSI Set Up in Vb.Net




*      Introduction
I am writing this to help those gnashing their teeth on how to include some custom folders in their vb.net application.
This guide will show the step by step process.
Folders will include reports or additional file,images or exe’s

Below picture display view under the filesystem windows
Pic a.)


Pic b.)
Display of the structure under solution explorer.

*      How to:
o   Right Click the Project(Setup) in Solution Explorer.
o   Click View > Click FileSystem.
o   New interface will be opened.
o   Right Click on File System on Target Meachine > Click Add Special Folder.
o   You can choose any one of the folder that are listed or go for Custom Folder.
o   Right Click on the Custom Folder you created > Click Add > Click Folder.
o   Right Click on the newly created Folder > click Properties.
o   Set DefaultLocation Property to ("Destination") ie c:.
o   Right Click on the newly created Folder > Click Add > Click File.
o   Browse the file you wants to get added .
o   Build the solution.
Your are done.



Wednesday, 7 May 2014

Remove Windows 7 Activation Message

I am revealing this to you to show you how to silence your window activation message ,can be disheartening when you are at a presentation slide and the pop up shows up.
I suggest you have your own activation key but this will help you for some little while.
 
  • Step 1: The first step is to pressing the Windows Key present on the left hand side of the keyboard. You can also simply click on the start button. Either way the start menu will appear once you do one of the above mentioned two things.
  • Step 2: Once the start option shows up go to the run option. Click on the run option. When you click on the run option, the run window will appear.
  • Step 3: Once the run window appears after clicking on the run option, you have to type “cmd” in it.CMD is the command to open the command prompt window. After typing cmd in the run window press enter and the command prompt window will open.
  • Step 4: Once the cmd window opens right click on it. After the right click options appear, you have to choose the option of “Run as Administrator”. This option will give you extended privileges to make changes to your system. Make sure you run your cmd window as administrator otherwise the removal process for genuine Windows 7 will not be successful.
  • Step 5: The fifth step is typing the following command in the cmd window: “slmgr -rearm”. Remember the space between the slmgr and – in the command you are typing. Without the space cmd won’t recognize the command. After you have successfully typed this command, press enter.
  • Step 6: A new message box appears after clicking enter. You have to click “ok” on this message.
  • Step 7: The last step is restarting your computer system. When your PC is starting another message will show up. This message will ask you to activate your Window. For now click on the “cancel” option on the message box. Your system continues to start and you have very successfully removed the genuine Windows 7 from your PC. Congratulations!

Tuesday, 15 April 2014

Some Techniques for you developer with Open ERP



Thanks to this information that i am now able to start quick in Open ERP
All web client customization is done on this directory
/usr/share/pyshared/openerp/addons/web/static/src

Below are the following files needed to be modified
---------------------------------------------------------------------------
base.css
/usr/share/pyshared/openerp/addons/web/static/src/css
Use to change color of the web frame. Use HTML notation when coding color. You can use GIMP to convert colors to HTML notation.

base.xml
/usr/share/pyshared/openerp/addons/web/static/src/xml
Use to change footer text "Powered by OpenERP". Leave this file unchanged to avoid violating the OpenERP AGPL license

chrome.js
/usr/share/pyshared/openerp/addons/web/static/src/js
Use to change the browser title and version as displayed on the footer beside the "Powered by.." statement
Look for this line document.title = title + sep + 'OpenERP' and replace it with document title of your choice. (i.e. document.title = "My OpenERP";)

favicon.ico
/usr/share/pyshared/openerp/addons/web/static/src/img
Use to change the default favicon displayed on the webpage
logo.png
/usr/share/pyshared/openerp/addons/web/static/src/img
The logo located at the right corner of the application
Size and aspect ratio should be preserved

logo2.png
/usr/share/pyshared/openerp/addons/web/static/src/img
The logo at the log in prompt. This could be at any size

main.py
/usr/share/pyshared/openerp/addons/web/controllers
Use to change the log-in screen title (reboot is required for changes to take effect)
Look for html_template and check the content of the title beginning with <title>

GoodLuck

Monday, 17 March 2014

SUDOKU GAME PUZZLE


 
Martin De M Mundia Independent Developer View Portfolio





 Product



  • Single App License  $49.00
  • Multiple App License  $129.00
Download Link : http://www.chupamobile.com/android-full-applications/sudoku-game-puzzle-2104 

Overview
  • Sudoku is a challenging puzzle game designed for a player of all ages.
  • Basically your target is to fill all blank cells with a number between 1 and 9.
  • Every 3 * 3 block must contain each of these numbers once. The same is required for rows and columns over 9 cells.
Installation to tablet or mobile.
  • The zipped folder contains the apk that you will need when performing an installation of the Sudoku Game puzzle.
  • It is located under the folder Sudoku\bin\Sudoku.apk.
  • Run it as any other android application by clicking on next button.
Running the source code
  • I have created this game using Eclipse IDE. To run source code in the IDE, click on the file menu and use the import button to import it to your workspace.
  • Put some music file (game.mp3 and main.mp3) under Sudoku\res\raw ,compile and enjoy.
  • Ensure you select the target device.(probably target 8)
  • Included Rev advertisements SDK
  • Single App License  $49.00
  • Multiple App License  $129.00

14 Days Money back guarantee
 

Screenshots




Friday, 17 January 2014

InnoDB Storage Engine

Introduction

InnoDB Storage engine default configuration creates a file called ibdata1 which holds the innodb data. By default this file has an initial size of 10mb and it automatically extends.This may eat up your server space and there is a need of knowhow to fix on this kind of problem.
This file is located under ‘C:\Mysql data’

Reasons for Innodb File growing too large
Inno db data file cannot be shrinked,if settings not set during installation the file continues getting large.

Prevention
This can be prevented by forcing the server create an *.ibd for each newly created table using the innodb_file_per_table

How to Solve
a)      Create Back Up and ensure backup is running properly.
b)      MySQLDump all databases into a SQL text file
c)       Drop all databases (except mysql schema)
d)      Shutdown mysql by  running command : mysqladmin –u root –p shutdown.
e)      Add the following lines to /etc/my.cnf

[mysqld]
innodb_file_per_table
innodb_flush_method=O_DIRECT
innodb_log_file_size=1G
innodb_buffer_pool_size=4G

Whatever your set for innodb_buffer_pool_size, make sure innodb_log_file_size is 25% of innodb_buffer_pool_size.

f)       Delete ibdata1, ib_logfile0 and ib_logfile1
g)      Restart mysql
h)      Reload SQLData.sql into mysql

Friday, 6 December 2013

Create Set Up File For Your .NET Application

After a couple of hours pulling my hair and gnashing of teeth..Solution to create setup file i followed the following proedure:

1) Click 'File' -> 'Add' -> 'New Project'.
2) Goto 'Other Project Types' and 'Setup and Development'.
3) Choose 'Setup Project'.
4) In the 'Solution Explorer' rightclick on your setup project.
5) Choose 'Properties'.
6) Click 'Prerequisites...' button.
7) Choose your prerequisites (e.g. .NET Framework, Windows Installer).
8) Press 'OK', press 'Apply'.
9) Rightclick on 'Application Folder' in the left File System window.
10) Choose 'Add' -> 'Project Output'
11) When done, rightclick in the Right File System window.
12) Choose 'Add' and whatever you want to add to the application directory
during installation.
13) Rightclick on 'Project output from ....'
14) Select 'Create shorcut to Primary output from ...'
15) Rightclick on 'Shorcut to Primary output from...'
16) Choose 'Rename'
17) Name it after your application.
18) Select it and drag it to the left to 'User's Program Menu'.
19) (Build solution) Build your setup project.
20) In the setup project directory you'll find the .exe and .msi file to
install your application.

Thursday, 5 December 2013

VB.NET PROJECT HISTORY

 Removing the project history is a good idea to help protect your project from anyone eavesdroping

Visual Studio Recent Project List
Sometimes we create projects just for experimentation and then soon after we are done with the experimentation, we delete the project from the file system in order not to clutter up our working environment. But what about Visual Studio? The Start page of Visual Studio has a list of recent projects and it is meant for a convenient feature. But for the experimental projects that no longer exist, that list does not really reflect the reality.
To remove the projects from the list, follow these steps:
  1. Close Visual Studio if it is running.
  2. Start the Registry Editor (run regedit).
    Registry Editor
  3. Navigate to this registry key:
    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList
    Registry Editor 2
  4. Then delete the key that has the project you do not want to keep in the list.
A little note to keep in mind is that the list only lists consecutive items starting File1. So if in the above list I deleted File6, then only projects corresponding to File1 to File5 will be displayed in the recent project list. File7 and above will not be displayed. If in case you like File7 and above to be displayed, you will need to rename one of the keys so that they form a consecutive numbered list.