Solved

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

Posted on 2004-08-23
13
607 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
 

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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now