?
Solved

CREATING AN EXCEL SPREADSHEET IN VISUAL BASIC FORM

Posted on 2009-07-15
3
Medium Priority
?
156 Views
Last Modified: 2013-11-26
HELLO EXPERTS,
I'M ATTEMPTING TO CREATE AN EXCEL WORKBOOK IN VB. I BELIEVE I HAVE ADDED THE REQUIRED REFERENCES AND IMPORT STATEMENTS. HOWEVER,  THE FIRST LINE OF CODE THAT DECLARES AND INSTANCE OF EXCEL PRODUCES A SECURITY ERROR. (System.Security.Permissions.SecurityPermission).  I'M NOT SURE IF THIS IS PERTAINING TO MY COMPUTER SETTING OR LAN SETTINGS. I NEED HELP SINCE I DON'T KNOW HOW TO FIX EITHER.

THANKS
0
Comment
Question by:reeseer74
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
Bob Hoffman earned 750 total points
ID: 24863918
Are you authorized to the folder your create the workbook on?
0
 
LVL 48

Assisted Solution

by:jpaulino
jpaulino earned 750 total points
ID: 24863983
How are you creating an excel spreadsheet in a visual basic form ?
Have you tried using an webbrowser ?
0
 

Author Comment

by:reeseer74
ID: 24864037
In an vb application form.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

777 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