15,896,727 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by CodeMine (Top 27 by date)
CodeMine
20-May-20 11:58am
View
thank u
i am trying
CodeMine
20-May-20 11:05am
View
doing with sdf database is new to me. I am not getting about the above error message.
CodeMine
20-May-20 10:45am
View
"unable to load the native components of sql server compact corresponding to the ado.net provider of version 8080. Install the correct version of sql server compact. refer to KB article 974247 for more details."
CodeMine
20-May-20 10:01am
View
if i am creating simple program in vb.net then the setup is working in windows 7, 8 and also in 10.
the thing is that i am adding sql server compact SDF database to my project. (my OS is windows 8 64 bit)
after creating setup i am able to install in all windows 8 OS.
if i am trying to install in windows 10 then it shows sql runtime error.
CodeMine
18-May-20 10:48am
View
thank u very much
CodeMine
18-May-20 9:52am
View
my application is developed using language vb not c#. is it possible to do setup file if i use above solution?
CodeMine
13-May-20 21:28pm
View
how to do?
CodeMine
5-May-20 20:59pm
View
this is in c#
it is is vb then it will be helpful for me.
CodeMine
5-May-20 20:48pm
View
thank u
CodeMine
5-May-20 10:20am
View
Private Sub ListBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox2.SelectedIndexChanged
If ListBox2.TopIndex <> ListBox1.TopIndex Then
ListBox2.TopIndex = ListBox1.TopIndex
End If
If ListBox2.SelectedIndex <> ListBox1.SelectedIndex Then
ListBox2.SelectedIndex = ListBox1.SelectedIndex
End If
End Sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
If ListBox1.TopIndex <> ListBox2.TopIndex Then
ListBox1.TopIndex = ListBox2.TopIndex
End If
If ListBox1.SelectedIndex <> ListBox2.SelectedIndex Then
ListBox1.SelectedIndex = ListBox2.SelectedIndex
End If
End Sub
CodeMine
5-May-20 10:02am
View
Windows Forms VB.NET
CodeMine
20-Apr-20 2:42am
View
Thank u very much
I have tried this code
And this is working nice
thank u
CodeMine
20-Apr-20 2:42am
View
Thank u very much
I have tried this code
And this is working nice
thank u
CodeMine
10-Feb-20 0:39am
View
thank u for your solution
here is the code i did
Public Class Form1
Dim pk As Integer
Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
If e.KeyCode = Keys.Space And e.KeyCode = pk Then
e.SuppressKeyPress = True
End If
End Sub
Private Sub TextBox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
pk = e.KeyCode
End Sub
End Class
CodeMine
14-Jan-19 23:26pm
View
my problem is solved
i created another form and in that i wrote following code
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
My.Settings.Reset()
End Sub
and made the form2 as startup form
executed it
again made form1 as startup form
and
executed it
it started from its initial value
CodeMine
14-Jan-19 2:12am
View
i did but it is not doing it is showing the initial value as 1. but if i run it is not doing. i thing somewhere its final value is stored and that has to be reset.
CodeMine
12-Jan-19 2:04am
View
As given in my question. let say i want to execute a vb application only 4 times.
in setting tab i will declare this "myturn" variable and initital value will be 1 and in my
application i will write
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
My.Settings.myturn= My.Settings.myturn+ 1
If My.Settings.myturn> 4 Then
MsgBox(" Sorry no more exection")
End
End If
End Sub
in this case if you run it will run the form only for 4 times after that it will not run again.
but dear my question is that
how to start it again
it the variable will be initialized to 1 then i can test it again to see it is running for 4 times or not
so how to reinitialize this to 1
CodeMine
10-Jan-19 22:20pm
View
But I want to do it manually in vb.net environment
CodeMine
10-Jan-19 22:18pm
View
yes dear
CodeMine
7-Nov-18 23:11pm
View
Ya u r right.
But for a beginner I think it is difficult. That is why they posted this question.
CodeMine
3-Nov-18 3:06am
View
just see the solution i have provided
CodeMine
6-Oct-18 9:04am
View
Kindly visit above link as I have store the data file image
CodeMine
5-Oct-18 15:04pm
View
https://drive.google.com/open?id=1FSuKxH_KXALX4SCV38gH0DHluoaPs0vW
kindly visit above link
CodeMine
21-Jan-18 13:40pm
View
email the excel document to address
means mail-merge or what?
CodeMine
19-Jan-18 9:34am
View
thanks this solved my problem. thanks great
CodeMine
20-Nov-17 11:46am
View
thanks for above link. i tried all but failed. Can it be done in simple vb.net form with a single vb.net solution?
CodeMine
31-Mar-17 0:54am
View
thanks richard its working
Show More