Saturday, August 16, 2008

Hot!AjaxPost title here...because open source matters, very powerful site for ajax

hi, how are you.
i was very busy these days i coudn't be in touch for last weeks, sorry, but i am bringing
to you a very amazing site. as you can see in the image above..
HOT AJAX is a very cool site, for ajax and mootools scripts and also jQuery scripts where developers uses to give a powerful web applications and scripts and enchance there websites.

and these are some examples of website contents:


Monday, June 2, 2008

Windows 7 Multi-Touch demo at D6 Conference

from: Windows 7 news.com

Video: Multi-Touch in Windows 7

Microsoft’s Julie Larson-Green had the honor to do the demonstration saying that Microsoft is using part of the multi-touch technology from Microsoft Surface to enhance Windows 7. The operating system the demonstration is running on is a Dell Latitude XL with Windows 7.

This demonstration is basically showing how Microsoft Surface could enhance Windows 7 on computers. It’s still a bit early to judge if this feature will have a big impact and how it will be implemented into Windows 7. I think that monitors with touch support will still be a minority in 2010 when Windows 7 comes out. Great for notebooks or other mobile devices though.

Here are some quotes from the interview with Bill Gates and Steve Ballmer: (click for full transcript)

  • Windows 7 is apparently months away, due late in 2009.
  • Walt asks Ballmer if he’s worried about the next iteration of Mac OS X, which will likely be released before Windows 7. Is there a risk that the work you’re doing now with multi-touch will look dated when Apple (AAPL) releases its next OS?
    Ballmer says he’s confident Microsoft will have fantastic Windows 7 PCs, regardless of what Apple’s got on the market. “There’s a lot in Windows 7, and our goal is to produce fantastic PCs with our hardware partners.”
  • The conversation turns to Windows 7, which Microsoft hasn’t said too much about. Clearly, the company has learned from the media beating it took over the defeatured and perennially delayed Windows Vista. Indeed, in a post to the Windows Vista blog today, Microsoft’s Chris Flore noted that Microsoft is being very careful about releasing details about Windows 7. “What is a little different today is when and how we are talking about the next version of Windows,” Flore wrote. “So, why the change in approach? We know that when we talk about our plans for the next release of Windows, people take action. As a result, we can significantly impact our partners and our customers if we broadly share information that later changes. With Windows 7, we’re trying to more carefully plan how we share information with our customers and partners. This means sharing the right level of information at the right time depending on the needs of the audience.

Tuesday, May 20, 2008

Best downloads ever Blog: a new downloads blog!!




Developers, Gamers and every one searching the net to download what he need from softwares, freeware, games, videos, and much much more..
here's a new blog i've started for you .. come on and enjoy the taste of downloads..


Wednesday, March 26, 2008

How to backup Access file using VBA code and zip it

Hi, it's been a lot of time since last post.
i have found this nice access file that is very useful if you have an access database file that is separated from the original main file, it's mean like this scenario:

banner370x120[1]


you have the main program that is an access file (*.mdb or *.mde) (like main.mde) that contains all the forms and the reports and the modules.. and you have a separate file mdb or mde also (like data.mdb) that contains the tables and the data..
in this way you can't make a backup of the data file using backup database tool located in the access software... you need to backup the data.mdb file...

so how you do this!!!

using the modules located in this file "backup demo" you can easily do this..
just click the button and the program will check if you have installed Winzip... if you did it will backup the file to a temporary folder and zip it than save it in the location you want..
else
it will just copy the file to the location you give it.
end surely it will set the name of the file backup_DATE_TIME.. where date is the current date and the time is the current time..

if you need to change anything you can go deeply in the code..

here is the file links:
http://www.ziddu.com/download/3537240/BackUpDemo.zip.html


here you can view the code of the ZipandBackUpDb


Function ZipandBackUpDb()
On Error GoTo Err_BackUpDb

'this line is very important to handle files
'it's very necessary to add the "Microsoft scripting runtime" reference from the tools->references in the VBA window

Dim fso As FileSystemObject

Dim sSourcePath As String
Dim sSourceFile As String
Dim sBackupPath As String
Dim sBackupFile As String
Dim strFileName As String
Dim sBackupFolder As String
Dim sFinalPath As String

'this will show you the dialog box to select the file you want to backup
strFileName = FindBackUpFile
If Not strFileName = "None Selected" Then
sSourcePath = strFileName
Else
MsgBox " BackUp Action cancelled. Database not backed up. ", vbCritical, " BackUp Failure"
Exit Function
End If

'this will create a temporary directory on "C:\" and will call it Temp if there is no a temp directory
If Not Dir("C:\Temp", vbDirectory) <> "" Then MkDir "C:\Temp"
sBackupPath = "C:\Temp\"
sBackupFile = "BackUp.mdb"

'this will show you the dialog box to select where you want to save the zipped file
sBackupFolder = FindBackUpFolder
If Not sBackupFolder = "None Selected" Then
sFinalPath = sBackupFolder & "\"
Else
MsgBox " BackUp Action cancelled. Database not backed up. ", vbCritical, " BackUp Failure"
Exit Function
End If

'this will make the cursor hour glass shape
Screen.MousePointer = 11

Set fso = New FileSystemObject
fso.CopyFile sSourcePath, sBackupPath & sBackupFile, True
Set fso = Nothing

Dim sWinZip As String
Dim sZipFile As String
Dim sZipFileName As String
Dim sFileToZip As String


sWinZip = "C:\Program Files\WinZip\WinZip32.exe" 'Location of the WinZip program

'here you can change the name of the file.

sZipFileName = Left(sBackupFile, InStr(1, sBackupFile, ".", vbTextCompare) - 1) & Format(Date, "dd-mm-yyyy") & "-" & Format(Time, "hh-mmAMPM") & ".zip"
sZipFile = sBackupPath & sZipFileName
sFileToZip = sBackupPath & sBackupFile

Call Shell(sWinZip & " -a " & sZipFile & " " & sFileToZip, vbHide)

Pause (3)

Set fso = New FileSystemObject
fso.CopyFile sBackupPath & sZipFileName, sFinalPath & sZipFileName, True
Set fso = Nothing


Screen.MousePointer = 0

MsgBox "Backup was successful. " & "The backup file is named: " & Chr(13) & " " & sFinalPath & sZipFileName, vbInformation, "Backup Completed"

If Dir(sBackupPath & sBackupFile) <> "" Then Kill (sBackupPath & sBackupFile)
If Dir(sBackupPath & sZipFileName) <> "" Then Kill (sBackupPath & sZipFileName)

Exit_BackUpDb:
Exit Function

Err_BackUpDb:
If Err = 5 Then 'Invalid procedure call or argument
MsgBox "Disk is full! Can not move the zip file to the Drive. Please move the " & sZipFile & " file to a safe location.", vbCritical, " BackUp Failure"
If Dir(sBackupPath & sBackupFile) <> "" Then Kill (sBackupPath & sBackupFile)
If Dir(sBackupPath & sZipFileName) <> "" Then Kill (sBackupPath & sZipFileName)
Exit Function
ElseIf Err = 53 Then 'File not found
MsgBox "Source file can not be found!" & vbNewLine & sZipFileName, vbCritical, " BackUp Failure"
Exit Function
ElseIf Err = 71 Then 'Disk not ready
If Dir(sZipFile) <> "" Then Kill sZipFile
If Dir(sFileToZip) <> "" Then Kill sFileToZip
MsgBox "Please insert a diskette in Drive and try again!", vbCritical, " BackUp Failure"
Exit Function
ElseIf Err = -2147024784 Then 'Method 'CopyFile' of object 'IFileSystem3' failed
MsgBox "File is to large to be zipped to the Drive!" & vbNewLine & sZipFile, vbCritical, " BackUp Failure"
Exit Function
Else
MsgBox Err.Number & " - " & Err.Description, , " BackUp Failure"
Resume Exit_BackUpDb
End If

End Function

Friday, February 15, 2008

microwave funny & dangerous movies! - Episode 1

i have founded these cool video series about "microwave" :) so watch "OUT" !


CD IN MICROWAVE:



Ping Pong Ball in Microwave:



Brainiac - Microwaves; Big Egg

Thursday, January 24, 2008

10 New Ways To Make Money Online

So you want to ditch your corporate cubicle and join the ranks of web workers? But you have a mortgage, maybe a dependent or two, and a taste for Venti Mochas from Starbucks? You can make money in the new economy, though it might not be as easy or cushy as keeping your old economy job.

I’m not talking about advertising or affiliate marketing or selling your junk on eBay. Those are so last millennium! I’m talking about the new new economy.

1. Offer your professional expertise in an online marketplace.These days, you can do more than just sell your old books via Amazon and your old Coach handbags via eBay, now you can sell your professional capabilities in a marketplace. No longer are you limited to looking for a permanent or contract job on Web 1.0 style job sites like Monster or CareerBuilder. The new breed of freelancing and project-oriented sites let companies needing help describe their projects. Then freelancers and small businesses offer bids or ideas or proposals from which those buyers can choose.

Elance covers everything from programming and writing to consulting and design, while RentACoder focuses on software, natch. If you’re a graphic designer, check out options like Design Outpost or LogoWorks–you don’t have to find the customers, they’ll come to you. Wannabe industry analysts might sign up for TechDirt’s Insight Community, a marketplace for ideas about technology marketing.

2. Sell photos on stock photography sites. If people regularly oooo and aaaaah over your Flickr pics, maybe you’re destined for photographic greatness or maybe just for a few extra dollars. It’s easier than ever to get your photos out in front of the public, which of course means a tremendous amount of competition, but also means it might be an convenient way for you to build up a secondary income stream. Where can you upload and market your photos? Try Fotolia, Dreamstime, Shutterstock, and Big Stock Photo.

3. Blog for pay. Despite the explosion of blogs, it’s hard to find good writers who can turn around a solidly-written post on an interesting topic quickly. GigaOM is always looking for bloggers with great content ideas and solid writing skills. How do you get noticed? Comment and link to blogging network sites. Write blog posts that are polished and not overly personal (although showing some personality is a plus).

4. Or start your own blog network. If you like the business side of things–selling advertising, hiring and managing employees, attracting investors–and have the stomach to go up against the likes of Weblogs, Inc., GigaOmniMedia, b5media, maybe you should make an entire business out of blogs. Don’t make the mistake of thinking you’ll get a lot of time to write yourself though.

5. Provide service and support for open source software. Just because the software is free doesn’t mean you can’t make money on it–just ask Red Hat, a well-known distributor of Linux that sports a market cap of more than four billion dollars. As a solo web worker, you might not want to jump in and compete with big companies offering Linux support, but how about offering support for web content management systems like WordPress or Drupal? After getting comfortable with your own installation, you can pretty easily jump into helping other people set them up and configure them.

6. Online life coaching. Who has time to go meet a personal coach at an office? And don’t the new generation of web workers need to be met by their coaches in the same way that they work: via email, IM, and VoIP? You could, of course, go through some life coaching certification program, but on the web, reputation is more important than credentials. I bet Tony Robbins isn’t certified as a life coach–and no one can argue with his success. For an example of someone building up their profile and business online as a coach, check out Pamela Slim of Ganas Consulting and the Escape from Cubicle Nation blog.

7. Virtually assist other web workers. Freelancers and small businesses desperately need help running their businesses, but they’re not about to hire a secretary to come sit in the family room and answer phone calls. As a virtual assistant, you might do anything from making travel reservations to handling expense reimbursements to paying bills to arranging for a dog sitter. And you do it all from your own home office, interacting with your clients online and by phone. You can make $20 and up an hour doing this sort of work, depending on your expertise.

8. Build services atop Amazon Web Services. Elastic computing on AWS is so cool… and so incredibly primitive right now. Did you know that you can’t even count on your virtual hard drive on EC2 to store your data permanently? That’s why people are making money right now by offering services on top of AWS. Make it easier for people to use Amazon’s scalability web infrastructure like Enomaly has with elasticlive, a scalable web hosting platform built on AWS.

9. Write reviews for pay or perks. If you blog for any length of time on a particular topic–parenting, mobile phones, or PCs, for example–you will likely be approached to do book or product reviews. You can get free stuff this way, but are you selling your soul? Is there any such thing as a free laptop? These are decisions you’ll have to make for yourself, because no one agrees upon what ethical rules apply to bloggers. Even less do people agree on services like PayPerPost that pay you to write reviews on your blog. Check out disclosure rules closely and see whether such a gig would meet your own personal standards or not.

10. Become a virtual gold farmer. A half million Chinese now earn income by acquiring and selling World of Warcraft gold to gamers in other countries. If you’re not a young person living in China, this probably isn’t a viable option for you. But what’s intriguing about it is the opportunity to make real money working in a virtual economy. People are making real-world money in Second Life too.