Interacting With A WebPages ComboBox?
Nov 16, 2010
I am trying to have a ComboBox on my form, be able to change the selected item in a Listbox/Combobox on a website, through a webbrowser control.
For instance, here is the HTML coding I am trying to interact with on the webpage:
<select name="day">
<option>1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option>
[Code].....
View 3 Replies
ADVERTISEMENT
Jul 10, 2010
I searched around the web for some tutorials and code examples, but couldn't find anything up to date. For example if i wanted to hit the "+" button on the windows calculator using an application i made what would be the best route to do so?
View 3 Replies
Apr 15, 2012
I am lookin for source from where i can learn to change control properties at runtime using VB.NET. Actually I havent started working on the project so I cant mention exactly what I need.
View 4 Replies
Mar 17, 2009
I have a project in Visual Basic 2008 where there is a Main Class and couple of classes inside the Main Class. I want to be able to share variables/objects within the Main Class and SubClasses while those vars/object are instanced.
Ex:
Code:
Public Class clsMain
Public t as New clsSub1
[Code].....
So, can i make var1 be in separate instances per clsMain in the memory while being able to access the var1 in clsSub1?
View 2 Replies
Mar 12, 2009
I want to be able to make Internet Explorer navigate to the "about:blank" page every time its user navigates to a wesite that is blocked by the HOSTS file. Does anyone know the code that I can use to do this?
View 18 Replies
Oct 10, 2009
What classes has vb.net got to work with video files...like mpg or mp4i wanna write some code to be able to save a specific video frame to a jpg image.
View 1 Replies
May 11, 2012
I have a MDI parent on which i launch a child form
Dim NewMDIChild As New Frm_addOT
'Set the Parent Form of the Child window.
NewMDIChild.MdiParent = Me
'Display the new form.
NewMDIChild.Show()
His child form contains several comboboxes which hold data from a dbase(sql)
When new data is entered in the cmb it checks the database and if it isn't in there it launches another window
FRM_OTlistaddklant.Visible = True
and copy's the newly entered text in a textbox.
FRM_OTlistaddklant.TB_klantnaam.Text = OTaddklant_naam
then i can give in the details etc.
now, when this is done and the users presses a button "Add"
the information is written to sql(which works perfect)
than i have a public sub on the Frm_addOT which should refill the combobox and
also set the backcolor to a specific color.
and the last two things will not work. Actually when i try to change the backcolor on Frm_addot it triggers the event backcolorchanged and says it has changed but it is not visible.
View 5 Replies
Oct 1, 2011
I'm trying to start to use the Task class for multi-threading. This is a really simple example so I can work out the ins and outs. As an example, I have the below thread, the thread.sleep is used to represent large amounts of data processing, at the end of which I'd like to update something on the screen. Please advise a good way to achieve the idea of the below code with respect to the text box update.
With the old threading system, I would grab the UI context, and do a .post/.send to it. I'd like to have that ability with the newer task system, but am open to the preferred way of solving this.
As a back ground, the threads I will be replacing were previously constantly running during the app with a do/while that was killed at app close.
[Code]...
View 6 Replies
Apr 3, 2011
I want to make a usercontrol that I can then use on my project form, and then interact with it. (for example, get the result of a calculation that was made in the user control and then make futher calculations on my form) I basicly know how to make a Usercontrol, by not how to use the information that it derives for further use.
View 3 Replies
Jul 2, 2009
I just wondered if it was possable to say load a webpage then press a button on a certan webpage?
View 9 Replies
Apr 26, 2012
I am using VB.NET to automate a web form submission using SHDocVw.InternetExplorer. I have navigated to the form, filled in all of the fields successfully, and clicked the update button. By design the web application then opens a JavaScript SubModal window in the center of the screen. It looks like a "floating iframe" for lack of a better description. [code]I need to find a reliable way (i.e Not SendKeys). to get the HTML source of this popup in order to click a button.
View 1 Replies
Feb 24, 2011
I am writing (and teaching myself how to write) an experimental assembly in VB.NET 3.5 that is exposed via COM and then called from some Excel VBA code to initiate an instance of a class that traps some Excel events and then perform some functions on the active workbook in Excel.To initiate the class, a reference to the Excel Application is passed from the VBA (I am using a PIA for Excel in the assembly).I needed to perform a time-consuming operation on the active workbook from my assembly so I decided to use a BackgroundWorker in a WinForm so that I can display a progress dialog for the operation whilst the operation completes in the background.
I would like to know if there are any problems with interacting with Excel via COM using a background worker in this way? Reason for asking is that the main class in the assembly holds the reference to the Excel application object, and this is then passed to the BackgroundWorker so that it can determine the active workbook and then perform some operations on it. I am only accessing the workbook itself (not other objects) through one procedure.
View 2 Replies
Feb 27, 2011
following error as I am unable to find a fix:Description:A problem caused this program to stop interacting with Windows.
[Code]...
View 3 Replies
Jan 9, 2010
I didn't know where to post this question so I hope I put it in the right forum...I am not new to Visual Basic, however I am definitely not an advanced user. I would like to build an application that would allow me to interact with other programs on my computer. For example, if I were to build an application that could control iTunes, how would I go about this?
Or, I am looking to make an application that would allow me to do little things on my computer like disable my track pad if I have a mouse plugged in. How would I build something that could interact with windows (or iTunes) like that?
View 2 Replies
Jul 23, 2009
I have a windows form that I would like to have search for an html button in the user's browser. I would need the location of the button on the screen.
View 4 Replies
Jul 19, 2010
I have a windows form that I would like to have search for an html button in the user's browser. I would need the location of the button on the screen
View 13 Replies
Nov 15, 2009
I have a method that is asynchronously called when System.Net.Sockets.NetworkStream.BeginRead completes.
skDelegate = New AsyncCallback(AddressOf skDataReceived)
skStream.BeginRead(skBuffer, 0, 100000, skDelegate, New Object)
In that callback method, I need to interact with the UI thread.
Sub skDataReceived(ByVal result As IAsyncResult)
CType(My.Application.OpenForms.Item("frmMain"), frmMain).refreshStats(d1, d2)
End Sub
This causes an exception after the method completes. (when End Sub is executed)
[Code]...
View 4 Replies
Nov 9, 2011
If only there were an easier way of traversing ASP.NET controls in the codebehind. This has been the bane of my existence as an interning .NET developer. entifying the proper member of the ListView controls. I've deleted all the presentation code in the markup to make it easier to look, since it isn't relevant anyway. Here's the situation:Markup
<asp:ListView ID="NewProduct" runat="server" DataSourceID="NewProductSDS" DataKeyNames="ID">
<ItemTemplate>
[code].....
View 2 Replies
Dec 24, 2010
I have a windows service application that is meant to interact with SQL server database (INSERT, UPDATE, ETC). The windows service application is also multi-threaded.I created an "App_Data " folder to keep my database and used app.config file for connection information, etc.
After installing and starting the service, nothing happens, the database doesnt get updated, etc.
Has anyone ever written a windows service application that interacts with a database? Kindly advice me on how to overcome this problem..
View 2 Replies
May 14, 2008
I'm trying to put together a simple GUI for ffmpeg (a command-line video conversion, encoder, decoder etc..), mostly for video encoding/conversion... Now I am able to interact with ffmpeg.exe (the command line app that does all the big conversion work) with the System.Diagnostic.Process class (I know how to start the process with the arguments I need etc..) But the problem is, when I'm converting a moderately long video file it can take several minutes to complete...
[Code]...
View 11 Replies
Feb 23, 2012
I have a Data Grid View pulling in rows of data from an Access Database. I would like to code it so that when a user double clicks on a row, a window opens with that particular row being opened.
In addition, I would like to code a button so that it does the same, that is open a window with the selected row data.
How can I get the selected row ID or other data in VB?
EDIT: Forgot to mention this is a DataGridView.
View 1 Replies
Sep 22, 2010
I'm working with an antivirus scanner.But I would like my scanner can block websites.So that some URLs are blocked from any browser[code]...
View 6 Replies
Mar 26, 2011
building webpages is it possible with vb
View 2 Replies
Jun 22, 2010
I want to get the values from web pages using vb.net..
THIS WORKS!
<strong>PHP</strong>
<input type="text" name="sample" <strong>id</strong>="sample" value="" />
<strong>VB.NET</strong>
[Code].....
View 15 Replies
Feb 23, 2010
I currently have this code use for printing a table in mysql database , but there's a problem, the print button is also shown when I print the table. Do you know of any alternative or even a vb.net code that will print what is currently on the web browser in vb.net(the one being dragged from the toolbox used to view web pages or php files).
[Code]...
View 1 Replies
Aug 19, 2009
I am trying to create a program that will open multiple web pages at a specific time. The code works but it will open multiple windows.[code]...
View 3 Replies
Jan 8, 2011
I have done a lot of coding in vb6, in particular with winsock. I have briefly looked at .net and written a few simple programs.I need to write a server application that incorporates some kind of dynamic web pages. I have looked at ActiveX, php and asp. I need to create a website where users will log in and change values in an array. I have not done anything like this before and I am not a professional programmer.
So my question is, what is the best and easiest way to create dynamic web pages?Secondly what should I program in, vb6 or .net. I have done a lot of work in vb6 and know it quite well, however if the host server is NT6.1 I will have to supply the vb dlls. Then there is .net which I have not done much of, however I would not need to supply any extra files and finally I will start to move any from vb6.
View 9 Replies
Dec 30, 2011
A recent project of mine has been to make a designer. I've finished everything, but when I click the controls to show the properties window, the control interacts with the cursor. So my question is: How do I freeze the controls from interacting with clicking or key presses without disabling the control itself?
View 11 Replies
Apr 9, 2011
I want to be able to define some namespaced constants on the code-behind of my VB.net pages. For example,
[Code]...
View 1 Replies
Jun 8, 2010
is it possible to build webpages / applications with VB?
and wich one do i need in order to do that
View 2 Replies