how did you do that? please help
Hadi Dayvary
Posts
-
Bitmap::FromResource(HINSTANCE, WCHAR) , problem -
Office automation helpThanks but I'm looking for a complete manual.
-
Office automation helpHi Is there a manual or web site or book or ... that has describe office automation classes for C++? I mean classes like(for Excel) : CApplication CWorkbooks CWorkbook CWorksheets CWorksheet CRange CFont0 .... because the method parameters names is not named good, and in MSDN there is no complete reference like MFC classes. I use word and excel automation in our MFC app Thanks
-
Calling a web service from Visual C++ 2008 nativeHi I want to call a ASP.Net (.asmx) from a MFC 2008 project. My PC has Windows 7, but I want to run my program from Windows XP and 7 (I need to support Winsows XP) (Some years ago I did this in VC++2003 but add web refrence is not included in VC++2008) Any suggetstion? Regards
-
transparency in 32bit bmp in vs2010You're welcome You must use the tool(Pixelformer) and edit your bitmap. It supports 32 bit and trancparency. I've tested it and I'm sure it works.
-
transparency in 32bit bmp in vs2010Hi Read these pages: Bitmap Transparent Problem in VC++2010 Ribbon button[^] [^] Use this tool: www.qualibyte.com/pixelformer/[^] Goodluck
-
Visual Studio 2003 on Windows 8!Hi Has anybody tested Visual Studio 2003 on Windows 8? Is it like Windows7? Regrads
-
Getting pasted testThanks But I want to get the text when it's pasted. I checked WM_PASTE but it is send to the control that has the focus not it's parent CWnd. My dialog has some control of buttons, edit boxes, list control, ... so it is posible that any of these controls has the focus (when something is paste) Regards
-
Getting pasted testHi Is there any way to get the pasted text in a dialog? Any control in the dialog may have the focus. Regards
-
Highlighting some text in CEditHi Thanks It seems everything will be more dificult with CRichEdit I found this project: Spell Checking Edit Control (Using HunSpell)[^]
-
Highlighting some text in CEditHi What is the best way to create an edit box (derived from CEdit) that can draw a red line under wrong words for example. and then user can right click on it and correct it from a sugested menu list. (Like what visual assist does in Visual Studio) Doing it insdie OnPaint() is not easy because we must take care of single or multi line, and maybe some other thing. An example or project will help a lot. Regards Hadi
-
MariaDB and HeidiSQL.Hi We are using MySQL in our main application (MFC7)(Accounting software). I 'vew seen the MariaDB web site and I was happy because of that. If anytime Oracle stop the support of MySQL we can switch to MariaDB. We have implemented some C++ class that it's methods are like CRecordset but much faster and no ODBC, with a lot of more features, full backup and restore, BLOB support and more... We must test this MariaDB. If anyone works on MySQL and MFC we will be glad to connect and help each other. Regards Hadi
-
Active DirectoryHi Is it possible to read hardware information from another computer in a network with Active Directory and WMI?
-
Calling via TAPIHi I have writen a TAPI program that can call (works fine) I want to speak via headset not picking up a phone. I can do this with Venta Fax & Voice program in my PC (so the modem supports this), but my program can not do this (no sounds send/receive). I have a full-duplex modem. Is there any tricks in TAPI function for this? I have used
LINEMEDIAMODE_AUTOMATEDVOICE
for lineOpen function like this:
lineOpen(m_hLineApp, m_nDevID, &m_hLine, dwTAPIVer, 0, 1, LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, LINEMEDIAMODE_AUTOMATEDVOICE, NULL);
I've found that I should use PhoneApp for taking control of mic/speaker, but nothing changed!
int ret = phoneSetHookSwitch(m_hPhone, PHONEHOOKSWITCHDEV_SPEAKER, PHONEHOOKSWITCHMODE_MICSPEAKER);
m_hPhone is a HPHONE object Please Help! Regards
-
TAPI Call programHi I have writen a TAPI program that can call (works fine) I want to speak via headset not picking up a phone. I can do this with Venta Fax & Voice program in my PC (so the modem supports this), but my program can not do this (no sounds send/receive). I have a full-duplex modem. Is there any tricks in TAPI function for this? I have used
LINEMEDIAMODE_AUTOMATEDVOICE
for
lineOpen
function like this:
lineOpen(m_hLineApp, m_nDevID, &m_hLine, dwTAPIVer, 0, 1, LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, LINEMEDIAMODE_AUTOMATEDVOICE, NULL);
I've found that I should use PhoneApp for taking control of mic/speaker, but nothing changed!
int ret = phoneSetHookSwitch(m_hPhone, PHONEHOOKSWITCHDEV_SPEAKER, PHONEHOOKSWITCHMODE_MICSPEAKER);
m_hPhone is a HPHONE object Regards
-
TAPI Call programThanks again for your time. I've found that I should use PhoneApp for taking control of mic/speaker.(I hope this helps)
-
TAPI Call programHi Thanks for your reply. I have a full-duplex modem, and ir works fine with Venta Fax & Voice program. What steps(functions) I must do? I'm using TAPI 2. Regrads
-
TAPI Call programHi I have writen a TAPI program that can call (works fine) I want to speak via headset not picking up a phone. I can do this with Venta Fax & Voice program in my PC (so the modem supports this), but my program can not do this (no sounds send/receive). Is there any tricks in TAPI function for this? I have used
LINEMEDIAMODE_AUTOMATEDVOICE
for
lineOpen
function like this:
lineOpen(m_hLineApp, m_nDevID, &m_hLine, dwTAPIVer, 0, 1, LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, LINEMEDIAMODE_AUTOMATEDVOICE, NULL);
Regards
-
Old style JPEG compression Tiff file problemThank you.
-
Old style JPEG compression Tiff file problemThanks a lot for your your reply. The problem is that they need to see those kind of images (thousond documents) in this application, so I must find a library that support this old style. Do you know a library that can help me? Does your imgsource support this old style? Regards