Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
74% Quality Score
Upvotes Received
6
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
3 Endorsements
Ranked #487
Ranked #1K
~46.3K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

80 Posted Topics

Member Avatar for Dili1234

this is my first time of creating trigger..I tried to create trigger using mysql to count how many 2007 data in the table when inserting new record but it not working....... My table have more than 50 data... CREATE TRIGGER No_of_Publisher_year Before Insert ON Book FOR EACH ROW SET @Count_No=New.Copyright; …

Member Avatar for Kuripaner
0
208
Member Avatar for Lethugs
Member Avatar for Lethugs
0
279
Member Avatar for arezz09

this happens due to two reasons 1.You haven't put a primary key 2.put a two condition seperately for two comboboxes

Member Avatar for ryanjayson
0
2K
Member Avatar for yagelnnn1
Member Avatar for ryanjayson
0
199
Member Avatar for pc20912

Createa form to hold the password and limit the authorztion to access the form or to edit t form

Member Avatar for Dili1234
0
646
Member Avatar for Dili1234

I'm doing a project about lighting.I don't know how tp draw beams does anybody know about it?

0
123
Member Avatar for DanielTradeWs
Member Avatar for Dili1234
Member Avatar for Dili1234
0
166
Member Avatar for Dili1234

I want to retrive data from table to combobox I used this coding though I didn't get an error the outpiut(data) is not displaing in the combobox Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MessageBox.Show("Please Insert the Sample note no", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information) Try myConnection …

Member Avatar for sharls
1
609
Member Avatar for Iamkenny

Hope this will help you Dim cryRpt As New ReportDocument CrystalReportViewer1.SelectionFormula = "{Product_Details.P_Id}= '" & Textbox1.Text & "'" cryRpt.Load("G:\Sales and inventory system\Product.rpt") CrystalReportViewer1.ReportSource = cryRpt CrystalReportViewer1.Refresh()

Member Avatar for Dili1234
0
2K
Member Avatar for Dili1234

When to trying to display data to datagrid view using query i got an error "a column named date already belongs to this datatable in net 2008" Dim dt As New DataTable Try myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim cmd As New SqlClient.SqlCommand With cmd .CommandText = "SELECT [Date],[Totalamount] FROM …

Member Avatar for Dili1234
0
189
Member Avatar for Dili1234

I taking data from 3 tables to crystal report.Tables are 1.Moblization -primary key is Fen_Inovoice_No 2.invovoice details -Primary keys are Fen_Inovoice_No and description 3.Client details-primary key is Contract name I 'm using this query to retrive data Dim cryRpt As New ReportDocument CrystalReportViewer1.SelectionFormula = "{Mobilization.Fen_Inovoice_No}= '" & Varibles.invoice1 & "'" …

Member Avatar for Dili1234
0
180
Member Avatar for Dili1234

I have to tables 1.[Mobilization]-Primary key is [Fen_Inovoice_No] it is the forgien key is of [invovoice details] 2.[invovoice details] the primary keys are [Fen_Inovoice_No],[Item] when I tried to view the data , the all data are not loading to listview why is that? Dim intResponse As Integer intResponse = MsgBox("Please …

Member Avatar for Koelald
0
284
Member Avatar for GeekPlease
Member Avatar for Dili1234

When tried to update the data I got this error "incorrect syntax near '4' Unclosed quotation mark after the character string" Can someone fixed this error Public Sub Save() Dim indate As Date = DateTimePicker1.Value.Date If String.IsNullOrEmpty(TextBox1.Text) Or String.IsNullOrEmpty(TextBox2.Text) Then 'Show your message here MsgBox("Please fill all Data") Else 'Show …

Member Avatar for Dili1234
0
228
Member Avatar for Dili1234

Dim startdate1 As String = DateTimePicker1.Value.Date Dim enddate As String = DateTimePicker2.Value.Date myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim insert As SqlCommand = New SqlCommand(" INSERT INTO Client_Details (Contract_Name ,Client_Name ,VAT_No ,Cilent_Address,Start_Date,End_Date ,Contract_Value,Telephone_No) VALUES('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & …

Member Avatar for khair.ullah
0
164
Member Avatar for Dili1234

When I used the code though there ara no I won't get anwser.I couldn't whatis the error I did. cvowel([],0). vowel([a],Counter):-Counter is 1. vowel([e],Counter):-Counter is 1. vowel([i],Counter):-Counter is 1. vowel([o],Counter):-Counter is 1. vowel([u],Counter):-Counter is 1. vowel([_];[],Counter):-Counter is 0. cvowel([H|T],Counter1):-cvowel(T,Count),vowel(H,Counter),Count is Count +Counter,Counter1 is Counter1+Count. answer I got "Faulse"

Member Avatar for TrustyTony
0
2K
Member Avatar for bryann

you open module add this coding into it Module Module1 Public connectionString As String = "Data Source=HP-PC;Initial Catalog=VBP;user ID =sa; password= 1234" Public loggedUserId As String Public loglevel As String Public loggedpassword As String End Module there in datasoure you put the IP address of the computer you connected. Initial …

Member Avatar for bryann
0
571
Member Avatar for Dili1234

When I used this coding I didn't any output though is no errors. palli([H]). palli([]). palli([H|T])-append(T,H,[T|H]). I got the output as [4] 6 ?- palli([m,a,m]),append(K,L,J). K = [], L = J .

0
77
Member Avatar for Dili1234

I write count the letters in a list, > ERROR: countvowels/2: Arguments are not sufficiently instantiated I got this error" why is that? this is the coding I used countvowels([],0). countvowels([H|T],Count1):-Count is Count1 + 1,countvowels(T,Count),Count1>1.

Member Avatar for Dili1234
0
2K
Member Avatar for Dili1234

I want to transate no to Letters ,and letters to no,as a Example when germantoenglish([e,t,th],Y).Y shoul be like below Y=[1,2,3] but I get answer as false............ trans(e,1). trans(t,2). trans(th,3). germantoenglish([S|H],[G|Ta]):-trans(H,Ta). englishtogerman([J|Ta],[L|H]):-trans(H,Ta). `

Member Avatar for Dili1234
0
184
Member Avatar for Dili1234

Can anybody explain why this is not working.Can someone help me. fib(0, 0). fib(1, 1). fib(N, NF) :- N>=0, fib(N-1, AF), fib(N-2, BF), NF is AF + BF. .

Member Avatar for Dili1234
0
228
Member Avatar for ear92
Member Avatar for GeekPlease
0
94
Member Avatar for selwyne
Member Avatar for zbzHenry
Member Avatar for Ariah17

If you want to put this sql database into a network system you just have give all the server names in the connection string in vb.net As Jxman explained it is really easy to configure.but you have to install first Sql and then vb,net package

Member Avatar for Dili1234
0
155
Member Avatar for blivori

Answer to blivori: you have to open the connection before selecting the data..........Inline Code Example Here myCommand = New SqlCommand(" Select Quantity FROM Product_Details Where P_Id='" & ComboBox2.Text & "'", myConnection) Dim dr As SqlDataReader = myCommand.ExecuteReader While dr TextBox4.Text = Val(dr(0)) End While dr.Close() myConnection.Close()

Member Avatar for Dili1234
0
1K
Member Avatar for dusto
Member Avatar for mnorton

Hope you you knpw to create the connection string Dim myCommand As SqlCommand myCommand = New SqlCommand("SELECT * FROM Major ", myConnection) Dim da As New SqlDataAdapter SQLdr = myCommand.ExecuteReader() While SQLdr.Read() cmbMajorI.Items.Add(SQLdr("MajorName")) End While

Member Avatar for mnorton
0
1K
Member Avatar for dinesh012

`Inline Code Example Here` I didn't get your problem clearly........... better you upload your form design I'm not whether this the thing you wanted..... GroupBox1.Visible = False GroupBox2.Focus()

Member Avatar for Dili1234
0
107
Member Avatar for Dili1234

In my database there two table call sample and sample customer in sample table primary key is sample_Note_no and it is a foreign key in sample_customer table I got same error after I wrote this coding also ALTER TABLE Sample Customer ADD CONSTRAINT FK_Sample Customer_Sample FOREIGN KEY (Sample_NOTE_No) REFERENCES Sample(Sample_NOTE_No) …

Member Avatar for G_Waddell
0
160
Member Avatar for Dili1234

when I try to insert values I got this error: I Used this code myConnection = New SqlConnection(connectionstring) myConnection.Open() Try Dim insert1 As SqlCommand = New SqlCommand("INSERT INTO [VBP].[dbo].[Return_Total] ([RGN0],[Date] ,[Totalamount],[User_Id],[C_NIC],[Comments],[Bill_No]) values ('" & Val(TextBox2.Text) & "','" & DateTimePicker1.Value.Date & "','" & TextBox4.Text & "','" & TextBox6.Text & "','" & …

Member Avatar for tinstaafl
0
131
Member Avatar for SQLpower

You can write this coding at form loading event myCommand = New SqlCommand("SELECT * FROM Major ", myConnection) Dim da As New SqlDataAdapter SQLdr = myCommand.ExecuteReader() While SQLdr.Read() cmbMajorI.Items.Add(SQLdr("MajorName")) End While

Member Avatar for TnTinMN
0
230
Member Avatar for Dili1234

I want to filter data from a billno to crystal report this the coding i used Dim connectionstring As String = Module1.connectionString Dim sqlconn As New SqlConnection(connectionstring) Public sqlDataset As New DataSet Dim myCommand1 As SqlCommand Dim myCommand2 As SqlCommand Public dr As SqlDataReader Dim myConnection As SqlConnection Dim nxtmajor …

Member Avatar for Lethugs
0
216
Member Avatar for killer88

Use this coding Dim agre1, agre2, agre3 As Double agre1 = val(Form1.TextBox11.Text) agre2 = val(TextBox11.Text) agre3 = ((agre1 + agre2) / 2) TextBox12.Text = agre3

Member Avatar for tinstaafl
0
1K
Member Avatar for Member #1042208

If want you can export the Crystal report as pdf by using this link [Click Here](http://vb.net-informations.com/crystal-report/vb.net_crystal_report_export_pdf.htm)

Member Avatar for Dili1234
0
78
Member Avatar for Dili1234

I want to get the data between today this the coding i used CrystalReportViewer1.SelectionFormula = "{sell.Date}= '" & DateTimePicker2.Value & "' BETWEEN {sell.Date}= '" & DateTimePicker1.Value & "'" I saved the data into data Dim date1 As Date = DateTimePicker1.Value.Date THE ERROR I got have attached as a picture I …

Member Avatar for Dili1234
0
264
Member Avatar for Dili1234

I Want to know is there a possiblity to send emails through vb application without purchasing a email server

Member Avatar for Dili1234
-1
153
Member Avatar for TIP.Synergy
Member Avatar for Dili1234

Why This error is coming................... There is already an open datareader is associated with this command which must be closed Private Sub AppendItem(ByVal Productid As String, ByVal quantity As Integer) productid1 = Productid myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim TempData As New DataTable Dim pid As String = ComboBox1.SelectedItem myCommand1 …

Member Avatar for Dili1234
0
185
Member Avatar for Dili1234

I want to delete an item from list view and at the same I want delete the item from the Releavant table when I click the okay button in the ** search form** i want to delete the item from listview and as well as to update it to Sell …

Member Avatar for Dili1234
0
2K
Member Avatar for DesCY

do you need to save the crystal Report Error in File C:\DOCUME~1\COUNTER\LOCALS~1\TEMP\temp_ebfc56a7-f48a-46b4-9335-709e5682573c{E5F4DBBE-6BE3-4C08-A7A8-63F7769CC81C}.rpt: need more details

Member Avatar for Dili1234
0
218
Member Avatar for Dili1234

I want to get the relevant name of the product Id into a text box when I select the product id from the combobox myConnection = New SqlConnection(connectionstring) myConnection.Open() myCommand = New SqlCommand(" Select Name FROM [Product_Name_List] Where P_Id='" & ComboBox2.Text & "'", myConnection) Dim dr As SqlDataReader = myCommand.ExecuteReader …

Member Avatar for Reverend Jim
0
219
Member Avatar for Programmer629

I'm learner of vb.net Can anybody please explain what is opentoolstripe menu is?why we need overload ?sorry if troubled

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

when I used your codes I got error ` The system cannot find the file specified Sub Main() ' Open the file 'example.docx' at the current program's directory. ' It will appear in a new instance of word. Process.Start("D:\My CV\CV") End Sub Private Sub RichTextBox1_GotFocus(ByVal sender As Object, ByVal e …

Member Avatar for tinstaafl
0
287
Member Avatar for pratik65

If you have marks with you can use If else condition Dim marks As Integer = 51 Dim grade As String If marks > 50 Then grade = "A" Else grade = "B" End If

Member Avatar for Dili1234
0
1K
Member Avatar for Dili1234

I used this code to retrive from one record to another first tried to retrive the first record................. varible decalaration Imports System.Data Imports System.Data.SqlClient Public Class Form3 ' Dim connectionstring As String = Module1.connectionString Dim sqlconn As New SqlConnection(connectionstring) Public sqlDataset As New DataSet Dim da1 As OleDb.OleDbDataAdapter Dim myCommand1 …

Member Avatar for Dili1234
1
400
Member Avatar for Dili1234
0
72
Member Avatar for rexyspy

you can write like this way........ Dim st As String If radiobutton1.Checked = True Then st = "level1" ElseIf radiobutton3.Checked = True Then st = "level2" ElseIf radiobutton3.Checked = True Then st = "level3" select (student name, course, school, state_of_origin) from student_table where school='" & st "'

Member Avatar for rexyspy
0
787
Member Avatar for Neethaa
Re: labl

Date can assigned like this also: Dim dateOfBirthAsString As String = dtpDOB.Value When you inserting into a table you write query like this: Dim myCommand As SqlCommand myCommand = New SqlCommand("Insert into Student(Column1,Column2,Column3,Column4,Column5,Column6) values VALUES( '" & Pnum & "', '" & InDate & "', '" & PDate & "', …

Member Avatar for Reverend Jim
0
177

The End.