I;m trying to make a program that automatically detects files in a folder and display them in my listview control with an checkbox, an image and the name of that certain file located in my directory folder.I've manage so far to make my app to populate my listview from a folder, show the checkbox, and also the image. What i cannot achieve is the following:
1. To show the path in my second Column of the listview;
2. And to run the checked files via a Command Button. [code]
I am trying to make a listview custom control based on the standard listview control that will allow me to drag a column header outside the standard listview control and drop it on a panel. I plan to use the drop event to determine which column I should group by view on.
I created Dataentry forms. In the form there are so many controls like DropDowns and textboxes. I am using Access database. Now I enterd the few records into the controls, and these records are saved into the Database. But now if i enter the any data which i recently saved in the database to the textbox or any other control then the remaining controls should be display the related data.
For example i have 4 controls in my form one is dropdown and 3 are textboxes. If i select the data in the dropdown then the remaining 3 textboxes shows the related data. How can i dispaly the corresponding data to the other controls?
I would like to use a treeview control to display related data as Folders(Level0), Projects(Level1), Drawings(Level2). So far I don't have a problem reading data from a database, creating classes to hold the data and displaying the tree from the class data. I have created (3) contect menu strips, one for each level of the tree to perform various tasks. Each menu has an ADD option to either add a folder, add a project or add a drawing.My problem is as follows...After I add the node, in the correct location, I would like to have it set in the BeginEdit mode.
Dim oNode As New TreeNode oNode = TreeView1.SelectedNode.Nodes.Add(sNextID, "New Project") oNode.ImageIndex = 1 TreeView1.Refresh()
[code]....
After this code runs, the node.Text changes back to "New Project". As you can see, I added a few debug.print statements to try to see what is going on. It really blew my mind to see that the entire tree printed in the immediate window.I have already created a work around for this, but is isn't really the way I'd like to see the program run.
I have 3 forms, one frmMain - main form, second is frmUserType- childform, and the last frmCreateUserType. In the main form I have a menu item to open my frmUserType, In this form I have a button to open another form which is my frmCreateUserType, In this form I have a button to add records then update the listview in frmUserType. The problem is the listview will not access with my add button control in frmCreateUserType. I tried not to used mdiparent declaration for my frmMain and frmUserType as children and it works, so meaning that the problem is showing my frmUserType as childform?I am using vb.net 2008
Code to open my second form (frmUserType)
[CODE]...........
Code for my add button to update the listview in frmUserType
I'm using ListView control, with SmallIcons style in VB.NET. Icons are loaded fine, but when I start to scroll ListView down or up from scrollbar (clicking from arrows), rowheight drops to about half from normal in next 20-30 rows below/above upper/bottom row (depends from the scrolling position). After 1-2 seconds, ListView is "refreshed" and scrolling continues normally. When focus in on the ListView and I'm moving up/down with arrow keys or PageUp/PageDown, everything is normal. Any suggestions, what is happening? SmallIcons size is 16 * 16. Is it compulsory to set "Blank icon" with SmallIcon size to all rows, when adding them or what? Wasn't like that in VB6, how is it in VB.NET?
I'm currently working for a client who owns a custom developed ASP/VB6/SQL2k5 3-tiered web application... The application has been developed over the course of 10 years by several different companies... I have a team who is in the process of rewriting components of this application over to a ASP.NET/C# applications, leaving the structure of the back end database in its current state (ie: no redesign of the database)... As you know, this is a very long tedious process when performed correctly... Our client is looking for a "wizard" type conversion tool or process instead of the redesign of the web UI and business objects... Several people on my team (including my architect and I) continue to tell our client this is not possible, that a full rewrite of the application is required... Can someone just validate my thoughts on this? Here are some of the technical specifications of the legacy application:
· VB COM objects are heavily reliant upon ADOR recordsets · ~150k lines of VB code spread across 6 COM objects
I have been able to associate a listview control with an imageview control to display images. There are a couple of things, I would like to do.
1> How do I display the image in the second column? 2> How do I increase the size of the image getting displayed? My images are all 48 x 48 (pixels), but they keep shrinking.
I am creating an authentication server for some projects I'm working on. This authentication server works by receiving and transmitting data to users trying to authenticate. The user can send data to the server succesfully but when sending back it requires port forwarding. I read a way that I would not require port forwarding by using reverse connection but I have no idea how to get it working. I found a tutorial and tried to implement but when it tries to connect to read the stream it says the connection is refused.
Basically all it is is a program that outputs a file with variables users input.I'm having a big problem getting the input variables into the correct places. I suppose I can't tie them in. For example.I have a textbox labeled textbox1 and I want to use the input from textbox1 in the code below
xWrite.Writeline("The Value is" & textbox1 & "for field 1")
I need assistance with a program we have to do in programming class. It is due soon and I am stuck on how to code it and if the extra button is necessary or not. The game is called the Pig Game where each turn, a player repeatedly rolls a die until either a 1 is rolled or the player holds and scores the sum of the rolls (i.e. the turn total). At any time during a player's turn, the player is faced with two options:roll - If the player rolls a
1- the player scores nothing and it becomes the next player's turn.
2 -the number is added to the player's turn total and the player's turn continues.hold - The turn total is added to the player's score and it becomes the next player's turn.The first player to score 100 or more points wins. More info is here: url...
I have no idea where to go from my current position. I think I coded most of it though. I will attach the files in a zip folder for all to see my form and code.The main problem here is: I just need the code to be fixed, so it works and so I don't fail the class. Attaching the new version in a zip file would be nice but you don't have to do that, or you could just tell me the code and form layout directly on here!
seriously struggling with this one bit of a program im creating. Im trying to simulate a moving queue, using a number of pictureboxes (controlled by Timers). Once a picturebox vanishes, another appears in front of it to symbolise movement throughout the queue.Anway... Im struggling with LOOPS! I cant seem to make the funtions repeat and I need this urgent due to a deadline in 16 hours time Background Info: The form will run for 60 seconds, after which anotehr form will loads (MorrisonsQueueSummary).Here is the syntax so far:vb.net
Public Class morrisons Private Sub FormTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MainTimer.Tick
Ok, here is the scoop. I would like to know if someone would provide remote assistance in restoring contols for visual basic ultimate 2010. I have had this version for less than a week and the controls are dispapearing to make it function. I don't know how to restore functions yet, due to the fact of beginners luck.
First off I'd like to say I'm very new to all of this VB world, .........so with that being said I'm trying to develop an app that will allow the customer to choose how they would like to have a Vehicle Customized.
if someone could help about my Guest Reservation SystemI not intending anyone to do it for me,just need some advice want to know what is better or what should I do to make the project better.
I'm creating a VB program to run a psychology experiment and I'm pretty close to done but am running into a few problems. The experiment consists of 8 phases that display on a single form but with different stimuli (pictures and text) being displayed on the form. So for example, at the top of the form would appear "dog" and below that in the center of the screen would appear the word "cat" and then the subject would select one of two option buttons, one being on the bottom left of the screen and one being on the bottom right of the screen.
One option button is labeled "Similar" and the other is labeled "Opposite". I also have corrective feedback displayed after each choice is made. Here are the things I have not figured out
I am in the process of creating a dock and I was wondering if somebody would know how I can have programs be dragged and dropped into the dock with the ICON
I am relatively new to the world of programming and I was wondering if anybody could help me with a small project. I am trying to create two programs in VB.Net that each do one of the following individual actions:Find the average grade given several user-inputted scores on assignments. The program should also provide the following feedback according to the final score (i.e. A, B, C, D, F).Run two separate threads printing numbers (or words) in ascending and descending orders. (The numbers (or words) should be given by the user.)I have a basic understanding of VB.Net, but I am having trouble when it comes to creating even remotely complex programs. I have a few ideas on how I may go about these, such as using an arraylist for the first question that takes user input to find the grades, and then uses a series of If-Then-Else statements to display the letter grade, and possibly using steps simply with dual threading that would result in numerical order being printed in ascending order and descending order.
I created a program that logs incoming data to a serial device to a text file but the output is not what i really want, the data appends to the text file and looks like:
I want to make a simple application on Windows XP with a single button which says "Help" - that will launch Windows Messenger's Remote Assistance and connect to my MSN Messenger ID - this is detailed here: [URL]. This is for my Dad or Mom who sometimes get confused when the Firefox UI resets itself or something other similarly catastrophic happens. I am familiar with the Windows programming model but am unsure on how to go about it - I would like to do this in C# or even VB.net.
I am looking for any assistance on the best method to accomplish this task. I need to take a comma delimited text file, load it into memory, and then grab indevidual columns of data and export them to a file.[code]I need to for this project I ma working on grab ALL of COL C for example and export it and the data to that column to a file. Can someone provide me with assistance on the best and easiest method on doing this? I know I can do it with a lot of parse text's and many methods of using a listbox or arrays but I'd like to explore some options.
I have often used this layout to show Root Categories where the ParentID IS NULL. I would like to be able to create a vertical Menu (using a repeater and an <UL><LI> that displays the Root Categories and ideally, a collapse panel that would expand with the subcategories. Given the above Table format, it is also easily possible to make the hierarchy unlimited.
how to make a single dataset that understands the Child relationship.
I have a form with a listview object and a button.I have a function that returns a Datalist.When the exception from the thread is throw in is supposed to run the Apps_Add Procedure, which it does.But on one line lstApps.Items.Add(l_apps) I am getting the following error."Cross-thread operation not valid: Control 'lstApps' accessed from a thread other than the thread it was created on."The data is being returned from the threaded procedure but I can't understand how to add the data to the ListView control without getting this error. This code works perfectly fine if I don't use threading.[code]
I am trying to populate a row into a listview control and only the first items shows up (the ProductID). the product name, cost, and quantity don't show up.
I guess the control's properties must be set for this. I went and added 4 columns appropriately named, but those column headings don't appear either.
My
'* Add new row to the Order details grid if the currently selected product '* in the products grid is not already in the Order Details list view If Not bItemFound Then