Click here to Skip to main content
15,913,055 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCrystal Reports Dynamic Image from DB Pin
eddieangel28-Aug-09 6:42
eddieangel28-Aug-09 6:42 
QuestionUpdate button is greyed out Pin
Buggedforever27-Aug-09 23:19
Buggedforever27-Aug-09 23:19 
AnswerRe: Update button is greyed out Pin
DoctorMick28-Aug-09 0:36
DoctorMick28-Aug-09 0:36 
AnswerRe: Update button is greyed out Pin
Jay Royall28-Aug-09 0:38
Jay Royall28-Aug-09 0:38 
AnswerRe: Update button is greyed out Pin
Dave Kreskowiak28-Aug-09 3:20
mveDave Kreskowiak28-Aug-09 3:20 
GeneralRe: Update button is greyed out Pin
Steven J Jowett28-Aug-09 4:47
Steven J Jowett28-Aug-09 4:47 
GeneralRe: Update button is greyed out Pin
Dave Kreskowiak28-Aug-09 7:05
mveDave Kreskowiak28-Aug-09 7:05 
QuestionControlling IE through VBA in an Excel Macro [modified] Pin
adityabaraya27-Aug-09 23:15
adityabaraya27-Aug-09 23:15 
Hi,
I am trying to make a testing solution where in data from an excel sheet gets filled up in a web form displayed on IE.
My solution comprises of an Excel macro.
I am facing a problem in this simple piece of code.When I run the macro I get an error saying
"Method Document of IWebBrowser2 failed"(Run time error-2147467259)
IE version 7.0 is being used....

Dim x As Excel.Worksheet
Dim selRange As Range
Dim ie As Object
Sub Button1_Click()
Set x = ThisWorkbook.ActiveSheet
If ActiveCell Is Nothing Then
MsgBox "No selection made"
Else
Set selRange = ActiveWindow.RangeSelection
End If
Set ie = CreateObject("internetexplorer.Application")
ie.Visible = True
ie.Navigate "http://172.25.103.220/IDS/"
While ie.Busy: Wend
ie.Document.All("txtName").Value = ActiveCell
End Sub

Please help me out....
Thanks.

modified on Friday, August 28, 2009 7:13 AM

AnswerRe: Controlling IE through VBA in an Excel Macro Pin
Dave Kreskowiak28-Aug-09 3:16
mveDave Kreskowiak28-Aug-09 3:16 
GeneralRe: Controlling IE through VBA in an Excel Macro Pin
adityabaraya30-Aug-09 18:41
adityabaraya30-Aug-09 18:41 
QuestionHow to save result of an querry in a variable in VB? Pin
swatinz27-Aug-09 20:35
swatinz27-Aug-09 20:35 
AnswerRe: How to save result of an querry in a variable in VB? Pin
Ashfield27-Aug-09 21:01
Ashfield27-Aug-09 21:01 
GeneralRe: How to save result of an querry in a variable in VB? Pin
swatinz27-Aug-09 21:04
swatinz27-Aug-09 21:04 
GeneralRe: How to save result of an querry in a variable in VB? Pin
Ashfield28-Aug-09 1:13
Ashfield28-Aug-09 1:13 
QuestionCom ports Pin
RyJaBy27-Aug-09 11:16
RyJaBy27-Aug-09 11:16 
AnswerRe: Com ports Pin
Luc Pattyn27-Aug-09 11:47
sitebuilderLuc Pattyn27-Aug-09 11:47 
QuestionNeed help- Connect to Access db-VB.Net 64bit Pin
valkyriexp27-Aug-09 10:39
valkyriexp27-Aug-09 10:39 
AnswerRe: Need help- Connect to Access db-VB.Net 64bit Pin
Kschuler27-Aug-09 11:05
Kschuler27-Aug-09 11:05 
GeneralRe: Need help- Connect to Access db-VB.Net 64bit Pin
valkyriexp27-Aug-09 11:27
valkyriexp27-Aug-09 11:27 
GeneralRe: Need help- Connect to Access db-VB.Net 64bit Pin
Dave Kreskowiak28-Aug-09 3:12
mveDave Kreskowiak28-Aug-09 3:12 
GeneralRe: Need help- Connect to Access db-VB.Net 64bit Pin
Empathies24-Feb-10 5:58
Empathies24-Feb-10 5:58 
GeneralRe: Need help- Connect to Access db-VB.Net 64bit Pin
Dave Kreskowiak24-Feb-10 15:38
mveDave Kreskowiak24-Feb-10 15:38 
GeneralRe: Need help- Connect to Access db-VB.Net 64bit Pin
Empathies25-Feb-10 5:47
Empathies25-Feb-10 5:47 
GeneralRe: Need help- Connect to Access db-VB.Net 64bit Pin
ve2yu31-Oct-11 3:36
ve2yu31-Oct-11 3:36 
GeneralRe: Need help- Connect to Access db-VB.Net 64bit Pin
Kschuler31-Oct-11 3:46
Kschuler31-Oct-11 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.