Sunday, 17 August 2014
Thursday, 12 December 2013
Wednesday, 11 December 2013
Java: GUI application open new form with button (part 2)
Java: GUI application open new form with button (part 1)
Wednesday, 23 May 2012
How to post on WordPress from Visual Basic .NET without any third party software
How to post to WordPress without third party software
Posting without xml-rpc, email etc
Friday, 18 May 2012
Saturday, 24 March 2012
Wednesday, 21 March 2012
Voice can help make things easier
It's very simple for me to talk to my smart phone and ask it to do things for me. For example this moment I'm not typing what you see on your screen I'm talking to this software that converts my voice to text. This software I'm using Vlingo allows me to create articles very very fast.
As i talk the program converts my voice into text. A few changes on the computer and is ready to go!
Recently I came across siri, Apple's assistant for the iPhone 4s. I was amazed how this software can do so many things for people.
As i talk the program converts my voice into text. A few changes on the computer and is ready to go!
Recently I came across siri, Apple's assistant for the iPhone 4s. I was amazed how this software can do so many things for people.
SARA best free alternative to siri????
Recently i came across sara. Sara is a Siri like app for iDevices. Sara was created by a Vietnamese developer Nobita. Sara at the moment is at version 0.2.2 build 1. Many idevice users including iphone users are frustrated because sara crashes. Nobita recently released the newest version of his software but as he told me he is alone on this project and he cannot test the software on every device.
I updated sara from Nobitas repo on cydia but even if i say hi the software crashes.
Monday, 26 December 2011
Connecting Arduino to Flight Simulator X
Introduction
Welcome to my tutorial on how to connect Arduino to Microsoft Flight simulator.This is the easiest method I found.
FSX SDK exists but lacks of documentation, is not useful as it requires huge amount of code. I wanted something easy and after some research I was able to connect to FSX using the FSUIPC API. Please note that to get some of the functionality you have to register FSUIPC. And I thought sharing this with the world, maybe someone will benefit. In this ``tutorial`` I will explain the process and not just give you the code. I believe in understanding not just knowing.
System design
Amazing system design :)Sorting files with php
This function will sort files in the directory passed as arguments by the last modified or created time
function sortFilesByDate($dirname)
{
clearstatcache();
$files = array();
if ($handle = opendir($dirname))
{
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != "..")
{
$files[filemtime($dirname."/".$file)] = $file;
}
}
closedir($handle);
}
// sort
ksort($files);
end($files);
$tot = count($files);
$i = 0;
$EXITSTR = "";
while ($tot != $i)
{
$EXITSTR = $EXITSTR . current($files);
prev($files);
$i ++;
$EXITSTR = $EXITSTR . "<br/>";
}
return $EXITSTR;
}
MSN Style for user attention
What if your application is minimized and you want user attention
You can always do it with a message box.
But there is the msn style
That the icon in the taskbar "blinks"
How to do it??
Declaration
Imports System.Runtime.InteropServices
_
Public Function FlashWindow(ByVal hwnd As Integer, ByVal bInvert As Integer) As Integer
End Function
When you want to call this function you just FlashWindow(Me.Handle, 1)
But when you call this function the windows and the taskbar will "blink" one time
To achieve "msn style" put the call method into a timer (VB) for 490 ms and enable the tick tock :)
And when the user interacts with your form (got Focus???Click??? Your call but i suggest got Focus)
Hope this is useful
Samsung NC10 recovery
lets say that you bought your nc10 and you install linux and you remove them later and you want to recover the data from Samsung recovery but you cant because F4 does not work anymore but you have access to the computer at least the command prompt.
What you can do?
Take your laptop to Samsung service and PAY!!!
OR
boot normaly to windows and open command prompt by Start -> start -> run Type CMD
when the command prompt open type diskpart let it start and type rescan and let the program finish rescanning the disks etc.
When the program finish scanning your disks type list disk you will see a list with your disks i suggest that if you have anything plugged to your computer remove it before and follow the procedure again and carefully
ok my pc is giving me one disk DISK 0
now type select disk 0 After type list partition it will give you 2 or 3 partition select the one that is type OEM by typing select partition 1(number depends)
now type active.
This is it now restart and the computer will boot to the recovery console!
Warning: if you do not want to make the oem disk bootable dont select you have to do the compleate recover so the recovery console will make your disk bootable again.
I try it and took me some while to repair the disk so Be carefull
I do not have any responsibility if you cannot fix your disk after!
By doing this steps you agreed that what you do and what happen is up to you.
What you can do?
Take your laptop to Samsung service and PAY!!!
OR
boot normaly to windows and open command prompt by Start -> start -> run Type CMD
when the command prompt open type diskpart let it start and type rescan and let the program finish rescanning the disks etc.
When the program finish scanning your disks type list disk you will see a list with your disks i suggest that if you have anything plugged to your computer remove it before and follow the procedure again and carefully
ok my pc is giving me one disk DISK 0
now type select disk 0 After type list partition it will give you 2 or 3 partition select the one that is type OEM by typing select partition 1(number depends)
now type active.
This is it now restart and the computer will boot to the recovery console!
Warning: if you do not want to make the oem disk bootable dont select you have to do the compleate recover so the recovery console will make your disk bootable again.
I try it and took me some while to repair the disk so Be carefull
I do not have any responsibility if you cannot fix your disk after!
By doing this steps you agreed that what you do and what happen is up to you.
Visual Basic .net enter key on textbox
If you ever wanted to capture the key Enter on a text box, here is the code
Private Sub txtsearch_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtsearch.KeyPressThe best method i found is to create a sub process and call it from both of your codes. Both codes i mean the button that you press the Enter key and the button that you have to handle the user input
If Asc(e.KeyChar) = 13 Then
'Your code goes here...
End If
End Sub
Tuesday, 16 March 2010
Costa coffee - gift card
The new offer is about giving you points with each transaction for example 40 points worth 40 pence. From my personal experience its worth because it rewards people like me that visit Costa very often.
Starbucks they did the same but they give you discounts etc, i dont like discounts, rewards yes!
Tuesday, 17 November 2009
Cyprus Internet Radio
Recently i found that if you want to hear your internet radio on the web consumes too much resources.
What i did?
I create my own application that has internet radio stations, the program was build in VB.Net (i know why not C++? A: Faster)
Everyday i google for more internet stations and soon i will have them all integrated in my program.
For the momment i have only Cyprus and Greek channels
the program includes windows media player and msn plug in
windows media player for playing the music and msn plug in to show in what i hear a message
here is the link
download
IT INCLUDE UPDATE FOR THE ERROR THAT CAME UP
What i did?
I create my own application that has internet radio stations, the program was build in VB.Net (i know why not C++? A: Faster)
Everyday i google for more internet stations and soon i will have them all integrated in my program.
For the momment i have only Cyprus and Greek channels
the program includes windows media player and msn plug in
windows media player for playing the music and msn plug in to show in what i hear a message
here is the link
download
IT INCLUDE UPDATE FOR THE ERROR THAT CAME UP
Subscribe to:
Posts (Atom)
Reset numbering for Screenshots Win+PrtSc
I was using today the screen shot functionality of Windows 8.1 Win Key + PrtSc How to reset the numbering?
-
Introduction Welcome to my tutorial on how to connect Arduino to Microsoft Flight simulator. This is the easiest method I foun...
-
If you ever wanted to capture the key Enter on a text box, here is the code Private Sub txtsearch_KeyPress(ByVal sender As Object, ByVal...
-
This is a new "Condom-like" case for i devices and the Galaxy Case Marine από iPhoneHellas
