control

How to make a LevelMeter from a Stream data?

I have an Input Audio stream data, VARIANT type, PCM data, 8000Hz, 16bit, Mono. I just want to make a LevelMeter from it that moves Up and Down as the person talk to the Microphone. Like what windows did in "Volume Mixer" in windows Vista and Seven. Is there any ready Control to use? ...

How can I host a c# control in a win32 app?

Hi, I've developed a c# control, and I can reuse this in other c# apps and that works really well. However I want to host this control in a Win32 c++ app, is there a way to do this? I was wondering if it would work with managed c++, however I can't quite figure out if this is possible. Any help would be gratefully received. Cheers R...

WPF Custom Control "OnSourceTypeChanged" method is not invoked

Hey pals, let's put it short: I'm trying to create a WPF custom control that inherits from WPF Image. I have added a dependency property called "Source Type" to my control so that when databound it sets the "Source" property of the image to what I want. But the problem is that my method to perform the source changing task (i.e "OnSourc...

Sharepoint Custom SPFieldLookup save just one value

I have write a custom field that extends SPFieldLookup. I set AllowMultipleValues = true; Here is Field Control Value: public override object Value { get { EnsureChildControls(); SPFieldLookupValueCollection vals = new SPFieldLookupValueCollection(); ICollection s = TinBaiLienQuan...

Custom control with invalid property generates no error

for examle <app:CustomDropDown ID="test" runat="server" InvalidProperty="SOMETHING" /> This does not generate an error. Sometimes i spend hours trying to figure out why my custom controls are displaying no data. Most of the time it turns out they are using and old non existing property and yet no error is generated on execution. What...

Volume Control in Processing (java)?

hi, I'm working on a Processing project. I tried to set the Volume of the audio played with the minim library. (setVolume seems not to be supported, and setGain has no effect) So, I'm wondering whether there is no other, simpler way to control the audio in Processing? Or are there some Java commands, that can be used directly? (In fa...

Error while binding Treeview Control with Database using NHibernate

Hi Friends, Here is the code explanation and mapping files of my application private void PopulateNodes(IList<Folder> Values, TreeNodeCollection nodes) { foreach (Folder r in Values) { TreeNode tn = new TreeNode(); tn.Text = r.folderName.ToString(); tn.Va...

IE does not display a .NET Windows Form control.

I have an identical asp.net application hosted on two computers, PC1 and PC3 on the intranet. The .NET control is hosted using the object tag. The following three url when executed on PC1 work properly: http://pc1/test/test.aspx (The other two urls have pc1 replaced with pc3 and localhost) All three urls in IE v8 show the page with t...

PHP Library for Authentication and Permissions/Access Control

Until now, I've been the only person who has had access to the editing tools/forms for my sites content, so using http authentication in an SSL protected directory has worked for me. About to add someone to the content entering team so I'm wondering what PHP libraries you'd recommend for authentication and permission/access control to t...

C# sockets model view control

the following is part of a socket class that im working on. what i am stuck with is in serverEndAccept i would like to pass/return a string indicating the accept has been successful. for these am i to use delegates? also by declaring delegates would it not breach the application Model isolation? i.e. i need this to be an independent clas...

My control panel applet getting icon of old version.

Hi, I have installed my control panel applet and I can see the icon (icon1) for my app when I open control panel. I have created shortcut onto desktop. Now I have uninstalled it and installed new version of the same applet which has new icon (icon2). When I open control panel, I still see the old icon (icon1). When I launch the progra...

Simple WPF Custom Control - How to set background color?

I've created the simplest possible WPF control - It just overrides OnRender and draws a red rectangle. However ONLY when setting the Background in XAML to Blue, the control is all blue with no red showing. If Background is not set, the red rectangle shows no problem. How come the red rectangle is not displayed over the blue backgrou...

Is there a Delphi 'joystick' control?

I'd like to align an object in X and Y by eye using the mouse to move it into position. I can roll a solution by using various spin controls (or buttons) but it's messy and I got to wondering whether there is a control - like a joystick - that provides 2-axis control using the mouse and fires events at rates which vary depending on its p...

Google like edit/combo control for Delphi ?

Everyone probably knows what I mean, but to clarify the control would need to: Fire an event when user edits the text. The event would provide a SuggestionList: TStrings which you could fill with matches/suggestions. if the SuggestionList is not empty a drop down should appear. Unlike combo, the control should not attempt to automatica...

.NET GUI control library for an (audio) player

I am going to build a player GUI control (a C# user control) for playing audio and other streamed data. The control should have at least the following controls: Pause/Continue/Forward/FastForward etc... as Buttons (with icons) Current position as some form of a slider Current time as digital clock Especially I am looking for a nice t...

Is there a control character to start a printer?

How to control the printer to start printing using printer's control language? I know there exist some commands to control the printer but I haven't found it yet. So I wondering how the printer knows when it could start printing? ...

Cast server control inside login control which has been converted to a template asp .net

Hi I have a simple hyperlink server control which i am trying to reference from my code behind page. It is inside a Login server control (shows the username and password boxes to login) which has been converted to an editable template, and this is also inside a LoginView. I can easily reference a server control outside of the Login co...

Seeking COM-based Tree control with specific features

Hi All, For reasons I won't go into, I need a COM-based tree control with the following features: C# accessible Multi-node select Drag/drop nodes within the same (and possibly different) instances of the control within the same application 32 and 64-bit compatibility I had nearly settled on Bennet-Tec's "TList" control, but found th...

html input Hidden Control Event, when value set

HI, In javascript when value set to input hidden control,which event is occurPlz Help for me ...

Control Add PostBack Problem

Hi; I Add Control Dynamiclly but; easc Postback event my controls are gone. I Can not see again my controls. So How can I add control ? ...