I am trying to create a VB program in which it will constantly grab and display the current left and right channels volume level for windows 7.
Sadly i cant show code as i dont know where to start! Been searching the web and i seen information saying i needed to download or locate the file "CoreAudio.dll". But sadly i searched my machine and cant find the file.
I just want to be able to have live feeds off the left and right channels and display it in a progress bar. <-- That i can get working but to do all that i need to acquire the information first! Which i cant do, could anybody assist me or point me in the right way for obtaining such information?
EDIT:
Perhaps i can read the values from the registry?
If someone could give me the location of the balance levels (registry location) that may help!
Would be highly appreciated.
Thanks.
I just outputted the information to a .ini file as i could grab info from autohotkeys script i made and so i have a onchange event listener on vb so when the file changes (which will only happen when i output values) then pull the volume info stored.
Best and only way i could achieve this.
Would be best if someone could resolve the main issue and somehow get values from registry or some other way!
Related
How I understand it, in Colaboratory two people can write code in the same document at the same time. This doesn't seem to be working for us: we are coding in separate sections, but are still struggling to figure out to keep both of our changes. We get the notification below:
"The notebook has been changed outside of this session. Would you like to overwrite existing changes?"
or "Save Failed". Then I get two windows with my edits and his edits, but am unaware how to accept both overides.
Your guidance is much appreciated.
The information I was reading was out-of-date. Google Colaboratory removed the real-time edit functionality:
https://github.com/googlecolab/colabtools/issues/355
I ended up corrupting my database to where every time I attempt to open it, I get error 3022, "changes you requested to the table were not successful because they would create duplicate values in the index."
Recovery of the file does not seem possible and my previous back up is a month ago. I have been able to extract everything but the Modules, which is what I need to recover the most. None of the standard ways I have found work because they require the ability to open the database (For example, trying to set it as a VBA reference still give the same error.)
Is there any way to get the modules or code out of the file without opening it?
Edit:
Was finally able to get access to the file. Using DBEngine.CompactDatabase it was able to do a compact and repair. The issue has boiled down to the "MSysAccessStorage" table is corrupt, and says "Id is not an index in this table". I know have access to everything, except the modules, which I can't open without the MSysAccessStorage working.
I'm going to keep poking at it but I'm not sure what options I have for fixing a system table. Any ideas would be helpful.
Unfortunately, the Visual Basic for Applications project has been corrupted. The original database doesn't even have any VBProjects when listing a count. I'm going to call this one a lost cause. Thanks everyone that tried to help.
I'm writing a "set priority" app and I need to ask a couple of things. I can get a list of every running process, and I want to be able to change their priority. Do I need to know the absolute path of the process to be able to do that?
I've read that you can get the full path to a process with the registry, but not sure of that. If anyone can help me out, I sure would appreciate it.
We have an ERP Program used to create and manage stock / orders. Somehow an order has vanished - this should not be possible. It should be possible to cancel an unwanted order, but never delete it completely.
The order in question was created, printed and sent to a customer - and then disappeared. I know the Primary key and Table info, and want to search the log to see if this was somehow deleted, or perhaps there was a rollback.
How can I translate/search the log in this way?
Please note: I did not write this program, and its not my job to fix it.
I just need to diagnose the issue and contact the SW Vendor, if required, and have them fix it. As such I cannot post any code.
With so little information it is hard to give a definitive answer.
I'd start by searching the regular logs. If you have some kind of audit trail mechanism that would be a great help!
If a search through the regular logs doesn't find you the answer then I would:
Get a copy of the database
Go through the REDO logs using the appropriate DBA tools. Since I'm not an sqlanywhere DBA I would get help from one.
When I found the place in time where the order was deleted I would find any other information I could get. The user that did the commit or users that where logged on at the time (I don't know exactly what kind of information you can get here). Also, go back to the other logs you may have and check around that time stamp.
To learn exactly how to go through the redo logs of an SQL Anywhere database you should first try your google luck and then ask in Database Administrators.
Solved!!!!
The Sybase Central tool has an option (which I couldn't find in the manual and missed the first time I looked), which can translate a log file into a series of statements and create a *.SQL file.
Tools -> SQL Anywhere -> Translate Log File -> Follow wizard (which hopefully for you is in a language that you speak, for me it was not).
I have change pointers set-up for material master data and it is already working. Now, I have the requirement always send the whole material information to the external system. When doing manually in BD10, I can select the option to send the full material. However, when using change pointers and the program RBDMIDOC, there does not seem to be a proper way to do it.
I have searched around and the solutions seem to be creating a custom program (copy of RBDMIDOC) which implements the logic to manually change the table BCDP to fool the system to send the full material information.
This does not look like a good solution.
Any advise how this requirement can be realized "properly"? I don't think I am the first to have this requirement...
Thanks a lot for your answer(s)!
My solution was to set the fldname in the change pointers to the special value of "ALELISTING". This will cause the system to send the whole material master data via the IDoc. Note that this might only work for material master data but not other IDocs.