Search:
Type: Posts; User: AceDuk
Search:
Search took 0.09 seconds.
-
i thought that have simple way haha :D
Thanks
-
i thought that have simple way haha :D
Thanks
-
If the panel have bigger height than A4 Height it's keeps cutting and everytime is just one page? How can i make contents continue on next page?
Private Sub button1_Click(ByVal sender As Object,...
-
thank you i figured out :D
-
Is there anyway to locate PictureBox after TextBox Text - (string)
-
Dim selRow As Integer
Dim selCol As Integer
Button Click Event:
If DataGridView1.SelectedCells().Count > 0 Then
selRow =...
-
So the word "selected" how i understand in your case means selected row
Now you sad "it goes to 1" - what goes to 1? did it select first row in your DGV? if yes then thats why i give you that code...
-
how i understand you talk about selection not saving data somewhere..
-
'Clear the selection.
DataGridView1.ClearSelection()
'Scroll to the last row.
DataGridView1.FirstDisplayedScrollingRowIndex = DataGridView1.RowCount - 1
'Select the last row....
-
for me it's working ok
you sad that you have a blank listbox, maybe your list is empty.. we don't know your code where you have Declarated your list, try like this:
Dim list As New List(Of...
-
here:
PictureBox1.Image = Image.FromStream(productImageStream)
With error code: Parameter is not valid.
With using this query:
"Select * from Users where ID = @id"
Of course that i don't...
-
still the same problem even if i put column in brackets like you sad the problem is still here the query i'm sure that works ok
problem is like this thread...
-
If i use this query
"Select * from Users where ID = @id" then variable productImageByte is nothing
If i use this query
"Select Image from Users Where ID = @id" i get error:
Parameter is not...
-
if you have time take a look:
-
In simple words i have one form, on that form i have one button and one picturebox, and the code is in button click event, this is strange problem i searched a lot of examples in stackoverflow and...
-
Yes every line of code is executed if i continue to step throught my code.
Im not getting any exception so everything is successful but picturebox is still empty
-
If i put breakpoint at this line: productImageByte = TryCast(cmd.ExecuteScalar, Byte())
and click step into to next line and look in autos i see: productImageByte {Length=216545} Byte()
Now...
-
I tried with OLE Object but i can't see option in access to insert image, i'm not limited to use Attachment column that's because i can't see any other way for images in access and that's the only...
-
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Exists As Boolean = False
For Each item As DataGridViewRow In...
-
If you mean ListBox
Form2.ListBox1.Items.AddRange(ListBox1.Items)
-
if i change query like this
"Select Image from Users Where ID = @id"
it's still the same problem
even if i change like this:
"Select Image from Users"
yes..
-
no..
if i put breakpoint here then it gets hit:
If productImageByte IsNot Nothing Then
hmm.. because with where clause i finding which row in database contain a picture
yes you're right, my...
-
Why i can't get picture in picturebox from access here is my code i must say that is without error but i can't see the image
Dim productImageByte As Byte()
Try
...
-
ok i found some fix and it's work ok. thanks for reading my thread
Private Sub DataGridView1_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs)...
-
So my problem is no matter if i click like Picture1 or Picture2 DataGridView Double Click Event is raised
Picture1
149285
Picture2
149287
Also here is my code:
Private Sub...
-
Dim s As String = vbNull
No object exists, but the variable s that references a string object does exist, but it references nothing.
Dim s As String = Nothing
What do you have? You have a...
-
labelID.Text = ListView1.SelectedItems(0).SubItems(0).Text 'This is selected item
txtUsername.Text = ListView1.SelectedItems(0).SubItems(1).Text
txtPassword.Text =...
-
Hi
Can you explain little bit more about what you want to happen with numericupdown?
-
change into this
dataadapter.Fill(dtb)
-
maybe he should get rid of some not important code
Imports System.Data.OleDb
Public Class Form1
Dim con As New OleDbConnection("Provider=MICROSOFT.ACE.OLEDB.12.0; Data...
-
Seems too good for me haha :D
I also think that C# is more used and it have more money in it.
So i don't think that in VB.NET is too much hard competition
But if you know VB.NET im sure that it...
-
-
-
so if one program use that database it's better my suggestion (With Module connection)
also your suggest is look good if i delete module - maybe i should use your suggestion because i avoid...
-
so you suggest me to get rid of Module, and how you say: get one, use it, get rid of it, all as fast as you can.
-
I forgot to say that i always use connection string in module
Imports System.Data.OleDb
Module Module1
Public con As New OleDbConnection("Provider=MICROSOFT.ACE.OLEDB.12.0; Data...
-
how i understand you say me to remove con.open, con.close?
If i remove that lines of code i always get errors
-
1.
'Insert
Try
Dim strSql As String = "INSERT INTO Users ([Username], [Password]) VALUES (@Username,@Password)"
con.Open()
...
-
Nevermind :D i fix with hidding up button with panel :D Thanks for reading :)
-
im trying to do this
2 Textboxes - in each TextBox Change Event i have code like this
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
|
Click Here to Expand Forum to Full Width
|