20,279 Topics

Member Avatar for
Member Avatar for mirzamujib

Hi, I've problem in displaying image on my rdlc (Microsoft Report Viewer) report. I took picture box on my report and made its properties as SOURCE=EXTERNAL, VALUE=Parameters!Path.value where Path is my Report Parameter. Below is the code to display image on Report load event: Dim paramList1 As New Generic.List(Of ReportParameter) …

Member Avatar for AleMonteiro
0
989
Member Avatar for ann.arceo.14

gud day. I have 2 collumn from my database. DateHired ( datarow.item(5)) and EndofContract (datarow.item(6)) on my form i have 2 datetimepicker to record the employees previous jobs, i need to avoid overlapping on the employees recent recorded jobs. e.g if date hired is 01/02/2012 and end of contract is …

Member Avatar for saphiro
0
169
Member Avatar for Dili1234

Dim major As String = TextBox1.Text Dim depa As String = TextBox2.Text Dim sname As String = TextBox3.Text Dim tbStudent As DataTable Dim dcPrimaryKey(0) As DataColumn tbStudent = sqlDataset.Tables("Major") Dim c As Integer 'selecting the entire rows from dbase myCommand = New SqlCommand("SELECT count(*) FROM Major", myConnection) myConnection.Open() 'sqlquery1 = …

Member Avatar for Dili1234
0
273
Member Avatar for gujinni

I don't know how to implement this. I tried several times. but the button was only visible if the picturebox is already in the width of the frm(Me.WIdth) Public Class Form1 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Static XInteger As Integer = PictureBox1.Left Static …

Member Avatar for Reverend Jim
0
94
Member Avatar for linabeb

please someone help me..im doing my final project and below is my code for the registration form..after i fill up all my form and it will appear a msg box that i can only register once...the data is not being inserted in the database..im using ms access...please2....do help me...i dont …

Member Avatar for Maligui
0
282
Member Avatar for Stealthbird97

Ok, What i need is a Login script that will verify the information that is on a MySQL database. What people will do is sign up on a website and their Login information will be stored on the database. Then they will be able to login to a special members …

Member Avatar for Maligui
0
129
Member Avatar for garyu87

Hi everyone, I am now having problem with the First,Previous,Next,Last button to retrieve data. > Public Class DailyExpenses > > Dim connection As New SqlClient.SqlConnection > Dim cmd As New SqlClient.SqlCommand > Dim da As New SqlClient.SqlDataAdapter > Dim ds As New DataSet > Dim i As Integer = 0 …

0
65
Member Avatar for Commando123

hello guys, can anyone help me with this plz?? i have a datagrid view that is bound to a database, and the is a checkbox that is also bound to a flg in this database. i want to put some conditions on checking or unchecking this flg. what event do …

Member Avatar for Commando123
0
199
Member Avatar for sanket044

hey i am having three columns "fname", "mname", "lname" in one table... i want to take each column's DISTINCT value without relating fields in one query.. i mean distinct of "fname" in first column, distinct of "mname" in second column and distinct of "lname" in third column can anyone help …

Member Avatar for M.Waqas Aslam
0
133
Member Avatar for prancode

Hi, I'm trying to export data from excel sheet to my grid, I'm using the foll code, but I get an error at DataGridView1.Rows.Add(), saying rows cannot be added programmatically. Private Sub btnexport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnexport.Click Dim xlsApp As Microsoft.Office.Interop.Excel.Application Dim xlsbook As Microsoft.Office.Interop.Excel.Workbook …

Member Avatar for M.Waqas Aslam
0
159
Member Avatar for tareywolf

I like so many others seek out code snippets from time to time to provide some functionality. Most are easy to incorporate. But I have not yet figured out how to use a function, like below. How does one call something like this in another program? Private Function Search(path As …

Member Avatar for tareywolf
0
75
Member Avatar for tareywolf

I have an issue where, in a recursive situation, I need the path of each file in a directory, but only from the top folder to the filename... not any system type files. Is there a way to set up an enum or "For Each" type of loop that would …

Member Avatar for Reverend Jim
0
174
Member Avatar for Roshaan.N

Hi, i am new on vb.net.i want to link two forms. a button on form 1 when clicked it opens form 2 but not in new windows but it replace form 1 on the same window.

Member Avatar for Reverend Jim
0
67
Member Avatar for LD Company

Hello! It's me again. I making a library software and I using DataBase. When I remove any record from database and then click save i got a error message: **Update requires a valid DeleteCommand when passed DataRow collection with deleted rows.** , and one line of code with yellow background: …

Member Avatar for LD Company
0
201
Member Avatar for Gus_19

I'm trying to have my winform check for changes in textboxes, combo boxes and masked textboxes. I've found a way for one textbox, but how can I do this for all of the textboxes as well as ones on other tabpages? Private Sub Textbox_Textchanged(ByVal sender As System.Object, ByVal e As …

Member Avatar for Reverend Jim
0
158
Member Avatar for samrudhi_12
Member Avatar for LD Company

Hello. I working on my Library software and I using database for my project. When i click save icon I save my record and when I close program and open it again, database is empty. All my records always gone! But when i create new project again and make new …

Member Avatar for Netcode
0
175
Member Avatar for f4fjks

Hey All! I have created a database application which read and write data in Ms Access. It works well on my computer but when i try to install the same application via installer package to another computer, and run it, it gives me error that i dont have the database. …

Member Avatar for Maligui
0
173
Member Avatar for sigridish

hi all! i have two combo box in my program one has the subteam for example if you click the 1st combo box, the items would be A1 A2 A3 A4 A5 what i want to happen is that if i chose A1 only the members of team A1 would …

Member Avatar for Dili1234
0
615
Member Avatar for SANJAY26

Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick frmDisplayLockerInfo.Show() frmDisplayLockerInfo.TextBox2.ReadOnly = False frmDisplayLockerInfo.TextBox3.ReadOnly = False frmDisplayLockerInfo.TextBox4.ReadOnly = False frmDisplayLockerInfo.TextBox5.ReadOnly = False frmDisplayLockerInfo.TextBox6.ReadOnly = False frmDisplayLockerInfo.TextBox7.ReadOnly = False frmDisplayLockerInfo.TextBox8.ReadOnly = False frmDisplayLockerInfo.TextBox9.ReadOnly = False frmDisplayLockerInfo.TextBox10.ReadOnly = False frmDisplayLockerInfo.TextBox11.ReadOnly = False frmDisplayLockerInfo.TextBox12.ReadOnly = False frmDisplayLockerInfo.TextBox13.ReadOnly = False frmDisplayLockerInfo.TextBox15.ReadOnly …

Member Avatar for ChrisPadgham
0
220
Member Avatar for matiasrad

Hi, is there a way to get the FTP Welcome banner (not the welcome message, but the banner)? What I'm trying to do is to discover several AXIS security cameras over a network using FTP. When I try to FTP into a camera using cmd.exe, the camera answers like: C:\>ftp …

Member Avatar for Reverend Jim
0
248
Member Avatar for MeSam0804

hi, I am recently very curious to know how I can make a connection between two computers which are not in a local network. I googled a lot but there are always solutions for local IPs Now I know that I should make a server and a client to send …

Member Avatar for MeSam0804
0
1K
Member Avatar for imarc

Hello all! I have hit a small bump in my development of a program I am working on. Basically what I need to happen is this; for each item in the listview it executes a SQL query to input values into a database. In this case it pulls the quantity …

Member Avatar for imarc
0
288
Member Avatar for Commando123

hello guys, can anyone help me with this plz?? i have a datagrid view that is bound to a database, and the is a checkbox that is also bound to a flg in this database. i want to put some conditions on checking or unchecking this flg. what event do …

0
90
Member Avatar for akosijansel

Hello! first of all i'm a newbie **and don't know much about visual basics. I'm using **Visual Basics 2008 and i'm having a problem. i am trying to make a computer aided learning(cal) PLEASE HELP!

Member Avatar for Maligui
0
63
Member Avatar for DyO1

Hello can you please give me a code for a tabed web browser? browser name=webbrowser1 form name=form6 new tab button=NewTabToolStripMenuItem

Member Avatar for Maligui
0
101
Member Avatar for opman234

Please help me. I have design my help content ĩ̷̊ñ a html file. I want to display it as soon as the help button is click. The html doc is ĩ̷̊ñ my bin folder, how can I call it, wen it is being click. •̸ŤђαϞĸs ĩ̷̊ñ advance

Member Avatar for Maligui
0
132
Member Avatar for jbutardo

Hi, I have this datatable that I need to loop for my excel exporting function. And I have to export data that exceeds the row limit of excel worksheet. now I want to know how to create a query of limit on the datatable.select in such way like in sql. …

Member Avatar for Maligui
0
205
Member Avatar for HibaPro
Member Avatar for HibaPro
0
128
Member Avatar for Gobble45

Hello Daniweb. Im currently working on a solution that involves querying a specific user (either by getting the user to 'login' or by detecting who the user is that is logged in to the machine) against the domains active directory structure to determine if they are a member of 1 …

0
164

The End.