Click here to Skip to main content
15,888,162 members

Comments by Sriram Bala (Top 38 by date)

Sriram Bala 1-Jan-15 4:10am View    
There is a help link already presnet in Codeproject related to XPS file printing using c#. May be you should try that approach?

URL 1. Print to XPS from Code
Sriram Bala 9-Apr-14 7:30am View    
Hi,
<pre lang="xml">Could you please try renaming the component id "FCONUCClient.exe" to CMP_FCONUCClient?
<!-- Definition of Directory APPLICATIONFILEDIRECTORY -->
<Component Id="FCONUCClient.exe" Guid="C124E507-E545-45F1-8262-8528EE86706A">
hopefully this should solve the issue.</pre>



<pre lang="xml"><!-- Step 3: Tell WiX to install the files -->
<Feature Id="InstallFCON" Title="FCON UC Client 1.0.9" Level="1">
<ComponentRef Id="CMP_FCONUCClient" /></pre>

I hope this should solve this warning.
Sriram Bala 3-Feb-14 6:03am View    
Hello SA. Thanks for showing interest in my query Actually my requirement is similar to this question posted in this forum
<p>https://groups.google.com/forum/#!topic/microsoft.public.platformsdk.msi/1dYXJta4gOM</P>. Here Mr.Rajneesh suggested a workaround how to trick WIX to disable fileinuse window. I copied his suggested workaround here. Please have a look and let me know if it clear now.

Hi,
After struggling for about 3 hours, looks like I was finally able to figure
out how to trick MSI to NOT display the FilesInUse dialog.

All i did was set the Attribute property in the FilesInUse Dialog row in the
Dialog table to 0 (Zero).

This seems to have done the trick. At InstallValidate, MSI I believe tries
to load the dialog and since the msidbDialogAttributesVisible property is
not set, all i see is just a flash and the setup goes on. It does prompt for
a reboot in the end, which is even better.
Sriram Bala 13-Jan-14 8:47am View    
Thanks Mo. I think i am clear now.
Sriram Bala 13-Jan-14 8:42am View    
Hi I tried this program,
class Program
{
static void Main()
{
DateTime dt = DateTime.Today;
Console.WriteLine(string.Format("{0:g}", dt));
Console.ReadLine();
Console.WriteLine(dt.ToString(CultureInfo.CurrentCulture));
Console.ReadLine();
Console.WriteLine(dt.ToString(CultureInfo.InvariantCulture));
Console.ReadLine();
}
}
I got the output as
1/13/2014 12:00 AM
1/13/2014 12:00:00 AM
01/13/2014 00:00:00
if string.format and .Tostring("g")
is same then the output is different. Am I missing something here? Sorry to ask again and again.