20,285 Topics
![]() | |
PLEAS I WANT TO KNOW HOW TO LINK VB.NET TO DATABASE ACCESS | |
Hello, I would appreciate some help to import data from a text file to a datagridview. If anyone could give me a hint to get started... The textfiles have the column name in the "[ ]" I would like to read the data after the [wp], [pos], [rad] blocks, the … | |
Lets say you have lots of data your listview. Now you want to Group This data According to a Perticular Subitems. For Example: Suppose i have some books data in my ListView. this listview items contains Author name and Books Title. And there are 2000 Books in list view. Now … | |
Hey guys. I want to learn how to make a speech recognition program. I don't want it to be JUST commands. I don't want it to be JUST dictating either. I want it to be commands, dictation, and I want it to be kind of like talking to a real … | |
Hi, im writing a type of password generator, you insert a keyword and it gaves back a password by substituting letters and adding numbers/symbols to the string. Is there a way to split the text from one textbox into several strings every few letters? I´m new to programming, and have … | |
Private Sub Load_Faculty() Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim dr As OleDbDataReader Dim arrImage() As Byte Dim myMS As New IO.MemoryStream Dim sSQL As String = String.Empty Try sSQL = "SELECT b.FacultyID, b.Image, b.Course, a.Course" sSQL = sSQL & " FROM studentsrecords as a left … | |
procedure TMSDE2005Fm.ButtonInstallClick(Sender: TObject); Var txt: TextFile; aFileName, s: String; begin aFileName := GetTempDir + '\PROD_Name.bat'; AssignFile(txt, aFileName); ReWrite(txt); s := GetSetupString; WriteLn(txt, s); CloseFile(txt); MessageDlg('Setup will now begin for SQL Server 2005 Express.', mtInformation, [mbOk], 0); ShellExecute(0,'open',PChar(aFileName),nil,nil,SW_SHOW); ButtonCancel.Caption := '&Finish'; end; function TMSDE2005Fm.GetSetupString: String; begin Result := '"' + Trim(wwDBEditSetup.Text) … | |
I'm making a random number game. The user only gets three chances to guess. If the user guesses wrong all three times, a message box should appear asking if he/she wants to restart, if yes then reset the game and it's controls. I'm not sure if i'm suppose to use … | |
Hi DW I'm creating an application in VB.Net which is using the command to complete the tasks the reason why I'm doing this on VB.Net is that I have an interface where the user will be able to type in and also choose the prefered options, the vapplication will then … | |
i am making a reservation system and i am having a a problem with time conflicts(the system must not accept a reservation where in there is already an event reserved art that time. . my table looks like this  | |
Has anyone had issues using EASendMail to send to hotmail accounts? I have no issues with any other domain, but hotmail accounts don't seem to go through. There are no errors when the code executes, but the email doesn't show up. | |
Hi all! I have a user interface where I want to filter a datagridview.. I 've achieved to create filters but I 've failed to filter tha data by date.. I have a sql db and the column of date is of datetime type. When I try to filter the … | |
![]() | Hi, need some help. How can I retrieve data from MS Access database into DataGridView that allow me to ADD/UPDATE/SAVE/DELETE? Thanks. Hope someone can help me. |
i am using an access odbc to connect my database to a crystal report , when i ma generating the report up to 10 times successivly the access con stop working , can i know why ?? and how i can make the odbc access more faster and can hold … | |
I have a gridview that is populated and a button outside the gridview that I want to enable editing on the selected row when clicked. I have this in the code behind. What goes in the button event to invoke the grid view editing? Protected Sub GridView1_RowEditing(ByVal sender As Object, … | |
I have a datagridview and a bindinglist. They work together pretty ok, but I want to make the properties appear in the rows´ headers, not on the column. Other thing I want to do is to make the headers´ text be different from the properties name. Is there any way … | |
Hey all, I'm trying to do something and read text from page to listview in columns, problem is i get first row, but second third etc it dont insert idk why, im talking about ROWs here is my code check it out and let me know what is wrong? Try … | |
ublic Class Login Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If Password.Text = "" Or Username.Text = "" Then MessageBox.Show("Password v likh..", "Banday da puttar ban.. :D ", MessageBoxButtons.OK, MessageBoxIcon.Error) Else Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\CCIMS.mdb; Persist Security Info= False" Dim cmd As … | |
I have 2 forms. One is a typed list having 3 controls (fields) loaded from access database (copied to project as part of .xsd). The values in this list represent recommended values of items and will also be applied to another 3rd form eventually. In the 2nd form there are … | |
Hey, I need help.. Let's say I made an application and gave it to a friend, how can I made a "Control Panel"..? I mean if i'll click a button it'll exit the application in he's computer..? Thx ! | |
i just want to display datagrid value to label but i am getting problem after passing ten line. Label1.Text = Me.DataGridView1.CurrentRow.Cells(0).Value.ToString.Trim Private Sub DataGridView1_MouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles DataGridView1.MouseClick Label2.Text = DataGridView1.CurrentRow.Cells(1).Value.ToString Label3.Text = DataGridView1.CurrentRow.Cells(2).Value.ToString Label4.Text = DataGridView1.CurrentRow.Cells(3).Value.ToString Label5.Text = DataGridView1.CurrentRow.Cells(4).Value.ToString Label6.Text = DataGridView1.CurrentRow.Cells(5).Value.ToString Label7.Text = … | |
how to prevent using ALT F4 TO close a vb form | |
i have a txt file that is exported from an attendance software as follow : Date Time s1 s2 EmpiD IN\OUT 07-24-13 12:23:52 001 07 0000020009 0300000000 07-24-13 12:24:02 001 07 0000020010 0300000000 between the columns of this txt file different spaces for example between date and time 1 space … | |
As I was testing the game I noticed that when you try to guess another number for the second time and you guessed it right the "Game over, the correct guess is __" messagebox.show appears. Can someone explain what is wrong with this? Public Class SuperAwesomeGuessingGame Dim ranNum As Integer … | |
Hi I have access database with two tables With a Relationship i can insert records into the first table with no problems but when im trying to insert a record in the second table i got error message Error message : Syntax error in INSERT INTO statement. - Microsoft Office … | |
Hi all, I wanted to load a listbox with items from the database.I just wrote the code using oop. But on the interface i'm not sure how to read and insert the items in the listbox. How can i access the items being read at the client side(interface). Public Sub … | |
good day! im working on a migration tool for mysql to mssql. is there any references or codes that you guys can share to me to create databases and transfer data from mysql to mssql? ive just got this idea of using dump mysql files since they also have sql … | |
My UPDATE vb.net code below displays this error message:conversion from string "UPDATE tblstaff SET fName='name' " to type 'integer' is not valid.Microsoft.visualBasic conn.Open() If conn.State = ConnectionState.Open Then com = New OleDb.OleDbCommand("SELECT *FROM tblstaff ") com.Connection = conn Dim cb As New OleDb.OleDbCommandBuilder(da) da.Fill(ds, "Eeestaffinfo") Dim sql As String = … | |
Hello everybody! I’m trying to create a program in which the user has the ability to move the image with mouse click and ability to zoom in and out by scrolling the mouse wheel. If the user wants to return to the original image size and position, it will be … | |
Hi I am currently working on a piece of code that I am struggling to get working. I have a picture box that I want to move across the screen. At the moment I want it to stop when it gets to a certain point and you have to click … |
The End.