Solved

CREATING AN EXCEL SPREADSHEET IN VISUAL BASIC FORM

Posted on 2009-07-15
3
154 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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

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 two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
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…

691 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