|
How are you Friends in this forum ?
i need to know how can i make pc to pc calls in my application!!!
http://www.openh323.org[^]
i have seen this great website but unfortunately i didn't
know how to add these two main classes pwlib.dll and openh323.dll to my project . the solution told me that these classes are neither supported classes Dll nor Com files . So anyone here has any information about .
how to establish a pc to pc calls.?
Any help will be greatly appreciated .
Human knowledge belongs to the world.
|
|
|
|
|
I am not able to find, how can I display DataGrid data Only using UpperCase .
rosenvas
|
|
|
|
|
There are two ways to do it
1. Get the data in upper case from the SQL Server - Use upper.
SELECT UPPER(RTRIM(au_lname)) + ', ' + au_fname AS Name
FROM authors
ORDER BY au_lname
2. Use DataBinder.Eval if you are databinding the datagrid
<%# DataBinder.Eval(Container.DataItem,"[au_lname]").ToString.ToUpper %>
-
बुरा जो देखण मै चला, बुरा न िमलया कोय,
जो मन खोजा आपणा तो मुझसे बुरा न कोय।
Translation
|
|
|
|
|
Thanks, but I am using Winforms. This property is not there. Is there any other way to do this except the first one you have given.
rosenvas
|
|
|
|
|
Please any one help me
i want to make .net project and compile it as com component, i tried many ways but no one of them work, so please help me because i want it urgantly
|
|
|
|
|
|
To configure an assembly as a COM Interop, u need to do the following:
1.Click Project Properties
2.Configuration Properties
3.Build
4.Set Register for COM Interop = True
How ever that may not be feasible.For more information check out this article http://www.c-sharpcorner.com/Code/2004/Aug/Interoperabilityin.NET.asp[^]
Hope thats what u are looking for.
|
|
|
|
|
Thanks alot for your help but..
the problem here that I tried this way but it didn't work, I made class library and set this property to true, when I tried to register it in windows to be used in VB6 it didn't work
so please try to help me
|
|
|
|
|
Hi Rmedo
You need to register the .net assembly in the registry for the VB6 to be able to locate the code.
The "RegAsm.exe" tool is used for this. It should be in your .net framework folder.
Kind regards - Jakob
*********************************************
Three kinds of people in the world:
- Those who can count..
- Those who can't!
10 kinds of people in the world:
- Those who understand binary
- Those who don't
|
|
|
|
|
Thanks Jakob for your help
I made it many time but no use ( i think my pc have somthing error
|
|
|
|
|
Its already registered for you once you rebuilt your project, you cannot register it like a COM object regsvr32..Have u tried to call the object from VB? This is one way,the article i supplied you with describes tools that does exactlty that and explain .net interoperability with COM objects
|
|
|
|
|
Yes i tried to call it from VB6 but it can't read it
Thanks alot for your help
|
|
|
|
|
I use C#.net 2005
myserver : 2003
i want to get all user in LDAP
and i have username, password(Admin), path
some body help me !!!!!!
can u give me example
thanks
|
|
|
|
|
Hi.
I want in a program when a phone is ringing, I get the phone number of who is calling?
How?
or tell me on which library I should work.
Best wishes
|
|
|
|
|
Yes Friend.
Fortunately you can do that by interlopping Tapi.Dll in your system32 . it is A com file . You can search msdn for its global classes and enumerations and then drag it into your solution.You can listening on incoming calls and answer them and also you can make calls but to have the number of the caller , It is also supported but you have to have this service from your PSTN service provider To give you the ability to show the caller ID phone number.
If you have that service you can show the number of the caller so easily.
Human knowledge belongs to the world.
|
|
|
|
|
We are a group of spanish students who want to make a system to detect an
excess of decibel level in a medical center. We have been searching for a long long time with no luck. The system is for a college proyect, and we have not found any useful
code or hint to get the incoming audio level from a microphone. We are using .NET and have tried Directsound, MCI etc.. with no luck. We need to have the system finished in a week, so if someone could help us..
Thank you and excuse me for my poor English.
|
|
|
|
|
Nothing exists to do so? We´re still searching
|
|
|
|
|
Hi!
So you're recording PCM sound samples and you want to find out the volume? I assume you're using 16bit samples, then the volume is the amplitude of the signal.
The 16bit samples you get usually are signed 16bits, i.e. a value of '0' is silence and a value of -32767/32768 is the maximum volume...
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
Hi
Im trying to develop a C# application which interacts with a Fingerprint scanner.
The appliaction is going to run in the background (and as trayicon).
When my applicatons catches an event from the finger scanner i want to paste a text into "what ever active textbox control is focused" and the execute a "press enter command". Eg. a focused textbox control in Internet Explorer.
1. Is this possible in pure managed C#? (If so what direction?)
2. If not. Can I do it unmanged through interop? (If so what direction?)
I really look forward to hear from you
Thanks in regards
Anders Jacobsen
|
|
|
|
|
I have code Authenticated user by LDAP
i have GetGroups() method but it has _filterAttribute but i dont know it "_filterAttribute"
Some body help me !!
private String _path;
private String _filterAttribute;
public Form1(String path)
{
_path = "LDAP://cctvs1/CN=Users,DC=TESTLDAP,DC=com";
}
public bool IsAuthenticated(String domain, String username, String pwd)
{
String domainAndUsername = domain + @"\" + username;
DirectoryEntry entry = new DirectoryEntry("LDAP://cctvs1/CN=Users,DC=TESTLDAP,DC=com", domainAndUsername, pwd);
try
{ //Bind to the native AdsObject to force authentication.
Object obj = entry.NativeObject;
DirectorySearcher search = new DirectorySearcher(entry);
search.Filter = "(SAMAccountName=" + username + ")";
search.PropertiesToLoad.Add("cn");
SearchResult result = search.FindOne();
if(null == result)
{
return false;
}
//Update the new path to the user in the directory.
_path = result.Path;
_filterAttribute = (String)result.Properties["cn"][0];
}
catch (Exception ex)
{
throw new Exception("Error authenticating user. " + ex.Message);
}
return true;
}
public String GetGroups()
{
DirectorySearcher search = new DirectorySearcher("LDAP://cctvs1/CN=Users,DC=TESTLDAP,DC=com");
search.Filter = "(cn=" + _filterAttribute + ")";
search.PropertiesToLoad.Add("memberOf");
StringBuilder groupNames = new StringBuilder();
try
{
SearchResult result = search.FindOne();
int propertyCount = result.Properties["memberOf"].Count;
String dn;
int equalsIndex, commaIndex;
for(int propertyCounter = 0; propertyCounter < propertyCount; propertyCounter++)
{
dn = (String)result.Properties["memberOf"][propertyCounter];
equalsIndex = dn.IndexOf("=", 1);
commaIndex = dn.IndexOf(",", 1);
if(-1 == equalsIndex)
{
return null;
}
groupNames.Append(dn.Substring((equalsIndex + 1), (commaIndex - equalsIndex) - 1));
groupNames.Append("|");
}
}
catch(Exception ex)
{
throw new Exception("Error obtaining group names. " + ex.Message);
}
return groupNames.ToString();
}
}
|
|
|
|
|
hi have one siple problem if you have time pleas tell me how to solve it
so i have printer name in one dropdownlist
and printer models in other so i whant when change printer name
the printer models ddl to show me only this models which are for this printer i done sql function i link it ddl but problem is becaus when i change ddl i doing some delay for example if i choose hp and then cannon i see printers of ph when i choose canno where to put my code to be done exacly in time of post back ???
best regards
thank's lot
|
|
|
|
|
First check that you have written the code to populate the printer name ddl inside
if (!Page.IsPostBack)
{
}
block
Secondly you have to put the code to populate the printer model ddl in the SelectedIndexChanged method
-
बुरा जो देखण मै चला, बुरा न िमलया कोय,
जो मन खोजा आपणा तो मुझसे बुरा न कोय।
Translation
|
|
|
|
|
ok but i have it delay with one turn.When is insert one bottom all is ok
but u shout choose ddl mark and than click the bottom.Or if you have not button you when you chouse canon and than hp u se models for canon???
How to solve it???
|
|
|
|
|
|
Hi,
I would like to add a record in the last row of a database from a c# program. I have a database with the first column called ID which is unique. I tried doing this by finding the maximum number in that column and then adding 1 to it but it doesn' work.
Thanks
|
|
|
|