473,568 Members | 2,898 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hyperlink is broken in click_event

imrosie
222 New Member
HIi, I need help with a hyperlink inside my code.

The error msg is 340:"no program is registered to open this file"...what have I left out? here's the event with hyperlink:

Expand|Select|Wrap|Line Numbers
  1. Private Sub btnPostFeedback_Click()
  2. FollowHyperlink "http://www.XXXX.com/forms/form.php?fn=comments" & "&Type=0&Rating=" & Me.wofRating
  3. SetCustomProp "Rating", Me.wofRating
  4.     DoCmd.Close acForm, Me.Name
  5. End Sub
  6.  
What's crazy is, it was working beautifully, a couple of revisions ago, then suddenly (or so it seemed) I began getting this error.

Any ideas would be greatly appreciated. thanks in advance
Rosie
Aug 19 '07 #1
3 1569
ADezii
8,834 Recognized Expert Expert
HIi, I need help with a hyperlink inside my code.

The error msg is 340:"no program is registered to open this file"...what have I left out? here's the event with hyperlink:

Expand|Select|Wrap|Line Numbers
  1. Private Sub btnPostFeedback_Click()
  2. FollowHyperlink "http://www.XXXX.com/forms/form.php?fn=comments" & "&Type=0&Rating=" & Me.wofRating
  3. SetCustomProp "Rating", Me.wofRating
  4.     DoCmd.Close acForm, Me.Name
  5. End Sub
  6.  
What's crazy is, it was working beautifully, a couple of revisions ago, then suddenly (or so it seemed) I began getting this error.

Any ideas would be greatly appreciated. thanks in advance
Rosie
Hello Rosie:
What exactly are you trying to open?
Aug 19 '07 #2
imrosie
222 New Member
Hello Rosie:
What exactly are you trying to open?

Hi ADezii,

A comment form (url) on my company's website. I have a 'feedback' form to capture the customers comments (star 1 - 5)..Then the hyperlink is supposed to simply open the url where those comments can be entered in.

It was working and now has stopped,,,,so I obviously broke it somehow, in one of my last few revision (I've gone back at least 3 revisions to find out where it stopped working. I was busy working on other parts, and missed this problem.
thanks

Rosie
Aug 19 '07 #3
JConsulting
603 Recognized Expert Contributor
Hi ADezii,

A comment form (url) on my company's website. I have a 'feedback' form to capture the customers comments (star 1 - 5)..Then the hyperlink is supposed to simply open the url where those comments can be entered in.

It was working and now has stopped,,,,so I obviously broke it somehow, in one of my last few revision (I've gone back at least 3 revisions to find out where it stopped working. I was busy working on other parts, and missed this problem.
thanks

Rosie
Hi Rosie,
try putting the string into a variable so you can look at it in the immediate window. From there you can cut and paste into a URL window in your browser to see what it doesn't like.

then you can followhyperlink MyVariable
J
Aug 19 '07 #4

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

Similar topics

2
4427
by: Beanjode | last post by:
sorry here´s the question in english can anybody tell me how to sen a hyperlink using the php mail function. If I send a <a ref ...> it just turns up in plain text. Whats the trick JB
3
5750
by: leegold2 | last post by:
Like so many questions this involves MYSQL and the PHP (or Perl) layer. I'm going to have html in text fields and there's going to be what normally would be an internal link to another place in the same document. But in this case, Code: <a href="#futherdown">next title</a> is not in the html document. When a user clicks this link I...
4
7521
by: Andreas Meffert | last post by:
Hello, How can I change the Type of a field in a table from Memo to hyperlink? I import a table from Oracle to Access 2003. After that, the field type of some hyperlink-fields is "Memo". How can I schwitch back to Hyperlink via VBA because its boring doing it manually often (I import the table each week for doing updates). When I do it...
0
550
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif images as the ImageURL of the Hyperlink. When a load the page with the controls on it works fine, but sometimes the images are broken, but if i hit...
17
3838
by: Chris Ianson | last post by:
Hi, I have this JavaScript, which I only want to occur if a user clicks on a hyperlink hotspot in a large image: <script type="text/javascript"> <!-- var answer = confirm ("This link is not available, click OK to load a similar link, or Cancel to not.") if (!answer) window.location="http://www.yahoo.com/" // -->
7
10853
by: Beefminator | last post by:
Hello, How can you create a hyperlink in the HTML body of CDOsys email? Line 7 is a link for yahoo.com, but the asp page does not work. Set objMessage = CreateObject("CDO.Message") objMessage.Subject ="Test Page - File upload" objMessage.Sender = "" & Request.Form("email1") & "" objMessage.To ="jason@yahoo.com" objMessage.HTMLBody =...
6
2393
by: mramsay | last post by:
Hi, I am lost when it comes to creating a click event in asp. I have hyperlinks that are pulled dynamically from a table. An example is Hockey is a hyperlink. What I want to do is when a user selects the Hockey link, information regarding Hockey will be pulled from another table and displayed on a page. In order to do this, I have to...
0
2181
by: ryrocks | last post by:
Hi everyone, I’m having a bit of trouble with my flash carousel. I’m pulling in the image source and descriptive text from an .XML file. This works just fine :-) However, I want a button with a hyperlink that takes the user to another page, the URL must be specified in the .XML file, as I will be pulling in various URLs. I've broken down my...
8
7686
by: stoogots2 | last post by:
I have wasted a couple of hours trying to add a hyperlink to a templatecolumn in a gridview. I already have a HyperlinkField working in the gridview, but I would like nothing to be displayed if the DataTextField associated with the field is blank. Right now it is showing a "broken" url. I would just like to add a condition that says if this...
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7604
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8117
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7660
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6275
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2101
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.