Sign Up |  Live StatsLive Stats    Articles 37,470| Comments 178,714| Members 19,496, Newest harshith| Online 462
Home Contact
 (Forgotten?): 
    10 years of Excellence
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

FollowHyperlink question

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 0 USD (0%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Question for All Who Question the Authenticity of the Sikh Faith simpy Hinduism 11 11-Apr-2011 16:06 PM
SQL question Ron Hinds Information Technology 5 28-Jul-2006 08:33 AM
FollowHyperlink Method Janelle.Dunlap@ge.com Information Technology 4 28-Jul-2006 08:25 AM
Re: Changing the data type of a field through code -- FollowHyperlink strive4peace Information Technology 0 28-Jul-2006 08:16 AM
i have a question... latina891 Information Technology 3 28-Jul-2006 08:08 AM


Tags
followhyperlink, question
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:11 AM
justin's Avatar justin
Guest
 
Posts: n/a
   
   
FollowHyperlink question

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Hi,

I am having trouble getting the FollowHyperlink command to work in a form I
have created. Basically, I have a table with 1 field, contract name. I have
created a form based off of this table, where a user can type in the contract
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10296-followhyperlink-question.html
name, hit a toggle button and a PDF opens for that specific contract name.
So if the pdf file was named test2.pdf, all the person would have to do is
enter test2.pdf in the contract name and hit the button. Problem is, i keep
getting an error message. Could someone please take a look at the code below
and see what I am doing wrong? Also all of the PDF's are kept in the same
spot.

Private Sub Toggle1_Click()

Dim DocLocationAndName As String
DocLocationAndName = "c:\documents and settings\desktop" & Me. [contract name]
Application.FollowHyperlink DocLocationAndName
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10296

End Sub

I am not too good with code, so I am hoping it is an easy fix.

Thanks,


Do you agree or disagree with the writer above? Why not share your immediate thoughts with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:11 AM
fredg's Avatar fredg
Guest
 
Posts: n/a
   
   
Re: FollowHyperlink question

On Thu, 25 May 2006 0802 -0700, justin wrote:

> Hi,
>
> I am having trouble getting the FollowHyperlink command to work in a form I
> have created. Basically, I have a table with 1 field, contract name. I have
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10296
> created a form based off of this table, where a user can type in the contract
> name, hit a toggle button and a PDF opens for that specific contract name.
> So if the pdf file was named test2.pdf, all the person would have to do is
> enter test2.pdf in the contract name and hit the button. Problem is, i keep
> getting an error message. Could someone please take a look at the code below
> and see what I am doing wrong? Also all of the PDF's are kept in the same
> spot.
>
> Private Sub Toggle1_Click()
>
> Dim DocLocationAndName As String
> DocLocationAndName = "c:\documents and settings\desktop" & Me. [contract name]
> Application.FollowHyperlink DocLocationAndName
>
> End Sub
>
> I am not too good with code, so I am hoping it is an easy fix.
>
> Thanks,


You're missing a back-slash after desktop.

DocLocationAndName = "c:\documents and settings\desktop\" & Me.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10296
[contract name]
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:11 AM
justin's Avatar justin
Guest
 
Posts: n/a
   
   
Re: FollowHyperlink question

  Donate Today!  
Thats what it was. Thanks for the help.

"fredg" wrote:

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10296
> On Thu, 25 May 2006 0802 -0700, justin wrote:
>
> > Hi,
> >
> > I am having trouble getting the FollowHyperlink command to work in a form I
> > have created. Basically, I have a table with 1 field, contract name. I have
> > created a form based off of this table, where a user can type in the contract
> > name, hit a toggle button and a PDF opens for that specific contract name.
> > So if the pdf file was named test2.pdf, all the person would have to do is
> > enter test2.pdf in the contract name and hit the button. Problem is, i keep
> > getting an error message. Could someone please take a look at the code below
> > and see what I am doing wrong? Also all of the PDF's are kept in the same
> > spot.
> >
> > Private Sub Toggle1_Click()
> >
> > Dim DocLocationAndName As String
> > DocLocationAndName = "c:\documents and settings\desktop" & Me. [contract name]
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10296
> > Application.FollowHyperlink DocLocationAndName
> >
> > End Sub
> >
> > I am not too good with code, so I am hoping it is an easy fix.
> >
> > Thanks,

>
> You're missing a back-slash after desktop.
>
> DocLocationAndName = "c:\documents and settings\desktop\" & Me.
> [contract name]
> --
> Fred
> Please respond only to this newsgroup.
> I do not reply to personal e-mail
>

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Can Sikhs worship...
Today 14:16 PM
40 Replies, 415 Views
Would an Atheist Pray in...
Today 13:57 PM
63 Replies, 5,315 Views
Nice Punjabi Songs with...
Today 08:50 AM
19 Replies, 531 Views
Sikh Philosophy Network...
Today 04:13 AM
18 Replies, 853 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:39 AM
410 Replies, 9,468 Views
Thought of the Moment!
Today 00:06 AM
116 Replies, 6,138 Views
English Sri Guru Granth Sahib Ji Translations
Yesterday 23:30 PM
6 Replies, 113 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 21:25 PM
256 Replies, 6,080 Views
Difference in Bowing...
By Kamala
Yesterday 15:08 PM
11 Replies, 281 Views
What Really Happened on...
Yesterday 12:46 PM
13 Replies, 253 Views
Free Online Gurbani...
Yesterday 03:56 AM
13 Replies, 4,346 Views
English Sri Guru Granth...
Yesterday 03:51 AM
5 Replies, 183 Views
Edward Snowden: the...
Yesterday 03:34 AM
3 Replies, 197 Views
What Is Difference...
18-Jun-2013 09:18 AM
6 Replies, 185 Views
First There is Water by...
By Ishna
18-Jun-2013 05:03 AM
3 Replies, 194 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 14:41 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.48865 seconds with 32 queries