Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
GeneralRe: skipping access denied folders when using GetDirectories() Pin
dan!sh 15-Jul-09 0:39
professional dan!sh 15-Jul-09 0:39 
GeneralRe: skipping access denied folders when using GetDirectories() Pin
Luc Pattyn15-Jul-09 0:44
sitebuilderLuc Pattyn15-Jul-09 0:44 
GeneralRe: skipping access denied folders when using GetDirectories() Pin
dan!sh 15-Jul-09 0:53
professional dan!sh 15-Jul-09 0:53 
GeneralRe: skipping access denied folders when using GetDirectories() Pin
Luc Pattyn15-Jul-09 1:02
sitebuilderLuc Pattyn15-Jul-09 1:02 
GeneralRe: skipping access denied folders when using GetDirectories() Pin
dan!sh 15-Jul-09 1:33
professional dan!sh 15-Jul-09 1:33 
AnswerRe: skipping access denied folders when using GetDirectories() Pin
dan!sh 15-Jul-09 0:36
professional dan!sh 15-Jul-09 0:36 
GeneralRe: skipping access denied folders when using GetDirectories() Pin
lane0p215-Jul-09 10:47
lane0p215-Jul-09 10:47 
QuestionBeep() does not work Pin
gehbitte14-Jul-09 22:44
gehbitte14-Jul-09 22:44 
I implemented some sort of Beep functionality to my Application, but I don't hear a sound:

[DllImport("kernel32.dll")]
        public static extern bool Beep(int Frequenz, int Dauer);

        
        public static void Alarm()
        {
            for (int i = 0; i < 3; i++)
            {
                Beep(500, 1000);
                Beep(1000, 1000);
            }
        }

        
        public static void Beep()
        {
            Beep(1000, 1000);           
        }


On my testform I click a Button to test this:


private void button6_Click(object sender, EventArgs e)
        {
            //Program.testwindow();
            Program.Alarm();
        } 


PC Speaker is ok, it beeps at startup. I am using Vista 64bit. Any suggestions?
AnswerRe: Beep() does not work Pin
Nagy Vilmos14-Jul-09 23:11
professionalNagy Vilmos14-Jul-09 23:11 
GeneralRe: Beep() does not work Pin
DaveyM6914-Jul-09 23:22
professionalDaveyM6914-Jul-09 23:22 
GeneralRe: Beep() does not work Pin
Nagy Vilmos14-Jul-09 23:28
professionalNagy Vilmos14-Jul-09 23:28 
GeneralRe: Beep() does not work Pin
Luc Pattyn15-Jul-09 0:32
sitebuilderLuc Pattyn15-Jul-09 0:32 
AnswerRe: Beep() does not work Pin
DaveyM6914-Jul-09 23:21
professionalDaveyM6914-Jul-09 23:21 
GeneralRe: Beep() does not work Pin
PIEBALDconsult15-Jul-09 18:20
mvePIEBALDconsult15-Jul-09 18:20 
AnswerRe: Beep() does not work Pin
Rajesh R Subramanian14-Jul-09 23:55
professionalRajesh R Subramanian14-Jul-09 23:55 
AnswerRe: Beep() does not work Pin
Luc Pattyn15-Jul-09 0:37
sitebuilderLuc Pattyn15-Jul-09 0:37 
AnswerRe: Beep() does not work Pin
gehbitte15-Jul-09 23:35
gehbitte15-Jul-09 23:35 
QuestionNeed help. Pin
mjawadkhatri14-Jul-09 22:21
mjawadkhatri14-Jul-09 22:21 
AnswerRe: Need help. [modified] Pin
Blue_Boy14-Jul-09 22:30
Blue_Boy14-Jul-09 22:30 
GeneralRe: Need help. Pin
mjawadkhatri14-Jul-09 23:48
mjawadkhatri14-Jul-09 23:48 
QuestionDatagridview to Database table Pin
5fingers14-Jul-09 22:10
5fingers14-Jul-09 22:10 
AnswerRe: Datagridview to Database table Pin
Vimalsoft(Pty) Ltd14-Jul-09 23:34
professionalVimalsoft(Pty) Ltd14-Jul-09 23:34 
GeneralRe: gridview to Database table asp.net C# Pin
5fingers14-Jul-09 23:37
5fingers14-Jul-09 23:37 
GeneralRe: gridview to Database table asp.net C# Pin
Vimalsoft(Pty) Ltd14-Jul-09 23:47
professionalVimalsoft(Pty) Ltd14-Jul-09 23:47 
QuestionHow to get listbox items to string? Pin
swetha_insoft14-Jul-09 21:04
swetha_insoft14-Jul-09 21:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.