20,284 Topics

Member Avatar for
Member Avatar for bettybarnes

i have problem guys about overload resolution Overload resolution failed because no Public 'Add' can be called with these arguments: 'Public Function Add(text As String) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'text' cannot convert from 'DBNull' to 'String'. 'Public Function Add(item As System.Windows.Forms.ListViewItem.ListViewSubItem) As System.Windows.Forms.ListViewItem.ListViewSubItem': Argument matching parameter 'item' cannot convert …

Member Avatar for CodeWord
0
186
Member Avatar for jvlb

Hy!. i remember that in Qbasic i could assign values to variables from a text file. (not in the code inside.). How to make the same in VB.NET? Thanks in advanced.

Member Avatar for CodeWord
0
102
Member Avatar for abhi10kumar

How to access all values of the selected Row of a DatagridView in C# using Coding, MS Access as a Database..??

Member Avatar for Mitja Bonca
0
123
Member Avatar for vbnetworker

My Form have a multiline textbox. In this textbox, theres lines like that: name1 - phone1 and i have to convert every line in 2 variables (or array). eg: name = "name1" phone = "phone1" how could i make it?

Member Avatar for vbnetworker
0
164
Member Avatar for Gazzmonkey

Hi all, I've got a small problem with a database I'm working on, the project was given to me by college kids & their Teacher to complete. They created the database using Access 2007 and I'm left building a Windows App user interface in Visual Basic. Anyway I can't figure …

Member Avatar for Gazzmonkey
0
132
Member Avatar for TIP.Synergy

I am using update query statment but is not working for this code [CODE]Dim myConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= Provider=Microsoft.Jet.OLEDB.4.0;Data Source=../lms/DBLMS.mdb") Dim item As Integer myConn.Open() myComm = New OleDbCommand("UPDATE tblVehicles SET Vehicle_Type = " & cboVehicle_Type.Text & ", Vehicle_Model = " & txtVehicle_Model.Text & ", Plate_No = " & …

Member Avatar for DONPAWPAW
0
5K
Member Avatar for abhi10kumar

Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ??

Member Avatar for jay.gadhavi
0
180
Member Avatar for rkmeena

Hi............ How can i pass and access the array variable in Stored Procedures

Member Avatar for bLuEmEzzy
0
74
Member Avatar for mroberts50

I am using Visual Basic Express. Here is my code but my number is always a whole number when I divide I want it to be two decimal places. For example 367/12 should equal 30.42 not just 30. I do not understand what I am doing wrong? Private Sub btnIntegerDivide_Click(ByVal …

Member Avatar for bLuEmEzzy
0
239
Member Avatar for frank33

Is it possible that when a user clicks, the fact that she may have clicked on two overlappping labels, for instance, be responded to ? In other words could the Sub for a click on Label1 check that Label2 has actually been clicked simultaneously ? Thanks.

Member Avatar for Pgmer
0
105
Member Avatar for rkmeena
Member Avatar for bLuEmEzzy
0
123
Member Avatar for bLuEmEzzy

i want to get the row(s) when the checkbox is check/uncheck in the listview.. thank u... [ICODE] For Each Item In CheckedItems If (Item.SubItems(4).Text) = "Cash" Then 'Code Here ElseIf (Item.SubItems(4).Text) = "Check" Then 'Code Here End If Next If (e.CurrentValue = CheckState.Checked) Then If LstvwBankDeposits.Items(0).SubItems(4).Text = "Cash" Then 'Code …

Member Avatar for codeorder
0
3K
Member Avatar for rosstafarian

Hi guys - whenever i run this code i get " SYNTAX ERROR (MISSING OPERATOR) IN QUERY EXPRESSION" - ive checked everywhere and cant find a solution can anybody spot any errors here? [CODE] Try Dim updatecon As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;data source=H:\FROM HOME\EXTENDED PROJECT !!!!!!\Databases\Login Details.accdb") updatecon.Open() Dim updatecmd As OleDb.OleDbCommand …

Member Avatar for kvprajapati
0
208
Member Avatar for chandrag

hi, i want to integrate VB.NET with command window. in fact, i want the interface(built on VB.NET) to open the command window and it should automatically change the path to C:\Perl\eg and then it has to execute automatically the file what i specified. for this i already used the code …

Member Avatar for pohvak
0
1K
Member Avatar for olegb

Guys: Please help. I need to create an on-screen shape (circle) that has a fill color, which will blink every X seconds (go from fill color, to white, back to fill color). This is trivial to do...BUT... i want to do it in my own class, so that I can …

Member Avatar for olegb
0
984
Member Avatar for markdean.expres

Good day! Guys how do I customize my Datareport? I want to group my data based on field value. This are my table fields; SubCode, Description, Units, Grade, Year, Semester I want to group records based on the Year value. There should be a different table for records whose Year …

Member Avatar for jlego
0
94
Member Avatar for y2kshane

[CODE] Dim mark_value() As Integer = {30, 40, 45, 50, 55, 60, 66, 70, 75, 80, 85, 90, 95, 100} Dim Grade_value() As String = {"W", "F", "-D", "D", "+D", "-C", "C", "+C", "-B", "B", "+B", "-A", "A", "+A"} temp = rdr(c2) For c3 = 0 To 14 If temp …

Member Avatar for y2kshane
0
132
Member Avatar for darkelflemurian

hello guys, i have the following question/problem: -what i need to do is to get some data from sqlserver and send it to a dataset(no problem there) after i get the dataset filled i need to send the columns and rows to a textfile but i have to separate the …

Member Avatar for darkelflemurian
0
108
Member Avatar for DONPAWPAW

am designig softwear with vb.net 2008 and mssql server 2005 express that can print on id card. i have the query written correctly that can retrive employee info. including the picture on a report.my question is how to set the report to automatically pick the size of the small id …

Member Avatar for DONPAWPAW
0
331
Member Avatar for erum

see teh code [CODE]<asp:DataList ID="DataList1" runat="server" Width="200%" > <ItemTemplate> <h4><asp:Label ID="DAtes" runat="server" Text='<%# Eval("date") %>'></asp:Label></h4> <asp:GridView AllowPaging=True ID="GridView1" runat="server" DataKeyNames=sessionid AutoGenerateColumns="False" CellPadding="4" Width="697px" style="margin-right: 0px" ForeColor="#333333" GridLines="None"> <RowStyle ForeColor="#333333" BackColor="#F7F6F3" /> <Columns> <asp:TemplateField HeaderText="Availability"> <ItemTemplate> <asp:CheckBox ID="chkgfln" Enabled=true runat="server" Text=Available /> </ItemTemplate> </asp:TemplateField> <asp:BoundField HeaderText="sessionid" DataField=sessionid /> <asp:BoundField HeaderText="userid" DataField=userid …

0
164
Member Avatar for Joshua Kidd

Hello, I was wondering how to set focus to a program but what I tried did not work. Any Ideas And basically what I have is a typing bot, and I need the timer when it sends the message to open the specific program it needs to send the message …

Member Avatar for Joshua Kidd
0
132
Member Avatar for shredder2794

Hello all, I am trying to figure out how to click a button in the WebBrowser Control... I've tried stuff like: [CODE] WebBrowser1.Document.Forms(0).Item("btnG").Click [/CODE] but this doesn't seem to work. So how would you go about clicking a button in the webbrowser control in Visual Basic 2010? As an example …

Member Avatar for jlego
0
98
Member Avatar for liltrig3

Hello everyone, I am looking for software which when installed on a computer will continuously check a database and pup up a small notification in the task-bar with the info from the database. i will really appreciate it if someone knows of an open source project which does this or …

Member Avatar for jlego
0
68
Member Avatar for bettybarnes

I'm having a problem with user control.. how can i disable from the panel the user control if another user control is selected from menustrip??? here is my code at the moment [CODE] Private Sub LabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LabToolStripMenuItem.Click If LabToolStripMenuItem.Enabled = True Then …

Member Avatar for lolafuertes
0
135
Member Avatar for bettybarnes

Hi guys pls help me with my problem this is for my update code [CODE]Private Sub BtnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnUpdate.Click Dim StrSQL As String = "updatePatient" classLibrary = New ConnectionLibrary classLibrary.openConnection(strConnection) 'label1.text = databasestatus If Not classLibrary.isConnectionOpen() Then Exit Sub End If classLibrary.initializeCommand(StrSQL) classLibrary.addParameter("@IPD_ID", …

Member Avatar for lolafuertes
0
153
Member Avatar for discovery-power

Hi All, I really need some help. I have been asked to write a search screen for a rooms booking application. I have kept the design nice and simple so all the user has to do is enter the dates they want to book a room for and the results …

Member Avatar for discovery-power
0
92
Member Avatar for vn412

Hi, I m using vb.net with access 2007. I have field with datatype "datetime" and values in format dd/mm/yyyy e.g 8/2/2011. Now I have problem when i fire a query [CODE] SELECT * FROM tbl_name WHERE tbl_name.datefield= (Select Max(tbl_name.datefield) from tbl_name)); [/CODE] I have some records with dates 11/1/2011 and …

Member Avatar for izyrider
0
109
Member Avatar for kentlytears

Hello! I have a problem searching my record using a Combobox to display the data in a textbox or lablelbox Eg; txtUsername.text = rs!username lblAddress.text = rs!Address Ty in advance you can also email me at <<Snipped>>

Member Avatar for lolafuertes
0
72
Member Avatar for abhi10kumar

I am working in C#, I am displaying records in a DataGridview. Now, I need to edit a Record into a new small window upon selection of a record. Edit should be done on Button Click. Deletion can also done in same way (only through coding MS Access/ADO).. Please help …

Member Avatar for Momerath
0
107
Member Avatar for amehra

Hi, I am using VS 2010, SQL 2008 express and doing windows applicaion programming in vb.net.I want to write a select query(or Stored Procedure) such that the conditions mentioned under WHERE clause can be variable .like : Select * from TABLE where F1 = var1 and F2 = var2 and …

Member Avatar for lolafuertes
0
126

The End.