VS 2005 Loading Master Data?
Aug 26, 2009
I have been given the below form but here i cant understand the use of this checkbox named LoanCredit card number.I am told that when user checks it then all master data will be displayed. does it mean that when i am entering some data in the database then the data will not not appear in the dropdownlist of the creditcard no. combobox automatically,on checking the checkbox the creditcard no. which is saved in the database will be added in its dropdown list? again when i uncheck it then again the dropdownlist of the combobox will become empty?
View 3 Replies
ADVERTISEMENT
Apr 27, 2009
i have a listview and everytime I load a 10,000 data my listview hang up. Is there any alternative on how to load data to listview that will not hang up.
View 10 Replies
Jun 23, 2009
am trying to load data from an excel worksheet & its really giving me headache. A particular column contains both string and numeric data. its picking only the numeric data & loading the string data as blank entries. I tried checking what may be wrong, i think i saw a documentation that says Excel scans the first 8 rows of a column & determines it data type.plz, how can i load everything on the sheet (i can get everything as string, but i dont want to lose any entry)
View 3 Replies
Jan 18, 2009
I keep getting an IOException, because the file is apparently already in use. I'm pretty sure I closed every handle, and I don't know what to do.
High-Score
If haswon Then
Dim strFormat As New StringFormat()
[code]....
View 4 Replies
Jul 9, 2010
column name = CustomerName
SQL server database name = SQLDEV6.
I have been given a task to create a application in vb that is supose to load data from a table named tblCustomers from a DataBase.
View 6 Replies
Jul 13, 2010
I am trying to load CustomerName and PrintStreamACNO from tblCustomers to my dropdownlist. I am not getting the correct syntax on the binding and displaying.
Imports System
Imports System.IO
Imports System.Reflection
Imports PSXSTL.Data
Imports PSXSTL.Data.DataAccess
[Code]...
View 2 Replies
Jul 12, 2010
this is a reference to the thread:he problem I was having while loading data into a datagrid from Excel is solved when I have changed the connection string property IMEX to 1 in:
HTML
con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filename & ";Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1;""")
[code].....
View 1 Replies
Jun 2, 2011
an application i developed using vb 2008 express, to fill a web form with data from an access database, one after another when a button is clicked hasn't given me what i expected. the loop was suposed to stop after filling web form with the first data on clicking a button and continue to fill the webform with the next(2nd) data from the database on clicking the button again. Below is the code i wrote
Private
Sub STARTButton_Click(ByVal
sender As System.Object,
ByVal e
[Code]....
View 2 Replies
Sep 6, 2010
I have an web application of 200 web pages and all has a single master page. Most of the content pages use AJAX controls so most of content pages has its own ScriptManager. Now I have a requirement to add a link with HoverMenuExtender control and for that I need to put ScriptManager in the Master page, but it is working only in the content pages where there is not ScriptManager.
View 1 Replies
Jul 13, 2009
I have a window application develpoed in vs 2008, framework 3.5, in which i have put a button.. Now where i click that button the other text boxes are filled up with the data from database thru web service.. what i want is while all text boxes are being filled i want to show an animated loading gif image till data loading is completed in all the text boxes.. i have tried to use image picture box but while data is loading gif image is displyes but in static mode.. cant see animation... i think this is because data loading and animation both are done thru one UI thread..
View 8 Replies
Jun 4, 2009
i have invoice form separated into 2 parts the upper part is master (header) and detail (body) in invoices where header contains date,name,invoice number,etc ..and the lower part is the body contains the datagridview with its details like the item name or code,qty,price,discount,etc the problem is i want to save the invoice headers in a table and the body in another different table but with a realtion between the 2 of them by the invoice id i think i put it in the invoices' form load. but i cant get it right so if any one have an example by code 2 solve this prob ,
View 1 Replies
Sep 10, 2009
I'm getting this error 'column' argument cannot be null. Parameter name: column at the bold character instruction. Also I would like to know how to relate two tables with two key columns in each table
Dim connection As New OleDb.OleDbConnection(strTextoConn)
Dim EnPartesdataSet As DataSet = New DataSet("Enpartes")
Dim strsql As String
[Code].....
View 1 Replies
May 28, 2009
In my app I have a main form listing basic customer info in a datagridview. When the user single-clicks a customer, I want all the customers info to appear on the right side of the main form for viewing/editing/deleting, etc. Also, if the user double-clicks a customer I want a new form to appear (not an MDI child, but an external form) to appear with the same info for viewing/editing/deleting, etc. (Kind of like MS Outlook where you can open an item in the main Outlook window or externally).Since the external form and the right side of the main form need to show the same info and have the same functionality, I created a User Control to house all the customers detail controls and the ability to edit or delete.
Questions: Is using a User Control the best way to go?
The customer data on the main form is brought in via dataset, tableadapter and bindingsource. When a user single or double clicks a customer, that customers ID needs to get to the details User Control, regardless of whether it's in the main form or external form. What's the best way to get that customer ID to the User Control? Or should the main form "pass" the data binding source to the User Control?Once the customer ID has been received in the User Control, what's the best way to show that customer's details and prepare it for editing?
View 6 Replies
Sep 22, 2011
Custom Object Master-Detail Data Binding
View 2 Replies
Apr 2, 2009
I have the following code that creates a master/detail scenario between a products table and a test table based on the productid: [code]Unhandled exception has occured. the constraint cannot be enabled as not all values have corresponding parent values as you will see, where I add the datarelation between the two datatables i've added a false. This ensures constraints are not created.That solved the problem. However, I want to know if this is the correct solution. It is really difficult to troubleshoot as I cannot reproduce the error. The database is accessed through the network. it could be the network was down at the time so the child records where not inserted hence the error.
View 4 Replies
Mar 15, 2010
In it's simplest form, I have two forms a master form and a detail form. I added the data source from within the ide.
Data> add new data source database>new connection > microsoft sql server database file. Selected table etc.
From the datasources tab in the ide I dragged the grid view onto the master form. dragged the detail view onto the details form.Independently both forms work fine, However if I load the master form first and then load the detail form when the master dgv is clicked the problems start.
[code]...
All variables are correctly declared and the details form works fine, the correct record comes up and can be added, edited and deleted.I then save the form by clicking on the save icon and close the form but changes made to the details form (e.g. additions or deletions) are NOT reflected on the master form until I close and rerun the application. guess it's just a matter of refreshing the right control(s) on the master form but I cant seem to find it.
View 1 Replies
Feb 18, 2010
I have a nested master page that has its own master page. The parent master page has a property defined in its code behind.
Public ReadOnly Property SelectedPage() As String
Get
Return _selectedPage
End Get
End Property
How can I reference the parent master page's property from within either the child master page's code behind Page_Load or aspx template page?
View 3 Replies
Jun 2, 2009
I am using a DLL in my application that will probably be experiencing frequent updates. I want the DLL to detect the new version (I know how to do this), load the new version of the DLL into memory, and continue running. Is this even possible? So I need to know how to: Unload the current DLL. Load the new DLL. If possible, do this from the DLL in question. Is this even possible? If not, how close can I get to this?
View 6 Replies
Mar 29, 2012
i have a problem with loading forms in VB and i was hoping someone can help me. this is the code i made:1st form.form name: formload.vb [code]now the thing is whenever the loginform appears when i successfully entered the accounts the form the userinterface will appear and the loginform disappears for a few seconds then reappears again.i wanted the loginform to disappear the only form that is visible is the userinterface.how to make database of accounts where the login form depends on?
View 4 Replies
May 6, 2009
I've got a database that's 13,000 lines long and I'm trying to load this into a string array when the program loads but it takes approx 5-6 minutes for it to load it.I've got a MS Access database or an Excel file that I can load this information from, each has two rows: SVONo, Description This is my current MS Access
[code]...
Does anyone have any idea of how to make it faster? Or does anyone have a better way?I did have the idea of loading it by letting the user select the first letter and then only loading the ones that begin with that letter but I've got 4000-5000 'S' ones and it still takes about 2-3 minutes to load it All I want is to load the data from the database or the excel file and then put the products into 'cboProducts' and the 'cboProducts AutoCompleSourceList' and the descriptions into the 'txtDescriptions' AutoCompleteSourceList and a string array.Then when the user selects a product using 'cboProducts' the description will automatically be put into 'txtDescription'.
View 12 Replies
Apr 2, 2012
I am doing a project for part of my coursework which involves the creation of a series circuit designer.
I am having some trouble with the saving and loading functions; I had intended to save them to a text file with commas separating the component name and the value (if any) attributed with it.
Grid(xcoord, ycoord, 0) contains the component name. Grid(xcoord, ycoord, 1) contains the attached value (resistance or voltage- components such as wires have a value here of 0)
Once the save button is pressed, the text file contains 50 rows of "0".
P.S. Let me know if any other parts of my program are required.
Dim comp(maxsize) as ccircuits[globally declared]
Const maxsize = 50
Structure ccircuits
[Code]....
View 2 Replies
Aug 15, 2009
I have a main form when loaded will display a login form. I want that when the main from loads, the login form and another form will be loaded side by side.How do I show two modal forms?
View 2 Replies
Nov 11, 2009
I have a desktop application that shows a list of pdfs, and when the user selects one it shows it to him/her. I use the AcroPDF control for this, and it seems to work, but if the user goes back and forth between viewing the file and viewing the list, then the control randomly decides not to show the file (showing a blank page instead).
View 4 Replies
Nov 25, 2009
Instead of loading a crsytal report from a path like this:myCrystalReport1.Load("C:Program FilesAstec IndustriesPlantDailyShiftReport.rpt")Is it possible to include the crystal report in the solution and load it from there? I've used this is asp:
Dim myPath As String = (Server.MapPath("PlantDailyShiftReport.rpt"))
myCrystalReport1.Load(myPath)
View 1 Replies
Jan 28, 2010
i am hiding a form and showing another form by this bit of
form1.show()
form2.hide()
form 2 contains of a dgv and by the form1 i am editing the contents of the dgv present in the form 2.......
after making the changes when again i show the form2 and hide the form1,then the changes made did not appears in the form2............
i have this bit of code at the form load of the form2:
con = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=LibraryManagement.mdb")
con.Open()
[Code]....
now when i close my application and again reload it then then changes that i made appears in the dgv of the form2........
if i am showing the hidden form then at the time of showing it,does the form load event of the hidden form is raised?
or,
the hidden form is already loaded and there is NO form load event and only the form is shown and hidden...
View 3 Replies
Aug 22, 2010
I have a main form when loaded will display a login form. I want that when the main from loads, the login form and another form will be loaded side by side.How do I show two modal forms?
View 19 Replies
Mar 16, 2009
I am currently developing an application that will be the "base" for several components (business reporting systems, order management, etc). The idea is that our customers will install this "mother application", and we will offer components that will slot into it, expanding the functionality.
Now, here's my idea for how to make this work. I have some of this basic functionality down, but I want to get other people's opinions, ideas and experiences with this sort of thing before I move too far in a direction that might not be the best way to go:
[Code]....
View 11 Replies
Mar 2, 2009
I am currently trying to load an XML file into my app. However, it keeps throwing an exception error (InvalidOperationException - Object reference not set to an instance of an object) and I can't work out why. have a look at the code below and see if you can spot the error? I'm still very much a beginner so i'm sure it will be something simple..
Public Class FrmXMLReaderTest
Inherits Form
Friend WithEvents txtOutput As TextBox
[Code].....
View 7 Replies
Oct 25, 2009
i want to know that when im adding my data in form after loading one person data then 2nd person data the 2nd person data cannot come to next line it is adding on the same line.plz tell me wat can i do?
View 6 Replies
Jul 5, 2012
I am trying to load a xml file into a data set by loading the information into a data row. when i try to complete the task it throws a nullReferenceException. the row has data in it and i used the code earlier and it work.
[URL]
Imports System.IO
Imports System.Xml
Public Class frmMain
[Code].....
View 4 Replies