Saturday, September 27, 2008

Check Palindrom Number By VB6

Public Function pow(base As Integer, power As Integer) As Long
Dim s As Long
s = 1
For i = 1 To power
s = s * base
Next
pow = s
End Function


Private Sub Form_Load()

Dim k As Long 'To store the entered number
Dim s As String 'to put the number into ti and get the length

k = Val(InputBox("enter Number"))
s = CStr(k)
Dim size As Byte 'to store the length into it
size = Len(s)
Dim x, y, z, i As Integer
If size Mod 2 = 0 Then
x = k \ pow(10, size / 2)
y = k Mod pow(10, size / 2)
Else
x = k \ pow(10, (size \ 2) + 1)
y = k Mod pow(10, size / 2)
size = size - 1
End If

For i = 1 To size / 2
z = z + ((y Mod 10) * pow(10, (size / 2) - i))
y = y \ 10
Next
If z = x Then
MsgBox k & " is Palindrome Number"
Else
MsgBox k & " is NOT Palindrome Number"
End If
End

End Sub

Saturday, September 20, 2008

Fun Directory Computer Offers 19-9-2008


Fun Directory Computer Offers 19-9-2008 In Jordan

Acme Ware Computer Offers 19-9-2008


Acme Ware Computer Offers 19-9-2008

Dara Computer Offers 19-9-2008


Dara Computer Offers 19-9-2008 In Jordan
الدارة للكمبيوتر

EMAD Computer Offers 19-9-2008

EMAD Computer Offers 19-9-2008 In Jordan

ActionIT Computer Offers 19-9-2008

ActionIT Computer Offers 19-9-2008 In Jordan

Bassam Computer Offers 19-9-2008

Bassam Computer Offers 19-9-2008 In Jordan
البسام للكمبيوتر

CW Computer Offers 19-9-2008


CW For computer Trade Computer Offers 19-9-2008 In Jordan

GCE Computer Offers 19-9-2008

General Computers & Electronics Co. (GCE) Computer Offers 19-9-2008
الشركة العامة للحاسبات والالكترونيات

JITCO Computer Offers 19-9-2008


شركة المركز الاردني للتجارة الدولية
JITCO Computer Offers 19-9-2008 In Jordan

Manaseer Computer Offers 19-9-2008

Manaseer Computer Offers 19-9-2008 In Jordan
المناصير للكمبيوتر

Saher Computer Offers 19-9-2008

مؤسسة الساهر لبرمجة الكمبيوتر
Saher Computer Jordan Offers 19-9-2008

Smart Buy Computer Offers 19-9-2008

Smart Buy Jordna Computer Offers 19-9-2008

Stallion Computer Offers 19-9-2008

Stallion Computer Offers 19-9-2008 In Jordan
الخيول للكمبيوتر الاردن

Friday, September 19, 2008

Sultan Computer Offers 19-9-2008

Sultan Computer Offers 19-9-2008
سلطان الكمبيوتر

Tuesday, September 16, 2008

IT News HeadLines (Yahoo! News: Software News) 16-9-2008

Yahoo! News


  1. Microsoft seeks secure software development (InfoWorld)

  2. SOA deployments- What actually works (InfoWorld)

  3. Seagate, Western Digital Change Hard-Drive Lineups (NewsFactor)

  4. Take-Two sinks after EA says it won't buy company (AP)

  5. Take Two shares plunge after EA pulls bid (Reuters)

  6. Electronic Arts ends merger talks with Take Two (Reuters)

  7. Yahoo opens its doors to hackers (AFP)

  8. Google buys South Korean blogging software company (AP)

  9. Google buys Korean blogging software company (Reuters)

  10. Apple patches iPhone bugs, early response positive (AP)

  11. Tesla Motors Offers 'Powertrain Upgrade' (PC Magazine)

  12. Adobe aims to stave off Silverlight with video encoder (InfoWorld)

  13. T-Mobile Announces Nov. Launch for Apps Store (PC Magazine)

  14. Hands On- Apple iPhone 3G 2.1 Software Update (PC Magazine)

  15. US video game sales rise 9 percent in August (AP)

  16. TechCrunch50- Yammer Wins TechCrunch50 (PC Magazine)

  17. Microsoft joins OMG (InfoWorld)

  18. T-Mobile to offer Android smartphone soon- sources (Reuters)

  19. Jobs Unveils New iPods, iTunes Update with Genius (NewsFactor)

  20. Sharp, Opera, others sign up for Symbian Foundation (Reuters)

  21. Apple's iTunes 8 Includes 'Genius' Technology (PC Magazine)

  22. TechCrunch50- Help for Multicore App Development (PC Magazine)

  23. Grid software moving to Windows (InfoWorld)

  24. McAfee's 'Artemis Project' Finds Malware As You Do (PC Magazine)

  25. RealNetworks releasing DVD copying software (AP)

  26. RealDVD Allows Copying DVDs To Hard Drives (NewsFactor)

  27. RealDVD Lets You Backup DVDs, Legally (PC Magazine)

  28. Adobe sets Genesis mashup pilot (InfoWorld)

  29. Chrome Hints Google Aims To Become 'Big Brother' (NewsFactor)

  30. Microsoft kicks off $300 million Windows marketing push (Reuters)

  31. Sun to Craft Software Stack Into NAS Appliances (PC World)

  32. Take Two profits strong on "Grand Theft Auto" lift (Reuters)

  33. Google chief admits to 'defensive component' of browser launch (AFP)

  34. Judge rules Oracle failed to produce CEO's e-mail (Reuters)

  35. Microsoft touts functional programming with F# (InfoWorld)

  36. Quicken Errors Infuriate Intuit Customers (PC Magazine)

  37. Surgient Software Creates 'self-service Cloud' (PC World)

  38. Google sees new browser displacing desktop software (Reuters)

  39. Google browser takes advantage of Apple software (Reuters)

  40. VMware EVP of R&D goes back to Oracle (AP)

  41. Zend mixing PHP, AJAX for RIAs (InfoWorld)

  42. Nokia says Samsung accepts offer for Symbian buyout (Reuters)

  43. U.S. heating oil dealers clamp down on unpaid bills (Reuters)

  44. VMware names David Sung to China post (AP)

Friday, September 12, 2008

STS Computer Offers 12-9-2008


STS Computer Offers 12-9-2008 In Jordan

DARA Computer Offers 12-9-2008

DARA Computer Offers 12-9-2008 In Jordan
عروض الدارة للكمبيوتر

Acme Ware Computer Offers 12-9-2008

Acme Ware Computer Offers 12-9-2008 In Jordan

Albassam Computer Offers 12-9-2008


Albassam Computer Offers In Jordan 12-9-2008
البسام للكمبيوتر

CW Computer Offers 12-9-2008

CW Computer Offers In Jordan 12-9-2008

Fun Directory Computer Offers 12-9-2008

Fun Directory Computer Offers in Jordan 12-9-2008

Sultan Computer Offers 12-9-2008


Sultan Computer Offers In Jordan
عرض سلطان الكمبيوتر الاردن

Sunday, September 7, 2008

Convert Decimal Number To Binary (C++)

#include<iostream.h>

#include<Math.h>

void main()
{
int k,t,w,i;
cin>>k;
i=0;
w=0;
while (k >0)
{ t=k%2;
k/=2;
w=w+ (t) * pow(10,i);
i++;
}
cout<<<"\n";

Convert Binary Number To Decimal (C++)

#include<iostream.h>

#include<Math.h>


void main()
{
int k,i,w,t;
cin>>k;
i=0;
w=0;
while(k>0)
{ t=k%10;
w=w + (t* pow(2,i));
i++;
k=k/10;
}
cout<<
}

Convert Binary Number To Decimal (VB6)

Public Function pow(base As Integer, power As Integer) As Long
Dim s As Long
s = 1
For i = 1 To power
s = s * base
Next
pow = s
End Function

Private Sub Form_Load()
Dim k As String
Dim j As Integer
Dim t As Byte
k = InputBox("Enter Number")
Dim i As Integer
i = 1
j = 0
While i <= Len(k)
t = Mid(k, i, 1)

j = j + t * pow(2, Len(k) - i)

i = i + 1
Wend
MsgBox j
End Sub

Saturday, September 6, 2008

Convert Decimal Number To Binary (VB6)

'*** Convert Decimal Number To Binary (VB6)****
Private Sub Form_Load()
Dim k, t As Integer
k = Val(InputBox("Enter Number"))
t = k
Dim s As String
While (t > 0)
s = (t Mod 2) & s
t = t \ 2
Wend
MsgBox k & " in Binary is " & s
End
End Sub

'Copy And Paste Into VB6 Project

CW Computer Offers 6-9-2008


CW Computer Offers In Jordan

Acme Ware Computer Offers 6-9-2008


Acme Ware Computer Offers In Jordan

Emad Computer Offers 6-9-2008


Emad Computer Offers In Jordan

GCE Computer Offers 6-9-2008


GCE Computer Offers In Jordan
ألشركة العامة للحاسبات والالكترونيات

Stallion Computer Offers 6-9-2008


Stallion Computer Offers In Jordan
الخيول

DARA Computer Offers 6-9-2008


DARA Computer Offers In Jordan

STS Computer Offers 6-9-2008


STS Computer Offers In Jordan

Fun Directory Computer Offers 6-9-2008


Fun Directory Computer Offers In Jordan
فن دايريكتوري