Create Windows Form Via Code?
May 18, 2009
Is it possible to create a form, and controls like buttons, and also assign those buttons to their own scripts by code? The reason I'm asking is I've added scripting functionality to my application for users, I want them to be able to add forms for their scripts
View 17 Replies
ADVERTISEMENT
May 3, 2012
It is possible to create windows service using windows form control in vb.net. give me the url or links. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 1 Replies
May 3, 2012
It is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.
View 1 Replies
Aug 4, 2010
Hello I want to create a windows form application program that can create games something like Gamemaker or Klik & Play (butt less advanced) with D&D "Drag and Drop" events and actions.
View 7 Replies
May 3, 2012
It is possible to create windows service using windows form control in vb.net. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 2 Replies
Sep 16, 2010
I am using vb.net 2010 and in my application I need to change desktop icons depending on the business type my client is in[code]....
View 8 Replies
Oct 1, 2009
How to create a Attendance form in windows form.The form should lookk like this:
1 2 3 4 5 6 7 ..........till 31 or 30 based on month selected
1. emp1
2. emp2
I shud be able to enter attendance for employees.....
View 7 Replies
Oct 18, 2010
i am suppose to create "a windows form game called Yahtzis which uses five dice and three throws to create a score" .
The problem is that i don't even know how to start it can anyone shed some light.
View 2 Replies
Dec 13, 2009
I do not want a Windows Media Player control on my form. I am making an alarm clock. I have tried this: Friend WithEvents WindowsMediaPlayer As New Microsoft.Win32. But I do not see a Windows Media Player member. I also asked on the MSDN VB Forum.
View 1 Replies
Jun 14, 2011
I install a visual studio 2008. I create a new windows form application but very strange that on the right side there is no control bar in which all the control like button label textbox etc contains how i show it?
View 2 Replies
Sep 8, 2011
I have just begun using Visual Studio to create a windows form application in visual basic. I have a chart on the form, and I would like to be able to right-click, copy the chart and then paste in,say, Microsoft word. At the moment I have created a contextmenustrip which appears when the user clicks on the chart, but I am unsure of the code necessary to actually copy the chart and hold it until pasted into a different application.
View 2 Replies
Apr 28, 2011
I trying to create windows form in VB.NET 2010 but this trouble.The error saying :Error 1 'InitializeComponent' is not declared. It may be inaccessible due to its protection level.
And this is the code
Imports System.Data
Imports System.Drawing
Imports System.Text
[code].....
View 3 Replies
Jan 7, 2010
how to get the "windows form generated code"? I've tried double clicking all things I put in the form but it doesn't generate any default code...
View 1 Replies
Feb 19, 2012
Would this be the way to create a new form through code?
Dim f As New Form()
f.Size = New Size(300, 300)
f.BackColor = Color.White
[code].....
View 4 Replies
Jul 1, 2011
how to create an use control?this link http:[url]....
View 4 Replies
Nov 2, 2009
creating a class.cs in a win form app? Here is some code I will use many times in my application...
Dim dat As System.DateTime
Dim day As Integer
day = dat.DayOfWeek
[Code].....
And also how to call this class in my forms to invoke this..
View 4 Replies
Feb 2, 2010
I have an error that keeps regenerating when the form is closed and open back up.
1) Windows Form Application (Project: TestProject)
2) Add class in same project:
Public Class Test : Inherits System.Windows.Forms.TextBox
3) Drag and drop into the form within the project (works fine)
4) Close form
5) Re-open form... then error about the class Test in the project not defined
Actual Error: Type 'TestProject.Test' is not defined.
Is there a best way around this besides creating a separate project and putting the 'Test' class in that separate project and referring that separate project in the 'TestProject'?
Modified Added: By the way... i've used Global.TestProject.Test... but then again another error generate with the custom property within the 'Test' class.
View 5 Replies
Jan 8, 2010
I barely use windows form but now I have a windows form application, there is a Listbox control, which will populate Active Directory search result, not like other regular database.I am thinking it would be nice if user can print off the search result in the listbox?
I was thinking using a Crystal Report viewer, but how to define the data source, it is not like regular data source that I can set up a connection, the search result is a dynamically generated data table, not from database.
View 1 Replies
May 13, 2010
I am currently creating an application which monitors any errors that occur in the other applications I have developed.
One thing that I want to try and do is add a sort of discussion thread into the form, so this allows for each member of IT to add comments/notes about the error that occurred.
Normally I would just use a DataGridView or a ListView, but I would like to have the capability for the comments/notes to be multi-lined so that the user can see what has been written without having to scroll sideways.
View 1 Replies
Dec 11, 2009
I have created a photo gallery in web.. was just wondering how to create a interactive in windows form. I wana put in all my pictures in a folder. Then call all the pictures from that folder. I am also wana set a caption for all the images but I dun wana use any db.
View 3 Replies
Jan 6, 2010
I want to create a table in my windows form application using VB.Net.
The table's rows and collumns are filled dynamically based on a selection in a drop down list. Each row in that table would have 2 textboxes, 1 combobox, 2 checkboxes, and 1 button.
I am aware of DataGridView and TableLayoutPanel -DataGridView - I do not like the appearance so I don't want to use it...Also it is not very flexible with checkboxes and buttons
TableLayoutPanel - Will involve many lines of code. Also handling the checkbox and button click events is not very flexible
View 2 Replies
Sep 3, 2009
have been developing an application for quite some time now. I have decided to create an mdi parent form to hold all the windows I have done so far. Is there an easy way to implement the mdi parent/ child associations?
View 12 Replies
Mar 15, 2009
Supposedly I have a datatable containing 2 columns (controlname as string, containing the name of the control and controltype as string containing the type of the control), for example ("label1", "Label") On runtime i want to loop over the datatable and create the controls from that datatable and add them to the form accordingly. but the problem that i don't know how to convert the control name to a control type, meaning that i want to convert label1 to a type of control Label, inorder for me to set its properties on runtime. so how can i do this and is there a way to convert the string to control according to it controltype.
View 1 Replies
May 9, 2010
Do i create a windows form application or which one do i choose? Here is the instructions. For this assignment, you will create a Visual Basic.NET application to manage personal assets. A screen shot of the desired UI is shown in the following image. You can also download a running example of the completed project and the required database, ITP400_IP2_A.mdb. be aware the example program does not necessarily demonstrate all of the functional requirements, and it is intended only as an example. You are responsible for meeting the listed requirements. Please refer to the following information for the complete requirements.
Requirements
* Fields in tblAssets (These are in the database table and should be displayed on the screen.)
o fldAssetID, long integer, primary key
o fldAssetName, string
o fldDescription, string
o fldDateAcquired, datetime
o fldCost, single
* Perform the appropriate steps to create a connection to the sample database. Be sure to select the option to copy the database to your project so it will be automatically included in the project.
* Perform the appropriate steps to display the detail view of the fields on your form. Be sure to include a functional BindingNavigator on your form.
* Do not allow the user to resize the form.
* Format the Cost field as currency.
* Add a standard pull-down menu to the program with the following structure:
o File (Save, Exit)
o Navigate (First Record, Previous Record, Next Record, Last Record)
View 2 Replies
Aug 25, 2010
On a recent project I stumbled across a page of code that looked unfamiliar, but which evidently was the code behind my form design. I'll copy and paste an excerpt to show you what I mean:
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
[code]....
I thought this was a useful way to back up my project via email because it's in text form. But now I can't find the same information. I've looked in the Object Browser but couldn't find it anywhere. I think I stumbled on it the first time by right clicking Go to definition, but now that doesn't take me anywhere if I click on say form1. So where will I find this mysterious page that has all the form items information in text, not graphic form? Can't find it anywhere.
View 2 Replies
Feb 20, 2009
Most of my project was imported from an older version of VB (now I'm using 2008). All of the forms had a "Windows Form Designer Generated Code" that I could expand at the top of the form's code. When I created a new form, that was not there, and I found out that in the solution explorer you can "view all files" and expand the form and look at MyForm.Designer and that has the same type of instantiation code. My question is, is there some way to update the old ones so they too do not have that "form designer generated code" at the top?
View 1 Replies
Mar 2, 2012
Basically, I'm working on a VB project, one instance of it at home using VB Studio and one at school with SharpDevelop (portable). However, some of the school computers do not have .NET 4 and therefore I can't run SharpDevelop to make the forms, etc. I would like to know how to edit/make a form via code, in Notepad++. An example of this would be setting up a form with controls such as TextBox, Button and perhaps MenuStrip.
View 2 Replies
Nov 1, 2011
I'm using Vb2008.I found this code to create forms in vb.net but I don't know how to use it .[code]
View 3 Replies
Jun 8, 2010
I would like to create a VB .Net Windows form application which logs onto a website and then retrieves some data. Currently when i navigate to the website it presents a dialog box to enter my details into. So in short how could i do this, what namespace would i need to look at?
View 3 Replies
Aug 28, 2010
I am writing a Windows form application where a client has the ability to add as many chart as needed in the form by clicking at an icon in the menu bar at run time. These charts will have the same format, and I will have them linked to a text box for the client to select which entity to chart.I have no clue where to start. I did a web search and I have found articles that show how to add user's control at design time (I don't think it is what I want).
View 1 Replies