19,728 Topics
| |
Hello, I was wondering if it was possible to create a software like visual studio (in addition simple, obviously). We could program in vb.net, c ++, etc. | |
Hi Maam and Sir. I need your expertise on vb.net. I have two data grid with database on their own. I want to copy/update the data from one database to another. The data grid have product codes and prices. I want to copy/update only the prices from the first data … | |
Hi all I'm creating a warehouse management system, then i want when new orders are created, a customer's name be selected from a list box and that customer's selected name from a list box be the table name that will hold records of the table's order with a random number … | |
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then For Each subCtrl As Control In ctrl.Controls If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then MsgBox(subCtrl.Text) End If If subCtrl.GetType Is GetType(System.Windows.Forms.ComboBox) Then If subCtrl.GetType Is GetType(System.Windows.Forms.RadioButton) Then If CType(subCtrl.Controls("rbttnM"), RadioButton).Checked Then MsgBox("Male") End If If CType(subCtrl.Controls("rbttnF"), RadioButton).Checked Then MsgBox("Female") End … | |
can you help me fix this code the frist number of the array is giving a error Dim studid() = {7908205555, 89546214, 2435325, 25463, 264326, 263626, 262261} Dim id As Integer id = Integer.Parse(TextBox1.Text) For i = 0 To studid.Length - 1 If id = studid(i) Then ListBox1.Items.Add("the id is … | |
how can i auto sum the values in datagrid cells of the same row in vb.net | |
Please help on this one: SELECT Format([expr1],"# %") AS expr2, totvisit/totrem AS expr1 FROM ( SELECT Count(*) AS totrem FROM ( SELECT DISTINCT remid FROM remtable WHERE remtable.pacid = 94) AS r, ( SELECT Count(*) AS totvisit FROM ( SELECT DISTINCT visitaid FROM jurnal WHERE jurnal.pacient_id = 94) AS b … | |
Hey there everyone, I need to write a small program to get a certain task done, but I have zero experience in manipulating text files. Can someone please give me a start on how to write the following program: The program should take all the text files in a folder, … | |
Hi I'm having an 'The application is in Break Mode Error' when debuging this sort code. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim ds As New test1 Dim reportdoc As New CrystalReport1 ds.Tables.Add(Test_tbl) DataGridView1.DataSource = ds.Tables("Datatable1") reportdoc.SetDataSource(ds.Tables("Datatable1")) With CrystalReportViewer1 .ReportSource = reportdoc .Refresh() End With End … | |
I'm using Winforms with a picturebox and a custom rectangle drawn on it (face detection). Now I have code the draws the rectangle on the specified coordinates, allows resizing and moving of the recangle. However.. I need to know how to rotate the rectangle by using the MOUSE. I know … | |
Sub generate_inv() Dim id_tmp As String Query = "select top 1 InoviceNo from Invoice order by InoviceNo desc" cmd = New OleDbCommand(query, cn) dr = cmd.ExecuteReader If dr.HasRows = False Then dr.Close() id_tmp = "E000001" Else dr.Read() id_tmp = Format(Mid(dr("InoviceNo"), 2, 6) + 1,"E00000#") End If dr.Close() txtInvoice.Text = id_tmp … | |
Group, you were very helpful to me in adding multiple textboxes, labels, etc., in my original post. If you would like to read through that, see http://www.daniweb.com/software-development/vbnet/threads/447985/creating-multiple-labels-textboxes-etc.-dynamically#post1934799. In a similar vein, I now want to dynamically add these multiple panels within a "main" panel, one at a time, with the … | |
it means if user insert "n"(number of case) in textbox than click the "Next" button, in datagridview set to "n" number of rows. i don't know what code i use, please help me, please check attach file, thank you so much | |
How to can i do like this: datagridview1.row [i] = input value , and results(calculated) in datagridview2's row[i] = output value. it means input row and output rows are neeb to be same. i need to connect them. please help me. | |
1.PLease help me, How to call input values from datagridview.(unlimited rows) I tried this coding, but it's not working, didn't show any answers. private void dataGridView10_CellContentClick(object sender, DataGridViewCellEventArgs e) { for (int i = 0; i < (dataGridView10.Rows.Count); i++) { DataGridViewRow row = dataGridView1.Rows[i]; groundproperty[0] = Convert.ToDouble(dataGridView10.Rows[i].Cells["Column1"].Value); groundproperty[1] = Convert.ToDouble(dataGridView10.Rows[i].Cells["Column2"].Value); … | |
Hi Everyone, I started creating a new WPF project wherein, I have just added a style to all the elements of type "Window" and "Grid" but none of these are working (rather a wierd black box is apprearing - Screenshot attached). **NOTE:** I do not want to use "x:Key" for … | |
I want to develop project on the mcq based quiz in vb.net in that i want to provide four radio button and user will select one when he will click on one answer the system will display the answer is correct ot not and when he will complete the exam … | |
A search button that can find and could post the data saved in MS Access in a new form? | |
how can i update my Amount text . whenever i remove items in my list box .. i desperately need this for my project . | |
I am currently developing in Visual Studio 2008 (Visual Basic) and I have no problem reading, editing, saving, etc. to a 2007 Access database that is stored locally using the following code: [CODE]Dim NotifyDS As New DataSet() Dim NotifyCon As New OleDb.OleDbConnection NotifyCon.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Data\Settings.accdb" NotifyCon.Open()[/CODE] Ultimately I am … | |
Hello, How I can add a search string in a combox? I create a project there are a form Add Category I attached the screen sort. Category Item show in a combobox(unmcmb). It is connected with access database. Dropdown style is-- "simple". Now when I select item (using arrow key … | |
Hi, I want to read csv (Comma Separated Values) file content in VB.Net I want read entire values in file store in the fixed blocks ( say array ) Please guide me for reading the csv file content in VB.Net. Also how to get count of the data in csv … | |
Hello experts, I have to write a sql joining 6 tables. to retrieve classid, planname, workoutname,date,timeslot,status,staffemail and display them to a gridview. the tables are as below **tblclass** having columns *classid(PK)*, planallocationid*(FK to tblallocation)*, date, timeslotid*(FK to tbltimeslot),*status, staffid*(FK to tblstaff)* **tblallocation** having columns *planallocation(PK)*, planid*(FK to tblplan)*, workoutid*(FK to … | |
Hi i have a gridview displaying data at page load and i added a column delete. i have the primary key of the table displayed in the gridview as foreignkey in another table. so i cannot use wizard to just type my SQL in delete command. Can someone please help … | |
Hi DW. Anyone know what/which type of WndProc Windows Message is raised when someone is burning a CD? What I mean here is that if I'm using a software like Nero which is a well known CD burning software. My question is that what type of WndProc Message this software … | |
Hi guys, i have a login page where i created a session trainer after login. the session is the mail address of the trainer. now from another apsx page, i would like to retrieve the staffid of the user logged in using the session as criteria. I tried to write … | |
Hi I have a datagridview with 9 Processes each process holds dates for stating and compleating a job. When a process is Late a cell back color is set to yellow, when today is the day the same date on the cell the date gets bolded,if the date is altered … | |
Hello Only one time count the msg ok result. but after that when I type wrong username and password coding not work. please help me ......... Try Dim erorcunt As Integer erorcunt = 0 Dim myConnection As OleDbConnection myConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\DB.accdb;Persist Security Info=False;") Dim myCommand As OleDbCommand myCommand … | |
Hello Everyone, This website has really helped me as a newbie, thank you. But I really need help with some thing. I created a database table in vb.net using SQL ServerlocalDB. I also have a listview . I am trying to save items from the listview to some columns in … | |
Hi guys, I have a listview that displays "product Description" in the first column and "Product Price" in another column, after the "add" button is clicked on frmSales form. After that, txtAmountDue is automatically updated with the value of the items added to the listview. The Remove Button, when clicked, … |
The End.