19,728 Topics
|
|
I had 3 datagridview in visual basic, and each of them is linked to each other. 1 Main component can have many Failure Mode and 1 Failure Mode can have many Critical. [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/1_zpsapbu0wla.png) [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/2_zpsbe2c2u3n.png) [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/3_zpsw2s2weo6.png) I want to duplicate selected row or record including their children details, … |
|
Dim DMC_No As New List(Of Integer) cmd.CommandText = "SELECT MC_No FROM tbl_MainComp WHERE EquipTag= '" & TextBox1.Text & "'" Using reader As OleDb.OleDbDataReader = cmd.ExecuteReader() While reader.Read() DMC_No.Add(reader.GetInt32(reader.GetOrdinal("MC_No"))) End While End Using Dim DFM_No As New List(Of Integer) For i = 0 To DMC_No.Count - 1 MessageBox.Show(DMC_No.Item(i)) 'This line to … |
|
Group, 10 months ago I posed the same question as to how to programatically create the variable names via the loop. However I'm now in real need of doing this and I don't fully understand what each step of the syntax actually means and what it does. Therefore I need … |
|
Hi all, i am using a ribbon in my c# 2010 project, first i had .net framwork problem while i was running the form then i changed that to .net framework 4.0 now it says Win32 exception Unhandled. What is the problem? is the problem in debugger? |
|
I have 3 table which are ![zz.PNG](/attachments/large/3/f81c645612d06529dba9af30a4a314ac.PNG "align-center") I want to duplicate a record from the master table in the same time it will duplicate all children table. I will assign new primary key to the new duplicate record. For the tbl_System and tbl_MainComp work fine. But when i have … |
|
Hi guys, am trying to populate textboxes with data from sql server database. below is the code I am trying to use in Visual studio 2012, Vb.net. Private Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSearch.Click Dim query As String Dim MyConnection As SqlConnection = New SqlConnection("Initial Catalog=PayRoll;" & … |
|
Hello, I created a small windows service in VB.net, intended to run on a MS Windows server 2012, which uses the EventLog.WriteEntry Method to write entries to a custom log file. All works as intended, however, I am wondering if there would be a better way to write to the … |
|
Greetings! I have been using the code below to restore backups of mysql database taken utilizing the mysql dump for a few years, but suddenly, this does not restore database backups anymore. Is there any change within mysql? code: Dim myProcess As New Process() myProcess.StartInfo.FileName = "cmd.exe" myProcess.StartInfo.UseShellExecute = False … |
|
How to pass Listview contents to a crystal report for printing purposes using VB net..? i got 1 listview which shows the results of some queries. Now my problem is how can i pass those data in my listview to the crystal report? |
|
Rev Jim: I need to get a random file name from a specific directory (folder) each time this routine is called. I was given these steps on another website, but I need to be shown how this is done. Can you please assist? Get the files - Directory.GetFiles or DirectoryInfo.GetFiles … |
|
Hi, Does anyone know how to have a dropdown appear when typing in a multi line text box? I want it to work in the same way it does in Visual Basic, suggesting what could be inserted based on what the user is typing. Thanks guys, Regards, Luke |
|
Hi Expert, would it be possible to list all the current active Domain equivalent Active Directory in a network? Hoping to here from you. Thanks. |
|
I need help about this, I've been working for this a quiet while... I want to log-in using one login form for both admin and normal user but after log in, some of its form and/or buttons in the form should not be available for normal users. here is my … |
|
Hi group, I'm modifying a VB.net app where I need to loop through an Excel spreadsheet for data out of two column. In essence the code will need to read: For i = 2 to end of file propNo = Cells(i, 2).Value crms = Cells(i, 8).Value If crms = "Y" … |
|
I know that this probably has been done by someone, but I want to learn how to do this using VB 2010 express. I cannot seem to get the numbers to stay in the text boxes that they are dropped in. The numbers always go to the last box (#81). … |
|
Hi. I have a MVC project with a form and a submit button. The values are passed to the controller. One method will fetch data from the dataset according to the parameters passed. Then some VB functions will work with the data retrieved. Currently I have the whole dataset being … |
|
I'm currently in the middle of making a VB.NET project. I want to have the VB.NET project control the actions of the Flash projector. (Stop, play, change text of text control in the Flash projector, etc.) This is a one way control however, nothing about the SWF projector will interact … |
|
Hello everybody, I'm doing a colleague a favor by looking into a VBA formula to make her reporting tasks a little easier, poor her, but I need help myself now. this is how her tabsheet is set up: ![CVDV__tab.jpg](/attachments/large/4/d71dd2333b4335e71abd83448f735d91.jpg "align-center") this is how the end result should look like in … |
|
I need to interface to a USB device from VB.net, where I both read and write to the device. Are there any programing differences between the different USB interfaces, i.e 1,2 and 3 that I should be aware ? Does it matter if say a USB 3 device is plugged … |
|
I'm updating my database using this code. only id and attendance date is updated but the time(AM_TIME_IN etc...) is not updating. What could be wrong? I'm using access and time(AM_TIME_IN etc...) datatype is shorttext Dim a As String = Now.ToShortTimeString If a.Contains("AM") Then a = "AM" Else a = "PM" … |
|
I want to play random sounds, one after another. I can get one sound to play, but nothing more. It should play 10 random sounds from the list of 6. It just plays 1. How do I get it to play all 10? `Private Sub RandomNote() For Me.a = 1 … |
|
Hi i am making an application in vb.net and i need help. The user will send me his issues or information through attachment. but i want a restriction on filesize that he can not attach file more then 20MB i did some coding but its not working. it will show … |
|
how to capture an area of your desktop and save as video in vb.net ? |
|
how to login flash site in vb.net ? ex http://chatrandom.com/webcamchat/ http://free.123flashchat.com/room/Best+Tour+Chat |
|
hi.i need help on this... i have a datagridview and when i clicked the datagridview shows in textbox and i have this one problem with my picture box...it only shows the same picture even if the saved picture in my database is not the same... Private Sub Button1_Click(ByVal sender As … |
|
Hi, everyone! I want to make search a student's grade. Each student follows the 10 subjects. I want to make a search of students in certain grades. I made 10 textboxs to input the value I want to search. I put a combobox on left of each textbox to select … |
|
i want to save data entered into my form into the database but it is telling "column name or number of supplied values does not match table definition" here is my code help please Private Sub BtnSave_Click(sender As Object, e As EventArgs) Handles BtnSave.Click 'Error checking:Personal information Try cmd.CommandType = … |
|
i used pcode as my primary key which has a datatype of short text Private Sub RefreshData() If Not conn.state = ConnectionState.Open Then conn.Open() End If Dim DATA1 As New OleDb.OleDbDataAdapter("SELECT pcode as [Item Code], psup as [Supplier], pcat as [Category], pdescript as [Description], pstock as [In Stock], piprice as … |
|
Dear all, I have created project database in msaccessdatabase. It contail ![Msaccess.jpg](/attachments/large/4/a91d2278c08f244b439891bcf7c3b36e.jpg "align-center") form layout as shown in image & i have attached code for reference Imports System Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the … |
|
Hi, I have try to insert edit and delete feature in my gridview app. however, the code is not really work. when I click the edit or delete button it keep adding the blank line. It supposed show textbox with data and Update Cancel link button, when I click the … |
The End.