Click here to Skip to main content
15,114,470 members

Comments by Rocky_Bas (Top 83 by date)

Rocky_Bas 20-Oct-21 4:21am View
   
Ok atleast is there a way i can close the WPF user control form so that it proceeds to the next step.
Rocky_Bas 9-Jun-21 1:51am View
   
Just found the issue thing is the Stackpanel inside the scrollViewer is Disabled/Read only mode due to which i am not able to click on textbox and scroll bar any idea how to fix that
Rocky_Bas 8-Jun-21 14:10pm View
   
Thanks it worked
Rocky_Bas 8-Jun-21 14:05pm View
   
Did get your point can you be more specific
Rocky_Bas 3-May-21 2:55am View
   
What is 16 in the code what kind of index is that
Rocky_Bas 3-May-21 2:54am View
   
Deleted
Giving error 'prefixedHex' does not exists in current context. And by the way what is 16 in that. What index is that
Rocky_Bas 18-Feb-19 7:59am View
   
it works but i mean to say if the text i am adding is too long then the text is cutting of at the corner of the line, instead i am expecting it to come in the next line
Rocky_Bas 18-Feb-19 7:31am View
   
even after setting the width & height i am getting the same issue.
Rocky_Bas 18-Feb-19 5:30am View
   
Sorry i didn't get u
Rocky_Bas 18-Feb-19 5:03am View
   
No i have used that rec in the below line just check, or am i missing anything else

g.DrawRectangles(Pens.White, new RectangleF[] { rec });
g.DrawString(string.Format("File Name: {0}", fileName), new Font("Arial", 50, FontStyle.Bold), Brushes.Red, rec,
new StringFormat(StringFormatFlags.LineLimit | StringFormatFlags.NoWrap, 1003) { Trimming = StringTrimming.None });
Rocky_Bas 18-Feb-19 4:45am View
   
I have used the below code but still it is trimming the last content as it is not fitting

RectangleF rec = new RectangleF();
rec.X = 85;
rec.Y = 400;

g.DrawRectangles(Pens.White, new RectangleF[] { rec });
g.DrawString(string.Format("File Name: {0}", fileName), new Font("Arial", 50, FontStyle.Bold), Brushes.Red, rec,
new StringFormat(StringFormatFlags.LineLimit | StringFormatFlags.NoWrap, 1003) { Trimming = StringTrimming.None });
Rocky_Bas 18-Feb-19 3:38am View
   
I don't want to have Rectangle
Rocky_Bas 18-Feb-19 1:11am View
   
This is working but i have some concern here if the text is too long then the text at the end is cutting off. Is there any way if the text doesn't fit in the line then that should be printed in the next line.
Rocky_Bas 7-Feb-19 3:15am View
   
Bitmap is a bit slow is there any other to do the same
Rocky_Bas 9-Mar-15 6:17am View
   
Thanks for the usefull information.
Rocky_Bas 9-Mar-15 5:34am View
   
Thanks praneet that worked now i have to implement such kind of conditions a lot.
Rocky_Bas 9-Mar-15 5:17am View
   
yes
Rocky_Bas 20-Jan-15 4:33am View
   
Is there any other way that i can include the Reg file in the MFC application
Rocky_Bas 20-Jan-15 1:33am View
   
Thanks for the reply.
Using the above link i have created a .reg file for the dll and if i run that reg file manually it works fine.But i need one more suggestion. I want to do this automatically instead of doing it manually so i have used ShellExecute statement in the application to execute .reg file but its not writing you this function.Below is the code i have used can u just check is there anything wrong i have done

ShellExecute(NULL, L"open",C:\\DllFun.reg " , NULL, NULL, SW_SHOW);
Rocky_Bas 19-Jan-15 7:45am View
   
No, In my machine also i am not registering anything its actually done automatically when the dll is build.
Rocky_Bas 17-Apr-14 22:10pm View
   
Thanks for the reply.
Is their any other way to attach the file in the reply window in Outlook 2010
Rocky_Bas 16-Apr-14 22:33pm View
   
Deleted
Thanks for the reply.
Is their any other way to attach the file in the reply window in Outlook 2010
Rocky_Bas 7-Nov-13 20:58pm View
   
After installing in another machine its showing the error inside the outlook "Not loaded. A runtime error occured during the loading of the COM Add-in"
Rocky_Bas 7-Nov-13 5:25am View
   
Using that article i have prepared an installer.After installing with this installer in another machine i have checked the Outlook but the addin button is still not created.
Rocky_Bas 6-Nov-13 23:55pm View
   
I want to set this dll in other machine using registry.So that when the Outlook start it reads from the registry and create and Addin in the outlook.

The same thing is happening in my machine when i build it through code.After building the dll is set in the registry automatically and that dll is called when the outlook is opened.
Rocky_Bas 6-Nov-13 23:34pm View
   
When i build my code through visual studio Add-in option is added to the outlook automatically.
Rocky_Bas 11-Oct-13 5:52am View
   
application is crashing in this line

if(isalpha(buffer[i]))
Rocky_Bas 11-Oct-13 4:24am View
   
Application is getting crashed in this particular place
do
{
in.open(filename);
strcpy(OrgFileName, filename);
if (in.fail())
{
in.open(filename);
}

//Enter the name that you want your Output file to be named
out.open(OutputName);

//Checks the length of the key for the encryption to be done
if (key.length()>128)
{
cin >> key;
}

maplength=key.length();

mapitE(key,encryptmap);

getline(in,buffer);

while(in)
{
encryptdecrypt(buffer,encryptmap,maplength,newbuffer);
out << newbuffer;
newbuffer.erase(0);
getline(in,buffer);
}

out.close();
in.close();
in.clear();
out.clear();
newbuffer.erase(0);
remove(OrgFileName);
}while (FALSE);

In the crash its showing Expression:(Unsigned)(c + 1) <= 256
Rocky_Bas 16-Aug-13 4:07am View
   
Thanks i got the solution.I have used GetAsyncKeyState function
Rocky_Bas 15-Aug-13 22:18pm View
   
I mean to say tracking which alphabet is pressed in the keyboard
Rocky_Bas 15-Aug-13 3:46am View
   
which function should i use for tracking alphabets
Rocky_Bas 15-May-13 1:06am View
   
Thanks Brydon that worked fine.
Rocky_Bas 15-May-13 0:24am View
   
Sorry Brydon i didnt get u.
Rocky_Bas 4-May-13 0:45am View
   
But i can't manually terminate this application,as this application runs in the background and cant be opened.So i have to terminate it through other application once the work is done with that application.
Rocky_Bas 2-Jan-13 20:44pm View
   
How to monitor those copy,cut,paste from mouse right click
Rocky_Bas 29-Dec-12 2:04am View
   
I need the specific events for Copy,cut,delete using Mouse right click.
Like for key board we use VK_DELETE
Rocky_Bas 21-Dec-12 4:22am View
   
Cant this be donw with that registry key only.Because i dont want to depend on any other third party softwares.
Rocky_Bas 21-Dec-12 3:58am View
   
Error Message:
The Registry Editor cannot rename Minimal.Error while renaming key.
Rocky_Bas 21-Dec-12 3:56am View
   
Yes i haved runed the regedit.exe in Run as Administrator
Rocky_Bas 21-Dec-12 3:50am View
   
Hi thanks for the immediate reply.I am trying to rename the name of Minimal and Network key in the registry, but its showing an error and its not allowing me to rename it.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network]
Rocky_Bas 29-Nov-12 7:18am View
   
I need the encryption of the files not the string.
Rocky_Bas 27-Nov-12 21:22pm View
   
Actually i want this application to be runned in the startup,but if i keep the administrative rights through this way i am not able to start the exe in the start up.Is there any other way for it.
Rocky_Bas 14-Nov-12 5:32am View
   
Yes i have diclared it out side the timer but still iam not able to destroy the window.
Rocky_Bas 14-Nov-12 5:14am View
   
Thats a bool flag,i use this flag to know when to create the window and when to destroy the window
Rocky_Bas 3-Nov-12 8:29am View
   
This code is working for other registry keys but its not working for this particular registry key , i dont know why??

Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer
Rocky_Bas 3-Nov-12 8:24am View
   
There is no space between Current version and policies
HKEY_CURRENT_USER,L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer
Rocky_Bas 3-Nov-12 8:23am View
   
I am unable to generate just specifically for this key
HKEY_CURRENT_USER,L"Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer

but if i use the same for this below key
HKEY_CURRENT_USER,L"Software\\Microsoft\\Windows\\CurrentVersion\\MCT

its working properly i really dont understand whats going wrong.
Rocky_Bas 3-Nov-12 6:12am View
   
Andrew i have done in the same way.Explorer folder was not there so i was trying to create the folder first and then add the subkey but explore key is not getting created ,below is the code
char *m_tmpChar;
m_tmpChar="iexplore.exe";
//RegCreateKeyEx(HKEY_CURRENT_USER,L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer",0,NULL,REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS,NULL,&hkey,0);
RegCreateKeyEx(HKEY_CURRENT_USER,L"Software\\Microsoft\\Windows\\CurrentVersion \\Policies\\Explorer", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey,0);
RegSetValueEx(hkey,L"disallowrun",NULL,REG_SZ,(unsigned char*)m_tmpChar,strlen(m_tmpChar)+1);
RegCloseKey(hkey);
Rocky_Bas 3-Nov-12 4:19am View
   
Hi Andrew there is a small problem iam having in this,its working when i add the key manually through regedit,but when i create the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

its not getting created.


RegCreateKeyEx(HKEY_CURRENT_USER,L"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer\\DisallowRun",0,NULL,REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS,NULL,&hkey,0);

this is the key i have used to create key but its not working,is there any other way to create the key.
Rocky_Bas 3-Nov-12 3:22am View
   
Thanks Andrew its working now
Rocky_Bas 2-Nov-12 22:28pm View
   
Can this be done using code.
Rocky_Bas 2-Nov-12 6:08am View
   
Yes ,but i was able to do that only through keyboard not for the mouse.
Rocky_Bas 2-Nov-12 6:04am View
   
Actually i want to disable copy,cut,paste,delete of files and folder using my application.When the user right clicks on any file or folder those options should be disabled.
Rocky_Bas 2-Nov-12 6:04am View
   
Actually i want to disable copy,cut,paste,delete of files and folder using my application.When the user right clicks on any file or folder those options should be disabled.
Rocky_Bas 2-Nov-12 5:58am View
   
I want disable those options when the user right clicks in the system,not in my application.
Rocky_Bas 31-Oct-12 6:16am View
   
Hi andrew,thanks for the reply ,i have one doubt in this ,in the method 2 it was written that to disable specific application we need DWORD value DisallowRun and set the value to 1 to disable.

So for example if i want to disable VLC player,i need to create a subkey VLC player and then add the DWORD value DisallowRun and set the value to 1 to disable.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\VLC media player\DisallowRun

Is the same thing i have to do.
Rocky_Bas 29-Oct-12 6:22am View
   
Thanks you
Rocky_Bas 29-Oct-12 6:13am View
   
Hi Jochen thanks for the immediate reply,but the link you have is not working/Opening.
Its showing some error.
Rocky_Bas 12-Oct-12 0:05am View
   
Hi Argonia,thanks for the reply.But i have to disable this copy cut paste delete keys from the windows not on the application iam running.

I was successfull to disable the key board shotcut keys for the same,but i have disable those options even in the mouse right click.Because can even do copy,cut,paste,delete through mouse,so kindly suggest me for it.
Rocky_Bas 8-Oct-12 22:43pm View
   
Hey Joan Murt,
Its working now, iam able the user from doing Copy/Cut/Paste,but its working only when i use keyboard,i even want to disable it from the mouse right click options,i think its possible through registries,can you help me out for this.
Rocky_Bas 8-Oct-12 22:43pm View
   
Hey Joan Murt,
Its working now, iam able the user from doing Copy/Cut/Paste,but its working only when i use keyboard,i even want to disable it from the mouse right click options,i think its possible through registries,can you help me out for this.
Rocky_Bas 6-Oct-12 5:02am View
   
i have tried in the same way return 0 ,but its not working
Rocky_Bas 6-Oct-12 0:50am View
   
below is my code for keystroke ,this keystroke will be called if i press anything in the keyboard,so iam using VK_DELETE virtual key to track delete event.


LRESULT CRecordPlayerDlg::OnKeyStroke(WPARAM wParam, LPARAM lParam)
{
m_nTimeStamp = GetTickCount() - m_nTimeStamp;
CString csKeyTyped;
CString csKeyStatus;
csKeyStatus = "0¦0¦0¦0¦0¦0¦0¦0¦0¦0¦0";


if ((wParam==VK_SPACE)||(wParam==VK_RETURN)||
(wParam>=0x2f ) &&(wParam<=0x100))
{
// CAPSTATE,LSHIFT,LCTRL, LWINDOW, LALT, RALT, RWIN, MENU,RCTRL, RSHIFT,NUMLCOK
SHORT nCapital = GetKeyState( VK_CAPITAL );
// Left side
//****************************************************************************
SHORT nVirtKeyLeftShift = GetAsyncKeyState(VK_LSHIFT);
SHORT nLeftControl = GetAsyncKeyState( VK_LCONTROL );
// Hard Coded
SHORT nLWindows = GetAsyncKeyState( VK_LWIN );
SHORT nLAlt = GetAsyncKeyState( VK_LMENU );
//****************************************************************************
// Right Side
SHORT nRAlt = GetAsyncKeyState( VK_RMENU );
// Hard coded
SHORT nRWin = GetAsyncKeyState( VK_RWIN );
SHORT nMenu = GetAsyncKeyState( VK_APPS );
SHORT nRightControl = GetAsyncKeyState( VK_LCONTROL );
SHORT nVirtKeyRightShift= GetAsyncKeyState(VK_RSHIFT);
SHORT nVirtKeyCopy = GetAsyncKeyState(VK_DELETE);
//*****************************************************************************

// Num Lock
SHORT nNumLock = GetKeyState( VK_NUMLOCK );


int nCurrentPos = 0;
if( 0 != nCapital )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nVirtKeyLeftShift )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nLeftControl )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nLWindows )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nLAlt )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nRAlt )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nRWin )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nMenu )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nRightControl )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nVirtKeyRightShift )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nNumLock )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
LPSTR csKey = new TCHAR[sizeof(TCHAR)];
GetKeyNameText( lParam, csKey, 4 );
csKeyTyped = csKey;
csKeyTyped += SEPERATOR;
csKeyStatus += SEPERATOR;
}
CString csKeyFormat;
CString csWParam;
csWParam.Format( "%x¦", wParam);
CString csTime;
csTime.Format( "%d", m_nTimeStamp );
csKeyFormat = "KeyBD¦";
csKeyFormat += csKeyTyped;
csKeyFormat += csKeyStatus;
csKeyFormat += csWParam;
csKeyFormat += csTime;
csKeyFormat += "\n";
m_csArray.Add( csKeyFormat );
m_nTimeStamp = GetTickCount();
if(wParam == VK_DELETE)
{
/********
Need to write the code to stop the event

*****/

}
return 1;
}
Rocky_Bas 6-Oct-12 0:48am View
   
Deleted
below is my code for keystroke ,this keystroke will be called if i press anything in the keyboard,so iam using VK_DELETE virtual key to track delete event.
LRESULT CRecordPlayerDlg::OnKeyStroke(WPARAM wParam, LPARAM lParam)
{
m_nTimeStamp = GetTickCount() - m_nTimeStamp;
CString csKeyTyped;
CString csKeyStatus;
csKeyStatus = "0¦0¦0¦0¦0¦0¦0¦0¦0¦0¦0";
if(wParam == WM_CUT )
{
AfxMessageBox("Booooo");
}

if ((wParam==VK_SPACE)||(wParam==VK_RETURN)||
(wParam>=0x2f ) &&(wParam<=0x100))
{
// CAPSTATE,LSHIFT,LCTRL, LWINDOW, LALT, RALT, RWIN, MENU,RCTRL, RSHIFT,NUMLCOK
SHORT nCapital = GetKeyState( VK_CAPITAL );
// Left side
//****************************************************************************
SHORT nVirtKeyLeftShift = GetAsyncKeyState(VK_LSHIFT);
SHORT nLeftControl = GetAsyncKeyState( VK_LCONTROL );
// Hard Coded
SHORT nLWindows = GetAsyncKeyState( VK_LWIN );
SHORT nLAlt = GetAsyncKeyState( VK_LMENU );
//****************************************************************************
// Right Side
SHORT nRAlt = GetAsyncKeyState( VK_RMENU );
// Hard coded
SHORT nRWin = GetAsyncKeyState( VK_RWIN );
SHORT nMenu = GetAsyncKeyState( VK_APPS );
SHORT nRightControl = GetAsyncKeyState( VK_LCONTROL );
SHORT nVirtKeyRightShift= GetAsyncKeyState(VK_RSHIFT);
SHORT nVirtKeyCopy = GetAsyncKeyState(VK_DELETE);
//*****************************************************************************

// Num Lock
SHORT nNumLock = GetKeyState( VK_NUMLOCK );


int nCurrentPos = 0;
if( 0 != nCapital )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nVirtKeyLeftShift )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nLeftControl )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nLWindows )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nLAlt )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nRAlt )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nRWin )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nMenu )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nRightControl )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nVirtKeyRightShift )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
nCurrentPos = csKeyStatus.Find( SEPERATOR, nCurrentPos );
nCurrentPos++;
if( 0 != nNumLock )
{
ReplaceString( csKeyStatus, nCurrentPos );
}
LPSTR csKey = new TCHAR[sizeof(TCHAR)];
GetKeyNameText( lParam, csKey, 4 );
csKeyTyped = csKey;
csKeyTyped += SEPERATOR;
csKeyStatus += SEPERATOR;
}
CString csKeyFormat;
CString csWParam;
csWParam.Format( "%x¦", wParam);
CString csTime;
csTime.Format( "%d", m_nTimeStamp );
csKeyFormat = "KeyBD¦";
csKeyFormat += csKeyTyped;
csKeyFormat += csKeyStatus;
csKeyFormat += csWParam;
csKeyFormat += csTime;
csKeyFormat += "\n";
m_csArray.Add( csKeyFormat );
m_nTimeStamp = GetTickCount();
if(wParam == VK_DELETE)
{
/********
Need to write the code to stop the event

*****/

}
return 1;
}
Rocky_Bas 5-Oct-12 5:38am View
   
KeyStroke function means it capture the events of keyboard
Rocky_Bas 5-Oct-12 5:28am View
   
In the KeyStroke function i have kept a condition
if(wParam == VK_DELETE)
so with this condition i can know user has pressed delete button in the keyboard,now in this i need to return some thing so that user cant do delete.
Rocky_Bas 5-Oct-12 5:10am View
   
Hi Joan,i am able to track the keyboard and mouse events using Hooks,but how to exactly stop to do that particular operation.

I mean to say ,i the user is pressing delete button ,at this moment after tracking the delete event how to stop him deleting.
Rocky_Bas 3-Oct-12 2:07am View
   
How to do the same thing to disable delete key
Rocky_Bas 2-Oct-12 22:03pm View
   
Hi JackDingler,so is there any possible to store some data in it.
Rocky_Bas 2-Oct-12 22:02pm View
   
Hi Argonia,I didn't mean to say the directory in which my exe is executed.I mean to say windows Active directory services.
Rocky_Bas 2-Oct-12 3:03am View
   
Do i need to give this permission through registries
Rocky_Bas 2-Oct-12 3:02am View
   
Deleted
Is there any thing like i have give the permissions through registries
Rocky_Bas 25-Sep-12 23:48pm View
   
I mean to say i might havent used it in the rights way so iam asking to suggest me how to go with this.
Rocky_Bas 25-Sep-12 23:47pm View
   
Hi Sergey,

These are the rights i need to provide in my application,that's the reason i want disable and if required enable those.
Rocky_Bas 25-Sep-12 23:04pm View
   
Is it possible to save the files in the Windows Server Active Directory.
Rocky_Bas 25-Sep-12 5:17am View
   
I want to save few xml files and log files in the Active Directory ,so how to do it using MFC
Rocky_Bas 24-Sep-12 23:10pm View
   
Hello kindly suggest me how to do this.
Rocky_Bas 24-Sep-12 6:24am View
   
Are there any specific function or classes in MFC to change the look of the buttons,edit boxes and static text.
Rocky_Bas 24-Sep-12 6:07am View
   
Hello pasztorpisti thanks for the reply.The actual problem in my application is, iam having two different applications A and B,So in A is the main application, in this application i have created a process by calling the exe of the B application(Using this function CreateProcess) to genearate some log files.


As i have written some code in B app while closing and destroying of the exe to log some data.So if i terminate or kill the exe of B application then the application would be terminated and due to this close and destroy functions will not be called
and due to that i am not able to get the log file.Thats the reason iam asking you can i close a exe from my MFC application.
Rocky_Bas 20-Sep-12 0:13am View
   
Hello how can it be done in MFC
Rocky_Bas 18-Sep-12 23:13pm View
   
Sergey Alexandrovich Kryukov didn't get u what u were trying to say.
Rocky_Bas 18-Sep-12 22:41pm View
   
Deleted
i didn't get u ??
Rocky_Bas 18-Sep-12 22:24pm View
   
No i don't mean in that way, i am asking to guide me to do this