473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Prevent MS Outlook from opening if @ appears

Hello,

I am working on an application where there are stored documents, the user can download them if he clicks on the document name in the grid.

The problem is when there is an @ character in the name of the document it immediatelly opens an outlook and does not start the downloading process.

Is there any way how to block outlook in this case?

Please see the attachement for better understanding of the problem.

Thank you

Jakub
Attached Images
File Type: jpg atcharacter.jpg (9.3 KB, 127 views)
Nov 15 '11 #1

✓ answered by Dormilich

then you need to URL encode the filename in the link. (e.g. in PHP you’d use urlencode(), in JS encodeURIComponent(), etc.)

3 1592
Dormilich
8,658 Expert Mod 8TB
how do you try to open/download the files, via link, form, …?
Nov 15 '11 #2
Hello, thanks for your reply, it is a link.
Nov 15 '11 #3
Dormilich
8,658 Expert Mod 8TB
then you need to URL encode the filename in the link. (e.g. in PHP you’d use urlencode(), in JS encodeURIComponent(), etc.)
Nov 15 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kurt | last post by:
Hi We are developing an off-the-shelf software suite for a certain business sector. Most of the program is simply a GUI on top of some .mdb files. Its a .net application written in c# One...
0
by: Liz Patton | last post by:
Hi, I have a bit of vb.net code that's sending emails to various public outlook folders from a web server. The problem is that all the messages appear in the folder as a "post" with the...
9
by: Tolga Tanriverdi | last post by:
I made a gui program with c# but i want even if people double click my program more than once it would only open once is something like that possible if it is how?
14
by: John | last post by:
Hi Is there a way to e-mail using outlook2002 from within vb.net without getting the nasty "An application is trying to access you outlook..." message? Thanks Regards
1
by: Patriot | last post by:
A developer that left us had created a macro in VB6 that allowed a user to click on a button, which I also need help with, that would copy any attachments for a particular email to a network share....
9
by: Larry Woods | last post by:
I have a method in my base class that I want ALL derived classes to use. But, I find that I can create a "Shadow" method in my derived class that "overrides" the method in my base class. Can't...
11
by: Maximus | last post by:
Hi all, Has anyone been able to reterive the gradient selection colors used in outlook 2003? Basically, I have a grid showing a list of records and my client wants the selected row to have the...
4
by: Brian Hampson | last post by:
I recently upgraded to Outlook 2007 B2TR and have found that I can no longer code against MAPI.DLL It's gone :( Using C#, I used to get the MAPI session, and from that I could change the out of...
4
by: Mike P | last post by:
Is it possible to prevent Outlook security warnings without using a 3rd party tool (i.e. is there some code you can write yourself to do this)? *** Sent via Developersdex...
0
by: =?Utf-8?B?Uy5IZXJy?= | last post by:
I am running Outlook 2007 using the most recent version of Outlook Connector on a Windows Vista operating system. I use the Windows Live Mail and can send messages from Outlook, but cannot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.