Is there a command where i can change the windows volume ... or change the volume of the sound i'm playing in another way. I would like to automate setting volume to the highest setting. This is for a program i'm making to test a circuit's output. I tried searching on MSDN but couldn't find...
Ok problem solved. The poblem was this line of code:
ifstream inPath("Paths.txt");
I was exspecting to get certain things from this file. I never received them. Apparently when you click on the .exe the assumed path is that of the exe. drive:\somefoled\otherfolder\debug\filename.txt...
First Thanks. I haven't solved my problem yet but i know what to look into now. I usually wouldn't pass anything to main but i was looking at an example while writing some of this code. I took out the void same problem. I think the do loop should work but i changed it anyway. Still had the...
If you want to execute commands through the command prompt in c++ you should be able to use: system().
For example system("\"c:\\somedirectory\\Regfile.reg\"");
That will open the registry file Regfile.reg in c:\somedirectory. I hope that helps. If you need more info on it just look up...
I'll have to do some reading thanks for your help. I did try to look on msdn but couldn't find what i needed hopefully this will be it or at least put me on the right track.
Thanks
John
I may have mis represented what i want to do. If i understand your code correctly it makes a YesNo message boxand does something when someone clicks yes. I would like to respond to a windows message box that is already created with a Yes without having to click on the yes. (Probablly without...
I am having trouble responding to system message boxes. I am writting a program that causes Windows (2000) to basically say are you sure you want to continue? YES/NO. What do i need to do in my program to get it to respond YES? (Or NO or OK or whatever but in this case YES) Thanks a lot for...
...add functionality to a context menu handler i found online. The program adds a right click option to context menus for files. Right now it uses *foperation* and i have it running what amounts to be a copy function (i know how to easily change this to a move, delete ect. the standard...
Sub Item_Open 'runs when form opens
'Declarations
Set ComboBox1 = Item.GetInspector.ModifiedFormPages("Data").Controls("ComboBox1")
'Drop down menu assignment
ComboBox1.PossibleValues = "Red;Green;Blue;Other"
'Declarations
Set TextBox15 =...
I use the following code to disable/enable a field in Outlook. The problem is the field starts as enabled no matter what i do. I would like for the field to start disabled and only enable when the checkbox is marked.
Sub CheckBox1_Click()
Set CheckBox1 =...
After much guessing i got:
Sub CheckBox1_Click()
Set CheckBox1 = Item.GetInspector.ModifiedFormPages("Data").Controls("CheckBox1")
Set TextBox2 = Item.GetInspector.ModifiedFormPages("Data").Controls("TextBox2")
Set TextBox14 =...
I am trying to use VBScript to make an OutLook form for the first time. I can't figure out what i need to do to refer to a specific field. By looking at online documentation i thought that somehting like this might work:
Sub CheckBox1_Click()
Set HMM = CheckBox1.Value
If HMM.Value=True Then...
I am writting a program that retreivew file statistics of all the files in a given directory. I want to be able to retreive data about a file that is reffered to by a link in the directory i am searching. Ex. c:\Folder\Shortcut to destination.lnk whose target is c:\destination.txt. I found...
Can someone explain to me or tell me what i should read to understand what link targets that look like this means:
C:\Ateasy\Ateasy.exe /CC:\ateasy\J8142\cfg\180s-01.cfg /LC:\ateasy\j8142\prg\180sC00.prg
I understand c:\Ateasy\Ateasy.exe ... there is a folder on the c drive that contains the...
I believe i need namespace to use some of those functions. I currently can't do that because i'm using msvc++ 4.0. I talked to my boss and should be getting 6.0 or .NET soon, however, i don't have it yet. Nonetheless thanks for all your help.
John
I believe my problem was the eof error flag once set high didn't go low when i gave it a new pointer to the begining of the file. So now after the while loop finishes and eof state is reached I use in.clear() to clear the error states and then continue with the other things i was trying to do...
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.