How To Create Custom Controlls
Jul 31, 2011
My game is an old-school RPG. The most importand issue I have is that I want to create custom form controlls for the player and the NPC's, however althought I can create a class for e.g. the player.I have been using pictureboxes so far but they aren't as convenient as a custom form controll would be.
View 2 Replies
ADVERTISEMENT
Mar 16, 2011
I dont know if this is the right area. Please sorry if not.Well, first of all, thanx for your attention.Ive searched the whole web (at last where google can see) for a solution, but i just cant find.The problem is the following: I want a list of all controlls in my project, not only on open forms. The reason is that i want to make an access control, and the admin will set which buttons each users can use.
[Code]...
View 8 Replies
Feb 6, 2009
This is what I would like to achieve:To create a custom messagebox, with varying number of buttons with custom .Text descriptions, and other features. I intended to have a property array that would be redim-ed and have values (.Text values) set by the calling class:
[code]...
View 7 Replies
Dec 29, 2011
how to specify a custom icon for display in the toolbox window when you create your own custom control? Something other than the dreaded "gearbox" icon.
View 2 Replies
Dec 19, 2010
know how to create a custom file association ( a custom extension ) in VB .Net and how to open it on the application
View 1 Replies
Jul 21, 2006
With VB.net, I'm coding a simple application to get more used to the new .Net format.
I'd like to save all the information to a 'new' database file. how to create a database on the fly, once that is done i'll be able to connect to it no problem, but actually creating the file is proving difficult to work/find out.
Also, with vb.net and the newly created custom file, how can it be made to automatically open that information with the program?
Is there a method in installation to associate the file type with the new program? How can i check when the program loads if a database file has been 'double-clicked' (rather than just running from the .exe of the program) and proceed to load the data?
EDIT1 - Extra InfoThe windows application has many different fields and content etc, then i need to save that to a file that could later be loaded by 'double clicking'. I assumed the easiest way would be to create a mini-database for each unique file
View 3 Replies
Feb 7, 2009
I am not a new coder, but i am not a know-it-all. I have been watching some of those NVidia fluid videos, and got jealous. I thought "Why can't i do it?" I'm not good enough for OpenGL or some other 3d engine, but i thought i would try it in 2d.
View 4 Replies
Jan 31, 2011
I want to create a custom class that has inside an array of another custom class (see my code below) but when the programm runs is crashes. Why? What is the right expression???? Plz help I'm a newbie in VB.net.....
Public Class ctrarray
Public nameclass As String
Public ctrlindex(glvar_spaces) As ctrlindexclass
End Class
[code]....
View 6 Replies
Jan 24, 2010
I need two seperate lists, which every item is Integer, String, Bitmap - and one which every item is Integer, String String. However I don't know how to do this, or even where to look - I've googled for custom objects and custom object lists. What I'm trying to do is this.Custom Object1 is Integer, String, Bitmap Custom Object2 is Integer, String, String
In one thread I'll be adding items to List1(Of Object1), and processing them, and adding the results to List2(Of Object2), however I need to be able from other threads to look at the list and say only give me the items where Integer = (my thread ID), is this possible? Any help, or even links to information that would be relevant to this request would be helpful?
View 2 Replies
May 16, 2011
So I know this will end up being a hard task, but I want to figure out how to do it. My language won't be outrageously sophisticated. Here is an example of what it'll do[code]...
View 9 Replies
Feb 15, 2012
I just have this program that validates if the selected file is an excel file, and I want this to have a separate function for validation so I can use that function to other program
View 13 Replies
May 7, 2011
I am creating a WCF in vb.net inside VS 2010. I have a handful of properties that are currently bytes (0 - 255) and represent different test scores. Is it possible for me to create my own type based on this that will only allow values between 0 and 110?[code]...
View 2 Replies
Mar 4, 2012
I want to create ComboBox that looks like this:
I have all the images needed for this set. where should I begin to create something similar?
View 3 Replies
Aug 5, 2010
I'm creating an stock management application. At times I want to be able to search for a customer, location, or institution. I know how to do all of this, but what I really nee dot figure out is:How do I create/design a function that calls a form and has the user query information and then return that query's data, preferable datatable.Now, I've created the form that does all this and I have the dataTable but now I want to have a function that can call this "query form" and return that data.I was thinking I have to do something with multi-threading but maybe I'm just looking over something obvious. The best analogy of what I want to do is to create a custom dialog box, but obviously instead of returning a simple integer I'd be returning a dataTable.
View 5 Replies
Nov 21, 2011
I have created a control in vb.net. Now I want that control to send some message(fire an event called recieve) and the parent application that implements it will have to create an even listener called recieve and do actions accordingly.
View 3 Replies
Mar 19, 2010
I use VB 2008,I need to create DateTime DataGridview Column..how create Custom DataGridview Column with using DateTimePicker
View 3 Replies
Apr 12, 2012
I searched several keywords but could not find a good tutorial on how to create custom 'links'. My goal is for my apps to be able to handle special links inside of Outlook. The link will cause my app to display the proper info when it is clicked.
View 3 Replies
Sep 28, 2007
I am new in .net framework 2.0. I have to create a custom control. How to create it?
View 7 Replies
Feb 5, 2009
I have a DGV with several columns in it displaying some data. I want to be able to have certain rows in the DGV act as category headers to provide separation of the data. The category header should be a row that has one column that extends the full width of the DGV. How can I create this mix of single & multicolumn rows within the same DGV?
View 2 Replies
Feb 11, 2011
Is it possible to create my own event in vb.net .
I need an event for WindowState = Normal.
View 1 Replies
Dec 13, 2009
So I know this will end up being a hard task, but I want to figure out how to do it. My language won't be outrageously sophisticated. Here is an example of what it'll do:
public.Block main()
def Tex01 as ImageFile =->file->load("C:userspicture.png")
Tex01->recolorable = true
[code].....
View 7 Replies
Mar 19, 2011
I would like to expand my knowledge of VB.NET and was looking at creating custom user interfaces or custom controls. The type of things I am thinking of is: [URL]s. How are those controls created? I imagine it involves using the existing controls in Visual Studio as a starting point, and altering them to suit your design?
View 2 Replies
Aug 17, 2010
I have created a little demo application which is able to create a meeting request by using the Exchange WebService (EWS). I would also like to add some custom properties to this item but up to now I have only found examples which use the Exchange Managed API, which I won't use. There must be a way to create these properties by only using EWS... Does anybody know how and can provide a little code example?
View 1 Replies
Jun 10, 2010
As i am trying to create a custom FTP server for an application i've been reading up on this for a while. One part of the problem is obviously the multi threading issue.Now i know that the synclock command will lock an object to the thread that requested it's lock, however in an example on the internet i found the following construction and i am wondering why he would do this.
Code:Private Sub ProcessClient( NewClient As Client )Call SendMessage( "530 Acces Denied", NewClient.ControlSocket) more codeEnd Sub Private Sub SendMessage(ByVal message As String, ByVal ToSocket as Socket)Dim CurrentThread As Thread = Thread.CurrentThread SyncLock CurrentThreadToSocket.Send(Message)End SyncLockEnd Sub Now ProcessClient is a thread that is trying to do some stuff with a newly connected client and SendMessage is just a sub in the same class as where the thread was created. Now normally one would synclock a "syncobject" however here he calls a sub and then from that sub he synclocks to the thread that called it. I wonder what the use of that is and why he does it this way?
I have removed the synclock statement and as I expected it functions exactle the same as it does with it. I tested it with multiple users at the same time trying to connect to it.
View 2 Replies
Jun 5, 2011
I've saw many many times lots of custom controls, so I decided to build mine.
what do I need do to do to build a custom listbox control?
View 4 Replies
Feb 24, 2009
I have been asked to build a custom wizard control in VB.NET for a windows forms project. It has been made very clear to me that I am not "allowed" to utilize existing wizard controls on the internet due to some obscure logic surrounding copyrights. It has also been made clear to me that we are not "allowed" to use usercontrols in the software.
View 3 Replies
Jul 2, 2009
My goal is to be able to create a costom Visual Style like Aero Glass but with some modifycations... Also Id like for it me to be able to use that style in one application... like Norton 360 dose they have their yellow style thing going on...
View 10 Replies
Nov 20, 2009
I use this code to create the same Button in multiple Forms[code]....
View 6 Replies
Oct 14, 2011
i need to create custom controls for my apps so how can I do that? Do I need a special software to do that?
View 3 Replies
Jan 30, 2010
I created my custom picture box using a class below
View 1 Replies