Blog

API Explanation
API Explanation The waveInOpen function opens the given waveform-audio input device for recording. Parameter InformationDeclare Function waveInOpen Lib "winmm.dll" Alias "waveInOpen" (lphWaveIn As Long, ByVal uDeviceID As Long, lpFormat As WAVEFORMAT, ByVal dwCallback As Long, ByVal dwInst…[ More ]
Zend Studio for Eclipse + Xampp. Debugging
Zend Studio for Eclipse + Xampp. Debugging Re: Zend Studio for Eclipse + Xampp. Debugging by frodo17 on Wed Jul 01, 2009 2:45 pm I solved the problem :) ! In Xampp need to disable zend optimizer.In php.ini Code: Select all;zend_extension_ts = “\xampp\php\zendOpti…[ More ]
PHP - MySQL - XML tutorial - basics
PHP - MySQL - XML tutorial - basics1 Introduction Objectives XML is often used to transport data between applications. In this tutorial (once it's fully done) we shall see how to: Query a database with SQL, get the result in XML and render in HTML Store simple XML data (e.g. …[ More ]
Convert PDF to SWF
Convert PDF to SWF You can use swftools (http://www.swftools.org/) to convert pdf to swf. Installer available for Windows and Linux. http://www.swftools.org/download.html Here is some sample example of how to use swftools - http://www.quiss.org/swftools/pdf2swf_usage.html After conversio…[ More ]
Merge XML files in PHP
No problem. We won't show you that ad again. Why didn't you like it? MisleadingOffensiveRepetitiveOops! I didn't mean to do this. I have 2 files 1.xml and 2.xml both having similar structure and I would like to have one. I tried many solutions but I had errors only - fr…[ More ]
Merge To Xml Files Together Based On Values
Merge To Xml Files Together Based On ValuesThe application reads 2 xml files and then goes through each staff member record from one of the xml files. For each staff member record it looks for the corresponding record in the second xml and once it has been discovered it generates a series of new nod…[ More ]
Lessons Learned From Upgrading to Oracle Forms 11g R2 on WebLogic !
Lessons Learned From Upgrading to Oracle Forms 11g R2 on WebLogic ! You may have heard the rumors about upgrading to Forms 11g R2. How all you need is a quick recompile of your 10g forms. I of course was skeptical since I’ve heard rumors like this before… “It’s just a minor upgra…[ More ]
Convert XML to Array and Array to XML in PHP
Convert XML to Array and Array to XML in PHP This class library provides two XML related functions.  One to convert an XML Tree into a PHP array and another to convert a complex PHP object into XML.The first is the xml_to_array function witch will read through an entire xml tree and convert it int…[ More ]
Sharing files/folders via REST API in oc6
Sharing files/folders via REST API in oc6 by vincenth » Wed Nov 06, 2013 3:57 pm Hi,After trying to use the sharing api (via REST) in oc5 (viewtopic.php?f=23&t=17952), which doesn't work, I am now trying it in oc6 beta 2. I think it is still a little buggy and I guess it has something …[ More ]
Is it possible to validate XML against multiple schemas in PHP?
Is it possible to validate XML against multiple schemas in PHP?mainSchemaFile = dirname(__FILE__)."/main-schema.xml";$additionalSchemaFile ='second-schema.xml';$additionalSchema = simplexml_load_file($additionalSchemaFile);$additionalSchema->registerXPathNamespace("xs","http://www.w3.org/2001/…[ More ]
zendo studio iwth xamp
zendo studio iwth xamp.I got Zend Studio the other day,  I heard how it's really got the features that can make programming an easier process. Like it's debugging features are professional.I have setup my development environment on a Virtual machine running Windows XP,  because vista64 has .... and …[ More ]
How to combine multiple XSDs into minimum number of files
How to combine multiple XSDs into minimum number of files The W3C XML Schema specification (XSD) provides support for schema composition in the form of include, import and redefine elements. These features allow for content reuse, but can also lead to poor readability and complex graphs, sometimes w…[ More ]
Recording sound using the API and mciSendString with Visual Basic
Recording sound using the API and mciSendString with Visual Basic 6A method that really works (completely) Getting mciSendString to work properly can be a tremendous headache. While writing a program, I needed to use the API to access the win.mm.dll library (mciSendString) to record sound in …[ More ]
Displaying MySQL Column Names and Values via PHP
Displaying MySQL Column Names and Values via PHPSometimes in a PHP page it may be useful to not only retrieve data values from a MySQL database table, but also to retrieve column names from the table. Listed below is an example of how to do this for MySQL databases using PHP. This example uses MySQL…[ More ]
Decimal/Binary/Octal/Hex Conversions in Vb.net
Decimal/Binary/Octal/Hex Conversions I have noticed a lot of people recently asking how to convert from one form to another. So I decided to post this, in hopes to answer some questions before they are asked.To use this code, create a Project, add a Module, and remove all Forms. In the Module, add t…[ More ]
DataGridView Date column formatting
DataGridView Date column formattingloading data into datagridview from xml file. And I have a one problem: date formatting.Datagridview shows a date like this: 2011-01-01T00:00:00+02:00How to force him to show the date in short date format (only 01.01.2011) without a timeI've tried this code:  ds = …[ More ]
How to compress, resize image in .net (C#, VB, Asp.net)
How to compress, resize image in .net (C#, VB, Asp.net)You may want to compress image and save to a new file or compress them while loading any big images in your asp.net application.Here you go:Asp.net with C#//Suppose we get image from query stringstring strImgUrl = Request.QueryString["imgUrl"];/…[ More ]
Convert XML to an array in PHP
Convert XML to an array in PHPCode/** * Take XML content and convert * if to a PHP array. * @param string $xml Raw XML data. * @param string $main_heading If there is a primary heading within the XML that you only want the array for. * @return array XML data in array format. */function xml_to_array(…[ More ]
Control Arrays in VB.NET
Control Arrays Control Arrays are arrays of controls sharing a common event handler. That is, you need to write code for only one event, which can handle other controls' events. For example if you consider an application like calculator, where on the click event of the buttons from 0 to 9, …[ More ]
Data mining apriori algorithm php implementation
Data mining apriori algorithm php implementationIn data mining, association rule mining is more important to deal with. Apriori algorithm is an algorithm in mining association rules most basic. I rewrite this period exam with apriori algorithm c php, php lovers doing the mining analysis prog…[ More ]