Click here to Skip to main content
15,895,799 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Cannot insert into Oracle 11g R2 Pin
Dave Kreskowiak25-Oct-20 14:09
mveDave Kreskowiak25-Oct-20 14:09 
GeneralRe: Cannot insert into Oracle 11g R2 Pin
Victor Nijegorodov25-Oct-20 21:04
Victor Nijegorodov25-Oct-20 21:04 
GeneralRe: Cannot insert into Oracle 11g R2 Pin
kerek226-Oct-20 15:38
kerek226-Oct-20 15:38 
GeneralRe: Cannot insert into Oracle 11g R2 Pin
Dave Kreskowiak26-Oct-20 16:58
mveDave Kreskowiak26-Oct-20 16:58 
QuestionProcess Count Pin
Member 1495490323-Oct-20 23:55
Member 1495490323-Oct-20 23:55 
AnswerRe: Process Count Pin
Sandeep Mewara24-Oct-20 1:00
mveSandeep Mewara24-Oct-20 1:00 
GeneralRe: Process Count Pin
Member 1495490324-Oct-20 1:51
Member 1495490324-Oct-20 1:51 
QuestionCefsharp Waiting for page load Pin
Member 1495490322-Oct-20 8:26
Member 1495490322-Oct-20 8:26 
I'm trying to wait till the page is loaded and then execute JavaScript but all my attempts are "failing" (its working with a timer).
So far i tried
VB
If Browser.CanExecuteJavascriptInMainFrame Then 
'code here
End If
or
VB
If Browser.IsLoading Then
'code here
End If
Right now im using a timer to do it.
VB
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Browser = New ChromiumWebBrowser("https://example.com")
        Form1.Panel1.Controls.Add(Browser)
        Timer1.Enabled = True
    End Sub

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        If Browser.IsLoading = True Then
            Debug.WriteLine("true")
        Else
            Dim test As Task(Of JavascriptResponse) = Browser.EvaluateScriptAsync("document.getElementsByTagName('h1')[0].innerText")
            Debug.WriteLine(test.Result.Result)
            Timer1.Enabled = False
        End If
    End Sub

but this way it feels just like bad coding and i don't want to do this. Every time i try it another way it will just try it once as its not a loop(tried a loop and i failed as well D'Oh! | :doh: )
I read the general usage of CefSharp but the problem here is everything is in C# i do understand it but i cant convert it to vb cause my knowledge isn't that great.
QuestionCalling vb function from java script in Gizmox WebGUI application Pin
Ridha.soft21-Oct-20 22:26
Ridha.soft21-Oct-20 22:26 
AnswerRe: Calling vb function from java script in Gizmox WebGUI application Pin
OriginalGriff21-Oct-20 22:35
mveOriginalGriff21-Oct-20 22:35 
QuestionConnection string for Integrated Security Pin
Member 1362432514-Oct-20 10:14
Member 1362432514-Oct-20 10:14 
AnswerRe: Connection string for Integrated Security Pin
Dave Kreskowiak14-Oct-20 17:04
mveDave Kreskowiak14-Oct-20 17:04 
GeneralStar Rating In Microsoft Outlook 2016 Pin
Member 1341109113-Oct-20 21:07
Member 1341109113-Oct-20 21:07 
QuestionInsert timestamp using datareader to oracle date Pin
kerek25-Oct-20 18:16
kerek25-Oct-20 18:16 
AnswerRe: Insert timestamp using datareader to oracle date Pin
Richard Deeming5-Oct-20 21:26
mveRichard Deeming5-Oct-20 21:26 
AnswerRe: Insert timestamp using datareader to oracle date Pin
Victor Nijegorodov5-Oct-20 21:40
Victor Nijegorodov5-Oct-20 21:40 
AnswerRe: Insert timestamp using datareader to oracle date Pin
DerekT-P5-Oct-20 22:31
professionalDerekT-P5-Oct-20 22:31 
GeneralRe: Insert timestamp using datareader to oracle date Pin
kerek26-Oct-20 3:50
kerek26-Oct-20 3:50 
GeneralRe: Insert timestamp using datareader to oracle date Pin
kerek27-Oct-20 15:37
kerek27-Oct-20 15:37 
GeneralRe: Insert timestamp using datareader to oracle date Pin
Dave Kreskowiak7-Oct-20 17:58
mveDave Kreskowiak7-Oct-20 17:58 
GeneralRe: Insert timestamp using datareader to oracle date Pin
kerek226-Oct-20 20:27
kerek226-Oct-20 20:27 
GeneralRe: Insert timestamp using datareader to oracle date Pin
Richard Deeming26-Oct-20 22:19
mveRichard Deeming26-Oct-20 22:19 
GeneralRe: Insert timestamp using datareader to oracle date Pin
kerek227-Oct-20 13:47
kerek227-Oct-20 13:47 
GeneralRe: Insert timestamp using datareader to oracle date Pin
Dave Kreskowiak27-Oct-20 6:48
mveDave Kreskowiak27-Oct-20 6:48 
GeneralRe: Insert timestamp using datareader to oracle date Pin
kerek227-Oct-20 16:32
kerek227-Oct-20 16:32 

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.