Bug ของ Access 97 (อีกแล้ว) ในการใช้ Web Browser ActiveX
กระทู้เก่าบอร์ด อ.สุภาพ ไชยา

 388   5
URL.หัวข้อ / URL
Bug ของ Access 97 (อีกแล้ว) ในการใช้ Web Browser ActiveX

เมื่อ 2 ปีที่แล้ว ผมได้เริ่มใช้ MS Web Browser AxtiveX ใน Form เพื่อเปิดดูไฟล์ที่สามารถวิวดูได้ใน Internet Explorer  
เพื่อให้สามารถที่จะดูไฟล์เหล่านั้นในกรอบของฟอร์มที่เราต้องการ ไม่ต้องไปเปิดหน้าต่างใหม่ และทำให้ควบคุมยาก 
 
แต่ปัญหาที่ผมเจอคือ เมื่อ Insert ActiveX ตัวนี้แล้ว มันจะฟ้องว่า 
 
There is no object in this control.  
 
เมื่อคลิก OK ก็จะฟ้องว่า 
 
Run-time error '438' 
Object doesn't support this property or method  
 
ถ้าอยากรู้ว่าผมแก้ปัญหานี้อย่างไร ให้ไปอ่านที่ผมตอบไว้ที่เว็บของต่างประเทศ ที่ 
http://board.quicktechusa.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=1;t=001944#000004 
 
และผมมีคำแนะนำว่าต้องใช้ ActiveX ตัวนี้ แทนการใช้ OLE หรือ Hyperlink ที่ 
http://board.quicktechusa.com/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=1;t=001934 
 
และที่สำคัญ ผมจะใช้มากตอนที่ผมไปวนลูปเปิดเว็บถามตอบ Access ของต่างๆ ประเทศ แล้วนำมาเขียนเป็น HTML ไว้ในเครื่องของผม จะได้เปิดอ่านตอนที่ยังไม่ต่อเน็ต และสามารถสร้างเป็น Database เพื่อทำการสืบค้นได้ง่ายอีกด้วย 
*** Edited by Supap Chaiya *** 5/28/2003 10:34:17 AM

5 Reply in this Topic. Dispaly 1 pages and you are on page number 1

1 @R00499
ผมได้อ่านคำถามเก่าๆ ก็ผมว่ามีคนต้องการที่จะบันทึกข้อมูลจากเว็บ ลงไว้ในเครื่องคอมฯ ลองไปอ่านที่ http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=8158 ซึ่งผมว่าถ้าใช้ Web Browser Control จะง่ายกว่ามาก
2 @R00500
คำถามเขามีดังนี้ครับ Is there a way to launch internet explorer, direct it to a webpage, select all and save as... I would like this to work even if you have to connect via a modem. Fuga.
3 @R00501
หรือช่วยแก้ปัญหานี่ด้วย I have a hyperlink on a form. When the user clicks on the hyperlink a document opens. The problem is that every time a hyperlink is clicked and a document is opened it adds an entry in the Internet Explorer drop down address list. Why does it do this and how can I get it to quit doing it? (http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=7745) จะไม่ให้ชื่อและที่อยู่ของเอกสารที่เปิดดู ซึ่งเรียกผ่านการกด Hyperlink ในฟอร์มของ Access
4 @R00502
หรือปัญหานี้ ก็แก้ไขได้ Dear Access Programers. My Access 2000 Application is using web based help. I have using hyperlink with form to open c:\help\help.htm But, everytime I click this button, it is always show new browser windows. How to open the hyperlink without show new explorer windows (if browser is allready appear with same *.htm filename) ? i have try this syntax: Application.FollowHyperlink "c:\help\help.htm", , False the option 'new windows' is set false but i'dont undertand it won't work. One again, How to modify (disable the check mark) MS ACCESS 2000 Option windows ( Tools > Option... > View Tab > Windows in taskbar) form modul (with syntax). Thank You Very Much. (http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=28161) สร้าง Help ไฟล์ให้เป็นแบบ HTML เมื่อมีการคลิกดู HTML จะมีการเปิดหน้าต่าง IE ใหม่เสมอ ทั้งๆ มีการเปิดค้างไว้ก่อนแล้ว จะบังคับให้มันเปิดเพียงตัวเดียวได้อย่างไร
5 @R00510
หรือนี่ Hello all, I have a WebBrowser Control on my form that displays information from a website. Is there a way to copy the information on that WebBrowser to the clipboard using VB? Once I have it on the clipboard, I have a procedure set up which pastes that data into Excel and formats it by way of VB, but I cannot figure out how to SelectAll and Copy the 'stinking' WEbBrowser data. Can someone help me here? Or if it's possible to select all and copy from any open browser on the shell would be helpful too? Any thoughts.???? (http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=31613)
@ ประกาศใช้งานเว็บบอร์ดใหม่ => บอร์ดเรียนรู้ Access สำหรับคนไทย
แล้วจะใส่ลิ้งอ้างอิงมาที่โพสต์เก่านี้หรือไม่ก็ตามสะดวกครับ
Time: 0.1298s