Hi all, Have created a vb application that interacts with Excel for report purposes. Base application and excel file is on host pc on network. I require the clients to access the excel workbook for reports and then enter data as required. All works perfect other than workbook opening on guest workstations as read only! I have done everything i could think of to correct this. Set sharing on host, tried mapping a network drive, checked the file attributes were not read only. Has anyone else got any ideas as to what to try. Bit defender is the anti virus, so maybe that has something to do with it, but you cannot acces it to set any form of permissions. I have even tried writing the excel launch command into the shortcut to force it open normal. Did not work. Opens fine on host machine.
"C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" "X:\program files\mps1\report.XLS"
Would appreciate in input into this - thanks
Werner
7 3153
Would it be an option to let the user click through the path to open the file and only allow the specified filename? - In case the drives are mapped with different letter for different departments I use this way.
Would it be an option to let the user click through the path to open the file and only allow the specified filename? - In case the drives are mapped with different letter for different departments I use this way.
I have tried that too! Made the shortcut directly to the actual file, drivepath and specific file - same problem.
Hi Member
First of all Make sure all Object varibales whether released from memory or not.
that means if you use File system object
at the end of program, all object varibales should be released from memory.
because this variable link with that file until you will clear the variable
Regards
Prakashsakthivel
Hi Member
First of all Make sure all Object varibales whether released from memory or not.
that means if you use File system object
at the end of program, all object varibales should be released from memory.
because this variable link with that file until you will clear the variable
Regards
Prakashsakthivel
I do that as a rule, when the VB project closes all objects are unloaded. I made double sure by rebooting the host and then only opening the excel file from the guest without activating the vb app.
I do that as a rule, when the VB project closes all objects are unloaded. I made double sure by rebooting the host and then only opening the excel file from the guest without activating the vb app.
Do you think the VBA in the workbook could have that as an issue?
Do you think the VBA in the workbook could have that as an issue?
What I try to say that not close the application
only close function or procedure
at that time few milliseconds that varibale may link with that file
meanwhile you try to open that file, this error may come
Regards
Prakashsakthivel
What I try to say that not close the application
only close function or procedure
at that time few milliseconds that varibale may link with that file
meanwhile you try to open that file, this error may come
Regards
Prakashsakthivel
Ok, understand that, but the function is a pure write to excel from vb function. once completed, there is no more link. That is why I said i rebooted to clear all or any links that might exist. Then just tried to open the workbook accross the network as if is was any standalone excel file. It is very puzzling.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: David Alliet |
last post by:
Hello,
I'm having a bit of a problem with ASP and Excel. A client has developed
his own program, which calculates alot of financial stuff, in excel. I'm
doing his websites and he has requested...
|
by: |
last post by:
The following code:
Private Sub ClearControls(ByVal ctrl As Control)
Dim i As Int32
For i = ctrl.Controls.Count - 1 To 0 Step -1
ClearControls(ctrl.Controls(i))
|
by: Lewis Edward Moten III |
last post by:
I have a file that users can download through a web page protected by
forms authentication:
Download.aspx?ID=45
and within that file ...
FileInfo fileToDownload = new FileInfo(fileName);
|
by: Phoebe. |
last post by:
Hi, Good Day!
How can I read data from excel file and save them into a recordset?
Can someone help?
Thanks in advanced.
rgds,
Phoebe.
|
by: Bill Nguyen |
last post by:
Need to update all records in a table from a simple Excel worksheet (1
sheet with 5 columns).
I need help with the basic steps to open and read each data row in the Excel
file.
Thanks a million...
|
by: steve |
last post by:
hi
i am writing a C program which can read TEXT , PDF,.DOC files
the program is to :
count the number of words,
lines,
characters and the frequency of each word and the phrases count in...
|
by: Mariii |
last post by:
Hello!
I have a question. I work with Excel from VC++ application. I read csv-file, reorganize it and put data into Excel-file using
CApplication app.CreateDispatch(_T("Excel.Application));
......
|
by: JimLad |
last post by:
Hi,
First of all I didn't design this website, but I have been asked to
fix it with the minimum fuss!
Website is using .NET on IIS6 with an Excel Interop to produce
reports. The website...
|
by: Noob |
last post by:
Hello,
I created an ERP based custom report using Access '03 & Excel '03. I
developed an Access query that pulls the required data from the ERP
(Progress) database via link tables. I use Excel...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |