Tech Ed 2006
Attended Tech Ed hear in Sri Lanka, met many old friends, it was a good time but I think Microsoft should have emphasized more on technical side.
Tuesday, October 31, 2006
Friday, October 20, 2006
Wednesday, October 11, 2006
Getting a Crystal Report Parameter value in VB.NET
After setting a parameter value of a crystal report there is no easy way of getting the value. So I found this to get the parameter value.
CType(CType (CType (CType (CType (CType (rpt.Parameter_paraArea, CrystalDecisions.Shared.IParameterField), CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition).CurrentValues, CrystalDecisions.Shared.ParameterValues).Item(0), CrystalDecisions.Shared.ParameterValue), CrystalDecisions.Shared.ParameterDiscreteValue).Value, Object)
rpt is the Crystal Report, paraArea is my parameter name which I needed to get the value of.
Hope this helps.
After setting a parameter value of a crystal report there is no easy way of getting the value. So I found this to get the parameter value.
CType(CType (CType (CType (CType (CType (rpt.Parameter_paraArea, CrystalDecisions.Shared.IParameterField), CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition).CurrentValues, CrystalDecisions.Shared.ParameterValues).Item(0), CrystalDecisions.Shared.ParameterValue), CrystalDecisions.Shared.ParameterDiscreteValue).Value, Object)
rpt is the Crystal Report, paraArea is my parameter name which I needed to get the value of.
Hope this helps.
Monday, October 02, 2006
Playing Media Files in .Net Compact Framework 2.0
This is the ProcessHandler class which imports Coredll Dll and uses it's CreateProcess to create a seperate process with the required application.
This is the main form which has a button to start the Player, then it will ask the user to browse for a media file to play.
The ProcessHandler.CreateProcess function can be used to start any application which is installed in the device by simply replacing the 'WMPlayer' by the required application qualified name (IExplorer).
I have seen many people asking how to play media files in device applications. Here I am playing media files using Windows Media Player.
This is the ProcessHandler class which imports Coredll Dll and uses it's CreateProcess to create a seperate process with the required application.
This is the main form which has a button to start the Player, then it will ask the user to browse for a media file to play.
The ProcessHandler.CreateProcess function can be used to start any application which is installed in the device by simply replacing the 'WMPlayer' by the required application qualified name (IExplorer).
Friday, September 29, 2006
Interop Forms Toolkit 1.0
Are you in Visual Basic 6 (VB 6) and would like to join the .net 2.0 fun? But is your application size stopping you?
Now with the Interop Forms Toolkit 1.0 you can run forms that you have created with .net hand in hand with vb 6 forms in a VB 6 process.
Big Picture? You don't have to convert your entire application to .net but you can partially convert your application to .net or the new forms that you plan to create can be done in .net and used in your VB6 application.
http://msdn2.microsoft.com/en-us/vbasic/aa701259.aspx
Enjoy.
Are you in Visual Basic 6 (VB 6) and would like to join the .net 2.0 fun? But is your application size stopping you?
Now with the Interop Forms Toolkit 1.0 you can run forms that you have created with .net hand in hand with vb 6 forms in a VB 6 process.
Big Picture? You don't have to convert your entire application to .net but you can partially convert your application to .net or the new forms that you plan to create can be done in .net and used in your VB6 application.
http://msdn2.microsoft.com/en-us/vbasic/aa701259.aspx
Enjoy.
.Net Micro Framework
Microsoft has released a beta developer kit of .net Micro Framework which can be used to develop applications for the smallest of devices which are constrained in cost, memory, processor and/or power consumption.
Would like to know more?
http://www.microsoft.com/presspass/press/2006/sep06/09-26MicroFrameworkDKPR.mspx
http://www.aboutnetmf.com/entry.asp
Microsoft has released a beta developer kit of .net Micro Framework which can be used to develop applications for the smallest of devices which are constrained in cost, memory, processor and/or power consumption.
Would like to know more?
http://www.microsoft.com/presspass/press/2006/sep06/09-26MicroFrameworkDKPR.mspx
http://www.aboutnetmf.com/entry.asp
Tuesday, August 22, 2006
When trying to Run or Build a .Net Compact Framework project, Visual Studio 2005 (VS2005) giving an error MSB4018 ?
--------------------------------------------------------------------------------------------
This a curious error which VS2005 gives before refusing to build the project in anyway.
The work around for this is to close the VS, restart VS and Rebuilding the project.
--------------------------------------------------------------------------------------------
This a curious error which VS2005 gives before refusing to build the project in anyway.
The work around for this is to close the VS, restart VS and Rebuilding the project.
Monday, August 21, 2006
Friday, August 04, 2006
Boeing 787 Dream Liner
-----------------------------
If you are an Aircraft lover check this out, Boeing 787 Dream Liner.
http://dev.newairplane.com/787/en-US/
Username and password is wdtpreview.
Enjoy.
-----------------------------
If you are an Aircraft lover check this out, Boeing 787 Dream Liner.
http://dev.newairplane.com/787/en-US/
Username and password is wdtpreview.
Enjoy.
Subscribe to:
Posts (Atom)
-
If you are wondering a way to change the column header appearing in the .Net GridView control in run time then this post will help you to ge...
-
Last week I spent few hours to figure out why Samsung Galaxy S2 was not connecting to Samsung Kies through USB cable. I could browse phone c...