Search found 549 matches

by bcohio2001
Oct 10, 2008 17:04
Forum: General
Topic: Overload question
Replies: 2
Views: 928

Overload question

The array is filled with different string data. dim as string T(45),TFind = "the dog,the cat, the moon,queens,nothing" declare sub FindIt overload (TComma as string,FindStr as string) declare sub FindIt overload (T() as string,FindStr as string) FindIt TFind...
by bcohio2001
Sep 19, 2008 16:48
Forum: Tips and Tricks
Topic: Color Picker (Windows only)
Replies: 4
Views: 1747

A few tweeks......

Added the variable m for mode. When it sends the data to the clipboard if one of the r,g,b is less than 16, it only sends one character. Most people like 2, or at least I do. Right now only 2 modes, HTML and Freebasic. But anyone can add more if they like. The only changes are in the do loop. Dim As...
by bcohio2001
Sep 06, 2008 20:21
Forum: Beginners
Topic: Wow. This is so cool
Replies: 16
Views: 4004

How far did you get?

Just curious hov far you got with your baseball sim. I am currently trying to do just that.

Maybe share ideas......
by bcohio2001
Dec 20, 2007 2:10
Forum: General
Topic: FTP Questions
Replies: 1
Views: 846

FTP Questions

I wish to write a FTP program to assist me to sync two sites that I created. While browsing through wininet.bi, I found a few functions that might help me develop my own FTP program to do it. This is what I wish to happen. After logging in, collect all filenames and modification times on the server....
by bcohio2001
Dec 18, 2007 2:01
Forum: Tips and Tricks
Topic: Insertion of string into an array in alphabetical order
Replies: 7
Views: 3087

@DJ & notthecheatr Yes, I knew about the [] pointer, but was unsure if it would do exactly what I wanted to do. @yetifoot & rdc Thanks for the tip on qsort. I didn't even know it existed. I think I will try to impliment it in other prgs. Maybe there should be a searchable DB of useable funct...
by bcohio2001
Dec 16, 2007 15:19
Forum: Tips and Tricks
Topic: Insertion of string into an array in alphabetical order
Replies: 7
Views: 3087

Insertion of string into an array in alphabetical order

This was originally created to alphabetize a directory listing for display. I looked around and couldn't find an easy way to do it so I wrote my own. I am sure it could be done with a call to windows, but I am a very "basic" guy. Sorry about the pun, but couldn't resist. Function StrComp(One As Stri...
by bcohio2001
Mar 11, 2007 11:35
Forum: General
Topic: Directory of CD possible?
Replies: 5
Views: 1338

Tried your little code, it worked fine, returned all files and folders on the CD. Then tried to use '16' to replace the 63. It returned nothing. Adapted your code to return the attributes. Regular files returned a 1 Folders........returned a 17 I thought that Dir( would return it if the bit was set....
by bcohio2001
Mar 10, 2007 22:52
Forum: General
Topic: Directory of CD possible?
Replies: 5
Views: 1338

Consider that it might be trying to create "CDTrack.txt" *on* the CD itself and that is why it's failing? Commented out all lines with writing to file. No change. It does not even access the CD at all. Inserted a print FName after the first dir( command in the first while statement. It printed noth...
by bcohio2001
Mar 10, 2007 15:54
Forum: General
Topic: Directory of CD possible?
Replies: 5
Views: 1338

Directory of CD possible?

I am trying to read filenames off of a "burned" CDROM. The program works fine for hard drive, but will not work for CD. [also used commercial "game" CD for test] #include "vbcompat.bi" #include "windows.bi" #include "MyFunc.bi" OPTION EXPLICIT 'Const FILE_ATTRIBUTE_READ...

Go to advanced search