Vikram Lakhotia
The Online Weblog of Vikram Lakhotia
-
Visual Studio Changing default profile setting
Hi,
While working with Visual Studio, was that normally we have to select the profile setting (Visula Basic profile, C# profile, web development profile etc...) when we start the Visual Studio for the first Times. But Many a time after working on a type of project for some time you start working on other types of project. -
Programmatically Create PDF from Crystal Report
Hi,
Some times when working with crystal report viewer you do not want to show the report to user in raw format but instead you want to pass on the report in PDF or other format without requiring user to do extra click. This can be done easily in Dot Net with the following code. -
Received ASIA MVP Certification Hero Award 2009
Hi,
Just received the ASIA MVP Certification Hero Award 2009. I did not knew that another award was coming. Was more than pleasantly surprised. Thanks to Microsoft, Microsoft MVP Team, Microsoft Learning Team.
Its amazing that You get awarded for Helping others with the knowledge of discounts available.
Again Thanks to Microsoft for the award.
Vikram -
Asp.net 4.0 FormView Control Enhancement
Hi,
another of the new features of Asp.net 4.0 is the enhancement(in terms of rendering) made in the Formview control. By default the Formview control would render table, tr and td tags for display of content. This can be of much trouble to many of the designer because they have little control over the rendered HTML.
With Asp.net 4.0 you can disable the rendering of these HTML elements. (Mind you in Asp.Net 4.0 by default these HTML content are rendered.) To do this all you need to do is set the RenderTable property to False.
<asp:FormView ID="FormView1" runat="server" RenderTable="false"> -
Programmatically set the Page Description and Keywords in Asp.Net 4.0
Hi,
-
Attend Virtual Techdays for free using live meeting
Hi,
You can attend Virtual Techdays live using the live meeting. All the session are free and will be available using Live meeting. All session will be held between Aug 19-21.
I would encourage everyone to take the maximum benefit of this opportunity. . This edition of the event will have 13 technology tracks dedicated to developers, infrastructure professionals, architects and designers. You can register for the virtual Techdays from the following link.
http://co1piltwb.partners.extranet.microsoft.com/mcoeredir/mcoeredirect.aspx?linkId=12350629&s1=0c6029f5-7cc0-31cc-0279-04d58c975971
Vikram -
Windows 7, Windows Server 2008 R2 and Exchange server launch road show in India in 16 different cities
Hi,
-
Assigning Multiple FontStyle to a single instance of font class in Dot net Windows Application
Hi,
While working with Textbox in a windows application I wanted to show the text of the textbox to be both Bold and Underlined. I had to do this based on certain condition. -
Setting and retrieving the default printer from code
To solve the issue instead of looking into the Lotus notes API I thought it should be much easy to set the default printer for the machine. Once the Default printer is set Lotus notes will use this printer to print any document. Below is the code needed to set the default printer of any machine.
[DllImport("winspool.drv", SetLastError = true)]
private static extern void SetDefaultPrinter(string name); -
Path.combine to combine two paths and backslash in second parameter
Hi,