15,885,546 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 Liktor Janos (Top 14 by date)
Liktor Janos
30-Dec-22 4:49am
View
Whoa! What a complete solution :) Thanks. I also thought that statechange event trick, however I have no time to experiment with that. Ok, now you pushed me to the right direction :)
Liktor Janos
29-Dec-22 14:28pm
View
Thanks Graeme_Grant, about that article, I've read it. That is a 14 years old article, and discuss about the missing group collapse of ListView. Now there is collapse function already in ListView. The collapse function of list view is almost do as I want... The culprit is I can't set Footer and Subtitle properties to an empty string. By the way, you (and the article) give me an idea about override the footer and subtitle setter. Maybe there is a crazy check about the input string. Let's see.
Liktor Janos
11-Feb-20 4:16am
View
A can't give you a working example, because the exact environment is known by only you.
Try this one though: https://www.connectionstrings.com/sql-server/
Liktor Janos
11-Feb-20 4:04am
View
Your connectionstring is wrong. There is no catalog parameter. The correct one is "Initial Catalog"
Liktor Janos
11-Feb-20 3:53am
View
Mmmmaybeeee.. I'm misunderstood something.
You HAD missing package problem, but you RESOLVED it already, and now you simply seek for that DbContext.cs file?
Liktor Janos
11-Feb-20 3:46am
View
I think this is merely an RTFM situation :-)
Nevertheless I'll try to help :)
So... now you should resolve the missing package issues. Yes, maybe you'll have more than one as you proceed further. Try the NuGet GUI to resolve these missing package things. It's more simple than command line.
After that, you should check the current directory in PM console. Try that DIR command as I suggested above. Based on that output you can check if there is a MODEL directory, and WHERE is this MODEL directory.
Liktor Janos
11-Feb-20 3:31am
View
It's worth a try. Just for make sure: your MDF file is exists and valid and accessible.
And the same goes for the -OutputDir, because there is no directory hanging in the air like "Models". It has to be a path that leads for this directory. You can specify it, or it can depends on current directory.
By the way what happens if you run the DIR command in package management console?
Liktor Janos
11-Feb-20 3:00am
View
Ok, now we have an error message :) Let's see what file path involved in this issue.
You can be wrong with:
- path to mdf file
- path to target directory
You should try all of these paths as an absoulute path. Of course not for production, just for bug hunting. I mean like this: -OutputDir c:\somedirectory\
Liktor Janos
11-Feb-20 2:50am
View
Hm... maybe you should put a space between "SqlServer" and "-Verbose"
The same goes to your first command too with the -OutputDir argument.
Liktor Janos
11-Feb-20 2:49am
View
By the way, you should check these:
- Are your connection string settings correct?
- All of your related tables has primary keys?
- Maybe your new files exists, however they are not added to the solution.
Liktor Janos
11-Feb-20 2:44am
View
Can you show the exact error message? It would be easier to help if we know more than "still no luck"
Liktor Janos
30-May-19 7:18am
View
Overriding the Uninstall method simply enable your code to run instead of the original Uninstall method. I think the original question is about detect starting of any OTHER uninstalling process (not your program, but any other that is not based on your code and executable) and do some operation. Of course it would be helpful to know what was the true intention of Member 14369462
Liktor Janos
28-May-19 9:29am
View
Ok, however it is depends on the context. Do you want to simply do some logging? Or want to prevent to start your uninstaller twice? Are you interested in a specific application uninstaller running state? Or you like to know if ANY uninstaller started by something/someone?
More important, you like to modify your own code, or like to hook up on installer process belongs to someone.
I have a few idea, althought you should fill in more details if I may ask :)
Liktor Janos
28-Jun-18 1:33am
View
Oh, I almost forget: what about the external DIV? That has a
span class="c"
child element, althought not as direct descendants. What do you want with that DIV? Add as "class=\"c\"" to the array, or add as "0". Moreover, when do you wan to add it, on the opening or closing node?
Show More