Communications :: Using WebControl To Enter Text In Embedded Java Apps
Aug 9, 2008
The project I'm attempting to accomplish has to do with real estate. What I would like to do is go to a URL, automatically enter login information, once logged on, be able to grab certain pieces of text from the page, and then paste those pieces of text into another online application that also requires a login.
That probably sounded a little complicated but basically all I'm doing is putting text into textboxes and then pressing buttons. It would make the job much easier if it were automated.
I searched the forums and found that the webControl module seemed to be the place to start so i enabled it in my Toolbox. I then tried downloading "IE developer toolbar" to find the name of the first textbox on the webpage. Unfortunately, both the username and password fields are part of a java app. Here is the site to see what i mean [URL].
After three days research, I'm having trouble finding a simple sample app that will work as a server and wait for an ethernet connection request. When it gets one, it should complete the connection, then wait for another connection request.
I have to create a form that I enter the price of gas each month over a year. I enter the price in a text box and click the enter button to send the price to a list box immediatley and use an array. I have the following code but I don't think it's working with the array correctly as it will let me enter the information but doesn't stop letting me enter after the 12 prices. I am really having a hard time trying to figure out how to set up this input for an array and make it all work.
I'm looking to replicate a feature seen in the Football/Championship Manager games. Here is a screenshot I just took from my copy of Football Manager 2011 illustrating what I want to achieve.Basically in the game wherever there is a player, team or competition name (or many other things as well) written in the text you can click on that name and be linked to the relevant page. It's a senstational feature which makes navigation through the menus very easy.My mouse was hovering over "Alex Zotinca", causing the name to be underlined. You can't see the mouse in the screenshot though for some reason. In my program I'd probably prefer names like this to be underlined permanently, not just on mouse over though.
What i need to know is, is there a way of getting text from a java application/Window.i have search on google for references and have been unsuccessful.
I have quite a long java class and I need it displayed within a text box, with a scroll bar, in a powerpoint presentation. I have only just found out that powerpoint can use vb to create macros. I would want it displayed in the powerpoint presentation correctly formatted etc. [Code]
i have a textbox in my app, and when you click the button it inputs the textbox.text into a website textarea this worked fine when i was testing it using the source code (html file on my computer) but what i did not realise was that the textarea was formatted with some java (added tools to the texarea) so now when i try it on the website it does not work as the textarea has the java running. (calls it from another url) code i was using
Will a Webcontrol item display a Web site that uses Javascript? I wrote a small webcam application and added the URL of the webcam to the properties of the Webcontrol item. However, when I rung the app the page attempts to load but halts loading at "Please Wait..." BTW - this is a phone "SmartDevice" application...
I am using VB2008 Express and am curious how to send a command via RS232 communications. The string that I need to send is 02h PON 03h. The start and end bits are 02h and 03h.
How can I convert 02h and 03h to its ascii form. In hyperterminal, I use the sequence {(hold)ALT 0 0 2} on the number pad to send the start bit.
I am using this code currently without the start and end bits
I'm trying to receive data from the serial port and display onto a text box in my gui in vb. I'm using xp pro sp2 and vb 2008 exp.What i've done so far:
- I'm able to send data successfully (tested) to the serial port - I can dispaly what data is being sent (tested)
Steps taken:
- I have looked around on this forum for something similar to what I have but no similar posts are here - Will look into MSDN help shortly - Will also try some vb books I have lying around. But the problem is most of the vb books deal with sql server and database stuff and not really interfacing to hardware.
So ive looked everywhere but every example i find doesnt work on visual studio 05 and doesnt convert properly. I simply want to send info from one computer to another through direct connection. if anyone could point me in the right direction it would really be helpful. most stuff i find seems to be more complicated than what im looking for.
then just one other question. both computers will be going through a router. as long as i have the port im using forwarded on the hosts side, that shouldnt be a problem, right?
I created a Label control inheriting from Label WebControl in CustomLabel.vb in my project where I want to use it. And I would like to use the code below in source-view as such:
i have 2 forms.in form1: i have 1 combobox in form2: i have 1 textbox and 1 button...I want to make in form2 when i enter some text in the textbox and press the button the text to be added in form1 combobox
I am trying to extract a portion of text from a web page that is generated by a Java script. [URL] A glance at the source of the page shows the actual display content is not directly represent in the HTML Source. I am trying to grab the auction information in the body and not the menus on the right. Can someone point me to the right object model- methods and properties?
I'm trying to enter code into a button to save a text file from a text box.The text box is called txtEditor, I have created an open file button using the openFileDialog1 and have been successful with this I just can't get the saveFileDialog1 to work.
I'm working a program, which will download files from my server. But I need, program will download random files from text file on server, for example: I have [URL].
In links.txt are these links: [URL] .....
If I run a program, it will download first link, after finish download it will download fifth link, second link etc. Downloading of one link works fine for me, but I need download more links...
Code: theRequest = WebRequest.Create("[URL]") So I need: theRequest = WebRequest.Create("RANDOM LINK")
I was maked a application in visual studio 2008 using language vb & now i want to connect with database so plz mail the steps required for database connectivity using ms access or sq
I'm trying to create a function that searches up a WebControl's parent-child relationship (basically the opposite of WebControl.FindControl(id as String), but looking for a specific WebControl type).
Example
I have a user control in an ItemTemplate for a GridViewRow. I'm trying to reference the GridViewRow from the user control. The user control may or may not be inside a div or other types of controls, so I don't know exactly how many parent's up to look (i.e. I can't just use userControl.Parent.Parent). I need a function that will find the first GridViewRow that it finds on the way up the parent-child hierarchy.
This is really annoying. I am implementing Google Maps in Windows Forms application via the WebBrowser control. The map and the directions are too large for the Window and I have the ScrollBarsEnabled = True but, the scroll bars never show up. The only way to get to the content that is 'off-screen' is by clicking and dragging the mouse downward. I have looked for other properties but, none seem to be appropriate.
I would be glad to provide code snippit if needed.
I have been stumped on this for about 3 weeks now. In the beginning me and my partner have been trying to hit this at the internal angle. only problem is different html tables are constructed different than others. We are needing to extract from multiple pages and sites so we know that Regex will be the best solution. We can use the same script for everything. This is my first time working with Regex, I got it actually extracting the very first ip[proxy]. I have no idea why it isn't extracting every one on the page. I also have to add the . in between each each octave of the ip. That is weird because I have it in the Regexpession to find the .'s.What I'm Needing is for this to basically scan the whole page and grab all the ipsorts and add them to a listbox.Here is my
Dim request As HttpWebRequest = Nothing Dim response As HttpWebResponse = Nothing Try
I call the method GetUrl below provided in a form-based assembly from a console application to get the content of an HTML page. This works fine so far with one exception. The code starts an iexplore-process in the background and this process remains active even after fnishing my program. The only way I found to get rid of this process was to kill the process, but this seems not be be a very nice and mature solution. I already read that the NET webbrowser control in only a wrapper for an activeX COM control of IE.
Question: How can I close the newly created iexploe-process in a clean way using the webrowser object?
A piece of code that will allow the user of my application, to enter the text "unemployed" into a text box and also allow them to enter numbers for how many years the person had been employed for.
what WPF based apps are?Is it an application that runs under Silverlight? If so, how?I know; Windows Forms based apps,console apps,DLL _ Class Library Projectsand I've had an introduction to ASP.Net.What I mostly want to know is, if WPF apps are for Silverlight then do they also run in a server based fashion like anASP.NET website would when you create ASP.Net webpages?Is it a way of creating what looks like a FORMS BASED application but it runs in a browser instead or what?Please enlighten me a bit further as I have no idea what WPF is all about.