20,899 Topics
![]() | |
hello guys, i'm new to VB, n i have been given a project (data extraction ) for my final year project, n i'm quite confuse. Can anyone, tell me how to extract data from one source? for eg: from .txt file. Thank u so much for your time. | |
I need urgent help please!!!! This is my problem: I want to connect to a Access database with VB.Net. Here is my imports: [code] Imports System.IO Imports System Imports System.Data Imports System.Data.OleDb Imports System.Collections Imports System.ComponentModel [/code] Here is my connection string: [code] Public pDB As New OleDbConnection("Jet OLEDB:Global Partial … | |
i am using a binding navigator as usercontrol having add,delete buttons my problem is that i can not write into click event of add button on the form but i can wirte into click event of usercontrol so pls help me how can i write code in click event of … | |
Nobody is going to interact with you by way of email - first of all it doesn't help anyone else who has a similar problem and searches the site, and secondly we're not going to get 'tied' to helping you in that way or bothered with 100,000,000 questions in our … | |
I have a listbox in my program and a command button. When the user selects an item form the listbox and clicks the command button, a message box is shown which asks the user to confirm selection and has yes and no options to enable this. If the user clicks … | |
I cant seem to find anything wrong with this code. However, I get an error message from my catch block everytime. [code=vb.net] Imports System Imports System.net.mail Imports system.web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.HtmlControls Imports System.IO Partial Class contact2 Inherits System.Web.UI.Page Protected Sub submit_Click(ByVal sender As Object, ByVal e As … | |
i have a program that has to connect to a remote db ( SQL or Access). i have found a way to connect to the sql db but i dont know how to do the exact same thing with the Access db.... Anyone can help? | |
Sir , I have 3 dropdown in first dropdown i have employee id and if i select that id ,related data is displayed in other two dropdown but problem is that i have use coding in the selectedindexchanged of dropdown so the code is transferred from there to someplace and … | |
Hi, I am currently developing an application using vb.net 2005 and windows mobile 6 sdk,and sql server ce for my database. I try to connect to the database i created using the following code: I get an identifier expected error pointing the dot[.] .The code is this [INLINECODE] ("Data Source … | |
Hello all, I'm trying to validate against someone entering letters into an input box. Here is the code I have so far that doesn't seem to do work after I add the second part to verify if what they entered is numeric. I don't even the get input box anymore. … | |
hi guys?i need some help.i am developing a swahili, english language translator.i have an access database,which has 2 columns.namely(English word, Swahili word).which function in vb6 or vb.net can i use to break down an entire sentence into tokens, then translate the individual words directly from the database? thanks | |
Hi, I need to create a multi user VB.Net application that connects to Access 2007 and has 2 forms. How do I go about it? Please give me a start up. Thanks | |
I am working in VB 2005. I want user input in textboxes. On user last textbox lost focus all data entered inthe textboxes shold shift to datagridview. User input as many data as he want. when he finish all his enteries. Click on save butto all data of datagridview insert … | |
Hi guys, I'm trying to import an Excel Spreadsheet to Microsoft Access Database but this Error Message always show up [COLOR="red"]"NOT A VALID FILE NAME"[/COLOR] Can you please guys help me out. ^_^ Thanks a lot! :) [code] Try Dim acc As String = "C:\ffsclines.accdb" Dim exx As String = … | |
Hello I am trying to get comboboxes to rely on one another and cannot get this to work. I am trying to get combobox1 to submit its value to combobox2, then the selection in combobox3, then give a total value of the 3 comboboxes. it is for selecting a car … | |
i want to users to be able to vote for their favourite soft drink. They will input the names of the soft drinks through the use of an inputbox, the names input are stored in an array. what i would like to do is count the votes given to each … | |
Help Me, Please..VERY URGENT I have this cenario: I have a form(NewcomplaintForm.vb that will collect informations for ComplaintTable(complaintid, ComplaintType, date, desc, status, recommendation, etc..); ComplainantTable(complainantid, last, first, etc..); OffenderTable(offenderid, last, first, etc..) DutyofficerTable(dutyofficerid, last, first, etc..) and insert data into these tables respectively. when NewComplaint, check for complainant last and … | |
I have an application which embeds an instance of word 2007 inside of it. Everything works fine except until I open a fresh instance of word 2007 from the start menu. Instead of opening a new instance of word it finds my instance and loads a blank document inside of … | |
Hi all, here is a code snippet I'm having trouble understanding. [CODE]public notinheritable class myClass ------Public Delegate Sub mySubDelegate() ------Public Sub mySub(ByVal Text As String) -----------------If Me.InvokeRequired Then ------------------------Dim SI As New mySubDelegate(AddressOf mySub) ------------------------Me.Invoke(SI, New Object() {Text}) -----------------Else ------------------------ Text = "Something" -----------------End If ------End Sub End class[/CODE] Assume … | |
I want to print data from my datagrid view ! | |
helllo great programmers please how do i export the data i previously have on excel sheet to my published sql database | |
Hi. I have never used a forum before. I hope that someone can help me. :) I am using VWD 2008 Express edition to build an editable datagrid. My problem is with the Update Function: [ICODE] Sub dgShows_Update(ByVal sender As Object, ByVal e As DataGridCommandEventArgs) 'Determine the value of the … | |
I have this function in zooming in and zooming out the image in picturebox however this code only works to a single image. The problem is i am loading images in my form and what i want is when i choose the image it will do the function and it … | |
I also have similar problem....i need to connect my console application to a linux server.... The console application is in C#.....now i need to connect to a linux server where the files & folders that i need to manipulate are located.... Can anyone please give me some idea on how … | |
Hello All. Can someone please help me? I have been at this code for two weeks. I am a newbie at creating the following code in VB6. I want to open a database (SQL), read from the data tables, and write the data into an existing excel spreadsheet cell by … | |
I have looked around a couple of sites and found how to remove duplicates from a listbox but not how to send the duplicate free list of names over to a second listbox, an example of code i found [CODE]Private Sub ListBox1_SelectedIndexChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
Hello, I'm trying to extract a certain string from a URL. The URL is as follows: [url]http://site.com/profiles/12345678[/url] The Number is the value that I'm trying to retrieve, and write it to a text file. The way the data is displayed on the page, rather than the source is this: <a … | |
Hello, I hope you guys could give a direction into this, I have 2 tables, 1st table has "TeacherID"(prymary autoincrement), "Teacher Name" 2nd table has "classID"(primary, autoincrement), "TeacherID"(relatioship with first table) and "Class name" Ok, i made one form to enter teacher's name which i had no issues with, then … | |
Hi all i am new to Access Some info about my project.. I am designing a system for my company.. my compnay has many contractors. so i have a field in my database called contractors. In a point i need to retrieve how many different kinds of contractors are there … | |
Hello I have a VB.NET application that needs to backup a database then restore to a new database in the same Server as I am upgrading an application and I want to retain the existing database. I create a blank database using the following: [code]cmdSA.CommandText = "CREATE DATABASE [newDatabase]" cmdSA.ExecuteNonQuery()[/code] … | |
Hello I am beginner trying to program in Microsoft Visual Basic 2005. I would like to create a simple program that can sketch graphs of functions such as "y = 2x + 5." I have tried websites such as codeproject and codeguru to find the code but no success. I … | |
hello, great programmers Please how do i create an export link from vb.net to excel or access sheet. thanks | |
Hello all , i want to automatically print a form immediately it is saved to the database. what do i do | |
I have a strange problem, when I try to join two strings, one declared as a string() [code=vb]dim string1 as string()[/code] the string contains some data in both str(0) and str(1) but when I try to add that with a regular string: "some text" like this: [code=vb] dim string1 as … | |
I have a login page for which users and their passwords hav been updated in database. If a user continuously enters invalid password 3 times then im displaying an error message and blocking the user. when i enter another user name the error message continues to be displayed. btw, im … | |
I use the following commands to save data in my database MydatabaseBindingSource.EndEdit() MydatabaseTableAdapter.Update(DBDataSet.mydatabase) When I enter data in debugging mode, and close the application, it wont keep the data, But, if I publish my application it will keep the data, is this normal? My plan is to save the data … | |
i want to users to be able to vote for their favourite soft drink. They will input the names of the soft drinks through the use of an inputbox, the names input are stored in an array. what i would like to do is count the votes given to each … | |
Hello Everyone, I am working a project that have three grid two of them load excel sheet and one is to reconcile the data of both gird. I have button Reconcile When press its works fine. My problem is this I have to made some changes in second datagrid and … | |
Hi, I have saved documents into my SQL Server 2005 database and they have been converted to bytes. My web page is made with VB.NET in Visual Studio 2008 with ASP.NET. The following is exactly what I need to achieve; 1. Allow user select document with a button 2. Select … | |
Hi: I have a problem.. I have 3 text boxes and 12 comboboxes. the idea of the form is that the data entry on form has to be stored in Access.. which happens.. but i to limit the user in choosing only the values available from the combo boxes and … | |
Hi All, I just started learning VB.NET 2008 and have to create a multiline text tool for a project I am putting together. I had no idea on how to do it. I got a tool bar and what I need is that when the user clicks on the icon … | |
Ok, here is the issue. I have a xyz.css file which I read using the streamreader. the file has text in the form .Addfont { ...... .GridLayout {...... a.Master Layout {...... Now I need to extract the text between the '.' and '{' In this case it would be Addfont … | |
i am cesar and i want to know on how to query records from ms access to the vb.net....any reply will be appreciated! thank you! | |
I want to dynamically update and display Label captions using hidden texbox which read from certain SOL DB table column. Am using label1.caption = text1.text Very New to Vb.net 2005 | |
i am coding a program in vb.NET, it will be used for people to vot for their favourite food. I have let the users input the name of favoutie foods into an inputbox and tehn store the name of each favoutie food into an array called foodarray. Then the array … | |
I'm trying to use VB.NET to insert the data in the current row of my datagrid into a table. I wrote the following code: [CODE] Dim vCustomer, vBulkQty, vItem, vBaseUnit, vEachQty, vEachUnit As String vCustomer = dgCustomers.CurrentRow.Cells(0).Value vItem = dgItems.CurrentRow.Cells(0).Value vBulkQty = dgItems.CurrentRow.Cells(3).Value vBaseUnit = dgItems.CurrentRow.Cells(4).Value vEachQty = dgItems.CurrentRow.Cells(5).Value vEachUnit … | |
Hello Everybody, If you plz am fresh graduate and now am asked to do project and to use barcode..... really I dont know anything about barcodes, I've searched the internet , i knew that there are fonts... (code39,...) If i have a barcode field saved in db, if i read … | |
Hi Every body I need help in how to cast a single datagrid cell to a textbox in vb.net. Actullay i want to validate datagrid cells. | |
Hi! I'm having a problem with vb 2008 thinking my code is obsolete: [code=vb.net]listener = New TcpListener(listenport) [/code] So it wants an IP-address before the port: 'Public Sub New(port As Integer)' is obsolete: 'This method has been deprecated. Please use TcpListener(IPAddress localaddr, int port) instead. http://go.microsoft.com/fwlink/?linkid=14202'. [code=vb.net]listener = New TcpListener(LocalAddr, … | |
when I'm starting a new project then ASP.NET Web application won't open, It displays this message "Visual Studio.NET cannot create or open the application because no Web server was detected at this URL:'http://localhost/WebApplication1'. Make sure the Web server is installed and running. btw how to install IIS w/o a win … |
The End.