VS 2008 Creating A PHP, HTML Coder?
May 2, 2009don't post full source codes, all i need to know is how to save as either PHP or HTML
View 4 Repliesdon't post full source codes, all i need to know is how to save as either PHP or HTML
View 4 RepliesPublic Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
SaveFileDialog1.Title = "Save"
SaveFileDialog1.Filter = "Batch File (*.bat)|*.bat"
If SaveFileDialog1.ShowDialog = System.Windows.Forms.DialogResult.OK Then
[code]....
I am writing a utility for Minecraft Coder pack. It works off batch files that run python. Is it possible to read and write from the cmd into say a text box and run commands for vb.net to the cmd?
View 1 RepliesI'm in college & in my part time I have been working on some automated web task apps. Just real basic stuff to automate my own personal account tasks on small social networks (not facebook!) to keep up with fan's for my 'soon to be' record label....nothing multiple accounts & it's not any kind of unsolicited spam functions. I know I could obtain most/if not all the info/code I need on this forum... I guess some people just need their hand held more than others, in order to stay focused.
Basically I've just got some things I'd like to add to my application that are above my ability & I need someone to help me out with my code. REALLY SIMPLE STUFF..like I've still yet to figure out for example:
1) How to simply pause between functions, as opposed to having to use a timer for each function. And using 1 timer to enable another timer...and so on in that fashion. Which becomes incredibly confusing & hard to edit after adding more than 3-4 timers reliant on each other LoL
2) Figuring out a way to not have to rely on 'webpage has finished loading' to move onto the next task. When many times on social networks, pages don't load properly, especially during peak hours, thus stopping the function of my web browser based application.
3) Implementing my application using a superior web browser framework. For example Gecko, or some other 3rd party browser that can perform simple tasks like filling forms, submitting them, clicking links/clicking javascript links.Right now using I.E. web browser, after my application has loaded about 75 web pages, it's using about 200mb of ram (from its initial 16mb) because of a memory leak in I.E. to which there is no solution (documented in several threads on this forum).Where in your opinion, would be a good place to look to hire a programmer/tutor for something like this? Because I am not looking for just code, but hands on, like on IM messenger/talk me through help too. I wonder if there is even a place offering services like that?
I am trying to make an application where i show a picture of the human body and i want to have clickable body parts e.g. arm, leg, head, torso and each of these opens up a form.
I already got the picture of the body as a background to the form but I need to create these clickable areas.
I can use the picture box and just leave it transparent without an image, but these can only be shaped as squares/rectangles etc, not ideal for create a clickable area conforming to the shape of a human body.
If there is an alternate way of doing this? or making those picture boxes a custom shape?
I am trying to build my own website and realized that it would be a big help to also create my own vb program to enable me to embed tags with simple clicks of buttons. I am having trouble getting my vb code to be compatible with html code (I keep getting vb syntax errors).
Here is what I've tried:
<strong>'Inside of a button:Textbox1.text = "<html tag example></html tag example>"</strong>
I am trying to create a link in a user area of my website. After logging in, the users info is passed to the allow access to specific areas of the site. What I would like to do is create an html link that is controlled by a conditional statement.
for example, after a user logs in, I want to check whether they have credentials to click on a link which will allow them to advance to something new. If they don't have the credentials, the link will be blocked out or not appear at.I am looking for a place to start on this task, any documentation or keywords would be helpful. Also code samples would help greatly.
I am creating an interface with several textboxes and HTML component and several buttons.But when I drag any textbox onto the existing form they line up vertically one under the another or they attach directly together on the same row. I want to be able to drag and drop and place these as well as the HTML component wherever I need on the form. In VB6 I simply selected what I needed and placed it with ease. Can someone tell me what I need to do gain this simple freedom in vb.net
View 3 RepliesUsing vb.net 2008.I have used the "Using" keyword before in C# with objects that implement iDisposable.Can you use that keyword in vb.net also? What are the advantages of the "Using" keyword other than showing the coder when the object goes out of scope.I am under the impression that the "Dispose()" function is called at the IL level when you use "Using" instead of, for examplel, calling the Dispose() in the .net code.
View 1 RepliesThis may sound really stupid but I have to ask cause I'm not finding this answer anywhere.I have an application where the user will need to sign up for a new user account on the website [URL]..However when I am using Firefox's plug-in Firebug to view html I am getting something totally different than when I just right click on the site and view the page source.
What I am trying to do is to get the captcha from the website and display it in a picturebox on the application so the user can view the captcha, solve the captcha and then the app post is back to the service for a response.
Here is the source that I am getting using Firefox's Firebug to inspect the element:
<td>
<input type="hidden" value="Oo3Jo1I8bgzK68agMqo3s79ZZib2OkbK" name="iden">
<img class="capimage" src="/captcha/Oo3Jo1I8bgzK68agMqo3s79ZZib2OkbK.png" alt="i wonder if these things even work">
</td>
[Code]...
Why would the two be showing me two different versions of the HTML?
And how would you be able to grab that source to view in a picturebox using webclient?
Usage: Users create pretty HTML news letters in another app. They post the newsletter to the web, but they also want to set the contents of the HTML news letter file as the body of an email and send it using Application In Question. The users understand to use absolute link and image references when sending an E Newsletter. Environment:
AIQ is a VB.Net app deployed via ClickOnce. It is an intranet app; one can be sure MS Office 2003 and the interop 11 dlls are on the target machines.
Restrictions: MAPI is out. It mangles the HTML. Since it is a ClickOnce deployment, we can't register dlls (I think, correct me if I am wrong). Therefore CDO and COM is out (again, I may be wrong.... I would be happy to be proven so).
Need a bit of help with HTML Agility Pack!Basically I want to grab plain-text withing the body node of the HTML. So far I have tried this in vb.net and it fails to return the innertext meaning no change is seen, well atleast from what I can see.
Dim htmldoc As HtmlDocument = New HtmlDocument
htmldoc.LoadHtml(html)
Dim paragraph As HtmlNodeCollection = htmldoc.DocumentNode.SelectNodes("//body")
[code]....
I have tried this:
Return htmldoc.DocumentNode.InnerText
But still no luck!
I am trying save a value from an input tag in some HTML source code. The tag looks like so:
<input name="user_status" value="3" />
I have the page source in a variable (pageSourceCode), and need to work out some regex to get the value (3 in this example). I have this so far: [Code] Which works fine most of the time, however this code is used to process source code from multiple sites (that use the same platform), and sometimes there are other attributes included in the input tag, or they are in a different order, eg:
<input class="someclass" type="hidden" value="3" name="user_status" />
I just dont understand regex enough to cope with these situations.
then fill all tags and attribute of this page in vb arrayi know this is too much but would you expl
View 4 RepliesI've given a job to convert old data in table format to new format.Old dummy data is as follows:
<table>
<tr>
<td>Some text 1.</td>
[code].....
I have to submit a HTML form to a 3rd party website and one of the hidden fields is an XML string. The XML needs escaping before it is sent to the 3rd party.
However when I add the plain XML to the form field it semi-escapes it for me. So then when I use HTMLEncode myself part of the XML is double-escaped. How do I prevent the automatic escaping that appears to becoming from .NET.
Or even better how else can send the escaped XML via the hidden field.
XML
<systemCode>APP</systemCode>
Basic assigning to hidden input field
<systemCode>APP</systemCode>
When I HTML Encode it as well
&lt;systemCode&gt;APP&lt;/systemCode&gt;
I can see what's happening - but I don't know how to prevent it?
i want open html file in vb
then fill all tags and attribute of this page in vb array
I successfully wrote a code to retrieve a version number from a HTML page which is this:
<div class="header">Latest Version: <span class="version">6.59</span></div>
So the following code will return the version number which currently is 6.59 which is what I'm after. [Code] But then i remembered that releases are done as following: 6.59, 6.59b, 6.59c, 6.60, 6.60b etc. So when the b version of 6.59 is released the parser will still return 6.59. So how can i make this code better?
I need this, so let's say I have this html
</a>
</td>
<td class="alL">21,442</td>
<td class="alL">99</td>
<td class="alL">13,444,999</td>
</tr>
All those numbers always change. But they're in the same line always
Now I wanna get "99" which is at <td class="alL">99</td>
i have this
Dim wc As New System.Net.WebClient()
Dim p As New System.Net.WebProxy()
Dim test As String
wc.Encoding = System.Text.Encoding.GetEncoding("utf-8")
p.Credentials = System.Net.CredentialCache.DefaultCredentials
wc.Proxy = p
[Code]...
I have the HTML string:
HTML
<html>
<head>
</head>
[code]....
So I need to get from that string, a string that has:
"Variable1: {VARIABLE1}
Variable2: {VARIABLE2}
Variable3: {VARIABLE3}
Variable4: {VARIABLE4}"
How can I do it without using WebBrowser and get it to an array of HtmlElement?
View 7 RepliesHow can I get the html source code of an open Internet Explorer web page?
View 1 RepliesI cant seem to retrieve value from HTML page,
<input type="hidden" name="allyId" value="5961">
i need to get the value and convert it to string as value changes often and i need to put it in url when opening the page
HTML
<input type="text" id="id1" name="id1" value="myvalue" title="id1" >
How would I get "myvalue"? I've tried using .InnerText/.InnerHTML, but neither work. Instead of "myvalue" it will return "".
I need some help with getting my program to find all url's within a website html source, and post all of them as an entry in a listbox.I've tried to read up on this, but I can't find anything that can help me.
Basically I want to click a button and then the program will search for all links within a html document that begins with "xxxxxxx=" just as an example. After the "=" there is a number.All of the links that begin with "xxxxxxx=" has to be added to ListBox1 I'm using a WebBrowser control.
I have been working on my program for a little bit and one of the features I want to add is have it extract the URL's from a website. I would need it to just go through reading the "description" for each URL and then if it maches the one I am looking for it will add the URL to an array list. I know I need to use regex, but I just can't seem to get it to work.
View 3 RepliesI have a HTMLDocument, and in it there are a number of TAGS with a value between them:
[code]...
I have constructed a form in ASP.NET MVC 2 that is bound to a Model, using code similar to below to generate my inputs and wrapping them within Ajax.BeginForm("MyAction").
[Code]...
I want to dynamically convert html file or html string to PDF in Windows Forms application.
View 3 Replies