Create A Form Within Program?
Nov 3, 2009Does anybody know how to create a form within visal basic 8
on the top of the form you have colums and on the left side of the form you have rows with the time
Does anybody know how to create a form within visal basic 8
on the top of the form you have colums and on the left side of the form you have rows with the time
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 Repliesim supposed to create a program in the form type. its supposed to ask the user for a number so i created a textbox for the entry for the number in the form and a button to execute the program. then the program prints a number of "$$$$$" dollar signs as the entered number. furthermore, only upto 5 "$$$$$" sings should be in a row. oh and i have to use the for-loop for this. i used to be do this when i did qbasic but i have completely forgotten the codes and syntax, etc.
View 11 Replies1) the program has to display multiple lines, is there any possibility for me to add some sort of scroll bars to the msg box and fix its size to lets say (infinite horizontal because i limit the char of each line already)600vertical.And if theres more text than the textbox vertical to display scrollbars like a richtextbox? is such thing possible? if not
2) How could i create a form which interacts with the program exactly the same as a msgbox, by that i mean a way to not interact with any other form but the msgboxform untill the msgbox form is hidden. I do not want to disable the other forms or hide them, because a msgbox does not do that, a msgbox just doesnt let u interact with anything untill its pressed "OK" button, and if u try to interact with something else a beep happens and the msgbox flashes, is such thing doable?
3)How could i hide a msgbox and inputbox programatically? imagine the user is afk and doesnt press OK, with a timer tick i want to automatically erase the msgbox out of the way. Is such thing possible? if i need a form, it really is a musthave for me to someway pause the code of the other form the same way a msgbox does.
How am i code with the new user login form which username and password can be updated and non duplicated?
View 2 RepliesI'm new in development in vb.net IDE, and I need your advises on how to create multi form in one screen like a project properties screen in VB2008 IDE, thus when you you go to Menu Project -> Project Properties... you can see that screen is divided into two panes the left one for options to choose and the right one for configuration and preferences.
I need to know how to achive this and how to create similar to that thus if you choose any button from left the form content changes at right (ok is this single form and all controls were set to invisible /visible or is it muliform programming.
I have another question : how can I change the Left pane with Treeview control and choose my option from there.
Can i create a structure file in vb.net in windows form ?
View 2 RepliesI am trying to create menu in my form in VB.net 2010 as radioCheck but I can not find it in the properties window to make it true. Is it different from previous versions?
View 2 RepliesIm trying to create a program that will be using a shortcut key in displaying a form. But im having problems on how to know if the cursor is on the textbox or datagrid.For example, If I clicked the textbox, and i clicked f1, Customer List Form should appear. No problem with this. I used the following
If txtCustomerName.Focused = True Then
If e.KeyData = Keys.F1 Then
Form9.ShowDialog()
End If
End If
But when I Clicked the cell on the datagrid, and click F1, Product List Form should appear. This is my problem, the form is not appearing when i click f1.Here is my
If dgvSalesEntry.Focused = True Then
If e.KeyData = Keys.F1 Then
Form8.ShowDialog()
End If
End If
How do you create custom chrome for a windows form in vb.net using Visual Basic 2008 express? I want to basically scrap what they give and start fresh.
View 1 RepliesI've created a form with a PictureBox on it and would like to dynamically create another PictureBox on the form while the program runs (to the left of the static one). I've written this code:
Dim temp As PictureBox
temp = New PictureBox
temp.Image = StaticPictureBox.Image
temp.Visible = True
[code]....
When I run this code I can detect that the temp PictureBox does get created. However, it is not rendered onto the form. It seems like it's there but is invisible.
I've got a VB.Net form application that dynamically loads user controls based on which navigation link the user clicks on. I'd like to make it easier to use at Design time by putting a link of some sort to open the User Control at design time. The link would go onto the form in the space where the User Control will be going. This just saves a little time from having to browse through the files to open the correct file.
View 2 Repliesi am trying to create a program that connects to a database and shows table fields in listview in windows form i manage to do that but i want now to have a button to take the total of a column in a list box ,lets say from the column "money"?
View 9 Replieshow to create a program that can access information held in an excel database and show it in a simple form.
View 2 RepliesIt 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 RepliesTo create a program that asks for input then uses an else statement to create a handling fee balance.
Input: sales record - first name, last name, purchase amount, balance before purchase
Output: report - full name, old balance, purchase amount, handling fee, new balance
Definitions: handling fee is 5% of the old balance if the old balance is less than $1000.00 else it is 2% new balance = old balance + purchase + handling fee
Processing:
Ask for and receive sales information
Calculate new balance
Print output report
End the program when a purchase amount of 9999.99 is entered
I have a project to do for one of my classes that i need help on. Its and extra credit so im left on my own. Project Create a program to allow a student to create there own schedule. what i am trying to do is create a checkedlistbox for the student to check classes they are taking, and need something else to pop up or to show in another box or listbox the classes they can take for the next quarter. I know it has to do with if then statements but i dont know how to write basically:"if (class is checked in checkedlistbox) then ( these are the classes you can take)".
View 2 Replieshow i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.
View 20 RepliesI am very very new to VB.NET and would like to ask a simple question. I want to create a vb.net program and allow visitors to a website to download this program. However, I prefer not to have visitors download a zip folder. I would like to have a program that just gives a prompt to save in a selected folder, once the saved file is selected it prompts the person to download, and then when finished prompts the person to run the program. The reason is twofold:
1. I don't like the extra step involved with unzipping the file. and 2. I don't like the visitors having to look for the "main" file program within the new downloaded folder. So is there any way to have just one file for others to download without having it in a zip folder?
I have produced an application which works with datasets but I now wish to provide the user the ability to add and admend records within the database.But i wish to do this in a seperate form.My current dataset instanciates classes onLoad.Should i try passing the Dataset to the new form class? although I have the problem where by when i pass the dataset to the form class using code below i get this problem:[code]Should i just create a create a new connection to the database and produce a new dataset for this form? or is there a better way to do this?
View 2 RepliesI'm trying to create a program that installs required .dll's for a program due to a clean install..What I need to do is Get a value in the registry and use it for the program files path.. but I've noticed some pc's don't have the same configuration because of the version the user is using. Anyway This is what I have so far:[code].....
What I'm trying to do is find a registry key called "SoftInstallPath", if found I need the end of the path to goto the new directory(new_dll) not the old one (dll).. and if "SoftInstallPath" cannot be found.. I need it to find "ProgInstallPath" and use it instead and do the same thing.By the way I'm using Visual Studio Professional 2008 on a Vista x86 machine.Also error I keep getting is: Warning 10 Function 'FixPath' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
Anyone ever try and create a program in visual basic that interfaced with an USB device? For example say I want to build a clock but I want to have the software to control this through usb. I want to write the clock setting program that tells the clock what to set for time and date and things like that.
View 3 RepliesI want to create a program that will auto update another program i have created. I want (this program) to check for updates (from a txt file that i wil have in the first line the previous version and in the second line the present version) and if there will be a new version then start downloading and the progress bar will show the progress. How can i do this?
View 3 RepliesI have used VB (versions 2 - 6) through many years; however, I am crash-course training myself into the VB2008 / VB2010 world kicking a screaming. I would like suggestions as to what SQL database access method should I focus more on in my learning process without making me feel that I'm a million years behind. I know I have WinForms where I can create a datasourse and drag / drop fields or tables on a form to create a grid (not really what I'm looking for).
My trouble isn't so much designing the form but in how I access the database. Theres XML, LINQ to SQL, ADO.NET, and many other methods. Not only do I need to grasp these methods quickly but I also need to know what type of projects I should create. What I mean is...I was thinking that I would design a WinForm app; however, I see that there are WPF apps and others to chose from. This is getting deep. I know it depends on the project that I'm working on. My plans are to write an app based off of either an SQL Express 2008 or SQL Server 2008 database. This first app will be standalone for now but may later become multi-user. I know I'm far behind on my learning curve coming from VB6. I have read a bit on VB2005 / 2008 / 2010. I own
both VB2008 and VB2010. I use VB2008 at work. I know ADO.NET is still alive but by what I read online, it's a dying method and is only kept for backward compatibility. XML and LINQ to SQL and other methods are all pretty new to me.
What is the easiest way to use an existing program as a basis for a new, similar program--without messing up the existing program?
View 7 RepliesI was looking in this [URL]
I want a program a very simple program, a software that will let you enter a name and then you click "Create". This will create a program and when you click it it will show "Hello! *the name*"
Lets say I have a program that has a textbox and a button. I want the button to create another program that will show a messagebox, inside the messagebox will be the textbox from the 1st program. How would I do this?
View 7 RepliesHere is the pertinent part of my code:
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub MenuItem3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
[code].....
I tried using the web browser control for the first time.The problem I had was that the size of the web browser defaulted to the size of the form. Even when I tried to downsize the webbrowser ( via properties ) it still filled the entire form. I also tried to drastically increase the size of the form( again via the form's properties ), the web browser still filled the entire form. how to create a form where the web browser only takes up half the space of the form.
View 1 RepliesIm trying to create a stopwatch in one form and another form show my progress bar using a combo box for mins and seconds to show the progress bar on form1 1
[Code]...