20,285 Topics

Member Avatar for
Member Avatar for Saidar

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, …

Member Avatar for ALex_67
0
2K
Member Avatar for VIPER5646

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 …

Member Avatar for Nutster
0
325
Member Avatar for Maurice_4

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 …

Member Avatar for xrjf
0
2K
Member Avatar for JModak

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 …

Member Avatar for xrjf
0
2K
Member Avatar for Papa_Don

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 …

Member Avatar for Enrique_2
0
3K
Member Avatar for Khaliunaa

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

Member Avatar for Khaliunaa
0
4K
Member Avatar for Khaliunaa

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.

Member Avatar for ddanbe
0
388
Member Avatar for Khaliunaa

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); …

Member Avatar for ddanbe
0
746
Member Avatar for KushMishra

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for amit_44

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 …

Member Avatar for rproffitt
0
282
Member Avatar for Vincent_6

A search button that can find and could post the data saved in MS Access in a new form?

Member Avatar for Mr.M
0
169
Member Avatar for Bim_2

how can i update my Amount text . whenever i remove items in my list box .. i desperately need this for my project .

Member Avatar for Mr.M
0
122
Member Avatar for mikeybware

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 …

Member Avatar for xrjf
0
3K
Member Avatar for JModak

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 …

Member Avatar for xrjf
0
503
Member Avatar for MukeshZ

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 …

Member Avatar for deceptikon
0
20K
Member Avatar for Alv45525

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 …

Member Avatar for xrjf
0
432
Member Avatar for Offei

I am developing an application for people to learn but i realised the need to time the quizzes in the programme. Could someone please help me with a sample multiple question codes with timer? So far this is what i got: Public Class Form1 Dim questions(2, 4) As String Dim …

Member Avatar for ddanbe
0
997
Member Avatar for Alv45525

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 …

Member Avatar for xrjf
0
160
Member Avatar for Mr.M

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 …

Member Avatar for xrjf
0
474
Member Avatar for Alv45525

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 …

Member Avatar for xrjf
0
321
Member Avatar for VIPER5646

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 …

Member Avatar for VIPER5646
0
427
Member Avatar for JModak

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 …

Member Avatar for JModak
0
287
Member Avatar for Paul_55

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 …

Member Avatar for xrjf
0
209
Member Avatar for wilsonchama

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, …

Member Avatar for Duane_2
0
2K
Member Avatar for Alv45525

Hello , i kinda need some help here. The below code is to check if a category already exists before adding it to the table category. If ever i insert a category that already exists, if gives me the message that it already exists. The thing is that if it …

Member Avatar for Alv45525
0
453
Member Avatar for jackiiee

Hello Everyone, Can someone please offer me some help here as I have spent 3 days trying to resolve this problem I am having trouble while selecting one item from multiple items in combo box and calculate data of that item from list box to show in text box in …

Member Avatar for xrjf
0
2K
Member Avatar for Reverend Jim

Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly tossed until the sequence for one of the players occurs. The loser pays the winner a dollar. You'd assume that …

Member Avatar for xrjf
0
2K
Member Avatar for xrjf

Suppose we need to populate and filter a Datagrid with the data coming from an Access table. It could be of course a table from Sql Server also. Form dataGridSelect contains two buttons and a DataGridView. Clicking the first button will populate the DataGridView the data comming from a Sql …

0
359
Member Avatar for DobyMoby

Hi there. I was trying to filter items in combobox using BindingSource.Filter, to filter after "гр." and "с." ,but typing in combo it recieve only one letter and mouse disapear... Any help pls. This is my lazy try: Private Sub Combo11_TextChanged(sender As Object, e As EventArgs) Handles Combo11.TextChanged If Me.Combo11.Text …

Member Avatar for rproffitt
0
458
Member Avatar for Paul_54

Im writing a program for college and we have to write an MOT Quotation program that prints to text file that is created through the use of a function or procedure: This is the specification: When the user clicks the Calculate Total button: Print button becomes available and on click …

Member Avatar for ddanbe
0
229

The End.