|
Hi, When I try to install vb6 PRO or visual studio 6 Enterprise on Windows 10 pro 64 bit the following message appears:
access/path error: "cmdInstallvs6_click of frmmain2.frm" and the installation fails here
What does it mean ? How can I solve it ?
Thanks
|
|
|
|
|
You do know VB6 has been dead for over 20 years now, correct?
Even VB.NET isn't being further developed. It gets security and maintenance fixes but is not otherwise being further developed.
|
|
|
|
|
Here is something that (probably) will help you a bit more than some (not necessarily relevant) previous answer
How To Install Visual Basic 6 (VB6) in Windows 10[^]
You may also want to refer to this video, which provides an alternative method for a successful installation on Windows 11.
How to install Visual Basic 6.0 on Windows 11 - YouTube[^]
I have personally installed VB6 on Windows 10 and Windows 11 multiple times on a variety of machines, for a variety of purposes. And while it may not be a straightforward process, it can be done with minimal effort.
Hope this helps.
|
|
|
|
|
i am begginer
i have a Sql database include in 2 tables
i want someone help me to :
- how i connect to database by code
- how i can select tables
- how i read recordes
- what imports needed
thnx
|
|
|
|
|
|
I have to make an application with web service but i never make that.
The web service is Kelio of Bodet.
Somes examples could help me.
Thanks
|
|
|
|
|
Google for "VB.NET webapi client".
There's plenty of examples.
|
|
|
|
|
I want to perform a search in a DataGridView. The search command is working, but I have a problem: a row always remains visible in the DataGridView even if it does not correspond to the search criteria. This row is always the last selected one. I have tried using 'ClearSelection,' and no rows are selected/highlighted, but the problem persists—the same row is still visible. this is my code :
Private Sub TxtboxReserch_TextChanged(sender As Object, e As EventArgs) Handles TxtboxReserch.TextChanged
If TxtboxReserch.Text = "" Then
For i = 0 To DataGridView1.RowCount - 1
DataGridView1.Rows(i).Visible = True
Next
Else
DataGridView1.ClearSelection()
For i = 0 To DataGridView1.RowCount - 1
Try
DataGridView1.Rows(i).Visible = (DataGridView1.Rows(i).Cells(1).Value Like "*" + TxtboxReserch.Text + "*")
Catch ex As Exception
End Try
Next
End If
End Sub
|
|
|
|
|
You already posted this question once; please do not repost.
|
|
|
|
|
I want to perform a search in a DataGridView. The search command is working, but I have a problem: a row always remains visible in the DataGridView even if it does not correspond to the search criteria. This row is always the last selected one. I have tried using 'ClearSelection,' and no rows are selected/highlighted, but the problem persists—the same row is still visible. this is my code :
Private Sub TxtboxReserch_TextChanged(sender As Object, e As EventArgs) Handles TxtboxReserch.TextChanged
If TxtboxReserch.Text = "" Then
For i = 0 To DataGridView1.RowCount - 1
DataGridView1.Rows(i).Visible = True
Next
Else
DataGridView1.ClearSelection()
For i = 0 To DataGridView1.RowCount - 1
Try
DataGridView1.Rows(i).Visible = (DataGridView1.Rows(i).Cells(1).Value Like "*" + TxtboxReserch.Text + "*")
Catch ex As Exception
End Try
Next
End If
End Sub
modified 2-Mar-24 7:25am.
|
|
|
|
|
Try setting the CurrentCell to Nothing .
NB: It would probably be simpler to filter the underlying data source, assuming you have one.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click
Dim i As Integer = DataGridView1.CurrentRow.Index + 1
If i < 0 Then i = 0
DataGridView1.CurrentCell = Me.DataGridView1.Rows(i).Cells(0)
DataGridView1.Rows(i).Selected = True
End Sub
|
|
|
|
|
Look at the error message again. It is telling you that the value of your index variable is outside the range of rows in DataGridView1 . Most likely because of the line below:
Dim i As Integer = DataGridView1.CurrentRow.Index + 1
If you are currently at the last row then "Index + 1" will refer to a row that does not exist.
|
|
|
|
|
|
Check to see whether the value is in range, and not just greater than zero.
|
|
|
|
|
Better user experience:
* Disable the NEXT button when the cursor is on the last row of the grid
* Disable the PREVIOUS button when the cursor is on the first row of the grid
|
|
|
|
|
I want to output a bitmap file to a POS printer using VB6. The ESC/POS mode should be used.
Does the file need to be converted? If yes how? Is there documentation or an example?
Printing and formatting text is no problem. I just can't find any way to solve the problem.
Thank you.
|
|
|
|
|
|
Thank you.
However, the solution does not describe how to use the ESC/POS mode.
|
|
|
|
|
In my experience, the printer would come with various Windows driver(s) and / or "DOS" programs when it came to printing "bit maps". You scoured the vendor's web site for samples, downloads and links. The "name" of your printer is more important than what you've posted so far.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Thank you.
All POS printers we use support ESC/POS mode.
Do the graphic files need to be converted? If yes how?
|
|
|
|
|
I'm completely confused with this error from VS2012 and VS2019 on an VB.Net app that has been running fine for years. This pops up while running a simple sub at the codeline:
OpenFileDialog1.ShowDialog()
What makes it really strange is that there multiple subs of this exact same OpenFileDialog on several other forms in this project that work perfectly fine.
I have removed the Dialog object from the form, replaced it, put a second Dialog object 'OpenFileDialog2'and still get the same results. This one Form out of 7 others just refuses to work with me on this
Anybody got a clue on what I should be looking for, please hit me with it, this is actually the most important OpenFileDialog in the whole project.
And Thank You in advance,
|
|
|
|
|
The message is telling you that something went wrong at that location in a system library. A possible reason would be that your code is passing a bad address to the library call which causes some unexpected error. The only way to find out why this is happening is to use the debugger to trace through the code.
|
|
|
|
|
Thanks Richard, I'll try the debugger to trace as you suggest, although I'm a little weak on tracing with debugger. Does it make sense that this same code block works perfectly well in 2 or 3 other Forms, and the entire project & code executes just fine on my laptop.
Appreciate your help and suggestions
|
|
|
|
|
Member 15109325 wrote: Does it make sense It is not just the code block that needs to be considered, but the parameters being used in its execution. And without seeing the specific code and all the values being used, it is impossible to comment further.
|
|
|
|