Is there any example to convert a WCF web service from http to https.
MKC002
Posts
-
Example of WCF web service with https -
Use OLEThanks for confirmation Is there any example available in VC++ Can you please give some link
-
Use OLEI want to open excel file contents in my own window, not in excel window. Is that possible with excel automation?
-
Use OLECreateFromFile hangs my program. If excel file contains some password and i call CreateFromFile for that file, it asks me to enter password. If i click on cancel button and do not enter the password then my program hangs. It gives retry/switch-to message. How to solve this problem.
-
Use OLEI want to show excel file contents in my own window
-
Use OLETo preview xls file i call CreateFromFile or CreateFromClipboard and it works But if xls file has password and i do not enter it then my program hangs. It gives switch to/retry message. Is there any way to solve this problem
-
Best approach to compare filesHi, Thanks for your reply. FindFirst/Next file will give me file name. Here i asked about the approach i.e. container and logic to implement comparision which should be faster and reliable.
-
Best approach to compare filesIf there are some directories and each directory contains some files then i want to make a program which will compare each file of any directory with each file of all directories. Can someone suggest me a best approach which works faster and dont miss any comparision.
-
How to Use WCF serviceTo use WCF service in c# windows application there is option to add service reference (pass url) and use it. But i did not find any such option in VC++. Can you guide me how to use it in VC++.
-
Radio button text color not setI tried to use given example but the text color for radio button does not set. The background color of radio button is set. I noticed if i create a dialog box application in visual studio 2008,add one radio button and set its text color in OnCtlColor then the text color does not set.
-
Radio button text color not setI have dialog base application, dialog box contains one radio button. to set the text color of radio button HBRUSH CtestDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { ...... // TODO: Change any attributes of the DC here if (pWnd->GetDlgCtrlID() == IDC_RADIO1) { pDC->SetTextColor (RGB(128,0,0)); // blue } ..... } This code works fine and radio button color gets changed but if i use xp theme in this project then text color of radio button does not set. To set xp theme, i add one custom resource which contains testdlg
-
Radio button text color not setI have dialog base MFC application Dialog box contains only one control(radio button) to change the text color of radio button i use oncltcolor(WM_CTLCOLOR) BUT it's now working i am using xp theme is there any solution
-
Set the font for textI found the reason why.I am using XP theme. Below url also says that http://www.go4expert.com/forums/showthread.php?t=16457&page=2 If i remove xp theme then color is set for radio text. Is there any solution for that problem.It's require for me to use XP theme. XP theme
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
processorArchitecture="x86"
version="5.1.0.0"
type="win32"
name="appname.exe"/>
<description>appname</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
</assembly> -
Set the font for textThe font is set but text color is not set in first program. This is the problem with radio buttons. If i add a new radio button then also text color is not set. But for static control the text color is set. It means something needs to be supported for radio button
-
Set the font for textBoth are dialog based applications. Test program contains only one radio button. In main program there are lot of controls and work against them
-
Set the font for textI am trying to set the font for radio button using below code in my project but font does not set. Font and color does not set for text on radio button. I have a dialog base application (MFC), at dialog there are some radio buttons In dialog class, Oninitdialog() i use CFont* pFont = GetDlgItem( IDC_RADIO1 )->GetFont(); LOGFONT LogFont = { 0 }; pFont->GetLogFont( &LogFont ); LogFont.lfItalic = TRUE; LogFont.lfWidth = 9; LogFont.lfHeight = 12; LogFont.lfWeight = FW_BOLD; memcpy(LogFont.lfFaceName,"Verdana",7); m_StaticFont.CreateFontIndirect( &LogFont ); GetDlgItem( IDC_RADIO1 )->SetFont( &m_StaticFont ); in header file CFont m_StaticFont; To set the color for text on radio button, i use OnCtlColor (WM_CTLCOLOR) HBRUSH CtestxmlDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { /// if(pWnd->GetDlgCtrlID() == IDC_RADIO1) pDC->SetTextColor(RGB(255,0,0)); //// } But when i use above code in a test program it works. Please suggest what's wrong. I have debug my project and found OnCtlColor calls and it set the text color also. Please help.
-
Dependencies for Visual STudio8I create MFC application and run its exe on a system where .net is not installed. What dll i need to copy on new system.
-
How to use SYSTEM function for specified timeThanks for your reply. To play with thread is little difficult. Please give any link to kill thread which is safe and does not result in any type of crash.
-
How to use SYSTEM function for specified timeour server maintains large amount of data. Everyday new files/folders created on it. A serevice set some special properties for files/folders. One service checkes if some property does not exist in file/folder then move the file to another location for further processing. Here one service call GetFileAttributes and GetVolumeInformation for disk where file will be move. From this function we get volume label and other information to store in database. Sometimes system hangs and i need to reboot. I noticed system hangs due to GetVolumeInformation. So, can i set time limit for this function. If after given time i dont get volume label then move the file to another disk.
-
How to use SYSTEM function for specified timehow to use system API for given time some times a when i call system api, my computer hangs and i need to reboot can i use for given time