Can someone share some python code that sees if a process is running? example:
If notepad.exe is running on box then
return 1 (or kill notepad)
else
return 0
Thanks. newbie to python here
Newbie to python here. How do I trim the full path to a folder string to just the folder name
example - full path = "C:\\my test folder\myfolder"
desired string output = "myfolder"
Thanks for the help.
Newbie to VB here. When coding, If I have a really long array or function, how can I continue the line of code to the next line so its readable?
example
vtests = array("test1",........
..........
.........., "last test")
Thanks for the help.
snotmare, I looked at that thread and it is about "After update property on a form". I do not see how that relates to my question on creating multiple folders based on path
Newbie to VBS here. So far this forum has been very helpful to me in learning. I would like to create a script that creates a folder based on a path that I pass in. The problem I have is that depending on the path, multiple folder may need to be created in order to drill down to the correct...
I am a newbie so please be specific. How can I read in 1 line at a time from a file.txt. Example:
-blahbla-,my name is blah,ok' I amhere
'omally,-myname 'isomally,oneword
......
I will use strtkn to parse each line by comma. I need to figure out how to read in one line first though before I...
No I checked on that. What I found is that when you update some controls on a form (like a combo box) it actually updates other fields to different records. Therefore I think I cannot compare OldValue and Value for those fields since they were basically switched. Is there a way to find out if...
I am trying to build a module that will write a log everytime Dirty is true. Right now I just call this module from various forms using the Before Update event. Some forms it works fine but other forms cause an error 3251 - Operation is not supported for this type of object. It will happen on...
I have 13 Queries which find items based on certain criteria (e.g. find objects that are red, find objects that are square, etc.) I would like to be able to generate a report based on all the objects found from the multiple queries. Keep in mind that the queries may have found the same object...
Hi I'm a newbie to VBA and Access.
I want to build a form where I can check status values like "Not Designed", "Designed", and "Changed". Based on what words I checked I would like to generate a report to list the items that have these status values (e.g...
Hi I am a newbie to ACCESS and VBA. I need to write a VBA script module to search an existing table for like records based on a field (e.g. find all records in animal table that are dogs). I then need to write all the found record field conents into one field of another table (e.g. when you...
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.