Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 85
Search took 0.01 seconds; generated 3 minute(s) ago.
Search: Posts Made By: chepfaust
Forum: Coder's Corner Lounge Jun 16th, 2006, 11:03 PM
Replies: 17
Views: 443
Posted By chepfaust
mine came in today.

mine came in today.
Forum: Coder's Corner Lounge Jun 9th, 2006, 11:19 AM
Replies: 8
Views: 240
Posted By chepfaust
i actually came up with a solution better than...

i actually came up with a solution better than even that ;)

rar.exe allows you to input a series of inputs via .lst files.

what i've done is just written everything i need to rename straight to a...
Forum: Coder's Corner Lounge Jun 7th, 2006, 9:54 PM
Replies: 23
Views: 458
Posted By chepfaust
i don't think so. i'm pretty sure it's called a...

i don't think so. i'm pretty sure it's called a douche bag because it used to come in applicator bags. it comes in bottles nowadays.

it's a very messy process and i don't see how a bag would...
Forum: Visual Basic Jun 7th, 2006, 9:49 PM
Replies: 8
Views: 308
Posted By chepfaust
argh! that's exactly what i was trying to figure...

argh! that's exactly what i was trying to figure out days ago but nobody answered.

thanks :)
Forum: Visual Basic Jun 7th, 2006, 5:56 PM
Replies: 8
Views: 308
Posted By chepfaust
solution?

well, here's what i ended up doing.

i ended up having to limit the total number of generated numbers to 899, but i came up with (what i think is) a rather efficient way of generating 899...
Forum: Coder's Corner Lounge Jun 5th, 2006, 2:04 PM
Replies: 8
Views: 240
Posted By chepfaust
hadn't thought of that. thanks :)

hadn't thought of that. thanks :)
Forum: C++ Jun 3rd, 2006, 11:16 PM
Replies: 42
Views: 1,186
Posted By chepfaust
line by line is a little excessive, but i'm with...

line by line is a little excessive, but i'm with you in spirit.

perhaps it's a total noob thing to do, but i always start my programs by using comments to write out, in plain english, every step of...
Forum: Visual Basic Jun 2nd, 2006, 8:16 PM
Replies: 8
Views: 308
Posted By chepfaust
That's the way they already are. The whole point...

That's the way they already are. The whole point of the program is to randomize them.
Forum: Visual Basic Jun 2nd, 2006, 1:39 PM
Replies: 8
Views: 308
Posted By chepfaust
because the generated numbers are going to be...

because the generated numbers are going to be appended to filenames, where the number is going to be the only unique part of the filename.

File1092343.txt
File3423498.txt
File2342342.txt
...

and so...
Forum: Visual Basic Jun 2nd, 2006, 1:09 PM
Replies: 8
Views: 308
Posted By chepfaust
[vb6] need advice concerning a largescale non-recurring random number generator

i'm trying to come up with a pseudo random-number generator that will not generate duplicate numbers.

this number generator will generate a series of numbers. it can be 10 random numbers, or it...
Forum: Coder's Corner Lounge Jun 1st, 2006, 9:47 PM
Replies: 17
Views: 443
Posted By chepfaust
i'm not one to pass up free stuff. so i gave it...

i'm not one to pass up free stuff. so i gave it a shot.

it appears that you don't even actually have to -watch- the webcasts; once you get to the page where it says "click here to view" apparently...
Forum: Coder's Corner Lounge Jun 1st, 2006, 4:10 PM
Replies: 8
Views: 240
Posted By chepfaust
well, i may not be... i'm writing a program to...

well, i may not be...

i'm writing a program to rename the contents of a RAR archive. the syntax to rename files within an archive is:

rar rn <arcname> <srcname1> <destname1> ... <srcnameN>...
Forum: Coder's Corner Lounge May 31st, 2006, 8:41 PM
Replies: 8
Views: 240
Posted By chepfaust
is there a maximum length for a dos command?

couldn't find anything on google...

i'm just trying to find out if there is a maximum number of characters that can be used in a single command in a winxp dos prompt.

thanks.
Forum: Visual Basic May 31st, 2006, 2:09 PM
Replies: 12
Views: 503
Posted By chepfaust
i just want to throw my two cents in-- if you...

i just want to throw my two cents in--

if you have the ability to learn a different language, then strongly consider doing so. at least shoot for VB.NET or C#.

i use VB6 and am desperately trying...
Forum: Coder's Corner Lounge May 15th, 2006, 5:52 PM
Replies: 51
Poll: Open Source
Views: 1,445
Posted By chepfaust
while it would be a Good Thing for companies to...

while it would be a Good Thing for companies to release their source code for educational/debugging purposes, they really don't have any obligation to do so.

something i've been pondering lately is...
Forum: Visual Basic May 15th, 2006, 5:27 PM
Replies: 3
Views: 159
Posted By chepfaust
because my code isn't quite as simple as i made...

because my code isn't quite as simple as i made it out to be; it's much much longer and has several other nested loops. it's a big mess.
Forum: Visual Basic May 15th, 2006, 4:34 PM
Replies: 3
Views: 159
Posted By chepfaust
[VB6] Resetting "Line Input"

i am parsing a text file using a do loop with a line input statement.

once that loop is done, i need to make another one to parse for something different.

the problem i am having is that when i...
Forum: Visual Basic May 15th, 2006, 4:22 PM
Replies: 4
Views: 232
Posted By chepfaust
what kind of programs are they? if they are of...

what kind of programs are they? if they are of any substance, and you're willing to relinquish ownership of your programs to whoever wants it, then try sourceforge.net

otherwise just make yourself...
Forum: Visual Basic May 8th, 2006, 5:37 PM
Replies: 1
Views: 166
Posted By chepfaust
[VB6] shell() timing issues

i have a small problem concerning timing the execution of a shell() command and the manipulation of its output.

here is a nutshell version of my code:

(1) user inputs parameters
(2) batch file is...
Forum: Visual Basic May 8th, 2006, 5:19 PM
Replies: 4
Views: 193
Posted By chepfaust
interesting. thanks.

interesting. thanks.
Forum: Visual Basic May 5th, 2006, 7:59 PM
Replies: 4
Views: 193
Posted By chepfaust
ok, thanks for the advice. are there any...

ok, thanks for the advice.

are there any drawbacks in actually going and making individual modules for every function i wish to possibly use elsewhere?
Forum: Visual Basic May 5th, 2006, 2:37 PM
Replies: 4
Views: 193
Posted By chepfaust
how to create functions across projects?

hey all, long time no see.

i had to pick up VB programming again after i noticed a flaw in my previous masterpiece, went back to edit it and found that i had deleted the source files and everything....
Forum: Coder's Corner Lounge May 18th, 2005, 7:16 PM
Replies: 4
Views: 301
Posted By chepfaust
yeah i'm trying to switch to linux but haven't...

yeah i'm trying to switch to linux but haven't used it enough to feel comfortable with it as my primary OS, but don't have enough disk space to run two OSes. so i was looking for a quick fix for...
Forum: Coder's Corner Lounge May 18th, 2005, 7:14 PM
Replies: 10
Views: 446
Posted By chepfaust
i had told the god joke to a co-worker, and he...

i had told the god joke to a co-worker, and he said it was a robin williams joke. who knows.
Forum: Coder's Corner Lounge May 11th, 2005, 5:34 PM
Replies: 7
Views: 287
Posted By chepfaust
as someone trying to get into linux, i find...

as someone trying to get into linux, i find myself perpetually frustrated with everything dameon highlighted in his (well-written) articles.
Forum: Coder's Corner Lounge May 11th, 2005, 4:43 PM
Replies: 36
Views: 667
Posted By chepfaust
NIN sucks. the fragile was a strong indicator of...

NIN sucks. the fragile was a strong indicator of things to come.
Forum: Coder's Corner Lounge May 11th, 2005, 4:30 PM
Replies: 4
Views: 301
Posted By chepfaust
networking question

i use my laptop on two different networks. one is dhcp enabled, one is not.

every time i change to network A, i have to go into network connections and manually set my ip address, subnet, etc and...
Forum: Visual Basic Apr 26th, 2005, 9:49 AM
Replies: 9
Views: 319
Posted By chepfaust
very interesting; you never seem to run out of...

very interesting; you never seem to run out of completely new concepts i've never seen before. thanks very much; i'll try implementing that when i get a chance later on :)
Forum: Visual Basic Apr 24th, 2005, 3:46 PM
Replies: 9
Views: 319
Posted By chepfaust
hmm well it seems my method isn't quite as...

hmm well it seems my method isn't quite as infallable as i thought, i still get crashes once in a blue moon.

what's weird about it is this though- as far as i've tested, the program NEVER crashes if...
Forum: Coder's Corner Lounge Apr 12th, 2005, 9:42 PM
Replies: 13
Views: 1,079
Posted By chepfaust
just let it be known that if you want to compile...

just let it be known that if you want to compile and install any software, you will need to download the gcc compiler. ubuntu doesn't come with it already installed, which is retarded. i spent a...
Forum: Visual Basic Apr 12th, 2005, 1:30 AM
Replies: 9
Views: 319
Posted By chepfaust
hah! i've figured out the problem. it only...

hah!

i've figured out the problem.

it only crashes when i load a corrupt image and imagebox.stretch = true. if imagebox.stretch = false, then my error handler is able to pick it up. stretching...
Forum: Visual Basic Apr 7th, 2005, 10:51 AM
Replies: 11
Views: 570
Posted By chepfaust
better than line input; what rory did was use the...

better than line input; what rory did was use the split() function to chop up the entire text file and put each individual line into an array called "mylines."

MyLines =...
Forum: Visual Basic Apr 7th, 2005, 12:55 AM
Replies: 2
Views: 270
Posted By chepfaust
thanks for the pointers, i did get the function...

thanks for the pointers, i did get the function working but then i revised my entire process to not even deal with parent/sub arrays. it still works, and i'm still grateful to you :)
Forum: Visual Basic Apr 6th, 2005, 10:35 PM
Replies: 20
Views: 787
Posted By chepfaust
ugh, math is NOT one of my strong points :P you...

ugh, math is NOT one of my strong points :P

you do know the 83/83+ has a built-in equation solver that is much more powerful than anything one can write in basic? if you can rearrange the variables...
Forum: Visual Basic Apr 6th, 2005, 10:28 PM
Replies: 20
Views: 787
Posted By chepfaust
this program isn't going to work because x is a...

this program isn't going to work because x is a numerical value that is 0 by default. so if the user types in "x" for the variable they don't know, the calculator will interpret it as 0, and you'll...
Forum: Visual Basic Apr 6th, 2005, 4:38 PM
Replies: 20
Views: 787
Posted By chepfaust
i'm pretty sure the only way you'll be able to do...

i'm pretty sure the only way you'll be able to do that is if you say "if <variable> = 0..." but that of course would cause problems if a known variable happens to equal 0.

so, as far as i know (and...
Forum: Visual Basic Apr 6th, 2005, 4:15 PM
Replies: 20
Views: 787
Posted By chepfaust
you can "delvar <variable>" or just set it to 0;...

you can "delvar <variable>" or just set it to 0; you don't have many options with basic. when a variable is delvar'ed it's still equal to 0; it just doesn't occupy any memory space.
Forum: Visual Basic Apr 6th, 2005, 3:50 PM
Replies: 2
Views: 270
Posted By chepfaust
split() function error - type mismatch

For x = 0 To 4
Let SubArray = Split(GenericTextBox(x).Text, vbCrLf)
Let MainArray(x) = SubArray()
Next x


i have five text boxes in a control array (generictextbox) and each textbox contains...
Forum: Visual Basic Apr 6th, 2005, 3:40 PM
Replies: 11
Views: 570
Posted By chepfaust
LOF(#x) will tell you the length of the textfile,...

LOF(#x) will tell you the length of the textfile, where the x is the number you open the file as.

dunno about reading a random line though.
Forum: Visual Basic Apr 2nd, 2005, 7:14 PM
Replies: 1
Views: 201
Posted By chepfaust
line input, textboxes and formatting...

i'm trying to copy the contents of a text file into a text box. it works so far, but the result tends to look like



when it's supposed to look like



no matter what i do, even if i parse the text...
Showing results 1 to 40 of 85

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:21 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC