Solved

Minimum requirements for running a vb.net application - including email and excel

Posted on 2004-08-23
13
630 Views
Last Modified: 2008-03-17
I have an application that was created in vb.net and will be put on multiple client computers.  The application uses both SMTP for e-mail and Microsoft Excel.  I can get the program to run on all computers, but the email and Excel parts of the program do not work on all PC's.  Can someone tell me what needs to be installed on the client computers to allow the email and excel aspects to work?

Thank you.
0
Comment
Question by:toddpotter
  • 7
  • 6
13 Comments
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11869902
You will need IIS installed to operate your own SMTP,

And you will need the Excel object installed to operate you Excel features.


Andre,
MCSD
0
 

Author Comment

by:toddpotter
ID: 11870511
Thanks for the IIS-I'll try that.

Can you ellaborate on the Excel Object?
0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11870567
Well basically what it means is that if you are using the Excel Com object. you will need to install it on every computer. So every computer that uses it will have to have Excell installed.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Author Comment

by:toddpotter
ID: 11870676
I tried the IIS and it doesn't help my e-mail problem.  In fact, I have one computer that does not have IIS on it and the e-mail piece works fine, but another computer that has IIS on it does not e-mail out.  I checked the program and I set the email up using System.Web.Mail if that helps at all?

0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11870703
Well do you use a valid SMTP server address? Are all the users using this feature connected to the internet.
0
 

Author Comment

by:toddpotter
ID: 11870852
Yes I am using a valid server address and all users have an internet connection.  The one computer I am troubleshooting has an internet connection and their regular e-mail (outlook) works fine, but the program throws an exception when sending the e-mail.  I just checked the error message and the problem is an export problem.  The program creates a crystal report, exports it to the client's computer and e-mails the file out.  It is the export that is throwing the exception, not the email.  It for some reason can't export to that user's c: drive.

0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11870892
Can you supply the error message?

Looks like a disk write protection error or something. Some settings in Windows might keep a program from manipulating files on a disk.
0
 

Author Comment

by:toddpotter
ID: 11871752
Error in file C:\...
Error detected by export DLL
0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11871822
do you supply a name and extension for the file when you export it?
0
 

Author Comment

by:toddpotter
ID: 11871874
Yes, I export it as "C:\File" and it works fine on most machines.  It's just not working on this particular users PC.  
0
 

Author Comment

by:toddpotter
ID: 11871894
Actually, "C:\file.pdf"
0
 
LVL 3

Accepted Solution

by:
DJ_Back-Q earned 250 total points
ID: 11871949
I don't think there is something wrong with your code. That users PC is where the problem is.

Create a folder named reports or something and try exporting there.
0
 

Author Comment

by:toddpotter
ID: 11872681
Thanks for your help.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question