20,284 Topics
| |
I am new to vb.net and I'm doing a small project from vb.net.I want to insert values to a sql server database table from a windows form.I have written a vb class called OrderedItem.vb to add a new data row and assign variable values to that table.In the Form, for … | |
I have written a vb.net application using Visual Basic 2008 Express which has the following references listed in its Properties>References: [LIST] [*]System (c:\windows\Microsoft.NET\v2.0.50727\System.dll) [*]System.Drawing (c:\windows\Microsoft.NET\v2.0.50727\System.Drawing.dll) [*]System.Windows.Forms (c:\windows\Microsoft.NET\v2.0.50727\System.Windows.Forms.dll) [*]System.Xml (c:\windows\Microsoft.NET\v2.0.50727\System.Xml.dll) [/LIST] These references seem fairly standard and I notice that they are from version 2 of the .net framework even though … | |
Getting error for the simple code Please help me out. Thank you[code]I have a textbox and one table. Once the user enters data in the textbox & click save button, the data gets saved to database. I've written following code but I'm getting following error. Please help me out. Thank … | |
On visual studio watch1 "NumbersLcl(xc, yc)" is 6, "NumbersLcl(x1, y1)" is 7. Both "y1" and "yc" are 0. All variables are byte and NumbersLcl is (2,2) as byte. How can the following statement evaluate as true? If y1 = yc And NumbersLcl(xc, yc) = NumbersLcl(x1, y1) Then isfound = False | |
hi i'm trying to add a feature to an application where users of my application (installed on different computers) can share access db files when updates are made by one user but dont know where to start. Is there a tutorial i could look at or sample source code? | |
1) What is versioning? 2) What is DLL hell? 3) Destructor - It is called automatically when object is destroyed. Rite or wrong? 4) Finalize or destructor are same?? They have same definitions. 5) Interfaces vs. Abstract Classes? 6) BCL vs FCL? | |
Hi everyone, Want a DateTimePicker column in my DataGridView. Essentially used code I found on MSDN [url=http://msdn.microsoft.com/en-us/library/7tas5c80.aspx]here[/url] Just dropped the different classes in separate files. It works, but the problem is I have to click from 2 to 4 times before I can select a date! The first click shows … | |
I have a program that allows a user to create a number of Textboxes that they specify. I would like to know how to get the information from each of those Textboxes in a different Sub. Here is code on creating them: [CODE] Dim txtLetter(x) As TextBox txtLetter(x) = New … | |
I have 3 Users and I have a different environment for each. How do I code that in my initial form(login form)? I need help: My sample If dr.Read=true then Dim adp as New OleDbDataAdapter("Select * From tblUSer WHERE Security_Profile='User 1'","PATH") Dim dt as New DataTable adp.Fill(Dt) Homepage.Show() Homepage.Button1.Enabled=False Form3.GroupBox1.Enabled=False … | |
Hi; I need help woth random number generation. I am developing a game show which has more than 100 questions and for each question there are 4 options. I am using a random function which ranomizes the value of t (row value of database). But the problem is that I … | |
I am creating a form that will filter datagridview while typing in a textbox. I came through this error and I would like to know why is occur. [CODE=vb.net] Dim dt As DataTable = Ds_Pos.Employees Dim dv As New DataView(dt) 'findcrit is declared as string public and it contain a … | |
I am trying to dynamically add checkboxes to a panel depending on if a file exists. My code is: [CODE]While d1 <= d2 If File.Exists("C:\bnb\" & m1 & "-" & d1 & "-" & y1) = False Then rm1CheckBoxes(rm1I) = New CheckBox() rm2CheckBoxes(rm2I) = New CheckBox() rm1CheckBoxes(rm1I).Location = New Point(20, … | |
I have a stored procedure in SQL Server 2008 that follows: USE [Numbers] GO /****** Object: StoredProcedure [dbo].[thenextnum] Script Date: 09/23/2009 15:35:16 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER procedure [dbo].[thenextnum] @descrip varchar(50) as begin declare @t table (nextseq varchar(100)) update number_definition_table set Current_Number=Current_Number+1 output inserted.prefix_format +(Case … | |
hey everyone im sort off new on .net and i was wondering if u can help me bigtime.. i am having problems with editing records when i do a search. example i was to search a specific record but then when i try to edit it, it turned out that … | |
How to create an installable exe with vb.net 2005? i'm a novice to .net and let me knw a it simply.. Thnkx in advance | |
how can i add the items in combox?i want to add item and then if user select that item it will open new form containg item which we selected.i want to make combox in which i want to select all browser which i have installed in my system and then … | |
I have installed visual studio 2008 I have installed sql server 2005 Now the problem is i want to make a application in which i enter the product id in text box and i shud get all other details such as cost quantity in cost textbox and quantity textbox respectively.. … | |
I doing the common 'enter scores, total, average and display" problem as I'm learning VB (see screenshot). It works great with the following code: ___________ Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim score As Integer = score Static scoreTotal As Integer = scoreTotal Static … | |
How can I have a selected item in a combobox display the entire row in a data gridview using vb.net. | |
I just need to know the code for switching the pages in the page panel. I want it so that when I press a button, it will switch the page. | |
Hi have 2 list boxes on a form i have uploaded an example of the form im trying to code, would like to transfer an item to the next list box without duplicates so if you trying to send one item twice it should say msgbox("Borders already in the list … | |
Hi there, I have been struggling with this for quite a while now. I am a novice in .net so no wonder I can figure it out. I have a tab delimited file, where the sequence of lines should be 01UN1........................ 04UN1.......................... 09UN1........................ 01UN2.................... [COLOR="Red"]04UN2.............[/COLOR] 04UN2............... 09UN2................ However sometimes in … | |
i created a form with 4 textbox tht user can insert their data and stored it in sql server 2000 databse..than i manage to display the data when user starting the program... i also create an update button for user to update their data... the problem is when i want … | |
How do I use the User-Controls as a form within a Form? This is my answer to my problem located on [URL="http://www.daniweb.com/forums/thread214973.html"]this thread[/URL] As seen in the original thread's solution, I've used solution #2. Instead of switching forms, I've used switching panels and the controls are contained in those panels. … | |
I have successfully load a dynamic array reading the numbers in a text file into form. But how can I save that array again into text file after I change some numbers. | |
Dear Members, Please Help Me. I am in huge problem. Please Send a solution of this problem. problem is:- Read Table of Word File and take cell value and store in excel file using vb.net in VB Please Help me............ thanks Requesmd | |
hi everyone I'm really just looking for some help to get started really. I've done a postgrad in web design and multimedia however have had no luck getting relevant work yet. I've designed a small demo site which I've uploaded onto some free webspace however I want to expand my … | |
hi everyone pleas i want to know the way how i can clear a particular line in multiline textbox i ant to know how to do that thanks 4 all | |
hi, i'm using the code below to insert data into an access db but keep gettin the error "Datatype mismatch in criteria expression" [code] total = Integer.Parse(txtMonth.Text) * Integer.Parse(rent.Text) Com.CommandText = "Insert into Report Values (?,?,?,?,?,?,?,?,?, NOW())" With Com.Parameters .Add("@ID", OleDbType.Integer).Value = CID .Add("@Tenant", OleDbType.VarChar).Value = cboTenant.Text .Add("@type", OleDbType.VarChar).Value = … | |
hi. I need to make one setup file .exe to install many programs. eg : i wanna to include the sql server in the setup of my application that i developed . so the user don't need to setup the two programs separatly . thansx |
The End.