20,284 Topics
| |
Hello There, I am Working with Master Detail Database, There Many Tables and Columns with Relationship. One of them 'M_Location' is one Table, and Its Primary Key IS 'LocationID' and Another table is 'D_Trip', so LocationID is used in D_Trip, now whenever gridview shows data of 'D_Trip', and also show … | |
Step 1. Install mysql-essential-5.0 Following Command To install that . start mysql-essential-5.5.12-win32.msi /quiet /norestart Step 2. Set configuration Run Following Command line For That . cd\ cd Program Files cd MySQL cd MySQL Server 5.5 cd bin MySQLInstanceConfig.exe -i -q "-lC:\mysql_install_log.txt" "-nMySQL Server 5.5" "-pC:\Program Files\MySQL\MySQL Server 5.5" -v5.5.12 "-tC:\Program … | |
[CODE]Public Class Form5 Dim connection As OleDb.OleDbConnection Dim mystr As String Dim cmd As OleDb.OleDbCommand Dim adp As OleDb.OleDbDataAdapter Dim ds As New DataSet Private Sub Form5_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) connection.Close() End Sub Private Sub Form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load mystr … | |
how i could import my txt file into access database 2010 using vb.net . the txt file as follow : 08-14-13 08:09:26 001 07 0000020016 0100000000 08-14-13 13:12:06 001 07 0000020014 0300000000 i should take into consideration the space between columns becauase this txt file is exported from a certain … | |
Hi group, I'm looking through the book "Mastering Microsoft Visual Basic 2010" by Evangelos Petroutsos. I'm trying to work through a chapter on designing windows controls. In the first step the directions read: "Start a new project, and in the New Project dialog box, select the template Windows Forms Control … | |
Hey Guys! Im making a furniture company cost software using MS Access.I have two tables,Product and ProductMaterialDetails.What I want to do is when the user updates a material's price then the product automatically updates its TotalCost.For example if YellowChair uses a galon of Sealer at $5.00 and a galon of … | |
I am working on a form which uses an Access (oledb) database, I have a button to update, and other to insert a new client, when I insert a new client it successfully adds it to the database, but I have to open and close the form to update it, … | |
I am an amateur programmer that helps build some solutions for my company. I have an application that I did not originally create, but I have done a lot of modification. I think it was originally built VB 2005 and converted to VB 2010 where I have done most of … | |
Hello, I want to move a panel smoothly like a form. anybody can help me please? thanks ^_^ | |
good pm.,.,i have a next button Try lblcat.Text = ds.Tables("evaluation").Rows(cat)("QuestionCategory") txt1.Text = ds.Tables("evaluation").Rows(CurrentRow)("Question") txt2.Text = ds.Tables("evaluation").Rows(CurrentRow + 1)("Question") txt3.Text = ds.Tables("evaluation").Rows(CurrentRow + 2)("Question") txt4.Text = ds.Tables("evaluation").Rows(CurrentRow + 3)("Question") txt5.Text = ds.Tables("evaluation").Rows(CurrentRow + 4)("Question") Catch ex As Exception End Try every click to the next button my category and questions change.,., … | |
I am tryinh to send a number 123456 on a MSMQ. What goes onto the queue is 46 bytes as it is in XML. Another application is also writing to the queue and it only sends 6 Bytes to represent the number. I have tried putting the queue formatter into … | |
Please I dont have any code for that. Can any body help this? | |
Hye all. I need some help. Iam using vb.net 2010 and MS Acsess 2013. I have problem when retrieve multiple rows from database to datagridview. All rows have the same identification number(RFID Card No.).I want to record how many times the card had scan. Please help me here. Thanks for … | |
[CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim speech speech = CreateObject("sapi.spvoice") speech.speak(TextBox1.Text) End Sub End Class [/CODE] | |
Is there a way to get online elements text and display that on to a form label or textbox or w.e? e.g. http://puu.sh/4xWQj.png in that how would i get "iTzSnD" to make it display in the form? same with any other webpage element? how can I get this done? | |
hi again :) i have problem with finding cyrilic words in my txt file...words in txt file are arranged like this: one један two два three три etc... before word "one" and after word "један" there is blank space... so problem starts in button3_click... what ever i type in texbox3 … | |
I'm a beginner to vb6.. I'm doing a attendance project. I'm using datagrid to view the details from database. i'm trying to update the database through datagrid. can any one help please.. i've searched every where data adapter is used to update. i can't find anyother sources.. | |
Hi, i'm working on a system rate analysis.I just worte the code using oop. i worte a code that inserts a record into the database.when i try to insert a data nothing happens.Please fix my code. //this code is defined in a class Public Function AddWorkItem(ByVal workitemNumber As String, ByVal … | |
I have here a working HTTP request using SOCKETS but I do not know how to send POST requests. Here is my code: Dim hostName As String Dim hostPort As Integer Dim response As Integer Dim iphe As IPHostEntry = Dns.GetHostEntry("www.yellowpages.com") hostName = iphe.AddressList(0).ToString() hostPort = 80 response = 0 … | |
So far I can compute and update seperately a specific row when type it in a text box. What I want now is to read and update rows automatically up until the last record. Imports System.Data.OleDb Public Class Form1 Dim MyConnection As New OleDbConnection("provider=Microsoft.ACE.OLEDB.12.0; Data Source=G:\Raw Data.xlsx; Extended Properties=Excel 12.0;") … | |
Hello everyone, I have a problem, i am unsure how to read the data from my Access Database into my vb.net form. I did some searching but i didn't manage to find anything useful so i would appreciate any pointers. Here is the code from frmAddNewCandidate i am using that … | |
Hi, I have a class called "car" with - I have no ideia how to say this in english - "data members" as the following: Public pneu As classDoor Public mat As classTire Public length As Double And so on. All the related classes have null constructors. I have a … | |
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.FacultyFirstName, b.Image, b.Course, a.Course" sSQL = sSQL & " FROM studentsrecords as a left … | |
Private Sub Save_Record() Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim sSQL As String = String.Empty Dim arrImage() As Byte Dim myMs As New IO.MemoryStream Dim bSaveImage As Boolean = False Dim strImg As String = String.Empty If Not IsNothing(Me.pic1.Image) Then Me.pic1.Image.Save(myMs, Me.pic1.Image.RawFormat) arrImage = myMs.GetBuffer Else … | |
Okay, I have used databases before, but I always created the bindingsources and other things i needed via the visual designer, and now I want to create them with code, so I can make a button to refresh the database without closing it, the problem is that I don't know … | |
Hi All, I need to create a Page in which a text box and a button needed. Please help me to create this Page. i am very new in VB. Thanks Regards Rahul | |
hi guy's!! i need your help.. Ijust want to ask if how to show the date using combo box?? | |
hello i am using vb 2008 version and microsoft office access 2003.I have installed access 2007 also. while i work in vb,i get error -could not find installable ISAM ,at this code con.open("provider=microsoft.jet.oledb.4.0;datasourse="&application startup path&"vbnet.mdb") | |
Hi I'm new here. I'm making a barcode calutator and I want to know how can I get the positions of all integer in a string because I need their position for calculations. Thanks in advance | |
Hi guys, I've been working on Vb.net for about 2 and a half years. It's easy and always has been. I did almost everything. I need some new ideas to work on. I did all the basic stuff such as: picture viewer browser calculator 'explorer' - to view files/folders reads/writes … |
The End.