I am wanting to enumerate some registry keys and then retrieve a value and enter something into a listbox or combobox.
For example, I have the following key in the registry HKEY_LOCAL_MACHINE\Software\Test. Under this I have several other sub keys, called for example sub1, sub2 and sub3. In each of these sub keys, I need to retrieve the value of InstallPath string from each of those sub keys, and then put the value into a combobox or listview.
I think I need to enumerate through the subkeys as they can be different, only the main key Test will remain the same.
I am trying to find out how to check to see if a control exists (such as a listbox). If it does, then the program wouldn't do anything, if it doesn't, then the program would create it. Does anyone know how to do this or can point me in the right direction?
Development Environment: Microsoft Visual Studio 2005
Code Behind: VB.net
We created a Class Library.
That Class Library contains some modules and some windows forms.
The assembly of the class library, we referred in a Windows Applications.
In that Windows Application, we have one method that will create the instance for the Class library Form using Activator.CreateInstance method. While creating the Type of the Class Library Form, it is showing the exception as Type Load.
While seeing the exception message, we come to know that the method trying to find the Class Library Form in the Windows application itself.
Please tell me how to access the Class Library Form from Windows Application dynamically.
Please give the solution.
I have several no. of records in the database for payroll processing. The Employee Code No. is the primary key and a employeemaster table is connected through coding. When am in the processing screen, if i enter or select the employee code no. the other columns must be automatically filled or a search form that displays info. abt the emp name, desig etc. How to design a search form for this and write coding. Pls help Me?
- Put the label and textbox that the user can enter EmployeeNo
- Add the Grid for displaying the result.
- Add one button that the user can click for searching..
- In button click event, write the code to query the data from database with filter. And bind it to Grid.
I am currently writing an application which in simple terms is used for logging in and out hardware repairs. On one of the forms in this project, I have a data grid view control, two command buttons and a text box. The problem that I am having is that I do not understand how to code a data grid view - I have tried source code from many sites but cannot get my head around it. I have provided a description below of what it is I want the grid view to be populated with. After getting that working, It'd also be great to know how I can filter it using the AutoID number or Serial Number by using the text box and a seperate button each for the serial no or AutoID.
Could you recommend a 2D chart control for my application that can work with VB6? I need to plot an EEG signal on the screen in real time. The update rate of the chart will be on the order of 200ms to 1000ms, and I want to display 1000 points. Ideally, the whole chart would scroll to the left as new values are added on the right.
I’ve tried the MSChart, it would work ok, but I don’t know how to get rid of flickering. Flickering is a real problem, because somebody will be looking at the chart for hours.
The MSChart control isn't a good candidate for this problem. You'd be better off using a third party component to draw a scrolling line graph, or making your own control so you can have more control over exactly how it's drawn.
DoEvents won't do anything for you here. In fact, there's nothing you can do about the flickering using the MSChart control.
The MSChart control isn't a good candidate for this problem. ... In fact, there's nothing you can do about the flickering using the MSChart control.
Yes, I can agree that MSChart is not a good tool for this job. I've searched the web for suggestion on how to make good real-time plots with MSChart and tried every suggestion I could find, but the results weren't good enough.
Dave Kreskowiak wrote:
You'd be better off using a third party component to draw a scrolling line graph, or making your own control ...
Unfortunately, I don't have the time to make my own control, although that could be a fun endeavor. Which 3rd party chart controls would you recommend?
MSChart control isn't a good candidate for this problem. You'd be better off using a third party component to draw a scrolling line graph, or making your own control so you can have more control over exactly how it's drawn.
I don't think I could agree more.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
Last Visit: 31-Dec-99 19:00 Last Update: 4-Dec-16 2:01