Search:
Type: Posts; User: dynamic_sysop
Search:
Search took 0.14 seconds.
-
would referencing to mshtml be an issue for you? if not you could use the IHtmlDocument2 along with the HttpWebrequest / HttpWebresponse / Streamreader, like this.....
Imports mshtml
Imports...
-
There's quite a good example / tutorial on downloading the web content to XML here ---- > https://developer.yahoo.com/dotnet/howto-xml_vb.html :)
-
that example won't work because it's a vb6 sample they provided & would need a fair bit of modification to get it to work. you may want to look at the System.Drawing Namespace. it may provide what...
-
the example link you posted doesn't have iframes ( atleast not looking from firefox ) it uses javascript for the googleSearchFrame, so no matter how much you try searching for window.frames on that...
-
use GetElementById to get the Element ( eg: id1 ) & then GetAttribute to get it's value, like this...
'/// obviously putting your own browser's name where i have WebBrowser1.
If...
-
been a long week, lucky for me i listened to the ad on the TV & i really am off to specsavers in a few minutes lol
-
because the pStyle varies, you would need to make a new regex pattern for each line with that code.
you could do this also, which would avoid the pStyle issue...
'/// this pattern will...
-
That's exactly what .Paul has already explained, if i was to take a wild stab in the dark & assume that you wanted to find something in the html you posted...
<a onclick="baything(9526794,6)"...
-
does your webpage contain the text id=""timeDiv"" inside it's html? because the example .Paul posted will work if you are using it on a page that actually contains that info.
-
here's some links to get you started...
http://www.v b d o t n e t forums.com/other/10379-webbrowser-2-0-newwindow.html ( **** Remove the spaces from v b d o t n e t **** )
...
-
well, i'm not sure if i'm the only one. but i'm completely lost as to what the question is you are asking? which maybe why no one is answering.
What exactly are you now trying to achieve?
-
you do know that could not find installable ISAM is a very common problem in VS don't you?
Do a search in google using OleDb excel 2003 could not find installable ISAM & you will see :)
There...
-
you're welcome :rolleyes:
-
you may want to import mshtml to use some events, i don't know if the newer .NET browser has those events exposed.
but here's a link to how to use a proxy in a webbrowser in .net ......
-
hahaha :)
i think they are using the webbrowser on a windows form ( not asp ) have you tried the webbrowser's before navigate event? it usually allows you to inspect headers.
if you want to...
-
hang on, so people put them selves out to help others for free ( which they don't have to do, but are kind enough to ) & you post a question about reading live http header info ( including deciding...
-
Just use Regex.Escape to allow searching of special characters.
eg:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
...
-
probably because you asked How do you find a word...
:[testing]: is not a word, it contains a word, but it starts & ends with special characters.
you would have to add a regex pattern to find...
-
try the Regex website, it's got all the answers you need & you may actually learn something, the address is http://www.regular-expressions.info/tutorial.html
if you want to search for words even...
-
To be honest i don't know what the point of TopItem is, i think it does something to it's index, but it doesn't move anywhere, i've managed to search a few different items in a lisview & select the...
-
what do you have the listview VIEW set to?
& Do you have subitems in your listview? (you have include subitems as True on the textsearch ( although i doubt that matters ) )
i've added items to...
-
looking at this, where exactly are you using the code that is giving you an error? (ie: in a button_click?) just seeing you put that you went to type a letter & got the error makes me think you are...
-
you shouldn't be declaring atem AS NEW...
because when you specify ListView1.TopItem = atem, you are telling it to set the NEW ListviewItem as the TopItem (which although you have an item by...
-
erm that's not C# code it's vb.net :rolleyes:
-
just use the DriveInfo class of System.IO to get the names / paths / volumes of all your drives, should show how to lay the path out.
eg:
private void button1_Click(object sender,...
-
have you tried double backslash E:\\ ?
More to the point, why oh why have a quality bit of kit like a mack book & then go & bung win7 on it? :eek:
-
I think they want to get the dll imports from any dll (eg: not just a .NET dll, but probably more likely one's made with C++ )
You can check what functions are available export / import using...
-
Each one of the items you are getting when you call CheckedListbox1.Items is a String object, but you are trying to look at them as a checkbox, that's why you get the error.
do as Shaggy Hiker Says,...
-
have you actually looked at the code properly? you will see it says the following...
Dim cl As New GwebSearchClient("http://www.google.co.uk/")
cl is whatever you name the instance of...
-
are you using WriteXml more than once in the same Sub?
i notice you are declaring the SQLString more than once.
If so, i'm wondering if this is having an impact on what's being written in the xml...
-
you should only use the underscore _ at the end of a line if you are continuing the same piece of code on the next line as far as i'm aware.
eg:
Dim strString As _
String
also i notice you...
-
You could try checking what data is being writen as a test with a StringWriter.
eg:
Dim swriter As New StringWriter()
Me.FlightDetailsTable.WriteXml(swriter)
...
-
If you select Thread Tools at the top of this thread, you can mark it as " Resolved " :)
-
Do You mean you want Internet Explorer open & when it goes to a page, the same page loads into the webbrowser? or do you just want to know if you can navigate to a webpage with a webbrowser in the...
-
I already put a reply on this thread ---> http://www.vbforums.com/showthread.php?t=627454 in which you posted asking the same thing.
You need to use the google api ( as i've described in that...
-
you can use System.Diagnostics.Process to retrieve info about a running process. eg:
'/// Get all instances of mozilla firefox in this example...
Dim prs As Process() =...
-
The reason you are getting a blank value when you look at the element with the name Class=Red is because the word you are searching for is outside the element ( it's outside a </B> , your class=red...
-
Pc, you can keep adding to a string, but you don't have an index as such. As Bruce mentioned the List(Of ) , this is probably better if you want to keep adding to it. eg:
Dim strList As...
-
go to google's developer area & you have the search api there, the link to the api page is http://code.google.com/p/google-api-for-dotnet/ the downloads list is at...
-
took a while to write this & get it to actually work, give it a go. you will have to deal with adding the values to your list or where ever you want to store it, but this will retrieve the TERM &...
|
Click Here to Expand Forum to Full Width
|