20,285 Topics

Member Avatar for
Member Avatar for Farhan_B

hi i have a simple relationship which is shown in the link below [url]http://www.flickr.co...N06/6948010043/[/url] after doing much research i cannot find a proper way of deleting rows which are linked in all 3 tables. could someone guide me on the best way of doing this. This is the code i …

Member Avatar for 0x90
0
145
Member Avatar for timosoft

Hello i want to have a txt file on my application final .exe the .txt is located at C:\Users\Timhook\Documents\Visual Studio 2008\Projects\WWTBAM \WWTBAM \bin\Debug\hask.txt thats my project bin\Debug folder will it include the this hask.txt file after publishing the application? thanks

Member Avatar for timosoft
0
486
Member Avatar for neh555

I start my project in vb.net backend is sql server i have completed my design now i start my coding but i am confused for connectivity code whether i used dataset or datable which is good? please give me best connection code for retriving,updating and deleting data from database..

Member Avatar for Phasma
0
83
Member Avatar for tenorjazz

When I enter a vb.net textbox, if there is data in it, I want it to be highlighted. I looked around and couldn't find a property that would do this so I do the following: I built a little subroutine that does the highlighting and then call it from the …

Member Avatar for codeorder
0
159
Member Avatar for hazeleyez

Hello All, Can someone please help me with this? I converted from C# to VB.NET and get this error : [B] A namespace cannot directly contain members such as fields or methods [/B] I appreciate you looking at this. Regards Imports System.Collections.Generic Imports System.Linq Imports System.Text Namespace UsedCarsSales Public NotInheritable …

Member Avatar for hazeleyez
0
293
Member Avatar for gozo12

[CODE] Dim wri As New IO.StreamWriter("e:\test.txt", True) wri.WriteLine(ListBox1.SelectedItem, true) wri.Close())[/CODE] etc in llistbox1 items , "1" "f1" "f2" when i click for example f1 that code will save it and when i want you save the same item it wit will save it in other line and in test.text file …

Member Avatar for codeorder
0
220
Member Avatar for vishalchauhan
0
116
Member Avatar for ayesha789

hi, all i need to add combobox in datagridview. actually i have 3 fields in database which are Sid Fee status what i want to add combo column in field [status] with two option PAID or UNPAID which a user can select and update it . i am all clear …

Member Avatar for darthswift00
0
3K
Member Avatar for aksay

i am working on a project for booking management system for photographers.. can anyone suggest some tables and content for the project....!

Member Avatar for aksay
0
166
Member Avatar for vivekanandaan

Hi to all, I want to pass the below statement to a report... Kindly help me how to do it ... select a.po_number,a.mr_number,b.item_code,c.item_desc, b.qty,b.rate from po_head a,po_detail b,item_master c where a.mr_number=b.mr_number and b.item_code=c.item_code and po_number = ' & combopo.text & '; kindly help...

Member Avatar for bilal_fazlani
0
122
Member Avatar for lordkei

Could anyone help me, we're currently working on a webbrowser for thesis. We want to have the google chrome seetings in vb2010.

0
75
Member Avatar for Farhan_B

When Creating a query using the sear Criteria Builder . I keep getting the error : " The schema returned by the new query differs from the base query " I no this means that the error is due to the query attempting to return too little columns i have …

Member Avatar for poojavb
0
198
Member Avatar for Alison1

i had to take someone elses project this year because i failed to complete my project,however im having troubles with the one i picked up.i cant even change it now because ive already submitted synopsis and software engineering journal on that new project.its on gymnassium system. the main form had …

Member Avatar for poojavb
0
131
Member Avatar for chanthung

Hello friends, hope you guys are dong well. problem again and really looking up to my expert friends here. I'm new and trying to write Edit code in VB.NET. the problem is [B]Select * From Application Where Sl_No='" + txteditno.Text + "'", con) [/B]is not displaying and record although it …

Member Avatar for nicolle john
0
177
Member Avatar for Contagious98

Can somebody here teach me how to print in a current row in Gridview? Am using Crystal report, ms access 2007 and Vb.net 2008. This is for receipt matters. To be able to print a receipt after a transaction is made. To be able to print a selected row in …

Member Avatar for lolafuertes
0
208
Member Avatar for cheekangteh

hi, i am facing with the ambiguous problem. and i don't know how to solve it. kindly advice. i try to search the solution for this at [url]http://msdn.microsoft.com/en-us/library/aa479312.aspx[/url] , it provide me below solution: Issue 22: Ambiguous references and naming conflicts The .NET Framework 2.0 adds a host of new …

Member Avatar for lolafuertes
0
220
Member Avatar for emxif

please help me on my school project it is called "faculty evaluation system" my project is used to evaluate faculty members,i will use the following softwares, visual basic 2008 editon, ms sql server 2000, and crystal reports, what i want to do is their will be a question and it …

Member Avatar for lolafuertes
0
230
Member Avatar for marindojoshua

Hi is there anyone who can help me covert Microvolt output of a thermocouple to a temperature "Celcius". i am having a deep burden on analyzing this formula from [url]http://srdata.nist.gov/its90/type_s/scoefficients.html[/url][^] If anyone good in math Can make simple program? lets say choose Type T of thermocouple and a certain range …

Member Avatar for lolafuertes
0
133
Member Avatar for deepakx250

i am using visual basic 2010 and i want to open and save multiple richtextboxes text into one file. for ex richtextbox1.text="Deepak" richtextbox2.text="My Name" but i want to save these informations in one file.

Member Avatar for lolafuertes
0
60
Member Avatar for poolet25

Ok. I am building a program for a small office and I have a little problem with the code so I thought it's better to post a topic before continiue.. I have search into google and a lot of forums about database connectivity and my problem is simillar to other …

Member Avatar for M.Waqas Aslam
0
3K
Member Avatar for powermatt

Been trying to figure out how to do this for a while, but I can't seem to find anything that exactly covers what I'm trying to do. I'm really a novice when it comes to vb .net, so this might be staring me in the face and I wouldn't know …

Member Avatar for powermatt
0
115
Member Avatar for dilse4sk

hi every one i have a customer and booking data sets on my form. customer id is a foreign key in booking table .but when i click delete button. it gives me an error The DELETE statement conflicted with the REFERENCE constraint "FK_Booking_Customer". The conflict occurred in database "photoshoot", table …

Member Avatar for Reverend Jim
0
107
Member Avatar for kroysemaj

Full disclosure: This is my last stop. I have already done a fair amount of research on this issue. While I've come across lots of implementations of this project, I've not seen this weird behavior anywhere else. The project: As one of the projects for my Advanced Visual Basic course, …

Member Avatar for kroysemaj
0
590
Member Avatar for Quinncunx

I have been working on a school project that is to randomly select 14 names from a class (of 33) and place them in a list box. My thinking behind it was to create an array that would randomly select 14 numbers from 1 to 33 and then use a …

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

hi for my project what i am trying to do is: i have two listboxes and in between the two boxes i have two buttons. Btn1 is to send data from listbox1 to listbox 2 Btn2 is to send data from listbox2 to listbox1 below is my code could you …

Member Avatar for Reverend Jim
0
221
Member Avatar for COKEDUDE

Does anyone have any good .NET Tutorials? What are some good websites for .NET Tutorials? Sorry if this is in the wrong section. I don't know enough about .NET to ask in the right section.

Member Avatar for COKEDUDE
0
102
Member Avatar for dilse4sk

hi every 1. i have a form and i dropped customer dataset as details view on the form and booking dataset as gridview.So now when i insert a record i can scroll through different records and with respect to the customer its shows me related booking aswell. Wat i wanna …

Member Avatar for dilse4sk
0
156
Member Avatar for dilse4sk

hi every 1 i am trying to copy stored Employee id and i want to show it on a customer registration form. Basically i want to show which employee severd which customer. below is my code could you plz check or modify it thanks Dim Con As New SqlConnection Dim …

Member Avatar for dilse4sk
0
141
Member Avatar for Sevyt

Does anybody if something like this exists? I am trying to write a small program to plan appointments. And have a overview of them in some sort of calendar(not the mini calendar which you can get from the VB control). Found some website who offer such controls, but honestly $1k …

Member Avatar for Sevyt
0
228
Member Avatar for gozo12

in form1 i have two listboxs listbox1 listbox2 loadbutton and savebutton this code will write listbox1.selecteditem into a txt file and loadbutton will load info in listbox2 but i want when i click loadbutton it check if that item is already exist in listbox2 , if not so write selected …

Member Avatar for Mitja Bonca
0
256
Member Avatar for senbaris

hi all, i need connect to SFTP server and download files, searched everywhere but found nothing except non-free librarys.. Thanks for help.

Member Avatar for Begginnerdev
0
101
Member Avatar for tontano

Hello Team Members; I am new to programming, and have 2 issues that I cannot figure out. Sorry, for not providing the code, as I didn't know where to take it from. here is my situation. I have 2 projects in a solution (Csharp & vbNet), now because Charp is …

Member Avatar for Begginnerdev
0
153
Member Avatar for J94

im making a basic ASM simulator which runs in a datagridview, iv got most of it working like the add/sub/mul/div operators, but im having trouble with the jump function, the jump it self works, the simulator jumps but it still executes the next operator after the jump when its supposed …

Member Avatar for Begginnerdev
0
154
Member Avatar for vivekanandaan

[CODE] Dim connectionString As String Dim cnn1 As OleDbConnection Dim cmd1 As OleDbCommand Dim sql1 As String connectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = d:\sprrg\sprrg.mdb" sql1 = "update po_detail set po_number=" & txtPoNo.Text & " where po_number=0;" cnn1 = New OleDbConnection(connectionString) cnn1.Open() cmd1 = New OleDbCommand(sql1, cnn1) cmd1.ExecuteNonQuery() cmd1.Dispose() [/CODE] The table …

Member Avatar for Begginnerdev
0
123
Member Avatar for srinim84

Hi, i'm using vb.net 2005 and i'm using crystal report also.when i try to open the reports ,this error will be shown "[B]directory or file cannot be created[/B]". i can't find the exact solution. Please help me to find out the solution for this crystal report error

Member Avatar for Begginnerdev
0
321
Member Avatar for LearnVBnet

I can Insert table from Old_Table_Database to New_Table_Database with this code. [CODE] Dim cmd5 As New OleDbCommand Dim cmd6 As New OleDbCommand cmd6 = New OleDbCommand("select * from " & "Product ", OldConn) Dim dr6 As OleDbDataReader dr6 = cmd6.ExecuteReader For j As Integer = 0 To dr6.FieldCount - 1 …

Member Avatar for LearnVBnet
0
140
Member Avatar for LearnVBnet

[CODE] Dim NewConn As New OleDbConnection(strConn) NewConn.Open() Dim dlt1 As New OleDbCommand("DELETE * FROM Invoice ", NewConn) Dim dlt2 As New OleDbCommand("DELETE * FROM InvoiceDetail", NewConn) Dim dlt3 As New OleDbCommand("DELETE * FROM Receiver ", NewConn) Dim dlt4 As New OleDbCommand("DELETE * FROM ReceiverDetail", NewConn) dlt1.ExecuteNonQuery() dlt2.ExecuteNonQuery() dlt3.ExecuteNonQuery() dlt4.ExecuteNonQuery()[/CODE] How …

Member Avatar for LearnVBnet
0
220
Member Avatar for senbaris

Hi, I'm not exactly sure if this is the correct question to be asked but I will tell you what I am attempting. I have an ASCII txt file with data in it. It does not have headers. I am looking for a way to convert this data into an …

Member Avatar for senbaris
0
1K
Member Avatar for dhaval.2cool

Frnds i want to insert image into picture box using the file dialog and that image should get stored into a local folder..... But the problem is the image is not getting saved n the below line is throwing an exception. i want to also rename the image with my …

Member Avatar for dhaval.2cool
0
152
Member Avatar for moone009

What I am trying to do? update a database field with a richtextboxfield. Please help. I have tried using Dim range1 As New System.Windows.Documents.TextRange(RichTextBox1.Document.ContentStart, RichTextBox1.Document.ContentEnd) but this did not work for me either. [CODE] Dim cnn As SqlConnection Dim connectionString As String connectionString = "Integrated Security=SSPI;Initial Catalog=rploperations;Data Source=" & Environment.MachineName.ToString …

Member Avatar for M.Waqas Aslam
0
197
Member Avatar for sphe_g

Hi all I need help with connecting to and manipulating a microsoft access 2007 database using code in visual basic 2008 express edition. It's for a project I'm doing for University that's due on the 12th of October:S. Please help me out in whatever way you can - links to …

Member Avatar for lansky
0
1K
Member Avatar for PutingPanday

I have this code where I get all the IP's connected to the network.. [CODE] Dim oWMI = GetObject("winmgmts:") Dim IP = GetObject("winmgmts:") Dim oPings = GetObject("winmgmts:") Dim PcName = GetObject("winmgmts:") For i = 100 To 105 IP = "192.168.168." + i.ToString oPings = oWMI.ExecQuery("Select * from WIN32_Pingstatus where address='" …

Member Avatar for kingsonprisonic
0
142
Member Avatar for daydie

is there any way i can do this? As normally you can use a BB code on the post. But when using POST string it says error. i'm not sure if its because of the characters in the URL which are giving it an error but i've added \ in …

Member Avatar for daydie
0
129
Member Avatar for Farhan_B

hey im doing a project and am having problem getting this code correct could you please have a look at it and help me understand were i am making the mistake the code [CODE] Private Sub m_buttonAddUserRole_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles m_buttonAddUserRole.Click Dim roleIndex As Integer …

Member Avatar for Farhan_B
0
149
Member Avatar for bernardz26

Good day!. I have here a SQL database named Database1 and it has a tables (StudentID, Student name, Age, Gender,) vb.net and i want that if i input a records in vb.net it automatic save to sql database. Help me please.

Member Avatar for bernardz26
0
242
Member Avatar for dilse4sk

Hi every 1 i am trying to register an employee but for some reason my record is inserted twice. if i enter all details of employee and when i click save..after that if i chk my employee list i could see same record entered twice.here is my code. Private Sub …

Member Avatar for dilse4sk
0
134
Member Avatar for easygi

I have this code [CODE] Dim replace As String = System.DateTime.Now.AddDays(7).ToString("yyyy-MM-dd")[/CODE] What I'm trying to do is [CODE] Dim replace As String = textbox1.text.AddDays(7).ToString("yyyy-MM-dd")[/CODE] is there a way to use that add days from a text or string value already?

Member Avatar for easygi
0
446
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
66
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
478
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

The End.