I have propertysheet with three dialogs.
I want to process them automatically by calling OnWizardNext() in OnSetActive() method for not showing that dialog. It is working fine except for the final dialog. For the final dialog I am calling OnWizardFinish()on OnSetActive() of that dialog so that finish button functionality should automatically called but still I see that final dialog and need to press that finish button(don't know what am I missing).
Can anyone please help me in that.
Hi. I'm trying to send an array of UDT from Excel VBA to a C++ dll but have no idea which direction I should look. Here's what I'm trying to do
void _stdcall MyDllFunction (array of MyCppType)
//do something with the array
Declare Sub MyDllFunction Lib "MyTestDLL.dll" (arr() As MyVbaType)
iVal As Integer
dVal As Double
sVal As String
Dim arr(2) As MyVbaType
arr(1).iVal = 1
arr(1).dVal = 1.1
arr(1).sVal = "one"
arr(2).iVal = 2
arr(2).dVal = 2.2
arr(2).sVal = "two"
I've posted this problem on the VB forum and was advised to post it here. Please help
.I am sure I am missing something.what will be the reason.
On the information given, you could be missing a lot of things.
1/ Why have you got a pure virtual class? That makes no sense to me.
2/ Is you list box owner draw? You need to pick Owner draw fixed or Owner draw variable.
3/ If you have the owner draw style set, the listbox will send WM_MEASUREITEM messages to your dialog box. You need to have a afx_msg void OnMeasureItem( int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct ); member function in your dialog box, and ON_WM_MEASUREITEM( ) in your message map to route messages to the function.
In the extension dll, I do not accept or reject request from client.I just get the attributes and write them to txt file,and then let IAS deal with the request.
In this way,if client request using PAP,I can get the ratUserPassword in txt file.
If client request using CHAP,I can get the ratCHAPPassword in txt file.
But if client request using MS-CHAP,I can get neither ratUserPassword nor ratCHAPPassword.
Please attention :
1) I do not accept or reject request in extension dll.
2) With my extension dll,VPN and IAS work perfect.Client can connect to VPN and pass the IAS's Authentication.
I can not understand why I can get neither ratUserPassword nor ratCHAPPassword if client request using MS-CHAP.
How can a get an hToken (or CAccessToken) for a cached (saved) network user name?
If you run "rundll32.exe keymgr.dll,KRShowKeyMgr" you will get a dialog with cached usernames/passwords (can be found in control panel->User Accounts).
Is there a way to get a token to these usernames? (like explorer.exe is doing).
I need that when I want to access a remote file on a shared folder that can be accessed only using one of these cached usernames.
i have created a combobox in my dialog based application. and added items in it by clicking its propesties's data tab....added items saperated by semicolons...but these are invisiable to me.... how can i see them so that i can then use them..........reply me urgently...plzzzz
What do you mean by invisible ? They are not added to the combo box ? How do you add the items ?
Are you sure they are not added to your combo box but outside the range ? You can increase the visible range of your combo in the resource editor: if you click on the combo box arrow, you can set the size of the drop down rectangle instead of the size of the combo.