473,574 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
1,293
thread by: brigitv | last post Oct 24 '13 by: Rabbit
I have a text file with multiple lines of data. I need to process this thru vb.net and save the values in the oracle database table. The problem is, I can only save the first line of data into the database table. Please help me with this.
4
1,288
thread by: MeGotLotsoQs | last post Oct 22 '13 by: Rabbit
Imports System.Data.OleDb Imports System.Data.SqlClient Public Class Form2 Public connstring As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\REORBETA\Desktop\COPRO VB NET PROGRAM FINALS\VB NET Database\Database\Database\Database.accdb" Public conn As New OleDbConnection Private Sub Form2_Load(ByVal sender...
1
1,121
thread by: joemacsweeney | last post Oct 21 '13 by: pod
how do I set button location X Y dynamicaly
0
871
thread by: robertybob | last post Oct 19 '13 by: robertybob
Hi, I am packaging a single downloadable file via Inno Setup from a VB setup file and all is fine. However when it reads the following db connection line .... Dim connStr = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\abcd.mdf;Integrated Security=True;User Instance=True" it throws the following error... "an attempt to...
1
984
thread by: ruud2000 | last post Oct 18 '13 by: ruud2000
I try to set a background color for my panels like this: Private Sub Panel14_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel2.Paint Panel2.BackColor = Color.LightGreen End Sub But it doesn't work....why?
0
1,119
thread by: sonybillz07 | last post Oct 18 '13 by: sonybillz07
About speechlib.spvoice volume methods I cant adjust volume of my wave file when i use the speak method to read the wave file. Here is my code 'speaker.Speak(prayPath & "\Pray1.wav", SpeechVoiceSpeakFlags.SVSFIsFilename + SpeechVoiceSpeakFlags.SVSFlagsAsync) speaker.Volume = 0 When I set volume to zero, the voice keeps talking Any help please
1
1,093
thread by: Arihant | last post Oct 16 '13 by: Rabbit
Pmt(TxtROI.Text / 1200, Session("Period"), txtAmount.Text, 0, DueDate.BegOfPeriod)
1
1,168
thread by: lanp | last post Oct 11 '13 by: Rabbit
Imports System.Data Imports System.Data.OleDb Public Class ControlFile Dim cnnOLEDB As New OleDbConnection Dim cmdOLEDB As New OleDbCommand
0
978
thread by: pramodbhat | last post Oct 11 '13 by: pramodbhat
Hi everyone, I am trying to create software working on multiple display.Its a scoreboard kind of application.Here control window will be a desktop and display will be a projector.Any changes done in control window should be able to make changes in display window.Thanks for any help.
0
934
thread by: ChrisStHelens | last post Oct 11 '13 by: ChrisStHelens
Hi all. New to this so I'll try and be clear. I'm using Visual Studio 2008 and I have a book that asks me to use OleDbCommandBuilder, but it's not there. Has this object been removed in this edition? Thanks All
0
830
thread by: bssnoopy3 | last post Oct 5 '13 by: bssnoopy3
I have progress bars that are created in a function as the user fills out a dialog form and adds the progress bar. I would like the user to be able to delete the progress bar controls when they right click them in a context menu item. I can not understand how to tell the code which control is being right clicked, nor how to delete them when it...
0
1,027
thread by: hosny | last post Oct 4 '13 by: hosny
I have a datagridview with the following column using visual basic 2005 1-First column is country code as DataGridViewTextBoxColumn 2-Second column is country name as DataGridViewComboBoxColumn 3-Third column is city code as DataGridViewTextBoxColumn 4-Forth column is city name as DataGridViewComboBoxColumn I filled the Second column is...
0
837
thread by: tarunisme | last post Oct 4 '13 by: tarunisme
I have A datagrid which is filled by a dataset which takes an excel sheet as input. My problem is that when my grid is initialized as run time It is empty, but as soon as my dataset goes in the grid, the grid.rowcount goes to minimum of 12 even when my dataset has only 3 entries. here is the part of code a = cmbSheets.Text.ToString() ...
0
1,012
thread by: pepron | last post Oct 2 '13 by: pepron
CAN SOMEONE TELL ME HOW TO CONVERT HEX TO BINARY IN VISUAL STUDIO 2008? I HAVE A TEXTBOX WITH HEX VALUE (e.g. BE) WHICH I WANT TO CONVERT TO BINARY.
0
2,157
thread by: yekokoaung | last post Oct 1 '13 by: yekokoaung
I want to catch Enter Key with KeyDown Event in TextColumn of DataGridView Control. When I press Enter in the txtItemCode column, I will check the ItemCode in the Database and other stuffs. I can get other keys but I can't get Enter. When I hit the Enter key, The focus is go to next row same column. How could I catch the Enter Key. I can catch...
0
811
thread by: robertybob | last post Sep 30 '13 by: robertybob
Hi I have an application that will be distributed. It contains an SQLServer database. When users download a new version of the software, does the database in the old version on their machine get overwritten by the blank database in the new version? Or, if it's saved on the user's computer as a separate piece of software, is there a clever...
6
3,725
CodeNoobster
thread by: CodeNoobster | last post Sep 28 '13 by: Rabbit
Hi guys, I'm embarrassed to ask but, I'm struggling with this problem. I've been instructed to check if a number (inputted by a user) is a prime number or not. So far I've managed to show the fact that for example, 7/7=1 and 7/1=7 and that those are the only operations that have no remainder. Now the trick is, getting the program to check and...
0
878
thread by: roseline nirmal | last post Sep 28 '13 by: roseline nirmal
I have prob in generating crystal report.. during generating report i choose local server name.. after choosing server name the database will show automatically.. but for me database name is not displaying.. what is the prob? how to overcome this prob? pls help me..
0
918
thread by: roseline nirmal | last post Sep 28 '13 by: roseline nirmal
i'm doing a project entitled voting system for my academic... using vb.net 2005 as front end (visual studio 2005) and sql server 2005 as back end.. user already put vote and if they again try to put vote, how to restrict it? pls help me...
1
1,024
thread by: spidervb | last post Sep 26 '13 by: spidervb
i have problem with datagridview need help please Hi, i have two tables with this data: 1-Managements Manag_ID , int Manag_Name , nvarchar(150) 2-Departments Dept_ID , int Dept_Manage_ID , int Dept_Name , nvarchar(150)
0
955
thread by: tesraghavan25 | last post Sep 25 '13 by: tesraghavan25
I have created a tree structure using Tree view control in Vb.Net for my various products. Now I will have to load file in individual products separately. How should I do it and what is the source code for it.
0
884
thread by: UmeshBachchani | last post Sep 23 '13 by: UmeshBachchani
I have a listview control without any column at design time. It is a programe that adds the column depending on the data put by user. If user put 5, it creates 5 columns and if user put 50 it creates 50 columns. Now the problem I am facing is 'Printing' but I have limited print area on page even if I set the margins to zero (0), but lot of...
8
22,649
VietPP
thread by: VietPP | last post Sep 18 '13 by: sajithfx
Hi all, I trying IBM DB2 Database. I want to connect to DB2 database with these code: Imports IBM.Data.DB2 Module mdMAIN Public db2CNN As New DB2Connection
0
1,072
thread by: neil ishiwata | last post Sep 18 '13 by: neil ishiwata
i would like to save a custom treeview in my program but i dont know how i would start but i make already made a table for it. tbl_Packages( Table Name ) PackageID ( Primary Key ) Parent_Package ( Varchar (MAX) ) Child_Package( Varchar (MAX) ) also i want it to be updatable and deletable...help please...
0
1,979
thread by: PaulMijnster | last post Sep 17 '13 by: PaulMijnster
Hi, Beginning to learn Visual Basic 10. Experienced user of VB 6 it now is time to learn the modern approach... Case: Table 'Customer' in SQL Server, Fields are 'Name' and 'Adress' VB Program starts and loads all Customer Names in combo box and all details in a DataGrid. This is already working.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.