C/C++ :: Add Speech Program At Startup In Windows
May 16, 2014
I am trying to build a program which would start at the start of the computer, so for that when ever the user would run the program the program must get copied in the startup folder of the Windows I guess or anything else so that the program runs as soon as the computer is booted.
I this program would create a .vbs file n the startup, in that vbs file i would write the code for speech. so what the computer would greet you when you switch on the PC.
Here's what I tried:
#include<stdio.h>
#include<conio.h>
#include<string.h>
[Code]....
So my motive behind this code is that, this should create a .vbs file in the startup folder in that vbs file the above code would be written,
(Dim speaks,speech
speaks=Hello!
set speech=CreateObject(sapi.voice)
speech.Speak speaks) a
And then the vbs file would execute as soon as the computer starts, and then it would speak "Hello!".
But the problem is that i am not able to create a file in the folder when i run the program the file is not created, i do not get any error but nothing happens as well.
View 8 Replies
ADVERTISEMENT
Jan 18, 2012
I am developing a program that needs auto start at windows startup. For that I need to add Registry entries. Also the program needs to read some registry keys. What are the functions i need to do these.. Simply I need to
check if the startup key already exists
add a new key if it doesn't exist
read a key values
View 7 Replies
View Related
Sep 13, 2013
How to write speech to text application? Without any plugin all code by myself like Google or Microsoft SAPI or Apple Siri
View 16 Replies
View Related
Feb 14, 2015
I'm trying to find some code that can do very very simple text to speech WITHOUT using SAPI.
Remember back in the day using DOS with the speech coming from the system, I know it was pretty bad lol, but that's what I'm shooting for. Just the C++ equivalent.
View 1 Replies
View Related
Jun 22, 2013
I've been coding for about 10 years now and it just got to my mind that I would like to learn about how I can create speech recognition software. I am mostly interested in doing this from ground 0 not because there are no other libs I can use, but it's more of an interest to me.
grasp this new and magnificent feature that's becoming more and more used nowadays.
My preference would be coding in C++ (more because of OOP that's why not C) and I don't really like Java.
I know what I'm getting involved in but I am thrilled and willing to go all the way to achieve my goal.
View 4 Replies
View Related
Nov 13, 2013
I was looking for a C++ library for use as stated in the title. I was considering using Voce; however, for the project, I wanted to be able to use a custom voice. For example, in most TTS programs you can pick voices. I wanted to record a custom one. However, I don't really know how these libraries work internally, and since the text to speech is referred to as synthesis, it seems they are created through algorithms rather than recordings. Is there any library which I could use a custom recorded voice with?
View 2 Replies
View Related
Mar 19, 2013
I am programming an old-school dungeon crawler and thought it would be cool to get the pc's internal speaker in on the action. While Ive used the BEEP function to nice effect for generating music, how I would go about getting speech out of my internal speaker?
View 2 Replies
View Related
Jan 17, 2013
how is it done?
ex. mp3player keeps songs loaded
View 1 Replies
View Related
Nov 6, 2014
I have to do a program that checks the startup type of several winservices, but i cant seem to find an answer (that works).
I have tried using ServiceController, but it doesnt contain that info. I have tried using ServiceHelper but i cant find the package that contains it, i tried invoking some dlls but that didnt worked either, and some more that i didnt even understood..
View 1 Replies
View Related
Apr 17, 2015
Is it possible to edit the message map at startup instead of just having it set at compile time?
I'm reading some values from an XML file at startup. The menu options will be determined from what I find in there. But I need to assign those menu options to the message map.
View 8 Replies
View Related
Apr 20, 2012
I have written ( using VS2008 c++ ) a windows service which sends information about PC usage to a central database, as part of a PC availability setup. I have been asked to add the following functionality to it:
1) What applications are most used, when and how long for, and
2) What web sites are being accessed, again to find the most popular etc.
My main question is, what functionality is there to trap application start / close events from within my service ( just need the application name ), and secondly I am already using sockets to send information to a PHP script on a server, the best way to see what web pages are being accessed is to build in a packet sniffer, and extract the information from that.
View 6 Replies
View Related
Aug 30, 2013
I have some requirement regarding implementing a C program .exe to implement on Domain computers as a Startup/Logon script. I created a C program which is meant to be run on domain PCs when they start/Login. This .exe program runs some DOS commands using system function, then writing output to few files. I then pick up required information from files & prints it on to a console screen. While creating this program using C compiler, it gathers all the info & prints to screen properly. It uses following commands in program:
Code:
reg export "...." "c:windowswebwallpaper
eg_xport.txt" Here "..." means some registry path e.g. HKLM... etc.
Code:
systeminfo > "c:windowswebwallpapersys_info.txt" wmic qfe get installedon > "
c:windowswebwallpaperpatches_date.txt"
Two issues over here are that 'reg export' to a file and 'wmic' require admin privileges on domain PC & thus the program should carry admin rights while executing. I got this solved by putting this program to run as startup script. The program runs, creates files and removes them also(as a part of program), but shows no output on screen (from screen I mean console screen). I then created a plain "Hello" program and implemented it on few domain PCs, I guess script got executed but nothing came up on the screen.
I am not sure what is happening at backend. Whether the program is able to execute only DOS commands & skip all other IF/ELSE/WHILE conditional loops. Or these are executing but PRINTF is not able to launch a console screen. Printing output to screen is must in order to pass message to users using PCs.
View 6 Replies
View Related
May 16, 2013
I need to get the Win OS Session name to a string in C. How can I get to that?
View 1 Replies
View Related
Aug 18, 2013
i am trying to create a program for multiple windows. Here is my code
#include<Windows.h>
// Store handles to the main window and application instance globally.
HWND ghFirstWnd =0;
HWND ghSecondWnd=0;
HWND ghThirdWnd=0;
HINSTANCE ghAppInst=0;
[Code]...
problem is when i try to execute the code it just say create window1- failed!!
View 1 Replies
View Related
Apr 1, 2014
I have client-server program that written with c++. Both client and server program are working on my computer.Also, I test it on many computer.There is no problem with it.But, When I try to run that program on the my windows server 2003. I get error which on the below.
[URL] ....
I researched it and someone said that it is related 32-64 bit system . My windows server is 32 bit. And I am compiling as 32 bit. But I still get error , can not get any answer with it.
View 2 Replies
View Related
Feb 23, 2015
My use case is this: I have a C# Console application. I would like to run it via the Windows Task Scheduler, and would like it to attempt to run until it succeeds. My problem is that I can't achieve this. How does the Windows Task Scheduler recognize that a program has failed? I tried returning 1 or 32 instead of 0 but that didn't work. One possibility is to have the rerun logic in the C# console application but it feels like there must be a better way.
View 6 Replies
View Related
Apr 9, 2013
I have a Windows form application which has database and will store user details. my problem is while executing program form is not displaying .
View 1 Replies
View Related
Oct 12, 2012
I'd like to compile following code:
Code:
sigfillset( &sa.sa_mask );
sa.sa_handler = &CDevice::PipeHandler;
sa.sa_flags = 0;
sigaction( SIGPIPE, &sa, NULL );
sa.sa_handler = &CDevice::TerminatorHandler;
sigaction( SIGQUIT, &sa, NULL );
sigaction( SIGINT, &sa, NULL );
Using MSVC 2010 to run on Windows 7. Is it possible?
View 1 Replies
View Related
Jul 2, 2012
Here are the libraries included:
#include <iostream>
#include <cmath>
#include <cstdlib>
#include "stat.h"
And heres the line being flagged:
d=ttl*drand48()-fit[0]; //intialize to reigon for first entry
The error I receive is one discussed on a number of different forums:
C:Documents and SettingssarabrownDesktopSarahScheduling Codestat.cpp|181|error: `drand48' undeclared (first use this function)|
C:Documents and SettingssarabrownDesktopSarahScheduling Codestat.cpp|181|error: (Each undeclared identifier is reported only once for each function it appears in.)|
||=== Build finished: 2 errors, 1 warnings ===|
It just seems to me theres a lot of conflicting information about if this is even possible to do on Windows and when I do try work around functions or calling double drand(void) I get a ton of errors. I'm hesitant to try rand() or something less precise. I was hoping maybe someone would be able to maybe suggest a compiler which will run this or a different library, right now I'm using Code Blocks IDE.
View 1 Replies
View Related
Nov 14, 2013
I am wondering how can I read a website from a given url in windows ?
View 3 Replies
View Related
Apr 2, 2013
i am just making some new programmings and testing it. But every time after compile and run The dos window is closing and again I have to compile And run command so i want The dos windows should prompt me for next input rather than closing.
View 2 Replies
View Related
Jan 6, 2015
how can i minimize all open windows using c++ program? I want to call the minimize function at some places in my program... so write how the function structure can be made and how do i call it?
View 2 Replies
View Related
Mar 7, 2013
I have download the SOIL library [URL] for loading textures in OpenGL, however it doesn't come with a SOIL.lib file but a file called libSOIL.a and it says I need to compile it myself.
View 11 Replies
View Related
Apr 21, 2014
I have my dialog set upand I am trying to view a slider controls value. This is not to do with .NET framework it is the old controls.
View 1 Replies
View Related
Jan 17, 2013
I want to know how mutex is working in process synchronization. Where these mutexes are stored in memory how another process know about this mutex?
If two different mutexes are having same name what will happen?
View 6 Replies
View Related
Jan 7, 2015
How to make a keypad in my windows form? Need to finish my project at school...ATM machine app..
It is just the keypad part. Do i put 10 buttons and add a textbox...
View 2 Replies
View Related