I have an application that uses a dataset to collect user information(login and password). I have written a loop that searches the datatable. All was working fine until I reseeded the table. This is my original loop:
For i As Integer = 0 To Me.UserDataSet.Users.Rows.Count - 1
If...
For some odd reason, that I am not aware of, everytime I run an .exe application from within my app it errors out and wants to send an error report to MS. Is there somehting I am missing about using process.start?¿
What dependencies do you mean?¿ I am having a similar problem trying to run an .exe app. It errors out when I try to start the process from within my app, but not by itself.
If you don't need to send info to Excel then you don't have to add a reference to start a file. Just use Process.Start("path to and name of file"). This will start your file. But it will not automate it.
Well I am kinda wondering the same thing. I have an application that I would like to use send keys on, but I do not know the shorcut keys to access the other side of the form. Tab is only working on one side. Being able to manipulate the mouse coordinates would help tremendously! Well...
I have an multiform application that lists the open forms (by name[text]) in a listbox on the main form. As a new form is opened a string representing that form is sent to the listbox. What I am trying to do is set it so that when the selected index changes, between form names, that particular...
I was just bringing up the fact that it is nice when someone finds their own answer and posts it here along with the thread. I have already got the function I need. I was just bustin your chops a little. :)
I have run into a problem with this as well. But the only problem I have is that it wants to print the entire datagrid, which for me is over 900 rows, when I call the print method. I have passed the printdocument to a printdialogue and am calling the print method from there. I thought this...
Check out these posts regarding.
http://vbdotnetforums.com/showthread.php?t=12643&highlight=printing+a+datagridview
http://vbdotnetforums.com/showthread.php?t=12424&highlight=printing+a+datagridview
I tried to use that but on one of my forms it would only allow a certain number of characters within one of my textboxes. It may be a little more code but I will just use mine.
Thx for the help! Here is what I have added to my code.(For the next guy.)
PrivateSub Form2_KeyDown(ByVal sender AsObject, ByVal e As System.Windows.Forms.KeyEventArgs) HandlesMe.KeyDown
If e.KeyCode = Keys.Enter Then keyalter = True
EndSub
PrivateSub Form2_KeyPress(ByVal sender...
Can anyone tell me why this is not updating my SQL database.
Dim updatestatus AsNew SqlClient.SqlCommand("UPDATE Org SET Status ='@Status' WHERE AcctCode = '@AcctCode'", Me.cn1)
updatestatus.Parameters.AddWithValue("AcctCode", ComboBox1.Text)
If Label67.Text = "Active"Then...
I tried that out and it gets rid of the sound, but not the form will not allow me to enter anything into my textboxes. Why is that? I am just trying to get an understanding of why. The user who will be working with my application is not allowed to have speakers so I don't think the sound will be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.