|
-
Jun 9th, 2004, 04:38 PM
#1
Thread Starter
Fanatic Member
Hard to find bug
Well, I've been working on a client-server type program for my own use. (It can send files, and has the functionality for person A to request a file from person B, assuming they've allowed it, and person A knows the path)
Anyways, I was testing it, and people can send files to me (I can send them to myself as well) but whenever I send them files their program crashes (note that I am using the exact same program, but they don't have vb on their computers).
What are the possible causes for this?? They seem to get errors peppered throughout he program that I CAN'T reproduce!
Don't pay attention to this signature, it's contradictory.
-
Jun 9th, 2004, 04:57 PM
#2
So Unbanned
Number the lines and use Erl to return the errored line.
-
Jun 9th, 2004, 05:12 PM
#3
Thread Starter
Fanatic Member
I know which line it errors on, the one where it tries to write the file data to a file (after being totally received) because the filename is "" or something along those lines. But there's no reason for their app.path & "\received" & filename to be any different than mine!
Don't pay attention to this signature, it's contradictory.
-
Jun 9th, 2004, 05:42 PM
#4
Re: Hard to find bug
Originally posted by alkatran
Well, I've been working on a client-server type program for my own use. (It can send files, and has the functionality for person A to request a file from person B, assuming they've allowed it, and person A knows the path)
Anyways, I was testing it, and people can send files to me (I can send them to myself as well) but whenever I send them files their program crashes (note that I am using the exact same program, but they don't have vb on their computers).
What are the possible causes for this?? They seem to get errors peppered throughout he program that I CAN'T reproduce!
How did they get their copy of your program. Was it installed?
-
Jun 9th, 2004, 05:46 PM
#5
Thread Starter
Fanatic Member
No, it wasn't installed... I prefer to stick with just sending them the program (in exe format, they trust me enough for that) rather than forcing them to install and remove software.
I always assumed installation only added the program and required files to the computer (required file errors pop up when the program is started, and I send those over, too... I know, wonderful system )
Don't pay attention to this signature, it's contradictory.
-
Jun 9th, 2004, 05:52 PM
#6
You have to install in order to make sure a program runs. Installation installs VB runtimes, dlls, and a whole lot of other stuff.
-
Jun 10th, 2004, 03:39 AM
#7
Frenzied Member
Further to what MartinLiss said you can't just copy the files over that the program complains about when it runs.
1. There may be other files required by the ones that VB moans about.
2. Most files need to be REGISTERED on the machine, not just copied.
3. If you use late binding in your code your VB app won't know it needs a DLL until it gets to that line of code.. and then it'll crash.
If your users don't trust install programs then they can't be doing very much on their PCs!!
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|