15,899,126 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Vipin Sharma (Top 32 by date)
Vipin Sharma
30-Aug-15 6:22am
View
i mean its not running at all. my zip file is not created and also the line unset shows error
Vipin Sharma
22-May-14 4:34am
View
I also try this but it wont work , it update the customer no. but it reset the date to minimum date ,it don't update it correctly .
it set it to 28-07-1894 00:00:00
but not my selected date
Vipin Sharma
14-May-14 16:36pm
View
I am using vb2012 4.5 framwork , i used sqlserver2005 for database
Vipin Sharma
15-Apr-14 3:50am
View
so if i want to deploy my project then it runs perfectly on those 3 OS easily , i just have to distribute the deploy file ?
Vipin Sharma
15-Dec-13 3:57am
View
Thanks a lot for that solution,i will use a web service for my project .
Vipin Sharma
7-Jun-13 5:47am
View
i am using a HSPA modem on the place of GSM modem is there any problem with it ?
and i also dont find connection settings in Start -> Programs -> Accessories -> Communications -> HyperTerminal. so i cant run HyperTerminal . how can i find this in my pc.
Vipin Sharma
7-Jun-13 4:24am
View
i am not using any sms api , i recive sms from a website on my mobile no .and i want to connect it with my pc . and want to split the data so i can get the Customer name and Mobile no in my database .
Vipin Sharma
7-Jun-13 4:20am
View
thanks a lot its really help me in my project , i have few more que. can i use a landline no for send and recive message ? and use software for calls ,send and resive sms ?
Vipin Sharma
6-Apr-13 4:58am
View
thanks for your help it is really nice .
Vipin Sharma
23-Feb-13 14:32pm
View
i want to get data from the official websites of multiplax so i can get accurate timeing of movie show but dont know how to do it ?
Vipin Sharma
4-Feb-13 14:19pm
View
thanks for help , i will do this now .......
Vipin Sharma
2-Feb-13 2:17am
View
so it mean i cant do this ? but i dnt want to install database as a another software .
can i install my app and database at the same time ? by install only one exe ?
Vipin Sharma
23-Oct-12 16:04pm
View
i dont wana like this ,i want to use my logo , my form desigions
how to do that ?
Vipin Sharma
22-Oct-12 6:21am
View
thanks a lotsss... its works and i am so happy for that...
thanks for help me :)
all i need to just add refrance Imports System.Data.Sql
it really helpfull for me . thank you ....
Vipin Sharma
21-Oct-12 0:03am
View
Dim instance As SqlDataSourceEnumerator = SqlDataSourceEnumerator.Instance
vb give error for Dim instance As SqlDataSourceEnumerator . why ? what refrance i have to use ?
or import ?
Vipin Sharma
20-Oct-12 9:51am
View
thanks i will try this. but i have a que. is it work when i dont run sql-server ? mean i install bt dont run it when i run my app.
coz it is a app so it is necessary to connecct with db without run sql .
Vipin Sharma
18-Oct-12 22:33pm
View
thanks , i will try it today ...
Vipin Sharma
18-Oct-12 13:42pm
View
yes i attach a backup copy to sql .
how i modify my connection string ?
i use sql-server as database and i dont knw how to deploy it with project. so i do this way .
can u guide me ,how to do it properly ? thanks .
Vipin Sharma
30-Aug-12 2:35am
View
thanx a lot ,its really helpfull 2 me.
but it is in C# so i have to convert it in vb .
ut thanx its really great help
Vipin Sharma
29-Aug-12 3:39am
View
so how to do that, ? i am created it for windos on vb .how to do that ? can u help
Vipin Sharma
10-Aug-12 4:20am
View
are u still here , i want to ask something
Vipin Sharma
10-Aug-12 2:26am
View
thanx , its really helpfull ... thank you .
Vipin Sharma
10-Aug-12 2:18am
View
thanx for this , but i cant totally understand it, coz i want to use this select command on many form and many time
how ,i give my query in this ?
coz for different form or opration every time the table and query change.. thank u for ur help ,
Vipin Sharma
7-Aug-12 4:58am
View
hmm ok thank .........
Vipin Sharma
7-Aug-12 4:46am
View
achuly no . i am just searching till now the best option that how to do that ? would i have to make my own ddl or anything else . achully i am a biginear
Vipin Sharma
7-Aug-12 4:39am
View
thanx its usefull but i think i need some more help about it .
Vipin Sharma
6-Aug-12 5:27am
View
this is not helping me, i want to add two values of rows not to add two new rows .thanx for reply
Vipin Sharma
6-Aug-12 4:32am
View
please have a look , i use this code for add row's value bt it don't work properly
Private Sub calculateIngradient_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim a, b As String
For i = 0 To DataGridView1.RowCount - 1
a = DataGridView1.Rows(i).Cells(0).Value
For j = 0 To DataGridView1.RowCount - 1
b = DataGridView1.Rows(j).Cells(0).Value
If a = b Then
DataGridView1.Rows(i).Cells(1).Value = DataGridView1.Rows(i).Cells(1).Value + DataGridView1.Rows(j).Cells(1).Value
DataGridView1.Rows(i).Cells(2).Value = DataGridView1.Rows(i).Cells(2).Value & " / " & DataGridView1.Rows(j).Cells(2).Value
DataGridView1.Rows.Remove(DataGridView1.Rows(j))
End If
Next
Next
End Sub
Vipin Sharma
6-Aug-12 4:19am
View
i am trying this code for add the values of datagrid view
but it give some error can u solve that
Private Sub calculateIngradient_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim a, b As String
For i = 0 To DataGridView1.RowCount - 1
a = DataGridView1.Rows(i).Cells(0).Value
For j = 0 To DataGridView1.RowCount - 1
b = DataGridView1.Rows(j).Cells(0).Value
If a = b Then
DataGridView1.Rows(i).Cells(1).Value = DataGridView1.Rows(i).Cells(1).Value + DataGridView1.Rows(j).Cells(1).Value
DataGridView1.Rows(i).Cells(2).Value = DataGridView1.Rows(i).Cells(2).Value & " / " & DataGridView1.Rows(j).Cells(2).Value
DataGridView1.Rows.Remove(DataGridView1.Rows(j))
End If
Next
Next
End Sub
Vipin Sharma
6-Aug-12 1:55am
View
i have a form ,on that i have a list of dish . i want to calculate all ingridient bt i want to add same ingradient .
i have datagridview on anotherform which name calculateIngradient .
Vipin Sharma
6-Aug-12 1:53am
View
Private Sub CalculateIng_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CalculateIng.Click
Dim a, b As String
Dim i, k, l As Int64
Try
For i = 0 To FinalList.Items.Count - 1
a = FinalList.Items(i)
Dim cmd1 As New SqlCommand(" select fldRID from RecepieMaster where fldRecepieName = '" & a & "' ", sqlc)
rd = cmd1.ExecuteReader
While rd.Read
k = rd("fldRID")
MsgBox(k)
End While
Try
rd.Close()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Dim ds As New DataSet
Dim cmd3 As New SqlCommand("SELECT dbo.IngradientMaster.fldIngradientName , dbo.RecepieIngradientDetail.fldPPQ , dbo.RecepieIngradientDetail.fldUnit FROM dbo.IngradientMaster INNER JOIN dbo.RecepieIngradientDetail ON dbo.IngradientMaster.fldInID = dbo.RecepieIngradientDetail.fldInID WHERE (dbo.RecepieIngradientDetail.fldRID = " & k & ")", sqlc)
rd = cmd3.ExecuteReader
While rd.Read
calculateIngradient.DataGridView1.Rows.Add()
calculateIngradient.DataGridView1.Rows(calculateIngradient.DataGridView1.Rows.Count - 1).Cells(0).Value = rd("fldIngradientName")
calculateIngradient.DataGridView1.Rows(calculateIngradient.DataGridView1.Rows.Count - 1).Cells(1).Value = rd("fldPPQ") * NOofMainPeople.Text
calculateIngradient.DataGridView1.Rows(calculateIngradient.DataGridView1.Rows.Count - 1).Cells(2).Value = rd("fldUnit")
End While
Try
rd.Close()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Next
Catch ex As Exception
End Try
Try
For i = 0 To FinalFastList.Items.Count - 1
b = FinalFastList.Items(i)
Dim cmd2 As New SqlCommand(" select fldRID from RecepieMaster where fldRecepieName = '" & b & "' ", sqlc)
rd = cmd2.ExecuteReader
While rd.Read
l = rd("fldRID")
End While
Try
rd.Close()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Dim ds As New DataSet
Dim cmd3 As New SqlCommand("SELECT dbo.IngradientMaster.fldIngradientName , dbo.RecepieIngradientDetail.fldPPQ , dbo.RecepieIngradientDetail.fldUnit FROM dbo.IngradientMaster INNER JOIN dbo.RecepieIngradientDetail ON dbo.IngradientMaster.fldInID = dbo.RecepieIngradientDetail.fldInID WHERE (dbo.RecepieIngradientDetail.fldRID = " & l & ")", sqlc)
rd = cmd3.ExecuteReader
While rd.Read
calculateIngradient.DataGridView1.Rows.Add()
calculateIngradient.DataGridView1.Rows(calculateIngradient.DataGridView1.Rows.Count - 1).Cells(0).Value = rd("fldIngradientName")
calculateIngradient.DataGridView1.Rows(calculateIngradient.DataGridView1.Rows.Count - 1).Cells(1).Value = rd("fldPPQ") * NoOfFastingPeop.Text
calculateIngradient.DataGridView1.Rows(calculateIngradient.DataGridView1.Rows.Count - 1).Cells(2).Value = rd("fldUnit")
End While
Try
rd.Close()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Next
Catch ex As Exception
End Try
calculateIngradient.Show()
End Sub
Vipin Sharma
6-Aug-12 1:45am
View
but how to do that ? i want to do it on form load event , plz help
Show More