Jump to content
Xtreme .Net Talk

darknuke

Avatar/Signature
  • Posts

    72
  • Joined

  • Last visited

darknuke's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. This I believe: http://www.xtremedotnettalk.com/showthread.php?s=&threadid=81155
  2. http://www.chilkatsoft.com/ChilkatFtp.asp Can't get much easier than that!:)
  3. System.Diagnostics.Process.Start("wmplayer.exe", System.Environment.CurrentDirectory & "Help Me.mp3") :)
  4. Found a solution to both my problems! *YAY* And no that doesn't work. Anyone interested in doing what I did: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=958&lngWId=10 :)
  5. I have two questions: 1. How to evaluate something like (2 + 2) * 2 as an integer when I enter it into a text box? ' Tried this ' calcEq.Text = "2 + 2" MsgBox(CType(calcEq.Text, Long)) "Cast from string "2 + 2" to type 'Long' is not valid." 2. How can I prevent arithmetic overflow (even happens with some SMALL simple equations), and have large numbers like Calculator that comes with Windows?
  6. Would someone please show me an example use of MSHTML that is in VB.NET (that does not require me to use a browser control, if possible)?
  7. :D *screams wildly* I don't know what I'm doing wrong :( Dim htmlDoc As New mshtml.HTMLDocument Dim pf As System.Runtime.InteropServices.UCOMIPersistFile pf.Load("c:\eBay.html", 0) htmlDoc = pf I get an error on the pf.Load line... (unhandled exception; object not set to a instance of an object)
  8. How can I put a string (HTML) into the the HTMLDocumentClass class...
  9. I don't have MSHTML as far as I know. I don't have C#, I got VB.NET 2003 in a stand-alone package.
  10. Trying to get eBay listings: (I have looked at the eBay developer SDK and for example source already) Stuff like (full source is huuuge): <tr bgcolor="#eeeeee"> <td valign="center" align="middle" width="12%" rowspan=""> <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3660198719&category=51347"> <img height="64" width="64" border="0" src="http://thumbs.ebaystatic.com/pict/36601987196464.jpg" alt="**NEW** Disney Toy Story 2 Activity Studio CD"></a></td> <td valign="top"> <font size="3"> <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3660198719&category=51347"> **NEW** Disney Toy Story 2 Activity Studio CD </a> </font>? <img src="http://pics.ebaystatic.com/aw/pics/paypal/logo_paypalPPBuyerProtection_28x16.gif" alt="PayPal Buyer Protection Program" border="0" width="28" height="16"> <br> <img height="1" width="200" border="0" alt="" src="http://pics.ebaystatic.com/aw/pics/s.gif"></td> The regex should return: <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3660198719&category=51347"> <img height="64" width="64" border="0" src="http://thumbs.ebaystatic.com/pict/36601987196464.jpg" alt="**NEW** Disney Toy Story 2 Activity Studio CD"></a> and <font size="3"> <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3660198719&category=51347"> **NEW** Disney Toy Story 2 Activity Studio CD </a> </font>? <img src="http://pics.ebaystatic.com/aw/pics/paypal/logo_paypalPPBuyerProtection_28x16.gif" alt="PayPal Buyer Protection Program" border="0" width="28" height="16"> <br> <img height="1" width="200" border="0" alt="" src="http://pics.ebaystatic.com/aw/pics/s.gif">
  11. One problem; there's HTML tags between the <td> tags :( ... How can I include anything that appears between the tags?
  12. Where can I find that...
  13. I am trying to get data between HTML tags, but I am doing it wrong, as it is returning nearly all the source. :( I modified the MSDN example to try and do it, but no success... Dim r As System.Text.RegularExpressions.Regex Dim m As System.Text.RegularExpressions.Match r = New System.Text.RegularExpressions.Regex("<td.*>(.*)</td>", _ System.Text.RegularExpressions.RegexOptions.IgnoreCase Or System.Text.RegularExpressions.RegexOptions.Compiled) m = r.Match(inputString) While m.Success MsgBox(m.Groups(1).Value.ToString) m = m.NextMatch() End While I am trying to get what is in between <td (attributes here)> and </td>... what am I doing wrong?
  14. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/functions_by_category.asp By category...:)
  15. >.< File encryption, not string.
×
×
  • Create New...