Unable to have some proper sleep due to plenty of work for few weekends, so surely would like to have tight sleep on this weekend. Regards, Mushi http://www.pakanswers.com/[^]
Mushtaque Nizamani
Posts
-
The Friday Post -
How to debug COM+ EXEHave you tried Debug.Assert(false) in start of the service. Similarly you can place ASSERT(false) in those COM exes when that segment executed a modal dialog box would appear, you can load that in visual studio.
Regards, Mushtaque Nizamani
-
Suppressing dialog UI in a property sheetThanks for the reply. still no luck, now it displays corrupted final dialog with finish button.
Regards, Mushtaque Nizamani
-
Suppressing dialog UI in a property sheetI 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.
Thanks, Mushtaque Nizamani
-
How to install word addin silentlyHi, I have created a word addin project in VS 2008, then publish it, now I want to install that silently through my setup program, but it always open the GUI even I call createprocess API with SW_HIDE parameter in STARTUPINFO structure, can anyone please tell me how to install word addin in silently.
Thanks, Mushq
-
VB6 redistributablesThanks.
Regards, Mushq
-
Is “windowsbase.dll” part of any of the version of .net frameworkThanks too. :)
Regards, Mushq
-
VB6 redistributablesHi, Can anyone please tell from where can I find redistributables of VB6.
Thanks, Mushq
-
Is “windowsbase.dll” part of any of the version of .net frameworkActually I am in setup team and we ship "windowsbase.dll" along with our product setup when we used to compile our project in VS 2005 using .net framework 2.0 but after shifting our product to VS 2008, framework 3.5 I got the task to find out whether that DLL is a part of .net framework 3.5, so that we should not ship that, that’s why I asked that question over here. Thanks for the answer.
Regards, Mushq
-
Is “windowsbase.dll” part of any of the version of .net frameworkThanks. :)
Regards, Mushq
-
Is “windowsbase.dll” part of any of the version of .net frameworkHi, Is “windowsbase.dll” part of any of the version of .net framework? I have googled it lot but unable to find proper answer, can anyone please tell me about that.
Thanks, Mushq
-
Setting property Enable32BitAppOnWin64 for IIS 7 in C#Hi Pete O'Hanlon, I was checking that property incorrectly, you are right that your mentioned code is working fine. Thanks a lot.
Kind Regards, Mushq
-
Setting property Enable32BitAppOnWin64 for IIS 7 in C#Hi Pete, Thanks for the response and sorry for the late reply.
Pete O'Hanlon wrote:
Do you get any exceptions?
No, I don't get any exception. I have observed when i try to set property through code it shows me that the property has been successfully changed to true even next time I try to get that property programmatically it shows me that property is true, but when I open that in IIS it shows me that property to be false. Please check the screen shot for that. http://img87.imageshack.us/my.php?image=iiswin32bitcheckmf6.jpg[^]
Kind Regards, Mushq
-
Setting property Enable32BitAppOnWin64 for IIS 7 in C#ServerManager mgr = new ServerManager();
mgr.ApplicationPools["test"].Enable32BitAppOnWin64 = true;
mgr.CommitChanges();Above code should set property Enable32BitAppOnWin64 to true for application pool having name test, but it doesn't do that, can anyone please tell what am I doing wrong. Please note that ServerManager class is present in Microsoft.Web.Administration namespace.
Thanks, Mushq
-
Absolute to Relative PathSorry for the delayed reply but thank you very much for the useful answer. :)
Kind Regards, Mushq
-
Absolute to Relative PathThere is a method GetFullPath http://msdn.microsoft.com/en-us/library/system.io.path.getfullpath.aspx[^] that converts relative to full absolute path. Does there any method exist that converts an absolute path to relative path.
Thanks, Mushq
-
Adnan, do you have ADD ?Hi Christian Graus, I myself don't know how to answer your questions, but I know there is well known Muslim scholar http://en.wikipedia.org/wiki/Zakir_Naik[^]who can answer all of your questions, please check his videos at YouTube, I can't provide you exact link of his videos as YouTube is banned in our office just search Zakir Naik and Bible. There was a famous debate in between Dr. Zakir Naik and Dr. William Campbell. hopefully you can find that on YouTube too. I pray from God that He guides all of us to the right path.
Kind Regards, Mushq
modified on Thursday, August 21, 2008 2:26 AM
-
Using "aspnet_regiis.exe -ga" on the basis of SID instead of "user name" -
VBScript to C#Ahsan, thank you very much for the reply, can you please tell me what should be the data type of variable objGroup and how to use objGroup in foreach loop. Thanks a lot, Mushq
Regards, Mushq
-
VBScript to C#Hi, Can anyone please tell me how to convert following script into C# code.
strComputer = "atl-ws-01"
Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators")
For Each objUser In objGroup.Members
If objUser.Name <> "Administrator" AND objUser.Name <> "Domain Admins" Then
objGroup.Remove(objUser.AdsPath)
End If
NextThanks, Mushq