Presume in vb.net? Sure, I'll knock up a screencast. SQLite is free and super fast and runs on anything. Just a couple of DLLs. If you need a tool to build an SQLite database, I recommend DB Browser for SQLite, and I'm a 'volunteer' for their support.
DB Browser for SQLite
Or their main Git...
> then you did it wrong
More than likely!
> this discussion has shifted to beating on the My.Settings system for being ineffective
Oops - my fault. Sorry.
> so you're looking to store the settings inside the exe
No, not me - thats the original poster.
> then why not just go to the lesser...
> but .NET has its own inbuilt configuration system
Isn't this (sort of) broken though? If I have a settings file and allow the user to change those settings, they're stored in a file linked to the version of the .exe. If the .exe is updated, the user loses their settings and the default...
> I want the application to have only one .exe file
Unfortunately, a program has to store its config somewhere. The recommended location is the registry and VB has easy-to-use methods to do this. Unfortunately, it doesn't make the program portable - run the program on another PC and you lose...
This is an old topic and the original author never replied back, but thought I'd chip in as many people like databases.
SQLite is a database library and to 'install' it, you just need three files - a common DLL, then two DLLs to cater for 32bit and 64bit applications. To use it in your...
The code you posted has no bearing on the post title, but by 'pin' do you mean on top of every other window? In vb6 days it was called 'ontop'. Now its 'topmost'. Set a form 'topmost' property to true, and it'll float and be above all other forms.
Eurgh. Why would you ... no, just don't. No. Program functionality is far better than wacky buttons.
If you really do want custom controls, then WPF might be the way to go.
Yes, if you double-click the .resx file, then right-click an image, you should see an option to remove it.
If there is a reference to that image, its easy to relink it to the other image.
If you need another screencast, just yell.
OK, so I created a new project. Hopefully this makes it easier to explain.
https://streamable.com/b2qkp6
If you add in the resx file, you can open it in VS, and export any image you want to reuse. When you add an image to a button, you can only select images already imported into the project...
OK, a solution that worked for me, and got the project loaded without errors.
Click 'Project', 'Add Reference', select 'COM', and select 'Microsoft ActiveX Data Objects 2.8' (or whatever you have)
> it can show error
Whats the error? Do you mean the 'adodb.connection is not defined' (x10 of those)
On the PC you're opening this project on, do you have Microsoft Access libraries? The database is .mdb, which is MS Access (urgh). You need the libraries to open it.
Also, the program is...
> By the way their is an error here.
Can you move the error box, or re-enter the line that begins "dim cmd as ..." as its hidden, and different from the line you originally posted. Does that line contain the 'con' object?
When you click a button, then 'image' on the properties grid, you can either add a local resource, or a project resource.
If you're going to add a picture that could be used throughout your project, use the project resource.
Icon images are usually 16x16 or 32x32 so relatively small - the...
> but the problem has been resolved
Oh ... it helps if you mark the thread as 'Answered' or 'Resolved' and finalise it, otherwise idiots like me think its' still open and try and help. :|
Does an animation really help when copying? Is a user going to stare at your screen constantly for seven...
Also, if the user has clicked a cell (which they have as you're in cell content click) then you can use
dtpur.Text = dgview.currentrow.Cells(2).Value.ToString
Also, a couple of suggestions.
If the cell content is blank (empty) then your code will fail - it cannot convert the .value to...
So you're adding book number 1 (or asking the user to enter a book number). Will they know its 1?
Usually, the computer will find a unique number for you. What happens if user A and user B both enter '1' for the book number? What happens if they choose 5, but book 5 already exists?
Databases...
Just to reverse the direction ... rather than solve the problem that you think you're having, what are you trying to solve? Why are you having a timer kick off during a copy operation?
Can you explain the 'I'm trying to ....' ?
I'm worried you're asking how to get to Brighton from Sheffield...
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.