|
Hi all,
I would like to know, if someone knows how to get the physical address of an IP address for example(This is just an example):
192.168.0.100 -> www.sitename.com
I would like to resolve to IP address.
Many Thanx
Regards
Programm3r
|
|
|
|
|
Programm3r wrote: resolve to IP address
gethostbyname()
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thanx....
Regards
Programm3r
|
|
|
|
|
hello,friends.can you give some codes about content-based audio retrieval or ActiveX control modules,thank you a lot.
|
|
|
|
|
Requests along the lines of 'please write this for me' rarely get answered. What are you trying to do exactly ? What have you already done ? Where do you need help ? The more you show that you've done more than ask someone else to write your code, the more answers you will get.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Is there any control that can display the waveform of an audio file and can start, pause, resume and stop the playing of the audio file?
curiosity
|
|
|
|
|
The windows media player control can play it, I wonder if there's a visualisation that just shows the waveform ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Christian Graus wrote: I wonder if there's a visualisation that just shows the waveform
yes, the "oscilloscop" visualization does it. but i am not sure you can select it from outside WMP...
|
|
|
|
|
Hello,
I am facing a unique problem, that even if I include the header file, yet the class is not recognized. It gives me the error missing ; before (some variable) and errors generated subsequently. Please help.
Thanks and regards,
Software Developer
Sanjay Khapre
|
|
|
|
|
See if class declaration is suppressed by some preprocessors.
Can you show how class is declared,included and used ?
|
|
|
|
|
It is difficult to help without actually seing the code. Post the code for the class declaration and where it is used.
You probably forgot to add ; at the end of the class or you mispelled the name (remember it is case-sensitive).
|
|
|
|
|
Hello,
I have attached the code. I have a dialog box in which I am placing a RichEdit box as a child window control. Without creating an object of RichEdit, how can I set its position inside its parent, that is the dialog box?
<br />
# include "MyRichEdit.h"<br />
class CMyRichEdit ;<br />
<br />
class CTrialRichEditBreakDlg : public CDialog<br />
{<br />
public:<br />
CMyRichEdit m_RichEdit ;<br />
CTrialRichEditBreakDlg(CWnd* pParent = NULL);
<br />
enum { IDD = IDD_TRIALRICHEDITBREAK_DIALOG };<br />
<br />
<br />
protected:<br />
virtual void DoDataExchange(CDataExchange* pDX);
<br />
protected:<br />
HICON m_hIcon;<br />
<br />
virtual BOOL OnInitDialog();<br />
afx_msg void OnPaint();<br />
afx_msg HCURSOR OnQueryDragIcon();<br />
afx_msg void OnDrawCircle();<br />
DECLARE_MESSAGE_MAP()<br />
};<br />
Thanks a ton. And what about my previous query posted, that is of not being able to trap F9 key in this same application, I have explained it in my previous query.
Sanjay.
-- modified at 5:44 Wednesday 23rd August, 2006
-- modified at 5:50 Wednesday 23rd August, 2006
-- modified at 6:01 Wednesday 23rd August, 2006
Software Developer
Sanjay Khapre
|
|
|
|
|
where it is giving error ?
If Its CMyRichEdit.. , you need to show its declaration header file.
|
|
|
|
|
Which I have already done.
Didn't you see the first line?
Software Developer
Sanjay Khapre
|
|
|
|
|
SanjaySMK wrote: Didn't you see the first line?
Yes , I seen it.
But I wanted you to show, header containing class declaration of CMyRichEdit.. Which you included as first line
|
|
|
|
|
Dear friends,
I use an edit control as a message box. I want to change the color of writing in edit control (default color is black). Do you know how to do that?
Thank you,
Cheers,
Joy Anne
|
|
|
|
|
|
I want ot color the splitter and i want ot look it as flat.
how can i do it?
|
|
|
|
|
create the subclass for splitter control. After that create the event wm_ctl_color. Here you can assign the color whatever you want.
|
|
|
|
|
Hi all,
In Dialog based application user has to enter the file name to continue the next operation.If he enters any special chararacters like " ?,$,@",or integers, how to validate them.
he should not enter any varibles or any special characters.
Regards,
Harish
|
|
|
|
|
Use the strtok() function
|
|
|
|
|
strtok sucks. It's not thread-safe for a start. It should be avoided.
Steve
|
|
|
|
|
I know it sucks, it's also a nuicance when it comes to UNICODE and MBCS builds, but it's a good starting point for somebody who is learning about string managment.
|
|
|
|
|
reddy harish wrote: user has to enter the file name
How does he enter the characters ? If it is in a edit box, then I would go for overriding the control. You override the OnChar function, and check first if it the character entered is a valid one (if ( (NewChar>'a') && (NewChar<'z') ) , of course you have to check for upper case characters also). If the character is valid, then you can call the OnChar function from the base class. If not, don't call the function and the character will never appear in the edit box. This is nicer than validatating the string after inserting all the data.
-- modified at 2:31 Wednesday 23rd August, 2006
BTW, did asked a question yesterday about file validating also ? Did you look at the answer of Christian Chraus ? About the CFileDialog[^]? It is in general the way to go when you want the user to open a file. And it is much more user friendly than having the user to enter the complete file or path.
|
|
|
|
|