jump to navigation

How to disable the warnings in your code? December 14, 2009

Posted by mobizent in C#.
add a comment

Use this below line of code in your project. This will disable all the warnings.. :)

#pragma warning disable

Embedding SQL Server Express into Custom Applications December 3, 2009

Posted by mobizent in Dot Net.
add a comment

Hi, Today i read an article about

How to Embedding SQL Server Express into Custom Applications?

The below link describes about it.

http://msdn.microsoft.com/en-us/library/bb264562(SQL.90).aspx

Thank you.

Make single instance applications in C# December 3, 2009

Posted by mobizent in C#.
add a comment

As we know in VB.Net its very easy to make a single instance application. But in C# we have to write some code for it.

Here is the following code will help us to create the single instance application.

In the main() function check the below condition,

if (GetRunningInstance(“Address”) == null)
Application.Run(new Address());
This function will help us to get the running process and it will return the null if the instance the application is not running already.

public static Process GetRunningInstance(string processName)

{

Process[] proclist = Process.GetProcessesByName(processName);

foreach (Process p in proclist)

{

if (p.Id != Process.GetCurrentProcess().Id)

{

return p;

}

}

return null;

}

Thank You,

Supporting Databases on Windows CE November 26, 2009

Posted by mobizent in Uncategorized.
add a comment
The following Databases are supporting the Windows CE.
  1. SQL Server Compact
  2. Sybase IAnywhere
  3. SQLite
  4. MySQL

Microsoft’s latest offering is SQL Server Compact 3.5. As with the Windows Mobile OS name changes, SQL Server Compact has gone down a similar path. The difference with SQL Server Compact today is that it can be run on the desktop as well as mobile devices. There are different installations but you can read/write the same database on both platforms. This feature has been supported since v3.1.

There is support in SQL Server Management Studio (standard or later, not express) that allows you to connect to an SDF (compact database). The database looks as if it were a normal MDF desktop database. You can run queries, change the schema, create a diagram etc. The tool also has support to connect to a database on the device when the device is connected via ActiveSync or Device Manager (Vista). Note though, SQL Server 2005 Management Studio doesn’t work with SQL Server Compact 3.5. You have to have SQL Server 2008 installed. You can however use Visual Studio 2008 to connect to the SDF if you wish, although the tooling is very limited.

Microsoft Recite to be discontinued!!! November 26, 2009

Posted by mobizent in Uncategorized.
1 comment so far

What is Microsoft Recite?

Microsoft Recite is a tool in Windows Mobile that allows you to verbally record your thoughts to aid you to remember things, then retrieve them by asking (voice recognition) Recite for the content using any of the phrases in the recorded message.

Check out this below URL for further details..

http://recite.microsoft.com/Pages/index.aspx

Checkout a video of Recite in action here:

http://recite.microsoft.com/Pages/ReciteVideo.aspx

Thank You…

Apple’s iPhone OS 3.0 preview event November 26, 2009

Posted by mobizent in Uncategorized.
add a comment

Here you go… look at the new iPhone OS preview event.

http://www.engadget.com/2009/03/17/live-from-apples-iphone-os-3-0-preview-event/

Thank you

 

Answering Website for Windows Vista Users. November 26, 2009

Posted by mobizent in Uncategorized.
add a comment

Microsoft has recently announced and released a website for Windows Vista users to post questions here: http://answers.microsoft.com.

There is quite a large MVP presence there to answer your Windows Vista questions.

DbDataReader.DoesColumnExist November 26, 2009

Posted by mobizent in Uncategorized.
add a comment

Check the desired column exists or not before manipulating it in Compact Framework. I have found an ultimate article from Simon blog. I haven’t tested this in my side. If you get the chance to implement this please let me know.

http://www.simonrhart.com/2009/06/dbdatareaderdoescolumnexist.html

Thank You..

 

Interesting!!!! Obama profile in LinkedIn November 25, 2009

Posted by mobizent in Uncategorized.
add a comment

I have found Obama profile in LinkedIn. I dont know whether it is original or fake. Anyway you also have a look.

http://www.linkedin.com/in/barackobama

Thank You..

 

 

Difference between .Net Compact Framework and .Net Framework November 25, 2009

Posted by mobizent in Uncategorized.
add a comment

Hi,

Today i found a very good article to understand the difference between .Net CF and .Net FX. If you have the time please go thro it.

http://msdn.microsoft.com/en-us/library/2weec7k5.aspx

Thank you.

Follow

Get every new post delivered to your Inbox.