Toolbar Internet Explorer

Add-in Express™ Support Service
That's what is more important than anything else

Toolbar Internet Explorer
Toolbar Internet Explorer 
santisan james




Posts: 15
Joined: 2008-12-02
Hi,

To all stuff here I am very thankful for your quick reply to all the question I have asked here.. again another question?


this is my code

Dim s1 As New IO.StreamWriter(Application.StartupPath & "\Santi")
s1.WriteLine("santisan")
s1.Close()

I am writing a file to Vista windows operating system and UAC turn on I have an error, unavaible to write file. I am on Administrator mode, also I IE explorer protected mode = off.


Plese help I am waiting for your kind help.

Thankyou,
Santisan
Posted 12 Dec, 2008 01:43:21 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Santisan,

First of all, thank you for the kind words.

I have an error, unavaible to write file.


Did you try to debug? Could you tell me the path which the StartupPath property returns?
.NET, Extended MAPI, Windows Phone & RT
Posted 12 Dec, 2008 04:45:04 Top
santisan james




Posts: 15
Joined: 2008-12-02
Hi Eugene,

Thank you for your quick reply.
this is the StartupPath C:\Program Files\Internet Explorer
yes I try debugging :-)

I appreciate you taking the time to help.

Thank you,
Santisan
Posted 12 Dec, 2008 05:01:08 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Santisan,

As a rule Windows Vista doesn't allow you to write in the Program Files.

Please have a look at the Advanced Search sample add-in for IE. It uses a safe place for your files. You can download its sources here.
.NET, Extended MAPI, Windows Phone & RT
Posted 12 Dec, 2008 05:37:38 Top
santisan james




Posts: 15
Joined: 2008-12-02
Hi Eugene,

Thank you for your quick reply.

I am now going to advanced search sample add-in for IE.

I really appreciate your help :-)


Thank you,
Santisan
Posted 12 Dec, 2008 06:03:41 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
You are welcome, Santisan.

.NET, Extended MAPI, Windows Phone & RT
Posted 12 Dec, 2008 14:31:11 Top
santisan james




Posts: 15
Joined: 2008-12-02
Hi Eugene,

My friend can you give me the exact safe place for my files I search here

http://www.add-in-express.com/products/internet-explorer-search.php

but I did not find.

please help.

I will appreciate your time for help.

Thank you,
Santisan

Posted 15 Dec, 2008 22:13:03 Top
Dmitry Kostochko


Add-in Express team


Posts: 2865
Joined: 2004-04-05
Hi Santisan,

You can store your files in the ApplicationData folder. Please see the code below:
System.Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

Posted 16 Dec, 2008 08:35:41 Top
Marvin Biason




Posts: 37
Joined: 2008-12-17
hello there Dmitry Kostochko.

I would like to ask, where do I put this code of your in vb.net.

You can store your files in the ApplicationData folder. Please see the code below:
System.Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)


I have the same problem of santisan james. And I would like to know how does this code can write in my C: drive or other places of my computer. It seems that UAC blocked or interupt the writing of text files.

I hope you can also help me regarding this UAC issue in Toolbar. It is a big help if can show me some steps in putting this code.

Thank u
Posted 17 Dec, 2008 02:30:13 Top
santisan james




Posts: 15
Joined: 2008-12-02
Hi Dmitry,

Marvin Question is good, Can you please answer it.

Thank for your continues help.

Thank you,
Santisan

Posted 17 Dec, 2008 05:41:00 Top