|
My question was based on vb.net.
Is not List<integer> concerned with c/c++ ?????????????
|
|
|
|
|
No, it's not. List and List(Of T) are collection classes in the .NET Framework. Any language that targets it can use those classes.
|
|
|
|
|
hello isidor7,
Thankx for your valueable help .
but if i read a page, word by word OR para by para then how can i come to know that the end of page is here.
suppose, if there is 10 pages then it is go on reading till the last page comes.. how can i come to know then that the page 1 is over and 2 is start ???
If u know plz help ....
thankx again for your reply
- koolparasad2003
Be A Good S/W Eng... Life is swing with you..Enjoy..
|
|
|
|
|
well use the following pseudo code
prvPage=0 'stores previous page
while reading paragraph by paragraph '<<change this
="" if="" currentpage<="">prvPage then
'page changed!
prvPage=currentPage
end if
loop
isidoros
|
|
|
|
|
Dear Isidor,
thankx a lot.
can you give me code budy ????
please help....
-koolprasad2003
Be A Good S/W Eng... Life is swing with you..Enjoy..
|
|
|
|
|
Can anyone give me one example about Win Socket on Windows Form?
Thanks
................
|
|
|
|
|
Do you mean WinnSock Component?
Regards,
Satips.
|
|
|
|
|
Yes,if you know, Can you give me an example?
Regard
Socheat
................
|
|
|
|
|
The Article By Chris Kolkman WinSock.Net[^] here in CP will help you.
Regards,
Satips.
|
|
|
|
|
Thanks, i hope this helpful.
Socheat
................
|
|
|
|
|
Welcome!!!
Regards,
Satips.
|
|
|
|
|
Do u have any concept for me for creating application chatroom?
Socheat
................
|
|
|
|
|
|
Thanks in advanced
Socheat
................
|
|
|
|
|
Always Welcome!
Regards,
Satips.
|
|
|
|
|
Sorry, What do u do?
................
|
|
|
|
|
Working as a Senior software programmer and the software consultant in an organization.
Regards,
Satips.
|
|
|
|
|
I want to be like that, but my knowledge not good just in small, do you have any andvance for me.
Socheat
................
|
|
|
|
|
hello,
I am trying to read a file that has a long adress (its in many sub directories) and I get an error saying that VB.net can't access it because the path is too long does anyone know an alternate way of accessing files which isn't restricted by the nuber of characters in the path ?
Thanks
Al968
Avast Antivirus-<url>http://www.avast.com<url>
|
|
|
|
|
Hey,
Does it shows the Error as System.IO.PathTooLongException error.
Please clarify it.
Regards,
Satips.
|
|
|
|
|
The maximum path supported by Windows is 260 characters. You can kind of get around this with cautious use of CurrentDirectory. But, since this limit also applies to any application, like backup packages, you're better solution is to manage the path length. You can write the code to change the current directory, but you have to be VERY careful in maintaining that path. For example, using the Open/SaveFileDialogs will change the current directory.
|
|
|
|
|
I was wondering if anyone has a Levenberg-Marquardt algorithm written in VB.
I have been knocking my head against this problem for weeks and while my application can fit simple equations to the data it fails at more complicated equations.
Currently it has no problems fitting equations such as
F(x)= a*X^nth + b*X^(n-1)+......
But it fails when fitting equations such as
F(x) = x/a
or
F(x) = a^x*b
(a-z are parameters that the program can vary and x is the independent variable.)
|
|
|
|
|
The 'External links' section has links to implementations of this in various languages including C# and VB. I think the VB implementation is VB6 so you'll need to from C# to VB.NET if it's VB.NET code you want. I believe there are tools to do this.
http://en.wikipedia.org/wiki/Levenberg-Marquardt_algorithm[^]
|
|
|
|
|
How do i make a custom control that has a collection like a listbox or combobox? When i define the property it automatically gives the option to open the collection editor in design view, but upon clicking add, it doesn't work. Error: Constructor on 'System.String' not found.
Posted by The ANZAC
|
|
|
|
|
I have two listboxes and 4 buttons to move values from one list box to another listbox and remove items from second listbox.
I am getting values from datbase to the first listbox
btn1--> for to move all items from first listbox to second listbox
btn2--> to move selected items from first listbox to second listbox
btn3--> to remove selected items from second listbox
btn4--> to remove all items from second listbox
now everything is fine.. i completed all the task..
i have one more button to save second listbox values into database.
if i selected one by one and click save.. it works fine..
but if i selected all button and click save.. it does not save into database.
The code is as follows in btnsave_click
Dim cnt As Integer
Dim num As Integer
cnt = ListBox2.Items.Count
For num = 0 To cnt - 1
Dim cmdAdd As New SqlCommand
Dim insertAdd As String = "insert into JOB(JOBNO,PHASENO,USERS,BUILDNO,REVNO,REF,CUSTNAME) values (@JOBNO,@PHASENO,@USERS,@BUILDNO,@REVNO,@REF,@CUSTNAME)"
Dim sqlcmdAdd As New SqlCommand(insertAdd, con)
sqlcmdAdd.Parameters.Add(New SqlParameter("@JOBNO", SqlDbType.NChar, 20))
If TxtJobNo.Text <> "" Then
sqlcmdAdd.Parameters("@JOBNO").Value = Trim$(TxtJobNo.Text)
End If
If CmbPhase.Text <> "" Then
sqlcmdAdd.Parameters.Add(New SqlParameter("@PHASENO", SqlDbType.NChar, 10))
sqlcmdAdd.Parameters("@PHASENO").Value = Trim$(CmbPhase.Text)
' sqlcmdAdd.Parameters("@PHASENO").Value = 0
' sqlcmdAdd.Parameters("@PHASENO").Value = CmbPhase.Items.ToString
End If
'If ListBox2.Items(num).ToString <> "" Then
sqlcmdAdd.Parameters.Add(New SqlParameter("@USERS", SqlDbType.NChar, 50))
'sqlcmdAdd.Parameters("@USERS").Value = Trim$(ListBox2.SelectedItems.Item(num).Text)
'sqlcmdAdd.Parameters("@USERS").Value = Trim$(ListBox2.Items(num).ToString)
' End If
If CboBldgNo.Text <> "" Then
sqlcmdAdd.Parameters.Add(New SqlParameter("@BUILDNO", SqlDbType.NChar, 10))
sqlcmdAdd.Parameters("@BUILDNO").Value = Trim$(CboBldgNo.Text)
End If
'If (CboRevNo.Text) <> "" Then
sqlcmdAdd.Parameters.Add(New SqlParameter("@REVNO", SqlDbType.NChar, 10))
sqlcmdAdd.Parameters("@REVNO").Value = 0
'End If
sqlcmdAdd.Parameters.Add(New SqlParameter("@REF", SqlDbType.NVarChar, 50))
sqlcmdAdd.Parameters("@REF").Value = ""
sqlcmdAdd.Parameters.Add(New SqlParameter("@CUSTNAME", SqlDbType.NVarChar, 75))
sqlcmdAdd.Parameters("@CUSTNAME").Value = ""
sqlcmdAdd.Connection.Open()
sqlcmdAdd.ExecuteReader()
sqlcmdAdd.Connection.Close()
Next
ListBox2.Items.Clear()
|
|
|
|