15,892,746 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 Cody O'Meara (Top 31 by date)
Cody O'Meara
10-Oct-23 10:36am
View
Hey Dave,
I finally understood what you were saying and resolved this. Switching to "Run only when user is logged on" fixed it. Thanks!
Cody O'Meara
6-Oct-23 16:09pm
View
Only one user is logged into the computer and is on almost up 100% of the time. This computer is used only for automated processes but first time using python. I may just end up making my own service that runs in the background instead of using Task Scheduler. See below link with screenshot of potentially helpful info, maybe something will stick out that you will notice. Thanks again for helping!!
https://gyazo.com/c9978a98860c18e762fca9303cc4bd34
Cody O'Meara
5-Oct-23 19:08pm
View
Hello! Thank you for some troubleshooting steps. I should of clarified. This is a normal user account in the domain, it is just associated with our Administrators group which has Full control over the network location, as well as printers, at least it should.
This might help. I just removed the "print" operation from my method (os.startfile(file_path)) so it should just open the file in adobe. Same thing, work fine when running the .bat file manually - opened in adobe as expected, but doesn't with the Task Schedule. Odd...
Cody O'Meara
15-May-23 15:40pm
View
Thank you! I should read better. This resource helped me to resolve https://learn.microsoft.com/en-us/sql/connect/php/cursor-types-sqlsrv-driver?view=sql-server-ver16
Cody O'Meara
9-May-23 10:49am
View
Perfect, knew it was something so simple... Thank you!
Cody O'Meara
16-Mar-23 10:36am
View
Removing the "deploymentProvider" snippet from the .application file wasn't working. Also in the publish Wizard having the do not update option was not enough when republishing. I went to Solution Properties > Publish > Updates and under "Update location", I cleared out the location to be blank and was able to successfully install. Thank you both for the help.
Cody O'Meara
15-Mar-23 16:20pm
View
Perfect, thank you! One thing I will also try tomorrow is deploying it from another workstation that has VS2022 installed and see if it publishes the same way. Thanks again!
Cody O'Meara
15-Mar-23 16:14pm
View
I adjusted the question. The "completed" was referencing that the app is complete but failed to install on the clients machine. The published solution and client are on two different machines.
Cody O'Meara
15-Mar-23 16:04pm
View
In VS, I went to "Build > Publish [app name]"
On the first screen in Publish Wizard, I "Browsed" to the network location that our other deployments are on. Normally at this point I would just click "Finish". But when I do go through, the "From a CD-ROM or DVD-ROM" option is selected and "The application will not check for updates" is also selected.
Cody O'Meara
28-Feb-23 9:45am
View
Thank you for your answer! However the control isn't in the .NET Framework Components tab under Choose items. Also when looking under the Add or Remove Programs, I don't see anything related to the Report Viewer. Even though its a pain, I think I'm going to try uninstalling my environment and start fresh.
Cody O'Meara
4-Jan-23 14:35pm
View
This works perfectly, Thank you very much!
Cody O'Meara
13-May-21 12:21pm
View
Thank you for the response! Tried it and unfortunately it results in the same thing.
I will definitely check out Hangfire!
Cody O'Meara
7-Apr-21 20:18pm
View
Unfortunately, the documentation from what I found did not explain how install/configure it as it was more of how to use.
And from what I did find on how to install from other sources, the results were not the same on my side.
Cody O'Meara
6-Apr-21 10:27am
View
Thanks Chris! This is very well explained and gives me a starting point to research further.
Cody O'Meara
2-Apr-21 8:44am
View
Thank you. This was one of the moments where I was working for around 12 hours straight, it was the end of the night and when you cant figure out the easy solution like this, its time to go to bed. haha! All set :D
Cody O'Meara
28-Oct-20 18:01pm
View
Works perfectly! Thank you
Cody O'Meara
23-Sep-20 15:57pm
View
Eventually figured it out and that was it! Thanks!
Cody O'Meara
9-Sep-20 20:37pm
View
Thanks for your reply Dave! I actually did end up going with the DGV. Not sure why it took me a bit to realize that would be better!
https://gyazo.com/1ece30bfcf0685df7317d01a7fefb3bb
Cody O'Meara
28-May-20 17:31pm
View
Here is a link to show my 2 tables. The ones highlighted should be displayed as they are not in the fullName table.
https://gyazo.com/66a84d81c7214cfc7d0dd9a41962bce0
Cody O'Meara
28-May-20 17:21pm
View
Thank you for the response. Unfortunately I'm coming up with 0 results
Cody O'Meara
28-May-20 17:11pm
View
a example:
Results table:
ABC 1999-05-28
ABCDEF 2020-05-28
Cody 1999-05-28
Employees table:
ABC
Cody
Ted
ABCDEF
After using the dateTime = CURDATE() which is 2020-05-28, I need it display
ABC
Cody
Ted
as there was no results submitted on the CURDATE(). Since ABCDEF in on the CURDATE() it does not need to display.
I guess I should add some background. At our place of work, every morning a user fills out a daily health assessment. We want to be able to see who did not fill out the assessment that day, just for reporting.
Cody O'Meara
28-May-20 16:57pm
View
Thank you for your help! Unfortunately this doesn't seem to be working. For more of an explanation. In my 'employees' table, I have 100 records. In my 'results' table, I have 75 records(after the where 'dateTime' clause). I want to display the 25 records that is not in the table'
On the 'DateTime' subject, In my results table, I have 500+ records and about 75 added every day. The 'Datetime' filters it to only include today's results. Maybe I need to add where clause somewhere else?
Thanks again for your response!
Cody O'Meara
17-May-20 21:04pm
View
Do you know of another solution to sort of getting to what I'm trying to do? Its only data so maybe it can read it from another file instead of querying it directly?
I would think there would be a way, how do businesses send emails with buttons, personal information, and what not?
Thanks for the reply!
Cody O'Meara
17-May-20 14:04pm
View
So I eliminated the error by using \' as the quotes for some that was creating an issue. But now, I am having an issue around
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $conn->prepare("SELECT fullName, result FROM results where dateTime > CURDATE() ");
$stmt->execute();
// set the resulting array to associative
$result = $stmt->setFetchMode(PDO::FETCH_ASSOC);
foreach(new TableRows(new RecursiveArrayIterator($stmt->fetchAll())) as $k=>$v) {
echo $v;
}
}
catch(PDOException $e) {
echo "Error: " . $e->getMessage();
}
$conn = null;
echo "";
Cody O'Meara
16-May-20 23:51pm
View
Thank you for your response. I checked the syslog and everything looked good:
CMD (/usr/bin/php /var/www/html/tsl/email1.php)
Just for the heck of it, I deleted the line in the crontab. I reentered including the root and it is working now. Thank you so much!
Cody O'Meara
19-Apr-20 15:06pm
View
Hello! Unfortunately I was unable to get it to work properly. I ended up doing something else. It wasn't as good as this could of been unfortunately.
Cody O'Meara
26-Nov-19 14:18pm
View
I probably am missing something. I have this "totalRows = tabledgv.Rows.GetRowCount(DataGridViewElementStates.Visible) - 1" for getting total rows. It does work as I have a label that displays on load to which is correct amount. I also have this checker"If newNum > totalRows Then newNum = 1 End If" to reset back to the first row which there are 2 rows with data. Happens when trying the second row. This happens before the check to see if strCellValue equals nothing.
Cody O'Meara
26-Nov-19 14:18pm
View
Deleted
I probably am missing something. I have this "totalRows = tabledgv.Rows.GetRowCount(DataGridViewElementStates.Visible) - 1" for getting total rows. It does work as I have a label that displays on load to which is correct amount. I also have this checker"If newNum > totalRows Then newNum = 1 End If" to reset back to the first row which there are 2 rows with data. Happens when trying the second row. This happens before the check to see if strCellValue equals nothing.
Cody O'Meara
26-Nov-19 13:58pm
View
Thank you for the response. Correct. Inside the cell there is no value so I'm trying to get it to say "N/A" when there is nothing in the cell.
Cody O'Meara
26-Nov-19 13:40pm
View
Thank you for the response RickZeeland. I change it. Now getting Suppression State
Error BC30020 'Is' operator does not accept operands of type 'Boolean'. Operands must be reference or nullable types.
Cody O'Meara
24-Oct-19 12:01pm
View
Worked Perfectly. Thank you!
Show More