Windows :: Best Display / Editing Of Subcategories?
Jul 8, 2009
I've got a categories table, and sub-category tables 3 levels deep (in the database they're called Categories, SubCategories, SubSubCategories, and SubSubSubCategories).On the presentation side, I am curious what the best way is to manage those. The categories form a tree/hierarchy structure, so a tree control of some kind sounds useful. Drag-and-drop functionality would be nice. This can be done in a VB.NET 3.5 web application (preferred) or VB.NET Windows application.
View 1 Replies
ADVERTISEMENT
Mar 7, 2010
I made a little program what worked perfectly, till some started writing his input in the display of the comboBox istead of selecting it.
View 1 Replies
Mar 11, 2010
I have a datagridview and in the _CellValidating event I am checking a cell to make sure it is filled in. If it is not, I want to stop editing, display a msgbox, and highlight the particular cell. Here is my code :
If e.ColumnIndex = 2 Then
If e.FormattedValue = "" Then
If Me.dgvFish.IsCurrentCellDirty Then
MsgBox("Sample Number is a required field.")
[code]....
For some reason, I can't get the cell's backcolor to be filled in.
View 1 Replies
Jul 2, 2009
So I was wondering if anyone has done their own Forms (inheriting windows form and editing the properties) and if so, what your finished result was. And, if you are willing to post a screenshot of your finished result, that would be sweet! Trying to get some ideas of what can be accomplished with customizing the default form.
View 1 Replies
May 1, 2009
I just started playing around with vb.net and wanted to know how to put all the windows users in a listbox.
View 8 Replies
Aug 11, 2011
I'm looking for an example of a service application with an user interface.
I've currently a project with a service. Now I want to display some values from that service into a windows form.
View 1 Replies
Aug 3, 2011
I created a rectangle shape and tried to show it at my form like this
Imports Microsoft.VisualBasic.PowerPacks
Public Class frmBoard
Dim baseDice As RectangleShape
Private Sub frmBoard_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
baseDice.CornerRadius = 5
[Code] .....
View 1 Replies
Jan 10, 2011
i am using MS access as my database and VB.net(2008) as my programming.my table has four columns.my table name is myRecordtbl and the columns are ,myid, myname, starttime and endtime.now i know how can i insert into table. but i got hard how to display times then i can choose to insert into my table.the time should be in the form of Hours:Minutes:Seconds AM or PM with up and down arrow.then when i select the time and hit ADD, it should insert into my table.
View 2 Replies
Oct 5, 2009
Whenever a person adjusts how big they want there display, it will distort my application, it will make images overlap and will make text bigger.
Is there some code I can do to tell my program to ignore the size set by the display on windows?
View 4 Replies
Jun 14, 2011
I'm using VB 2010, accessing a MS Access database. I have constructed a simple Windows Form returning data from the db, one field of which has a reference to an image I'm trying to display together with the data from each individual record.
I have a field with a product number, that matches the jpg file name (ie, the product number 5505 matches an image that I want to display, namely 5505.jpg). I've even created a new field in the db called 'Image', that contains the full name 5505.jpg.
So, I've connected to the db with an OleDbAdapter, and all the data fields are displayed via bound textboxes. I've been able to display a single 'set' image with a PictureBox, but I'm not sure how the make the connection between the returned data (txtSearchImage which is, say, '5505.jpg'), and getting the Windows Form to display this.
Am I on the right track using a PictureBox? I've tried binding this via the PictureBox properties to the relevant data field, but (obviously) it doesn't make the connection to the image file on my hard drive.
Here's my code so far:
Public Class Form1
Private Sub btnSearchKits_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearchKits.Click
' The following line passes the value the user enter for state
[Code].....
View 4 Replies
Nov 6, 2009
I have a program that occasionally pops up on the screen and displays a message, using vb.net. Is there a way to have it run and display even if the computer is locked or no one is logged on?
View 4 Replies
Aug 15, 2010
I had created a windows forms application in vb.net. It contained several windows. Now the users of that application are telling me to display all in one main form. They want to see all the details in one form. I had implemented MDI but they want something like tabs. On different tabs different forms should be displayed. How shall I implement this.
View 4 Replies
Oct 4, 2009
Just like an array in a group box or a frame as i used in vb6.
If there are 5 customers details then when i load the form it will add (PictureBox, Label and a listbox) for each customer dynamically and display them with their information. Moreover, if i add 6th Customer information in the database then next time i load the form it should display his/her information as well. I did this in VB6 sometimes back but need a start to do in .net
Private Sub LoadCustomerInformation()
Dim Qry As String
Dim RS As New Recordset
[Code].....
View 7 Replies
Mar 10, 2012
My app adds some custom metadata to files. I want to display it in Windows Explorer like this: or this: Is there a way to do this in .NET?
View 1 Replies
Jan 24, 2012
It's simple question. I am confused since I am new to vb.net and windows form. I would like to display combining of one column (lastname+firstname) in the list box control from the query. My code display something.
[Code]...
View 8 Replies
Mar 31, 2010
I need to display 3 columns and a varying amount of rows (typically around 50) in a windows form, kinda like excel. The data will likely be longer than the window, so a scroll bar will have to come into play somewhere.
View 1 Replies
Dec 13, 2010
How can i draw text with 180 degrees format on image in windows based application using vb.net.
View 5 Replies
Feb 6, 2010
To put a thumbnail for what Windows Media Player (plugin) is playing in a picture box
to get the artist's name of the current track that's playing on WMP
View 11 Replies
Jan 12, 2011
I've been working of a Visual Basic Windows Form in Visual Studio 2010 as my first little VB project. It's a form which runs a stored procedure on SQL. I have this all working, however, the stored procedure has a PRINT statement execute if a duplicate is found and stops. What I'd like to do is have this PRINT statement display on the Windows form MessageLabel (label) or have a "successful" message displayed if there is no SQL print statement.
[code]...
View 9 Replies
Mar 13, 2011
In the Windows control panel you can adjust the Display properties for which text size to use between the default value which is the smallest size text and 2 larger sizes. How can you get which text size the Display properties are set to for one's computer through Visual Basic code?
View 3 Replies
Jun 21, 2011
How to control the font DPI in .NET WinForms app..How to change the Appearance/UI of win-forms in vb.net as per Windows display setting? default windows display setting is 100%, if i change it to 125% then my win-forms in my application doesn't display properly as per display settings.
View 1 Replies
Mar 12, 2010
I'd like to use a TreeView control to display database data in a windows form with VB2008. All the information what I found is related to a website design, but I'm working on a database program (sql2005), where I'd like the user to see the structure what he/she make up with a TreeView like control. Just something like that when you explore your hard disk. How can I do that?
View 3 Replies
Aug 7, 2011
We have a VB windows service running on LocalSystem Account. This windows service uses Kodak Imaging Components for converting PNG to TIFF files . Service is throwing "Out of Memory Error" for the code ImgEdit.Display . I just converted this service to a normal console vb program .This program runs fine without any error .
View 1 Replies
Jun 28, 2011
I have a windows form where I want the time to constantly be updated. Right now it will take the current time from when the program was started.
For example, if I started the program at 4:30:29 PM that is what it will show the whole time the program runs.I need it to constantly be updated as the seconds tick by. So, If I started the program at 4:30:29 PM and ran it for exactly 5 minutes, the time displayed then should be 4:35:29 PM.The data being taken in and saved needs a time associated with it and the end user also need to know the current time as the program is ran in full-screen. [code]...
View 14 Replies
Sep 28, 2011
I have a procedure that loops through the directories/subdirectories on a file server and sets the permissions. Procedure is called on a button click of a form.
I need to display on the form which directory is being processed. Similar to if we use the Debug.writeline which writes to the output in Visual Studio. I tried using a ListBox but it only displays the last one and only displays the last one once processing is done. I want to be able to display each directory name as it is being processed.
Psuedo code as follows:
For each dir in L drive
setPermissions(dir)
'display in ListBox dir name
lstProgress.Items.Add(dir.Name)
Next
View 1 Replies
May 24, 2012
I have a vb.net application that uses ShowDialog() to open child screens.
Long story short, I had issues with focusing the control if I opened IE on top of my program without minimizing the program. Once I reactivated my program and closed a child window, IE would show again instead of my program. I fixed this by setting the owner of my form.
Now I have another issue. After setting the owner, the parent (text) name of my form is now being shown at the top of the application when a child screen is open instead of the parent name. How can I fix this to show only the child's text form name when a child screen is open?
View 1 Replies
Dec 13, 2010
How can i display text on image with 270 degrees format in windows based application using vb.netv
View 3 Replies
Feb 11, 2011
I'm trying to display the square root symbol on a button in a windows form. I'm using the unicode U+221A which on windows character map is the root sign. When i enter this in visual basic ensure the font is the same as that in the character map (wasn't sure if that made a difference to the unicode) my button displays the eta sign instead. Any help greatly received.
This is the code i'm using to set my unicode the the buttons text property.
btnSquareRoot.Text = CChar("U+221A")
View 4 Replies
Dec 20, 2009
Display Windows Media Player song/video name in a label?
View 1 Replies
Jul 13, 2009
Is there a way to automatically resize a windows form to fit a smaller display? I created a program on a computer with a 12" display, everything works fine. However, when I load the same program on a computer with a 8" display, I am not able to view all the contents on the windows form. Is there a way to correct this without manually resizing all the contents on the form?
View 1 Replies