15,895,528 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 yogesh vaidya (Top 28 by date)
yogesh vaidya
23-Aug-20 1:53am
View
i have question ,
i want to show different word in header and each word scrollamount speed is different
i.s
abcd scrollamount=3
efgh scrollamount 6
xyz scrollamount 2
but i trying to create different tag
<marquee scrollamount="3" direction="right">
abcd
<marquee scrollamount="6" direction="right">
efgh
<marquee scrollamount="2" direction="right">
xyz
last one is not appear in div or not showing in a div
yogesh vaidya
16-Jul-20 6:39am
View
thanks sir,
yogesh vaidya
18-Feb-19 22:29pm
View
hi,
yes sir i had , but i need solution or help on this topic ,and so i am getting in trying to asked its by various way
you all's are genius and master in various type of Computer languages and newly switched student . So sir please help me improve this
thanking you ,
yv.
yogesh vaidya
16-Feb-19 7:11am
View
thanking you sir that you listen my problem
main problem is suppose i enter i data in first main row
srno ,product_name , quantity ,rate
and get total and net-total successfully and clone it in a new div new row
after entering some row or its seem that user mistaken to enter qty and he need to edit
second clone row
at that time first i need to get total value secretly which i need to less from Net-total
and give to facilitate a curse in clone row qty field
thus after when user enter qty the other function is easy to get total and net-total
but a lot of try i cant get success to read this total field value
yogesh vaidya
8-Feb-19 6:46am
View
ajax topic is not working ,
before the ajax all things is working properly in
if (isAllValid) {
alert("ok1")
reverts the message 'ok1' but there after nun of action getting from ajax
mins some mistake is in ajax but i cant understand ,
$.ajax({
url: "/Perchus/PostMethod",
dataType: 'json',
data: {
ProductId: $("#ProdID").val(),
Gst: $("#ProductGstCode").val(),
PerchesQty: $("#PerchesQty").val(),
PerchesRate: ("#PerchesRate").val()
},
type: "POST",
cache: false,
success: function (data)
{
//want to return data as not boolean but string here
if (data == "success") {
alert(isAllValid);
}
else {
alert("false")
}
},
error: function () {
alert("Error")
}
});
}
its should not reports to controller
[HttpPost]
public JsonResult UpdateUsersDetail(string Gst,int ProductId)
{
var js = new JavaScriptSerializer();
PerchesDetail[] user = js.Deserialize<PerchesDetail[]>(usersJson);
return Json("User Details are updated");
yogesh vaidya
23-Jan-19 12:15pm
View
thanks 0x01AA
yogesh vaidya
23-Jan-19 12:14pm
View
thanks Maciej Los
yogesh vaidya
14-Jan-19 2:10am
View
first tried there categoryID ,
which i called in renderCategoty method
$.each(Categories, function (i, val) {
$ele.append($('').val(val.CategoryID).text(val.CategoryName));
});
but its should not works
then one friend tolde that you need blank local verb there
cause
type: "GET",
url: "/MyHome/GetProducts",
data: { 'CategoryID': (CategoryDD).val() },
here you passing value from one to other
i am students and new in asp.net mvc and java .
i take this project from youtube
Advance master details entry form in asp.net MVC
in this tutorial he shows a perfect runing project but he not answered me about this
if there is any logic please give me a helpful tips
yogesh vaidya
11-Jan-19 0:27am
View
Thanks sir,
i tried with debug with two breakpoints one for ViewBag.ContList = new SelectList(GetCustomer(), "CustomerID", "Customer_Name");
and second in public JsonResult Getshipper(int CustomerID)
it show Customer List well with chosen effect but i think he cant read $.getJSON("/Job/Getshipper",.....
i do lots of try to get this, i changed controller then changed html AddorEdit()
,
i am working in latest vs 2017 15.9.4
yogesh vaidya
31-Dec-18 12:08pm
View
thanks sir,
i was tried with step debug , first he wait on @section Scripts and then ran a js scripts 3.3.1 there first he shows url- Cust/ GetState and Contry Id ,and then he went to controller in acction method GetState and then he gose to PartialView page and through the error Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: ''System.Web.Mvc.SelectListItem' does not contain a definition for 'value' ,
in the PartialView page when i open a foreach loop when i put mouse on Item it's show i singel and first record ,
yogesh vaidya
31-Dec-18 11:49am
View
Deleted
thanks sir,
i was tried with step debug , first he wait on @section Scripts and then ran a js scripts 3.3.1 there first he shows url- Cust/ GetState and Contry Id ,and then he went to controller in acction method GetState and then he gose to PartialView page and through the error Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: ''System.Web.Mvc.SelectListItem' does not contain a definition for 'value' ,
in the PartialView page when i open a foreach loop when i put mouse on Item it's show i singel and first record ,
yogesh vaidya
21-Jun-18 20:13pm
View
i have 3 columns in datagridview 1 is prod_name 2 is prod_qty and 3 is chkbox
i want a solution that any of above columns was clicked i want to chkbox value=true for same row
yogesh vaidya
23-Feb-18 13:56pm
View
thanks sir ,
for your valuable guidance .
yogesh..
yogesh vaidya
23-Feb-18 6:46am
View
i want to creat inventry pacge for my own shop ,which need to run more thsn 5 pc like store,godown ,cash counter and i creat a sql class for connect the data base but it suould not works when i run program from diffaent pc or varcual box
this is my code
Imports System.Data.SqlClient
Public Class Sql_control
Public DBCon As New SqlConnection("Server=DEV-ASUS\SQLEXPRESS;Database=Buss_db;trusted_connection=true;")
Private DBCmd As SqlCommand
' DB DATA
Public DBDA As SqlDataAdapter
Public DBDT As DataTable
' QUERY PARAMETERS
Public Params As New List(Of SqlParameter)
' QUERY STATISTICS
Public RecordCount As Integer
Public Exception As String
Public Sub New()
End Sub
' ALLOW CONNECTION STRING OVERRIDE
Public Sub New(ConnectionString As String)
DBCon = New SqlConnection(ConnectionString)
End Sub
' EXECUTE QUERY SUB
Public Sub ExecQuery(Query As String)
' RESET QUERY STATS
RecordCount = 0
Exception = ""
Try
DBCon.Open()
If DBCon.State = ConnectionState.Open Then MsgBox("open")
' CREATE DB COMMAND
DBCmd = New SqlCommand(Query, DBCon)
' LOAD PARAMS INTO DB COMMAND
Params.ForEach(Sub(p) DBCmd.Parameters.Add(p))
' CLEAR PARAM LIST
Params.Clear()
' EXECUTE COMMAND & FILL DATASET
DBDT = New DataTable
DBDA = New SqlDataAdapter(DBCmd)
RecordCount = DBDA.Fill(DBDT)
Catch ex As Exception
' CAPTURE ERROR
Exception = "ExecQuery Error: " & vbNewLine & ex.Message
Finally
' CLOSE CONNECTION
If DBCon.State = ConnectionState.Open Then DBCon.Close()
End Try
End Sub
' ADD PARAMS
Public Sub AddParam(Name As String, Value As Object)
Dim NewParam As New SqlParameter(Name, Value)
Params.Add(NewParam)
End Sub
' ERROR CHECKING
Public Function HasException(Optional Report As Boolean = False) As Boolean
If String.IsNullOrEmpty(Exception) Then Return False
If Report = True Then MsgBox(Exception, MsgBoxStyle.Critical, "Exception:")
Return True
End Function
End Class
pleasa help me
yogesh vaidya
26-Nov-17 15:53pm
View
Thanks, sir ,
I tryed your code and it's works perfectly , but not worked as my instruction,
I want to select next control like private sub or any other works , when I press enter it is worked perfectly but when I pressed tab he move to next text box ,how I include enter end tab as same work , (yvmail.acc@gmail.com )
yogesh vaidya
24-Nov-17 14:32pm
View
need help for same question for visual basic 2013/2014
yogesh vaidya
24-Nov-17 14:30pm
View
how to do this in visual basic 2013 or 2014 ,i am not working in c++
please help me to solve this (appajis72@gmail.com)
yogesh vaidya
2-Sep-17 4:25am
View
in second close mod_sub=2 then ...
"@invno" is a parameter variable and value is datetimepicker1
i am using a method private access dbcntorl to connect database ,
in first option mod_sub=1 i got the stipulated data in datagride .
but date() format can't support here
yogesh vaidya
27-Jul-17 9:22am
View
i have a question ,as same
in the end of or stoped my works on end by same problems
yogesh vaidya
27-Jul-17 9:21am
View
Deleted
i have a question ,as same
in the end of or stoped my works on end by same problems
Public Class SALES
Private access As New GSTDBCONTROL
Public Function NOTEMPTY(ByVal TEXT As String) As Boolean
Return Not String.IsNullOrEmpty(TEXT)
End Function
Public Function EMPTY(ByVal TEXT As String) As Boolean
Return String.IsNullOrWhiteSpace(TEXT)
End Function
Private Function noerrors(Optional ByVal report As Boolean = False) As Boolean
If Not String.IsNullOrEmpty(access.Exception) Then
If report = True Then MsgBox(access.Exception)
Return False
Else
Return True
End If
End Function
Dim currentrecord As Integer = 0
Dim qt As String = 0
Dim custcode As String = 0
Dim cust_id As String = 0
Dim x_cond As String = 0
' Public textBoxWithPlaceHolder = New Placeholder.PlaceholderTextBox()
Public SL_TYPE As Object = 0
Public CaSHMEMO_NO As String
Public CREDMEMO_NO As String
Public CHALLAN_NO As String
Public prod_type_sl As Single
Public TX_TYPE1 As Object = "0"
Dim prod_sl_code As Single = 0
Dim dmy_freegoods As String
Dim dmy_qty As String
Dim dmy_rt As String
Private Sub EXITToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EXITToolStripMenuItem.Click
MainMenu.GRPmain.Location = New Point(23, 7)
MainMenu.Show()
Me.Close()
End Sub
Private Sub MENUToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MENUToolStripMenuItem.Click
Me.Hide()
MainMenu.GRPmain.Location = New Point(23, 7)
MainMenu.Show()
End Sub
Private Sub BACKToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BACKToolStripMenuItem.Click
GRPSALES1.Visible = True
GRPdeleMENU.Visible = False
lbl_slstype.Visible = False
lbl_invno.Visible = False
lblcust.Visible = False
txt_cust.Visible = False
CMD_CUSTFIND.Visible = False
Label3.Visible = False
Label4.Visible = False
txt_custgst.Visible = False
txt_custpan.Visible = False
GRPSL1.Visible = False
lbl_stat.Visible = False
End Sub
Private Sub SALESToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SALESToolStripMenuItem.Click
GRPSALES1.Visible = False
GRPdeleMENU.Visible = True
S_tran1()
End Sub
Private Sub SALES_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
GRPSALES1.Visible = True
GRPSALES1.Size = New Size(322, 44)
GRPSALES1.Location = New Point(12, 9)
lblmyysoft.Text = access.mysoft
dgvsals_tran.Size = New Size(432, 187)
dgvsals_tran.Location = New Point(6, 81)
End Sub
Private Sub S_tran1()
access.Execquery("select * from my_code ")
If NOTEMPTY(access.Exception) Then MsgBox(access.Exception) : Exit Sub
If access.dbdt.Rows.Count < 1 OrElse currentrecord > access.dbdt.Rows.Count - 1 Then Exit Sub
Dim r As DataRow = access.dbdt.Rows(currentrecord)
txt_Sl_tranid.Text = r("id").ToString
txt_Sl_trancode.Text = r("sl_trancode").ToString
txt_SLjv_no.Text = r("jv_no").ToString
CaSHMEMO_NO = r("SL_invoice").ToString
CREDMEMO_NO = r("sl_invoice").ToString
CHALLAN_NO = r("SL_CHALLAN").ToString
If Not String.IsNullOrEmpty(txt_Sl_tranid.Text) Then txt_Sl_trancode.Text = Val(txt_Sl_trancode.Text) + 1
If Not String.IsNullOrEmpty(txt_Sl_tranid.Text) Then txt_SLjv_no.Text = Val(txt_SLjv_no.Text) + 1
If Not String.IsNullOrEmpty(txt_Sl_tranid.Text) Then CaSHMEMO_NO = Val(CaSHMEMO_NO) + 1
If Not String.IsNullOrEmpty(txt_Sl_tranid.
yogesh vaidya
10-Jun-17 0:07am
View
BUT HOW TO DETERMINER MINIMUM DIGIT IN TEXT BOX ?
I NEED ONLY 7 DIGIT NOT MORE THAN 7 OR NOT LESS THAN 7
Private Sub txtsbno_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtsbno.KeyPress
If txtsbno.Text.Length > 7 Then
If e.KeyChar > ControlChars.Back Or e.KeyChar < ControlChars.Back Then
e.Handled = True
MessageBox.Show("Not MORE THAN /LESS THAN 7 DIGIT ")
End If
End If
END SUB
BUT IT IS NOT ABLE TO REACT ON MINIMS DIGIT
yogesh vaidya
2-Jun-17 0:22am
View
sir ,thanking you very much about your help ,
but i am not working on website i am just developing a office software for my own use in visual basic
sir please give me some Ida what is the replacement of picture Box for Excel work sheet.
yogesh vaidya
2-Jun-17 0:19am
View
If you are creating an array, make sure the size is correct.
For more information, Visual Basic users can see Arrays in Visual Basic.
For more information, C# users can see Arrays (C# Programming Guide).
Be sure you have enough memory for internal purposes and new managed objects.
If you are programming on the .NET Compact Framework, the common language runtime throws this exception when there is not enough memory for internal purposes or new managed objects. To prevent the exception, avoid programming large methods that consume 64 or more kilobytes of memory.
yogesh vaidya
31-Mar-17 11:48am
View
i was also try
Public Function GetCategories() As DataSet
Dim query As String = "SELECT * FROM Categories"
Dim cmd As New OleDbCommand(query)
Return FillDataSet(cmd, "Categories")
End Function
but filldataset is not decleared msg stoped me
yogesh vaidya
31-Mar-17 11:47am
View
thanks sir ,i solved this one
i need a data set
i ma trying
Public Function GetCategories() As DataSet
Dim query As String = "SELECT * FROM Categories"
Dim cmd As New OleDbCommand(query)
Return FillDataSet(cmd, "Categories")
End Function
but filldataset is not decleared msg stop me to learn more
yogesh vaidya
31-Mar-17 11:45am
View
row position is 0
i need a deta sate
Public Sub GetRecords()
' ...
' create dataSet and adapter
' ...
adapter.Fill(dataSet, "Categories")
End Sub
i am trying this asmsdn.microsoft.com/en-us/library/y4b211hz(v=vs.110).aspx#Examples but it cant works
yogesh vaidya
28-Mar-17 21:47pm
View
i am not conform about it sir ,because system owner is my clyint
yogesh vaidya
28-Mar-17 21:43pm
View
Thanks sir ,
i am using acces 7 and visual basic express 2010
thanks for your comment but when i changes as "USERS ID=admin" ID=admin" to "USER ID=admin" hi buffar a comment i.e.
ins.CommandText = "INSERT INTO tblUSER VALUES(@Username, @Password)"
"tlbuser " not found
acctualy my data base is database2 and tabal is users and cointfo
thanks sir
Show More