Implement AddHandler For A Form Or Say Something Like Frm = Application.OpenForms.SelectedForm?
Aug 4, 2010
I have ran into a slight problem and I have not met this issue before today.If I create a Form at run-time with a Button on one Form using a LinearGradientBrushhow can I make the Form maintain the gradient when it is Maximized for every Form that is generated?urrently, if you create 2 Forms using the code below, select the 1st Form created and Maximize it, you will see the problem.This problem does not exst for the currently generated Form however. :-)Would I need to maintain parallel Lists Of Forms or / and LinearGradientBrushes or / and ClientRectangles?
Option Strict On
Imports System.Drawing.Drawing2D
Public Class Form1
[code].....
View 3 Replies
ADVERTISEMENT
Sep 8, 2010
I need to replace VB 6.0 code; 'My.Application.OpenForms' with the VB.NET equivalent.
View 1 Replies
Mar 22, 2011
I have been trying to reference Application.ThreadException in my application to make an addhandler, but I also am using imports growl.connector which has a growl.connector.application method. When I create my addhandler:AddHandler Application.ThreadException, AddressOf ThreadExceptionHandler
And I get "ThreadExecption is not an event of 'growl.connector.application'"
View 2 Replies
Aug 17, 2010
I'm instantiating an instance of FormQuoteCard from formQuoteList, formQuoteCard has an event and I'm adding an event handler to form1, but when i raise the event in form2, nothing happens:
[Code]...
View 6 Replies
Jan 8, 2011
I have a module that handles adding controls and populating values on a form. One of the controls is a button (there can be many) which acts as a lookup. For some reason, when I click the Button, it winds up in the btnLookup_Click event and displays the various messages, but it does not update the label (labLookup) text on the form. Am I missing something?
[Code]...
View 3 Replies
Mar 3, 2012
Is there a way I can have my VB application run Flash in my VB window and communicate with like the variables, objects, and other stuff in the Flash movie? Such as if I wanted to get a variable or set a variable in the Flash window.
View 2 Replies
Sep 29, 2010
I am Newbie in XMPP . I want to create chat application in VB.net using XMPP .i am having ejabberd serverin my pc.i dont know how to intract with ejabberd server via VB.net.
View 1 Replies
Jun 13, 2009
I hava a MDI app. i have a mdiChlid(say A) and others n instances of another mdichild. i wanto to this others n instances can handle an event generate in the A mdi chlid. How ca i do this??
[Code]...
View 2 Replies
May 11, 2009
I want to add Ruler line to my application..how can i achieve this..
View 6 Replies
Apr 16, 2009
I am trying to build a class. I am having a difficult time conceptualizing how a class is built and how it works. I want to be able to build a USEFUL class and implement it in an application.
View 1 Replies
Aug 16, 2008
How can I implement Ajax in asp.net 2.0 application.
View 1 Replies
May 31, 2011
How to implement drag & drop for a WPF application? I could open 2 the same apps and drag an object from one to another. Here's what I want to drag:
<Grid Width="100" Height="50">
<Rectangle BackGround="Red"/>
<TextBlock>Hello World</TextBlock>
</Grid>
The Grid has to look the same in the other app where it is dragged as the one from it was dragged.
View 3 Replies
Mar 5, 2011
I'd like to implement DWebBrowserEvents2.DownloadComplete into my Application
My Code
Imports System
Imports System.Text
Imports System.Windows.Forms
[Code].....
View 4 Replies
May 12, 2010
I need help to implement multiple threads in application.Assume ds.table(0) has 5 and sometime 6 rows rows for i=0 to ds.tables(0).rows.count-1.I have to apply multiple threads, means all five/six rows should start at once using thead and "Process 1" .."Process 4" should also handled by threads.This is hierarchy that I have to apply with threads, how can I do it. It is requested to put piece of code so I can understand better.
View 13 Replies
Apr 5, 2009
how to implement undo/redo in an application? I've searched the web, and most I found don't work properly or just clear the textbox.
View 9 Replies
Feb 28, 2010
I have to implement OO scripting in VBS/JS, wondering what's the best way to do that.he scripting engine has to be able to create new methods for existing object in the application and allow calling the methods in other existing objects.
View 4 Replies
Feb 20, 2012
I was wondering how to implement a custom character set for use by an application, i.e. hex bytes that are read by the program then converted and displayed in the window. If this requires first converting the bytes in a file to an already implemented character set, I'm cool with it - I'll go with whatever works or works best. I'm writing with VB.NET 2010, and running Windows 7 Home Premium x64, by the way.
View 2 Replies
May 1, 2012
i have one problem to implement finger print scanner using we application.
how it possible,i have digital persona kit
View 1 Replies
Jun 2, 2011
I want to learn the Database application programming. Especially, the multi-user environment. User can update the data at the same database. So, could you give me some advices ? Does it should use SQL server db ? How to connect with the the SQL server from other PC user ?
[Code]...
View 1 Replies
Mar 20, 2012
I'm wondering if there is any scheduler control in Vb.Net -MS VS 2005- and if not I hope I can find a one - free - that I could use on my application...
how to implement scheduling tasks requirement in my application..
View 1 Replies
Aug 17, 2010
I am trying to implement image caching for a web application and I found some code on the Internet that implements an HttpHandler that does this. The code was in C# and since my web app is written in VB, I decided to convert the code to VB. I managed to convert everything except the following code (in bold):
public class FileExtensionCollection : ConfigurationElementCollection
{
public override ConfigurationElementCollectionType CollectionType
{
[CODE]...
From what I can understand, the two properties above provide a way to access the FileExtension collection either using an integer or a string index. My problem is that I do not know how to convert this in VB.
View 3 Replies
May 5, 2009
I'm trying to implement cut, copy and paste functionality in my application. My menu is on the main form of my MDI application and I would like to cut copy or paste from any textbox from any mdichild.
View 5 Replies
Apr 21, 2010
I am looking for ways to implement custom user-roles in windows application with vb.net. I got a database table called Roles with Administrator and User entries. User cannot see some of the form data. In ASP.NET MVC we can do like.
[Authorize(Roles = "Administrator")]
public function GetAccount() as Array
End Function
View 1 Replies
Dec 17, 2008
I am upgrading from Visual Studio 2003 to Visual Studio 2008. ow I should upgrade my project.My project is in Visual Basic.Net, and using an Access 2003 Database. I have four datasets, MainDataSet (for the main data tables) LookupDataSet (for lookup tables States, Countries, Colors, etc) OneFormDataSet (data used on only one form) and ReportsDataSet (data used for reports).I have one form "OleDbAdpatForm.vb", that has all the OleDbDataAdpaters for my project. It also has the DataSets and the OleDbConnection.I have public functions that enable me to load the data tables.
I have a LoadTable function when I can pass a column and a value, and the SQL select command is updated with a WHERE or HAVING, so only the requested data is selected. I also can pass the whole "WHERE ..." part of the SQL select command, so I can have multiple parameters in the SELECT command.On my other forms, I have copies of the DataSets, so I can design grids/controls. In the form_Load events, I manually bind the controls to DataSets and tables in located "OleDbAdpatForm.vb", so all forms are using the same data tables, and changes made to data in one form are reflected in data in other forms.The VS 2008's DataSources, BindingSources and TableAdapters seem much easier to use. how I should implement the new data features in my application?
View 2 Replies
May 11, 2009
I am Developing one designing tool..in this i have to implement Bring to front and sent to back properties.
View 3 Replies
Feb 21, 2009
I'm trying to implement an Owner-drawn ListView in my application using the code available at this MSDN article, however I've encountered several issues.First of all, the double-click event only fires when the mouse is over the text in the first column of any ListViewItem. I'd prefer to keep the manual, timer-based, double-click detection routine as a last resort if possible.Second, when the ListView is scrolled sideways, clicking an item won't select it anymore.
View 2 Replies
Mar 21, 2012
I'm fairly new to VB programming. I have a control which is mounted within a form. I need to implement a callback, so that the control can make the parent form do something. My plan was to create a MustInherit class with MustOverride methods, and make the form inherit the MustInherit class. However, Visual Basic tells me that the form cannot inherit more than one class, which means that it can either inherit my MustInherit class, or System.Windows.Forms.Form, but not both.[code]...
View 1 Replies
Mar 6, 2010
How to implement checKboard effects in VB 6.0 form
View 1 Replies
May 15, 2011
I'm working on a Windows Forms application with a module, and I want to put a time delay in the module rather than a form.
View 3 Replies
Oct 29, 2009
May i know how to implement the case sensitive detection in VB for the login part, so if a user registers in "key" for his password and keys in "KEY" for his login, the system will actually kick him out.[code]...
View 5 Replies