Search:
Type: Posts; User: patel45
Search:
Search took 0.03 seconds.
-
Thanks Paul, very compact code, I modified it so
Dim OriginalFilePath = "F:\Documenti\Visual Studio 2017\Projects\TextFileSplit.txt"
Dim LinesPerFile As Integer = 20
Dim...
-
Thanks Niya, it runs well
-
-
I don't know C#, I tried with some code converters without success, they can not convert them.
I have already solved the problem with a much longer code, I would like to understand how to reduce the...
-
How can I split a single text file with 1000 lines into multiple smaller files of, for example, 300 lines ? I found two C# code, they feel good, but I'm not able to convert them to vb.net
using...
-
Thanks jmc for the explanation
-
My data table has only one field but I understand now, thanks.
-
it's just to show that with the same datatable I can't populate the combo column.
Thank You Paul, your suggestion works, why displaymember is needed?
-
Here is my code
Dim connStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\Documenti\Visual Studio 2017\Projects\Rubrica.mdb"
Dim Adapter1 As OleDbDataAdapter
...
-
-
This is my new code, but I receive error "database not exist" in line
objCon.ChangeDatabase(conStr)
Dim conStr As String = "Data Source=(LocalDB)\mssqllocaldb;Initial...
-
This is my code, no errors, it creates th db, but without table
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim conStr As String = "Data...
-
OK, Paul, it runs very well
-
Thanks Paul, i'll use this solution, can I add a filter by extension ?
-
I can not see the form1.
To avoid possible data loss before loading the designer, the following errors must be resolved:
6 mistakes
Ignore and continue
Reason for displaying the page...
-
Thank You Paul, but I'm not able to see the code
-
It's possible to show only files ? no subdir ?
-
your code is almost all correct, there are only a few syntax errors
-
https://vbforfree.com/detect-when-removable-usbvolume-drive-devices-are-addedremovedconnected-vbnet/
-
left, mid ... are not supported, see
https://social.msdn.microsoft.com/Forums/en-US/69980195-bf47-4947-9134-487bb3876bf7/how-to-do-the-leftrightmid-functions-in-vbnet?forum=vblanguage
-
Thank You for your time and your teachings
-
OK CrisE, I did not understand the following:
when I convert accdb to dbf I create the dbf file, when I convert dbf to accdb the accdb file must already exist, I add a table, I don't create a new...
-
Hi ChrisE, your code runs very well for accdb to dbf, but not viceversa, I don't receive error messages, but no accdb file.
Maybe you have to change the connection string ?
-
Hi Paul, I tested your example, no errors but no drag effects
-
Hi jmc, using a datatable as datasource I don't need binding ? correct ?
-
did you try my second code ?
-
It's not very clear for me what you want, an excel range is an array, but you can try this code
Dim myexcel As New Excel.Application
myexcel.Workbooks.Open("fullpath")
...
-
-
When I'm using mdb file I can change DVG cells content and update db, when I'm using accdb file and I change DVG cells content and I click on Update Button I receive this exception message
...
-
Sorry, I know, my connection string with accdb is
Dim connStr As String = "Provider=.ACE.OLEDB.12.0; Data Source=F:\Documents\Visual Studio 2017\Projects\Rubrica.accdb"
but with accdb I can...
-
With the following code I can read, update, delete records directly from Datagridview in my db Access 2003 (mdb ext). Why I can not do the same with an db Access 2010 (accdb ext) ?
Public Class...
-
For Each line As String In RichTextBox1.Lines
If line.Substring(0, 5) = "NMBR=" Then
'split line with "=" separator
Exit For
End If
...
-
maybe you want paste the clipboard content in the label
Label1.Text = Clipboard.GetText
-
it still didn't work for me too
-
I just tried manually on WIN10 64 bit without success
-
Can you explain me ? I tried your code without success.
-
Thank You for your input, I resolved with
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Dim b As New Process(), s As String = ""
For Each...
-
I'm sorry, the file has already been opened by another application and I would like to know its name
-
I would know the name of a word document I opened manually.
-
thanks jmc, you were very clear
|
Click Here to Expand Forum to Full Width
|