Tuesday, May 27, 2008

searchDirs

I tried to make this as light as possible just add it to your app and call SearchDirs. It takes two arguments the path to search in and the file or directory to find. It puts alot of Data on the Call Stack however it's very very fast. 3 API's, 5 Constants, 3 User Types, no activex or OLE runtime objects. Thanks and feel free to email if you have any questions.

'**************************************
'Windows API/Global Declarations for :A
' Simple Directory Search Module
'**************************************

Private Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" _
(ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long


Private Declare Function FindClose Lib "kernel32" (ByVal hFindFile As Long) As Long



Private Declare Function FindNextFile Lib "kernel32" Alias "FindNextFileA" _
(ByVal hFindFile As Long, lpFindFileData As WIN32_FIND_DATA) As Long


Private Const MaxLFNPath = 260
Private Const INVALID_HANDLE_VALUE = -1
Private Const VBKEYDOT = 46
Private Const VBBACKSLASH = "\"
Private Const VBALLFILES = "*.*"




Private Type FILETIME
dwLowDateTime As Long
dwHighDateTime As Long
End Type


Private Type WIN32_FIND_DATA
dwFileAttributes As Long
ftCreationTime As FILETIME
ftLastAccessTime As FILETIME
ftLastWriteTime As FILETIME
nFileSizeHigh As Long
nFileSizeLow As Long
dwReserved0 As Long
dwReserved1 As Long
cFileName As String * MaxLFNPath
cShortFileName As String * 14
End Type
Private WFD As WIN32_FIND_DATA

code :


'**************************************
' Name: A Simple Directory Search Module
'
' Description:I tried to make this as li
' ght as possible just add it to your app
' and call SearchDirs. It takes two argume
' nts the path to search in and the file o
' r directory to find. It puts alot of Dat
' a on the Call Stack however it's very ve
' ry fast. 3 API's, 5 Constants, 3 User Ty
' pes, no activex or OLE runtime objects.
Thanks and feel free To email If you have any questions


Option Explicit

Public Function SearchDirs(Curpath$, strFName$)


Dim strProg$
Dim dirs%
Dim dirbuf$()
Dim hItem&
Dim i%
Dim rtn As Boolean

If Curpath$ = "" Then Exit Function
If strFName$ = "" Then Exit Function


If Right(strFName$, 1) = VBBACKSLASH Then
strFName = Left(strFName, InStr(1, strFName, VBBACKSLASH, vbTextCompare) - 1)
End If



If Right(Curpath$, 1) <> VBBACKSLASH Then
Curpath$ = Curpath$ & VBBACKSLASH
End If


hItem& = FindFirstFile(Curpath$ & VBALLFILES, WFD)


If hItem& <> INVALID_HANDLE_VALUE Then


Do



If (WFD.dwFileAttributes And vbDirectory) Then


If Asc(WFD.cFileName) <> VBKEYDOT Then
If (dirs% Mod 10) = 0 Then ReDim Preserve dirbuf$(dirs% + 10)
dirs% = dirs% + 1
dirbuf$(dirs%) = Left$(WFD.cFileName, InStr(WFD.cFileName, vbNullChar) - 1)
End If



End If



strProg$ = Left(WFD.cFileName, InStr(WFD.cFileName, vbNullChar) - 1)


If UCase(strProg$) = UCase(strFName$) Then
SearchDirs = True
Exit Function
Else

SearchDirs = False

End If



DoEvents

Loop While FindNextFile(hItem&, WFD)

Call FindClose(hItem&)

End If



For i% = 1 To dirs%
rtn = SearchDirs(Curpath$ & dirbuf$(i%) & VBBACKSLASH, strFName$)
SearchDirs = rtn
If rtn Then Exit Function
Next i%

End Function

...Read More

Friday, May 23, 2008

domain gratis

domain gratis co.ccsrc="http://www.ilmuwebsite.com/img/cc_logo.gif">
Halo
temen-temen semua.... Ini ada free href="http://www.ilmuwebsite.com/domain_registration/">subdomain
gratis lagi, namanya href="http://www.ilmuwebsite.com/detil_domain_registration/8/Free_Subdomain_co.cc/">free
domain co.cc. Namanya hampir mirip dengan subdomain yang
diberitahukan oleh teman kita href="mailto:areya@plasa.com">areya@plasa.com yaitu href="http://www.ilmuwebsite.com/detil_domain_registration/7/Free_subdomain_uni.cc/">free
subdomain uni.cc. Phii dah coba, n registrasinya lumayan
cepet. Dalam 24 jam sudah  diinformasikan ke email kita,
apakah domain yang kita request avaliable atau tidak.


INFORMASI :

co.cc domain service


  • you.co.cc will redirect to your own href="http://www.ilmuwebsite.com/">website.
  • Both
    you.co.cc and www.you.co.cc work.
  • URL hiding / Path
    forwarding
  • Compatible with the major search engines and
    optimized to give you a higher
    ranking.
Cost


  • For Free
Website Promotion


  • Free submission to the major search engines.
  • Compatible with the major href="http://www.ilmuwebsite.com/search_engine_article/">search
    engines and optimized togive you a higher
    ranking.
Real-time Statistik


  • Real-time reporting
  • Detailed information of your
    visitors including total and average,unique, hourly information, what
    web site they come from, exact time of visit, and IP
    address.
Teman - teman bisa mencobanya di href="http://www.co.cc/regist/regist_step1.php" target=_blank
rel=nofollow>http://www.co.cc/regist/regist_step1.php.

Sumber dari situs href="http://www.ilmuwebsite.com">Ilmu Website dalam
kategori href="http://www.ilmuwebsite.com/domain_registration/">domain
registration dengan judul href="http://www.ilmuwebsite.com/detil_domain_registration/8/Free_Subdomain_co.cc/">Free
Subdomain co.cc

...Read More

Sunday, May 11, 2008

code n design

Coders and Designers' is an assortment of extremely genius programmers and designers, rising at the heart of world’s most cost effective offshore outsourcing region. Coders and Designers are particularly adroit and focused on providing the most sophisticated solution for your business at affordable cost. You are planning a complicated web based application or thinking of a simple but exceptional logo design for the company. You must be thinking of an outsourcing company that meets your standard, quality and budget! Coders and Designers are here to draw a straight-line between the points you just have put on your notepad. You know the reason to outsource and you have gotten the reason to choose Coders and Designers! ‘Coders and Designers’ is the name of an extensive continuum of cost effective outsourcing services beyond the box.


W3C
Standards,Web Content Accessibility Guidelines (WCAG Priority 1, 2 and 3) , Section 508 of the US Rehabilitation Act compliant website design is on our highest priority.There are few common elements that are part of each: High web site visibility, eye-catching interface, easy navigational structure and influential web site content. These three factors are the keys to having a successful web site existence on the Internet. Most web sites fail because they lack at least one of these three key areas. We offer custom web site design and development services that meet the need of the individual or business we work with.

...Read More

oriented


Introduction
Object oriented programming roots reach all the way back to the 1960s. As hardware and software became increasingly complex, researchers studied how software quality could be maintained. Object-oriented programming was deployed in part as an attempt to address this problem by strongly emphasizing discrete units of programming logic and re-usability in software.
The Simula programming language was the first to introduce the concepts underlying object-oriented programming (objects, classes, subclasses, virtual methods, coroutines, garbage collection, and discrete event simulation) as a superset of Algol. Simula was used for physical modeling, such as models to study and improve the movement of ships and their content through cargo ports. Smalltalk was the first programming language to be called "object-oriented".
Object-oriented programming may be seen as a collection of cooperating objects, as opposed to a traditional view in which a program may be seen as a group of tasks to the computer ("subroutines"). In OOP, each object is capable of receiving messages, processing data, and sending messages to other objects.
Each object can be viewed as an independent little machine with a distinct role or responsibility. The actions or "operators" on the objects are closely associated with the object. For example, in OOP, the data structures tend to carry their own operators around with them (or at least "inherit" them from a similar object or "class"). The traditional approach tends to view and consider data and behavior separately.

...Read More

my friends

So I finally broke up with my boyfriend. He's been so boring lately. I had to end it. I felt like he was getting too comfortable, just laying around watching TV. He was lazy and there was no spark left.
So now I'm single and, to be quite honest, I'm a bit scared. I dated him for 3 years! My friends want me to go out more, but I'm really uncomfortable in bars and clubs as a single woman. And I hate it when they try to set me up. It's the worst! It makes me feel like a sympathy case and I'm certainly not that.
So what should I do? How do you rebound from a long-term relationship?

...Read More

main idea

I have found Perfspot to be better of them all because it combines social networking with blogging;
it is easy to chat online;
one can block unwanted users or unwanted group invites;
one can even report abuse and very prompt action takes place;
one can vote for profile photos on perfection;
one can put own photo for votes on perfection;
people of all ages, countries, can be found;
perfspot reminds you about any changes in your networks;
one can edit the friend level;
on chat board there are options for showing love;
one can see in which group what is going on - on group chat board;
one can put profile to maximum secrecy and protection;
one can see photos etc and participate in picture war;

and have lots of female friends..

...Read More

Exploring Sources Code © 2008 Template by Dicas Blogger.

TOPO