Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: WIA Video Problem...?? Pin
Christian Graus30-Jun-09 0:13
protectorChristian Graus30-Jun-09 0:13 
QuestionMediaplayer version checking Pin
rakeshs31229-Jun-09 20:24
rakeshs31229-Jun-09 20:24 
AnswerRe: Mediaplayer version checking Pin
stancrm29-Jun-09 20:41
stancrm29-Jun-09 20:41 
GeneralRe: Mediaplayer version checking Pin
rakeshs31229-Jun-09 20:50
rakeshs31229-Jun-09 20:50 
AnswerRe: Mediaplayer version checking Pin
Akhmad Suaidi29-Jun-09 21:41
Akhmad Suaidi29-Jun-09 21:41 
QuestionHow can i convert a List to Dataset? Pin
Alim1234529-Jun-09 20:04
Alim1234529-Jun-09 20:04 
AnswerRe: How can i convert a List to Dataset? Pin
himanshu256129-Jun-09 20:53
himanshu256129-Jun-09 20:53 
QuestionDatabe create by Programmatically but Password not create Pin
khosnur29-Jun-09 19:01
khosnur29-Jun-09 19:01 
I try to develop windows mobile application. Pro grammatically i create database but it does not crate password. so it show password mismatch.

Plz help me this is my first windows mobile application...

My code is given below:

DataTable dt = new DataTable("ServerSettings"); dt.ReadXmlSchema(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + ("\\ServerInformation.bin"));
dt.ReadXml(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + ("\\ServerInformation.bin"));


SqlCeReplication repl = new SqlCeReplication();

repl.InternetUrl = @"http://" + dt.Rows[0]["PCName"].ToString() + "/DBRestaurant/sqlcesa30.dll";
repl.Publisher = dt.Rows[0]["PCName"].ToString();
repl.PublisherDatabase = @"DBRestaurant";
repl.PublisherSecurityMode = SecurityType.DBAuthentication;
repl.PublisherLogin = @"sa";
repl.PublisherPassword = dt.Rows[0]["PublicatrionPassword"].ToString();
repl.Publication = @"DBRestaurant";
repl.Subscriber = @"DBRestaurant";

repl.SubscriberConnectionString = @"Data Source=""My documents\DBRestaurant.sdf"";Password=" + dt.Rows[0]["SubscriptionPassword"].ToString() + ";Max Database Size=128;Default Lock Escalation =100;";

try
{
if(!System.IO.File.Exists("My documents\\DBRestaurant.sdf"))
repl.AddSubscription(AddOption.CreateDatabase);
repl.Synchronize();
}
catch (SqlCeException e)
{
System.Windows.Forms.MessageBox.Show(e.ToString());
}
AnswerIgnore repost Pin
Manas Bhardwaj29-Jun-09 22:00
professionalManas Bhardwaj29-Jun-09 22:00 
QuestionCreate database in windows mobile but dont create password Pin
khosnur29-Jun-09 18:48
khosnur29-Jun-09 18:48 
AnswerRe: Create database in windows mobile but dont create password Pin
himanshu256129-Jun-09 20:57
himanshu256129-Jun-09 20:57 
QuestionCreate Custom Control Pin
satsumatable29-Jun-09 17:34
satsumatable29-Jun-09 17:34 
AnswerRe: Create Custom Control Pin
dan!sh 29-Jun-09 17:50
professional dan!sh 29-Jun-09 17:50 
GeneralRe: Create Custom Control Pin
Rajesh R Subramanian29-Jun-09 22:39
professionalRajesh R Subramanian29-Jun-09 22:39 
GeneralRe: Create Custom Control Pin
EliottA30-Jun-09 2:55
EliottA30-Jun-09 2:55 
QuestionNetwork connections detecting Pin
steve_rm29-Jun-09 14:51
steve_rm29-Jun-09 14:51 
AnswerRe: Network connections detecting Pin
Eslam Afifi29-Jun-09 16:44
Eslam Afifi29-Jun-09 16:44 
QuestionProper way of creating a form with multiple pages Pin
shultas29-Jun-09 14:16
shultas29-Jun-09 14:16 
AnswerRe: Proper way of creating a form with multiple pages Pin
Christian Graus29-Jun-09 14:58
protectorChristian Graus29-Jun-09 14:58 
GeneralRe: Proper way of creating a form with multiple pages Pin
shultas29-Jun-09 15:39
shultas29-Jun-09 15:39 
GeneralRe: Proper way of creating a form with multiple pages Pin
Christian Graus29-Jun-09 15:54
protectorChristian Graus29-Jun-09 15:54 
GeneralRe: Proper way of creating a form with multiple pages Pin
shultas29-Jun-09 15:58
shultas29-Jun-09 15:58 
GeneralRe: Proper way of creating a form with multiple pages Pin
Christian Graus29-Jun-09 16:19
protectorChristian Graus29-Jun-09 16:19 
GeneralRe: Proper way of creating a form with multiple pages Pin
EliottA29-Jun-09 15:51
EliottA29-Jun-09 15:51 
QuestionNeed to search a webpage for a word OR search links in it Pin
p3rson29-Jun-09 12:47
p3rson29-Jun-09 12:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.