Solved

CREATING AN EXCEL SPREADSHEET IN VISUAL BASIC FORM

Posted on 2009-07-15
3
153 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 250 total points
ID: 24863918
Are you authorized to the folder your create the workbook on?
0
 
LVL 48

Assisted Solution

by:jpaulino
jpaulino earned 250 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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