20,899 Topics

Member Avatar for
Member Avatar for JModak

How to Update Sql database from vb.net 2010 i want to add a stored procedure in sql database from login time on button click.. **database name ** db17-18 **stored procedure** Create Proc P_SelectAllRole As Select StatusId,Status from tblStatusMaster

Member Avatar for mahe_1
0
7K
Member Avatar for Michael_9

# **OLD** # [URL=http://s127.photobucket.com/user/yoda3ddd/media/codemap_zps4115ff7e.jpg.html][IMG]http://i127.photobucket.com/albums/p158/yoda3ddd/codemap_zps4115ff7e.jpg[/IMG][/URL] The Data Namespace Core Friend Module Func Public OkButton As Button Public CancelButton As Button Public ProgBar As ProgressBar Private Sub ProgressLoop() Do Func.ProgBar.PerformStep() Threading.Thread.Sleep(1) Loop End Sub #Region "Constants" Public Const DataRoot As String = "C:\AFormData\" Public Const IMG_PATH As String = "C:\AFormData\img" Public Const …

Member Avatar for Michael_9
0
478
Member Avatar for k99rs

Hi guys, I am stuck on my code. I am creating Repeater control dynamically. For some reason i cant really get it to work, Maybe someone can tell where i am going wrong. I have one class name "MultipleSelectCategoryRepeaterTemplate" this class will create the repeater Header, Item and Footer dynamic. …

Member Avatar for Michael_9
0
581
Member Avatar for KushMishra

Hi All, Could anyone please suggest on how to apply multiple styles to multiple elements at runtime and that too the styles should be applied at the same time on all elements. For instance, I want to animate two buttons but their styles are different. Now if I apply the …

Member Avatar for rproffitt
1
833
Member Avatar for johndohmen1963

I have a datagridvied with several columns and one with date and the format is Me.DataGridView1.Columns("Doopdatum").DefaultCellStyle.Format = "yyyy - MM - dd dddd" or Me.DataGridView1.Columns("Doopdatum").DefaultCellStyle.Format = "dddd dd - MM - yyyy" Depends on the button i press My problem is when i reverse from "yyyy - MM - dd …

Member Avatar for r310070
0
427
Member Avatar for Bianca Zhang

Hello. im trying to creat a pocket pc application using visual basic. but i got problem access text file. system always shows that "counld not find a part of path". the code i wrote is like: [code] Imports System Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, …

Member Avatar for leonardo_4
0
651
Member Avatar for Balaji_6
Member Avatar for rproffitt
0
83
Member Avatar for Glenda C.
Member Avatar for Noorul Ariff

Friends i need code to search the datas... I'm doing INVENTORY project... i'm using ACCESS databse with vb.net... i'm having purchase, sales tables... THIS IS MY PURCHASE TABLE: Code Price Category Type Dat SP Brnd 11 222 cde bgf 9/10/2025 356 asd 12 255 MEN Shirt 5/10/2010 355 Vanhesun 55 …

Member Avatar for Reverend Jim
0
4K
Member Avatar for Glenda C.
Member Avatar for ihthishaam

Hi guys, I am new to vb.net i want to know how to pass a datagridview row values onto another form once the row is been double clicked.

Member Avatar for Angelo_5
0
5K
Member Avatar for KushMishra

Hi All, I have a collection of huge records (6000+) wherein the object in the collections has got 50+ properties, so ideally it is not a good idea to run a "For-Each" loop here. What I want is a "GroupBy" clause which would get me a Dictionary (Of String, String) …

Member Avatar for KushMishra
0
4K
Member Avatar for pri.chakraborty

hello sir, i am new in vb.net.. i am making a project on railway reservation.. in train booking page, there are multiple textbox in my project to insert multiple passenger name for reservation.. i want to book train in one click... so, i have to insert all the passenger name …

Member Avatar for Reverend Jim
0
5K
Member Avatar for jailani_1

i have started system calculater in vb.net using process.start() method but i want to retrive it s value in textbox , how can i do that

Member Avatar for Reverend Jim
0
991
Member Avatar for wilsonchama

Hi Guys, Kindy assist me to make this code work. I want the datagridview to populate data from SQL server 2012 database based on the employment number selected in the combobox. below is the code I have tried to generate. Private Sub btnRecords_Click(sender As Object, e As EventArgs) Handles btnRecords.Click …

Member Avatar for mikeybware
0
198
Member Avatar for Titty_1

DataGridViewCheckBoxColumn Checking Issue I added a DataGridViewCheckBoxColumn to My Data Grid Dim DesChkBox As New DataGridViewCheckBoxColumn DesChkBox.Name = "chbSelect" DesChkBox.HeaderText = "Select" DesChkBox.TrueValue = True DesChkBox.FalseValue = False grdView.Columns.Add(DesChkBox) DesChkBox.Width = 50 grdView.ReadOnly = False grdView.AutoGenerateColumns = False grdView.RowHeadersWidth = 5 And through a procedure I want to check the …

Member Avatar for mikeybware
0
155
Member Avatar for JModak

I use the this code. showing "Update" msg but not update and if i add an item then show "Update" not "save" Please help me..... Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click Dim sql = "select Count(*) from pur_invdet where purinvid= txtpurinvid.text" Dim cmd = …

Member Avatar for dspnhn
0
2K
Member Avatar for sashiksu

I'm currently using below code for print all things in data grid view in vb.net 2012. By all things I mean all columns. Try Dim mRow As Integer = 0 Dim newpage As Boolean = True With gdvcussearchcustomer Dim fmt As StringFormat = New StringFormat(StringFormatFlags.LineLimit) fmt.LineAlignment = StringAlignment.Center fmt.Trimming = …

Member Avatar for Elvis J.
0
6K
Member Avatar for Abdul_41

I am new in reporting with crystal reports. i am trying to genrate a report in vb.net. My data to be displayed in the report is based on a screen output. But I don't know how to bring the data from screen to report. Please help me any one so …

Member Avatar for Santanu.Das
0
173
Member Avatar for Mr.M

Hi DW. I would like to know if its possible to get the source path of a file copied/moved to a folder I set a FileSystemWatcher? What I mean is that get the location as to where this file is coming from if its was copied/moved into this folder. Thank …

Member Avatar for xrjf
0
302
Member Avatar for ChadW

I know I'm just missing the mark here, but what I am trying to accomplish is simply adding the results of two text boxes. Example: Form has two text boxes and 1 label The user enters a number (any number from 0 - 10) into each textbox when the user …

Member Avatar for Akbar_6
0
9K
Member Avatar for Programmer_2

Cant print crystal report viewers records after 32767 page ... im using crystalreportviewer.printtoprinter command

Member Avatar for ddanbe
0
148
Member Avatar for Obbie_1

![Untitled.jpg](/attachments/large/4/6c6056e3fdbd847b94af20fe43f18581.jpg "align-center") Why can not save to the database? my script Imports MySql.Data.MySqlClient Imports System.Data.Odbc Public Class Arsip Const DSN = "DSN=arsip" Dim conn As OdbcConnection Dim cmd As OdbcCommand Dim da As OdbcDataAdapter Dim dr As OdbcDataReader Dim ds As DataSet Dim table As DataTable Sub koneksi() conn = …

Member Avatar for Mr.M
0
223
Member Avatar for Obbie_1

![gh.jpg](/attachments/large/4/8742b15dbecb5444d6086d0a2f3fa080.jpg "align-center") why? help sir

Member Avatar for Mr.M
0
219
Member Avatar for Obbie_1

![as.jpg](/attachments/large/4/e42faf81a2adc0852d2179e721ce2085.jpg "align-center") Can not call form1,, help please

Member Avatar for ddanbe
0
172
Member Avatar for dr.maqbulur.rahman

Hi, In a VB.net programme I have OLEDB table1 (loaded from Access DB). In a loop I am changing the values in some columns (say Col5). Depending upon the new values I need to make and run a query table say (col5=xx) and replace the this query table by the …

Member Avatar for rproffitt
0
316
Member Avatar for Obbie_1

What is the function of twain, wia, sdk in visual studio? Then i have a printer cannon pixma mp198 is it support twain or wia?

Member Avatar for DeanMSands3
0
197
Member Avatar for Khabibb
Member Avatar for ddanbe
-1
226
Member Avatar for JModak

Hello Teachers I create a project in vb.net 2010 with access database. I want to show data in listview. It Is show in listview but a problem I entry **Id wise**. So, when I click on the show data button I see the **Id** . How to show the id …

Member Avatar for xrjf
0
314
Member Avatar for DobyMoby

Hi, Is it possible to bind tooltip on cell mouse move event DataGridView in Visual Studio 2015 ? The goal that i want to achieve is , that tooltip to display a float data with SQL querys on DataGridView Ceels. Thanks

Member Avatar for rproffitt
0
86
Member Avatar for leyla

Hello, I am creating a code that allows the user to insert data into textboxes and then have it stored in an Access database. The code that I used worked previously but since I added the second query, nothing is added to either tables. Here is my code: Private Sub …

Member Avatar for Fecs
0
4K
Member Avatar for Luke_7

hi im having some trouble transfering images over tcp. i currently have a function set up to transfer text but would like to know how i would do this for images. thanks in advance.

Member Avatar for xrjf
0
90
Member Avatar for JModak

how can I use Alt+Del to Delete listview item ... Now I just select the row and press del key delete the item, But I want to delete item by press alt+del key. How it is possible Please help me.... What I have tried: Private Sub ListView1_KeyDown(ByVal sender As Object, …

Member Avatar for xrjf
0
1K
Member Avatar for Mr.M

Hi guys. I'm having a very serious problem. I've created Client,Server Socket applications and they work great on local mechine and I also created a test Windows Phone 7 app and configured the static IP address and the wp7 and server does connect when I run WP7 on a simulater, …

Member Avatar for Mr.M
0
592
Member Avatar for Tim_8

Hi, I have a DGV (dgvListOfJobs), populated from an SQL database to show the user a list of 'jobs' (i.e. rows). I also show 7 other DGV's (dgvMonday, dgvTuesday, etc) for each day of the week so the user can drag a job from the list and drop it onto …

Member Avatar for xrjf
0
840
Member Avatar for Reverend Jim

I've never been a fan of readme files. They are fine for project files where you will likely need note of building an application, or for distribution packages where you might need extra information on installing a package. But sometimes you want to add a comment to a file (perhaps …

Member Avatar for Reverend Jim
2
798
Member Avatar for Alexandre_2

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.

Member Avatar for Reverend Jim
1
551
Member Avatar for Rica_1

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 …

Member Avatar for xrjf
0
1K
Member Avatar for tshukela.george

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 …

Member Avatar for xrjf
0
424
Member Avatar for Enrique_2

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 …

Member Avatar for Joris Claassen
0
343
Member Avatar for MO13

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 …

Member Avatar for ddanbe
0
136
Member Avatar for walaga
Member Avatar for xrjf
0
294
Member Avatar for DobyMoby

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 …

Member Avatar for xrjf
0
125
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
390

The End.