I am developing an application. i can play my button with a sound but how to record this sound.
i've searched this coding in a week but i had nothing. all source is about recording voice.
please help me.
thanks
Note: marked as community wiki.
Is there a good analysis of why visual programming languages still haven't taken off? We're still coding these days 'linearly' in a 80x25 text window; while the concepts we represent (data structures, algorithms) seem like they can be more intuitively represented visually.
Note: marked as community wiki.
Is there a good analysis of why visual programming languages still haven't taken off? We're still coding these days 'linearly' in a 80x25 text window; while the concepts we represent (data structures, algorithms) seem like they can be more intuitively represented visually.
how can i insert a TextBlock control in a Hyperlink in c# coding. similar to
<TextBlock> <Hyperlink>a</Hyperlink></textblock in C#. i'm unable to find content property in Hyperlink. Thanks in advance.
I used program C, and now im doing some web coding, is there a place I can switch the VS toolbox layout from C++ to some kind of web design view? Thanks
UPDATE `play` SET `counter1` = `counter1` + LEAST(`maxchange`, FLOOR(`x` / `y`) ), `counter2` = `counter2` - LEAST(`maxchange`, FLOOR(`x` / `y`) ), `x` = MOD(`x`, `y`) WHERE `x` `y` AND `maxchange` 0
As you can see, " LEAST(`maxchange`, FLOOR(`x` / `y`) ) " is used multiple times, but it should always have the same value. Is there a way to optimize this, to only calculate once?
I'm coding this in PHP, for the record.
So I am in Excel trying to read the last saved metadata from an Access database, but I cannot figure out how on earth to do this.
If I use environ$("username") it will give my the last saved information for the excel document where I am coding, not the access db that I want it to grab from. Excel has a built in function for grabbing username data, but I cannot find one for access.
How can I do this?!
Any help is greatly appreciated!
Hi. First I have to say: Happy Christmas to All!
I'm starting learning classes in PHP. I coded that:
class User {
function getFbId($authtoken) {
}
function getFbFirstName ($authtoken) {
}
}
What I want to do is something like that: $user=new User($authtoken); And pass the $authtoken to the class. It's possible to define that when starting the class. It's possible to retrive that value inside a function of that class?
While coding I created a class that extended ArrayList< and implemented Iterator<.
Obviously Netbeans reported an error, because ArrayList itself implements Iterator.
What rule of Java Specification prevents this?
Hi All,
I am pretty new in developing cocoa applications. I have developed a small UI application using cocoa. I wanted to add some information on about screen, currently it shows the app name and version which is 1.00.
Can any one help me how i can add some information in about screen, is it possible to add information programmatically instead of hard coding it ?
Any help will be appreciated.
Hello, I'm coding a uploader that saves into the db the date when a file is uploaded using CURDATE(). I want to compare the current date with the one stored into the db in order to change the color of the icon related to the file depending on how long has this feel been uploaded. For instance, if less than a week, the icon will be green, if more than a week, it will be yellow, if more than two weeks, red. How can I do it? Thanks.
i try to play a music file in my coding, but failed. i have my music file in the same folder which save .cpp file.
can someone help me?
my code is:
#include <iostream>
#include <windows.h>
int main() {
PlaySound("kenny g.WAV", NULL, SND_ASYNC);
}
Are you an iPhone developer using tools other than Objective-C for your coding (i.e. Phonegap, Unity3d, Monotouch, Corona or Titanium, etc?)
Have you heard of or read section 3.3.1?
If you are concerned vote on the petition at [solicitation removed - see history]
Join the facebook group 'Article 3.3.1' and have your say: [solicitation removed - see history]
And most importantly contact apple through their web portal and ask for clarification
Im trying to make a program that captures a video from the webcam and sound from the microphone but im getting stuck at the part where ive try to make a movie out of still images
ive heard you need to use directshow but it doesnt jet work for me
Does someone know a good piece of example code that captures video and sound and can encode it to a file (divx or something like that) ?
or some suggestions where to look so i can build it myself
(if a other programming language is better for this im happy to know it early. )
What is the best way or recommended best practice in the flow of database driven asp.net web application? I mean the database first or coding first or side by side?
I have CCNet setup to talk to our SVN repository, which has it's ACLs setup using Active Directory groups. This is working fine, except I'm not happy with having the user name and password of the AD user stored in plain text on the CCNet instance.
Is there a way to either encrypt the AD username/password, or get the CCNet service (I've tried running the service as the user and removing the the username/password section of the CCNet/SVN config) to use a domain account outside of the standard config?
What is the best way (using HTML/CSS) to create an iTunes-style layout with the following features:
a left column with a fixed width but
fluid height (scrollbars for
overflow) (BLUE below)
a main content column with
fluid width and height (scrollbars for overflow) (RED below)
a bottom right
box with fixed width and height which
remains stuck to the bottom of the
browser? (GREEN below)
Here is an example:
I'm happy to use Javascript/JQuery if there really isn't a pure CSS solution.
Thanks!
Hi,
I am having trouble getting indentation to work in Vim. I am coding in C++.
I use vim.nox on ubuntu 9.10
I have filetype plugin indent on
I also tried set cident , set autoindent, set smartindent etc.
Automatic indentation does not seem to work.
I have coding for onmousemove event working well in firefox and IE......but not in chrome
var mouse;
function storeMouse(e) {
if (!e) e = window.event;
mouse = { clientX: e.clientX, clientX: e.clientY };
}
function test(e) {
alert(mouse.clientX);
if (mouse.clientX < 150) {
var agree = confirm("Are you sure to leave this page");
if (!agree) {
return false;
}
else {
}
}
}
Can anyone help me.
Is there an alphanumeric sort for R?
Say I had a character vector like so:
> seq.names <- c('abc21', 'abc2', 'abc1', 'abc01', 'abc4', 'abc201', '1b', '1a')
I'd like to sort it aphanumerically, so I get back this:
c('1a', '1b', 'abc1', 'abc01', 'abc2', 'abc4', 'abc21', 'abc201')
Does this exist somewhere, or should I start coding? Thanks,
-chris
hi ... i am new to Android, i am creating game app. i have 3 images in screen. if i click the image it should animate ie it should show open and close that particular image.
Then i have to shift the images. ie i want to swap first and second and second with third. can u help me with coding.
I am in the process of designing a 3D Map panorama viewer using papervision3d for the 3D library. I am coding entirely in ActionScript3 using FlexBuilder.I want to put esri:map in papervision3d.have no idea how to do this. Thanks for any help.
Say if I have a locationManager(LM) object in activity A, which is my main menu. All the sub-activities need to use LM. In a good design, should I pass LM object to sub-activities? How? Please suggest some good coding pattern. Thanks.
When coding, I often come across the following pattern:
-A method calls another method (Fine), but the method being called/callee takes parameters, so in the wrapping method, I pass in parameters. Problem is, this dependency carrying can go on and on. How could I avoid this (any sample code appreciated)?
Thanks