Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Abdul Rahman Hamidy

@Abdul Rahman Hamidy
About
Posts
257
Topics
121
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to merge mp3 files into one in windows phone 8
    A Abdul Rahman Hamidy

    Dear Friends, I have list of mp3 files that I would like to merge them into one file. I downloaded files locally into isolated storage, but I have no idea how to merge them. google doesn't help either. I don't know if its possible in wp8. (2) If not possible what specific solution you could advice (I also have my files in web). Thanks!

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile database help tutorial

  • How to add pivot item to wp8
    A Abdul Rahman Hamidy

    Dear friends, I have bounded pivot items using collection which works fine. Now I want to remove individual pivot item when selection changes.

    private void myPivot_SelectionChanged(object sender, SelectionChangedEventArgs e)
    {
    if (e.AddedItems.Count > 0)
    {
    //Remove old Items
    // Add New Item to Page collection (Pages.Add())
    //Show only 1 pivot item (Users should see other pivot item headers)
    }

        }
    

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile database tutorial

  • How to retrieve result from sqlite view in windows app 8
    A Abdul Rahman Hamidy

    I have created a view using sqlite manager (add-on in firefox) and the view result is more than 6,000 records. I have used this database in wp8 app, when I retrieve data from tables, It works but when I query from view within wp8 app it doesn't retrieve any result. I don't know if its possible to have views / or retrieve result set from view. I have below code for retrieving data from view.

    public List<ArabicTextWithTranslation> getArabicTextWithTranslation(Chapter chapter)
    {
    List<ArabicTextWithTranslation> list = dbConn.Query<ArabicTextWithTranslation>("select * from ArabicTextWithTranslation ").ToList();//where ChapterID = " + chapter.SuraID).ToList();
    foreach (ArabicTextWithTranslation li in list)
    {
    li.AyaID = ConvertToArabicIndicString(Convert.ToInt16(li.AyaID));
    }
    return list;
    }

    "ArabicTextWithTranslation" is view in sqlite. Everything works in SQlite, but it doesn't retrieve data in windows app 8. Thanks!

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile database sqlite tutorial

  • How to bind data user control inside listbox (Windows Phone8)
    A Abdul Rahman Hamidy

    Dear friends, I am trying to bind user control inside listbox, but it seems I am doing something wrong. Here what I am doing in user control

    <Grid x:Name="LayoutRoot" Background="Transparent" >
    <Grid.RowDefinitions>
    <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto"></ColumnDefinition>
    <ColumnDefinition Width="*"></ColumnDefinition>
    <ColumnDefinition Width="*"></ColumnDefinition>
    </Grid.ColumnDefinitions>
    <Image Source="Images/download.png" Width="30" Height="30" VerticalAlignment="Top" Grid.Column="0"/>
    <ProgressBar Grid.Row="0" Grid.Column="1" x:Name="prg" VerticalAlignment="Top" />
    <TextBlock x:Name="TextBlock" Foreground="Black" Text="{Binding Text}" Grid.Row="0" Grid.Column="2" VerticalAlignment="Top" FontSize="20" HorizontalAlignment="Left" />
    </Grid>

    and code behind for user control

    public static readonly DependencyProperty TextProperty =
    DependencyProperty.Register(
    "Text",
    typeof(string),
    typeof(SuraWithProgressBar),
    new PropertyMetadata(null));

    public string Text
    {
    get { return (string)GetValue(TextProperty); }
    set { SetValue(TextProperty, value);}
    }

    The usage

    <ListBox x:Name="lsbQuranData" Grid.Row="1" Foreground="Black" ScrollViewer.VerticalScrollBarVisibility="Visible">
    <ListBox.ItemTemplate>
    <DataTemplate>
    <StackPanel>
    <local:SuraWithProgressBar Text="{Binding SuraTName, ElementName=SuraWithProgressBar}"></local:SuraWithProgressBar>
    <Line X1="0" X2="480" Y1="0" Y2="0" VerticalAlignment="Bottom" StrokeThickness="2" Stroke="Black" />
    </StackPanel>
    </DataTemplate>
    </ListBox.ItemTemplate>
    </ListBox>

    and code behind for usage lsbQuranData.ItemsSource = App.Chapter; Let me mention that "App.Chapter" contain "SuraTName" which is binded to Text property of user control. The user control is added in list box, but the text is not displayed. Thanks,

    Abdul Rahaman

    Mobile css wpf wcf tutorial

  • Removing Delay in Playing Mp3 Files in Windows Phone 8
    A Abdul Rahman Hamidy

    Thanks for the reply, Can you please help me with Mp3MediaStreamSource class.

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile csharp database visual-studio com help

  • TextBlock does not display all Text (Windows Phone 8)
    A Abdul Rahman Hamidy

    Dear All, I have below code (Just for text purpose)

    <ScrollViewer VerticalScrollBarVisibility="Visible">
    <TextBlock x:Name="txt" Foreground="White" FontSize="40"/>
    </ScrollViewer>

    and c#

    for (var i = 0; i < 50; i++)
    txt.Text += counter++ + Environment.NewLine;

    It prints upto 43 lines (counter), However there is a scroll, but i cannot see the remaining text. I dont know what is the issue with textblock (does it accept only 43 lines or more?)

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile question csharp database help workspace

  • Removing Delay in Playing Mp3 Files in Windows Phone 8
    A Abdul Rahman Hamidy

    Thanks for the reply, I am storing files locally and I am using BackgroundAudioPlayer instead of Streaming. (I didnt understand mp3Element, object of?)

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile csharp database visual-studio com help

  • Removing Delay in Playing Mp3 Files in Windows Phone 8
    A Abdul Rahman Hamidy

    Dear All, I am developing Windows Phone 8 App in c# and i have followed

    http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202978(v=vs.105).aspx\[^\]

    When Playing file, there is 1-3 seconds delay in playing each Mp3 file.

    I am looking to remove this delay or play next track (next mp3 file) before reaching just to an end.

    Google does not help a lot :(

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile csharp database visual-studio com help

  • It takes too long to execute a query in aspx page
    A Abdul Rahman Hamidy

    Dear All, I am having an issue with an aspx where it takes too much (more than 1 min) to execute a page as it only takes 2 second in sql server to execute the same query where i am calling from aspx page. I didn't understand why the aspx page takes too much time?

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    ASP.NET database sql-server sysadmin help question

  • Mobile Application Development (Windows Platform)
    A Abdul Rahman Hamidy

    Thanks for your reply, Its only windows platform (windows 7 or later)

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile csharp database learning

  • Mobile Application Development (Windows Platform)
    A Abdul Rahman Hamidy

    Dear All, I am going to learn windows mobile application development in c#, although i have read some topics and beginner books for mobile development, I am looking forward to hear from friends here which they already developed and deployed real mobile application. Your cooperation are highly appreciated!!!

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Mobile csharp database learning

  • .Net Reporting
    A Abdul Rahman Hamidy

    despite others, I also recommend RDLC of Microsoft.

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Database csharp question

  • Transpose in SQL 2k5
    A Abdul Rahman Hamidy

    appreciated, that is what i need!

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Database database question

  • Transpose in SQL 2k5
    A Abdul Rahman Hamidy

    thanks for your reply, doing in DataTable is the simplest solution.

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Database database question

  • Transpose in SQL 2k5
    A Abdul Rahman Hamidy

    Dear All, I have bellow table which I want to transpose, the pivot in SQL 2k5 works but I want it like in a dynamic way. as lets say i have table EmpID Name 1 A 2 B I want to transpose by EmpID, that works fine but what if one more record is added to the table as EmpID Name 1 A 2 B 3 C then my transpose only picks up 1 and 2, how can i dynamically transpose that?

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Database database question

  • Merge Replication Conflict
    A Abdul Rahman Hamidy

    Dear All, I configured merge replication between 2 Servers which works OK, but all the time I am getting conflict only in one of my table. more than 1000 records conflicts. I Googled but no solution which lets to do remove these conflicts, Is there any way to resolve conflicts automatically without going to VIEW Conflicts in Publication and basically what causes the conflict only in that table.

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Database database

  • Technical Aspect of SQL 2k or 2k5 Replication
    A Abdul Rahman Hamidy

    Dear All, I am doing a project where it needs a mechanism as Replication does in Sql 2k or Sql 2k5 where i have to do in some programming language. I am searching for technical aspect of replication. I would appreciate to have your ideas or any reference which i should be able to get an idea about technical part in replication.

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    Database database algorithms

  • Install windows Service from ClickOnce Deployment
    A Abdul Rahman Hamidy

    Dear All, I have an application which will be deployed by clickOnce, I have a Service Project in the same project, I want that when Installing the Application via the URL the service should be installed in Client Computer, as the application is avilable both Online and Offline. any ideas, Like is it Possible to deploy the Application and Install the service via Click Once Deployment?

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    C# database sysadmin question

  • Remove items from the list box in C# windows application
    A Abdul Rahman Hamidy

    use bellow

    while (Lstservices.SelectedItems.Count>0)
    {
    Lstservices.Items.Remove(Lstservices.SelectedItem);
    }

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    C# csharp help question

  • Asynchronous downloading in C# [modified]
    A Abdul Rahman Hamidy

    I would recommend using Socket Class which provides you to resume, stop your downloading or Uploading.

    Abdul Rahaman Hamidy Database Developer Kabul, Afghanistan

    C# csharp help tutorial question career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups