15,991,068 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 .NET 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 peterkmx (Top 18 by date)
peterkmx
13-Mar-23 12:07pm
View
This makes me curious which code are you debugging ... From GitHub or another place ?
Best regards
peterkmx
22-Dec-22 16:24pm
View
Thanks ... I am glad that I could help :-)
peterkmx
12-Mar-22 13:41pm
View
" ... UseShellExecute must be true to get the WindowStyle to work"
Your comment solved my problem, upvoted your answer, 5 years on :-) and still relevant.
Thank you!
peterkmx
11-Apr-21 6:30am
View
Please check the link as this page contains exactly what you were looking for
// Declaring friend function using friend keyword
friend Distance operator+(Distance&, Distance&);
Keep learning,
Cheers
peterkmx
23-Feb-21 18:49pm
View
Another possibility is that your program "maynotrun.exe" will have some user permission set to "deny execute" and this user will not be able to start this program by double click. However, using "run as" on the same "maynotrun.exe" will execute it, if another user will have an "execute" permission... Perhaps this is useful in this case, Cheers,
peterkmx
15-Nov-20 8:04am
View
Thanks for your feedback
Glad I could help ...
peterkmx
14-Nov-20 15:40pm
View
Hi,
Using Python 3 in a Jupyter Notebook I modified your code as follows
x = 7
a = 12
sestdiena = x//a
sestdienaa = x%a
print(sestdiena, str(sestdienaa) + "/" + str(a))
print("Sestdien piepildīja" + str(sestdiena) + "kastītes, nepilnajā kastītē bija" + str(sestdienaa) + " olas .")
and in this case the result is:
0 7/12
Sestdien piepildīja0kastītes, nepilnajā kastītē bija7 olas .
There is no error ...
To practice Python, I suggest that you install Anaconda and use Jupyter Notebooks as it is an interactive environment, or use an online Python snippet tool such as this one
https://paiza.io/projects/l6x0MkNrSGtCjY46G_QZnA?language=python3
Both environments are really helpful when learning Python
Hope that this helps ...
Cheers
peterkmx
14-Nov-20 4:33am
View
Hi, Concatenating refers to using + operator to "attach" string variables such as s = s1 + s2. Another hint is that Python has implicit typing of variables. When creating a variable, Python compiler understands its type automatically and remembers that. We humans cannot see this immediately in the code and have to remember this. Variables such as
a = 2
b = "xyz"
have different types, in this case integer and string ...
Does this help to see the problem ?
peterkmx
1-Jun-20 6:43am
View
This is a bit off-topic, but I "still" use a Fujitsu Siemens offline laptop with Windows 2000 to collect/play music tracks :-), this rather by coincidence, or a habit ... BR
peterkmx
15-May-18 11:53am
View
Ooops ... sorry. I will keep it in mind ... In the meantime I found a reference to ADMS specification (http://www.w3.org/TR/vocab-adms/) , as I was curious about ADMS part, but I have no further insights ...
BR
peterkmx
18-Oct-17 7:27am
View
Indeed, the complexity metrics of this code reaches 360, while a "usable" complexity level should be lower than 50 I think ...
peterkmx
14-Jun-17 10:04am
View
Use case question: may the text before * also be red ?
peterkmx
6-Jan-17 6:26am
View
Ha ha ... this is a virtual solution thus using delegation,
valid approach, clear and simple ...
peterkmx
22-Mar-16 6:07am
View
Deleted
perhaps an #include is missing for getpid() and getppid() such as #include <unistd.h> ??
peterkmx
2-Mar-16 7:49am
View
and also, logon on the local machine with impersonation credentials and try browsing to the target folder on the remote machine. If this is not successful, than permissions needs to be added to the folder on the remote machine ...
peterkmx
2-Mar-16 7:44am
View
Please logon on the remote machine and check if the folder there has a RW permissions for the domain user used in impersonation
peterkmx
30-Jul-15 11:41am
View
This question has several parts which you can try to solve separately for example
- install SQL server latest Express Edition and use a Winform to send / extract data froù SQL server
- next try to do something similar but through IIS 7 asp.net
- etc
Going in steps through your scenario will help to understand how to do all parts ...
peterkmx
14-Apr-15 2:38am
View
Sounds good, thank you for providig feedback ...
Show More