Interacting With WPF At Runtime?

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


ADVERTISEMENT

API Interacting With Other Programs?

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

Interacting Classes With SubClasses?

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

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

Interacting With Internet Explorer?

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

Interacting With Video Files

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

MDI Child Forms Not Interacting

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

Multitasking Interacting With UI Thread?

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

VS 2008 Interacting With A UserControl

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

VS 2008 Interacting With A Webpage?

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

Interacting With Javascript SubModal Object

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

.NET COM Assembly Interacting With Excel Via BackgroundWorker?

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

Program To Stop Interacting With Windows?

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

VS 2008 Interacting With Other Windows Applications?

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

Windows Form Interacting With Browser

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

Windows Form Interacting With Browser?

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

C# - Interacting With The UI Thread From An Async Callback Method?

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

Interacting With ListView (NamingContainer) Item Controls?

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

Windows Service Interacting With SQL Server Database?

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

Interacting Command-Line Applications - Put Together A Simple GUI For Ffmpeg

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

Interacting With A Data Grid View In Visual Basic?

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

Alternate Designer - Freeze The Controls From Interacting With Clicking Or Key Presses Without Disabling The Control Itself?

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

Adding Dropdown List At Runtime And Access Control And Events At Runtime?

Dec 20, 2010

I have created multiple dropdown list at runtime and populated with data. I also have added an eventhandler to determine the selected value of the drop down list.

The code is as follows :
Dim tbl As New Table()
tbl.EnableViewState = "true"

[code].....

View 2 Replies

Runtime Error: This Application Has Requested The Runtime To Terminate In An Unusual Way

Aug 6, 2007

I have a Visual Basic 2005 program which runs fine if I execute the built Executable. However if I start the application in VS2005 debugger it gives a weird error

[Code]...

View 5 Replies

Interacting With A Listbox Line By Line?

Jul 21, 2011

I am making an application where the listbox will load a text file that contains a number of different strings on each line. I want my application to interact with the first line, then go back, interact with the second line, then go back etc etc. The number of lines that will be in the listbox isn't set, and will change according to the text file that is loaded.

View 8 Replies

Runtime - Error "microsoft Common Languages Runtime Version 4.0.30319.0"

Jul 29, 2010

Soemone recently downloaded my software and they got this error: microsoft common languages runtime version 4.0.30319.0 how do i fix this

View 1 Replies

VS 2008 Load The "runtime" And "genre" Into Label3 (runtime) And Label5 (genre)?

May 24, 2012

I'm creating an app to manage the movies I've watched and get some info about these movies and then display these info in labels.At moment I'm trying to load the "runtime" and "genre" into label3 (runtime) and label5 (genre). Once the movie name is clicked in the listbox control, these info are loaded from a website (webbrowser control) and then displayed in the labels. My question is: Is there any way to make the My.Settings save these info for EACH movie? Something like this:

Saving the info:

vb
If ListBox1.SelectedItem.ToString > 0 Then 'LOADING THE INFO CODE... 'SAVING... 'create: My.Settings.(ListBox1.SelectedItem.ToString & "1") = Label3.text 'create: My.Settings.(ListBox1.SelectedItem.ToString & "2") = Label5.textEnd If

[code]....

View 15 Replies

Add Combo Box At Runtime?

Aug 2, 2009

How to create Combo box at run Time with its Click events and Key Press events.

View 1 Replies

Add MenuItemToolstrips On Runtime?

Jul 28, 2011

I'm working on a project wich has a MenuStrip and a button.

So what I want to become is when u press the button the process 'notepad' starts and then a MenuItemToolstrip with the notepad icon and text will be added to the Menustrip.

everything works fine when i press the button but when I press the button a second time it doesn't want to add a new menuitemtoolstrip.[code]...

View 4 Replies

Appbase Being Set To Nothing At Runtime

Feb 23, 2009

I have a difficult to reproduce error on about three user installs out of 20. This is a .net Windows application, 2005 in VB.Net running on XP. After opening up a window, we get an error:[code]This happens also for the ReportViewer dll and a couple other infragistics dll's.I turned on Bind Logging, and the first binds are ok, but when I get the error, the Appbase has been set to blank:[code]

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved