20,278 Topics

Member Avatar for
Member Avatar for SyncMaster170

hey guys, So my works app uses a .rdlc file to print a membership card, and looks for a up to date .rdlc file to use as the template. i have VS2010 Pro installed. The other programmer created this program and published it in an earlier version of VS. Heres …

0
64
Member Avatar for SyncMaster170

Hey guys, Heres what my app is trying to do: Print a members card Heres my code: [CODE]Me.AccountsTableAdapter.Connection = mainConnection Me.AccountsTableAdapter.NewQuery(Me.WaynokaDataSet.Accounts) With Me.ReportViewer1 .LocalReport.ReportPath = "G:\Bin\Waynoka Management\MemberCard" & varCardYear & ".rdlc" .LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("WaynokaDataSet_Accounts", dsReportList.Tables(0))) .SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout) End With Catch ex As Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try[/CODE] The title is the error it …

Member Avatar for SyncMaster170
0
475
Member Avatar for Lle26

The problem is in lies in TA.Insert(txtfirst.text) I really dont know what is parameter,,,,all about pls help me...pls [CODE] Public Class AddOutPatient Private Sub btncancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncancel.Click Me.DialogResult = Windows.Forms.DialogResult.Cancel End Sub Private Sub btnaddout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for ng5

I have a listbox and would like to save the items added/deleted when the form closes. any ideas?

Member Avatar for ng5
0
211
Member Avatar for SyncMaster170

Heres my issue my fellow coders: My works VB program uses some .asp files to create reports. This is the error I am getting: Microsoft VBScript runtime error '800a000d' Type mismatch: 'ubound' /reports/wpoa_trans_summary.asp, line 238 I navigated to line 238 in the asp file and here is the code: [CODE]if …

Member Avatar for Reverend Jim
0
558
Member Avatar for maydhyam

Hi All, I am trying to retrieve the telephone number from Active Directory for my script, I found alot of examples online, and I tried to implement what I think should make sense (but since I really don't know vb that well, this is problematic). Below is the piece of …

Member Avatar for maydhyam
0
491
Member Avatar for Leodumbi

gents please help on the following. I'm creating an small application where I search from the databse table tems and add the result line to a datarow of my datatable "dt", I the set the datagridviewe datatsource to this same dt. My question is: How can I save this dt …

Member Avatar for Leodumbi
0
4K
Member Avatar for bilal_fazlani

I need help creating bootstapper for crystal reports runtime.. I want crystal reports runtime to be installed automatically with the application if its not installed on the target machine. I am using vs2010 anyone have any idea here ?

Member Avatar for M.Waqas Aslam
0
303
Member Avatar for Rakham

In old vb6.0 it was easy to highlight the target item, where to drop those dragged rows. [CODE]Private Sub listView_OLEDragOver(Data As MSComctlLib.DataObject, Effect As Long, Button As Integer, Shift As Integer, x As Single, y As Single, State As Integer) Set listView.DropHighlight = listView.HitTest(x, y)[/CODE] I have been Googling all …

Member Avatar for Rakham
1
1K
Member Avatar for timosoft

Hello, is there anything wrong with the below code? i want to blink any of the for labels if the back color is LimeGreen. Timer5 is enabled already and starts at form closing event of another for. so on the timer tick i have below code. thanks for your help …

Member Avatar for M.Waqas Aslam
0
227
Member Avatar for gozo12

[URL="http://www.daniweb.com/software-development/vbnet/threads/360388"]http://www.daniweb.com/software-development/vbnet/threads/360388[/URL] how to make a filter that only show the items that checked and unchecked don't show in checklistbox

Member Avatar for M.Waqas Aslam
0
449
Member Avatar for JJCollins
Member Avatar for Alex_2011

How are you, I need some help with the following code (Attached Form1 & AccountClass). I am trying to figure out the following: - Figure out the code in ButtonWithdrawal when the amount is bigger than 0. - Show the (Balance) in ButtonBalanceInq. - Show the List of transactions in …

0
142
Member Avatar for poojavb

Hello Friends, I have compeleted my project but I just need one help.... I want that when the application exe file is running at that time the database associated with the application shud be closed.... Means...I am using the .mdb file... is there any way that when the application starts, …

Member Avatar for poojavb
0
188
Member Avatar for easygi

I have a LAN connection with my project and I need to display a running time and date of with labels anyone have an idea? is it curdate and curtime?

Member Avatar for Reverend Jim
0
415
Member Avatar for F_M

Hi, When i run the codes i donot get an error, howveer after clicking INsert i get the Syntax error in Insert Into statement error. I do recieve the COnnected MsgBox which then results in the error My code.. Sub connect() Dim acsconn As OleDbConnection = New OleDbConnection _ ("Provider=Microsoft.jet.oledb.4.0;data …

Member Avatar for Phasma
0
674
Member Avatar for Alex_2011

Hi, In the following code (Class & Form1), I'm trying to figure out the following: - Create an array that stores the 'Clients' (first name, last name, account number) - 'Button List' the array with the (First Name , Last Name , Array Value , Account Balance) I attached the …

Member Avatar for Alex_2011
0
1K
Member Avatar for Alex_2011

Hi, I am trying to "Show" an error message for the user in two cases: 1. If he/she did not enter a correct value for a String. 2. If he/she did not enter a correct value for a Decimal. I know I have to use Try & Catch but each …

Member Avatar for Alex_2011
0
270
Member Avatar for Yousha

Hello guys. Im using visual studio 2005 and access 2007 as database. I have already connect the database which have two table with two gridview in a web form (asp.net). Now i want to compared the data in the two gridview, and those who are matching should be displayed in …

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

I have been trying to figure this out for a while and have found some answers, but I can't seem to make them work. I have a datagridview bound to a datatable. I want replace one of the cells with a combo box and bind that combobox to one of …

Member Avatar for tenorjazz
0
859
Member Avatar for bernardz26

Hi, I am a new programmer of vb.net. My combobox1 has a value of name1, name2, name3, and i want that if the user already choose name1, he/she cant re use that name1 again. and that is autosaved to sql database. help me please!

Member Avatar for Reverend Jim
0
88
Member Avatar for Farhan_B

im trying to get the insert to work but the problem i am facing is i keep getting this error Can someone help please thanks in advance my code is [CODE]Dim strsql As String = "Insert into cg_security_user (user_name,user_pwd) values (@field1,@field2) " Dim acscmd As New OleDb.OleDbCommand ' the oledbcommand …

Member Avatar for M.Waqas Aslam
0
140
Member Avatar for vishalchauhan

i am try to systemdate and rem_date compare but error message is "Incorrect Syntax near'='" [CODE] Dim adp As New SqlDataAdapter("select * from reminder", obcon.con) Dim dset As New DataSet adp.Fill(dset) datagridview1.DataSource = dset.Tables(0) obcon.con.Open() Dim cmd As New SqlCommand("select rem_id,rem_hour,rem_min from reminder rem_date=" & Date.Now.Date.ToString & "", obcon.con) MsgBox("select …

Member Avatar for Reverend Jim
0
301
Member Avatar for dilse4sk

hi every 1. i am trying to make a customer registration form. On the form i want to display the employee ID or Employee name who is servring or registring the customer. In short the employee who is logged in the system ,his Name or id should appear in the …

Member Avatar for dilse4sk
0
115
Member Avatar for madao

Our prof gave us this code Dim sql As String sql = "INSERT INTO OrderDetails" _ & "(orderid,prodid,price,qtyordered,amount,status)VALUES(" _ & "'" & OrderDetail.Orderid & "','" & OrderDetail.Prodid & "'," _ & "'" & OrderDetail.Price & "','" & OrderDetail.Qtyordered & "'," _ & "'" & OrderDetail.Amount & "','open')" I know this …

Member Avatar for kingsonprisonic
0
85
Member Avatar for gerchi152

will someone help me on how to solve this error? The database 'D:\FEB. 29, 2012\WAIS SYSTEM-UPDATED JAN25\WAIS SYSTEM\BIN\DEBUG\WAIS.MDF' cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported. Could not open new database 'D:\FEB. 29, 2012\WAIS SYSTEM-UPDATED JAN25\WAIS SYSTEM\BIN\DEBUG\WAIS.MDF'. …

0
61
Member Avatar for vivekanandaan

[CODE]insert into po_detail (item_code,qty,item_rate,item_tax) select a.item_code,qty,item_rate,item_tax from mr_detail a,mr_head b where a.mr_no = " & combo_mr_no.Text & " and a.mr_no=b.mr_no""[/CODE] what's the error in the above code ?

Member Avatar for Reverend Jim
0
78
Member Avatar for jaimin4829

'i am trying to get f_name + m_name + l_name three diferent columns combined from data grid view on cell content click into combobox. [CODE] Private Sub bugdgv_CellContentDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles bugdgv.CellContentDoubleClick Dim row As Integer = bugdgv.CurrentCell.RowIndex frmbug.bugcmbdeliver.Items.Clear() Try obcon.cmd.CommandText = "select d.del_name from …

Member Avatar for jaimin4829
0
706
Member Avatar for daydie

Hello guys i'm getting a massive memory leak which over period of 1min its increase alot and always increases. How to i prevent the memory stacking? I looked all around the internet as im not just posting coz im lazy, i cant find a solution for my code. [CODE] Private …

Member Avatar for daydie
0
1K
Member Avatar for mrbungle

I can't seem to figure this out- I have a single text box that has text in it. When I put the mouse in it and click it, I need the text to clear so new text can go in. Does anyone have a sample? TIA

Member Avatar for ajayantm
0
179

The End.