.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

TouchPictureBox, Slide Pictures with Fingers!

Posted By: Syed Shakeer Hussain     Posted Date: April 25, 2011    Points: 2   Category :Others

The idea came while developing a smart device app where man should view pictures, larger than the screen, where I found that scrollbars weren't so easy to use, even by these times where "touch" experience is such a fashion! So I decided to build a new control, so man could navigate through the picture using his finger. Afterwards, I added zoom capabilities, so man could easily see the whole picture and then navigate through it.

View Complete Post

More Related Resource Links

datalist image slide show problem


hi friends

i am binding  images dynamically(back end)for a datalist .iam applying a slideshow for it .I am getting a problem to apply slideshow for dyanmically binded images.If the define in a div statically it working perfectly

for example pls go through my code below:

<script type="text/javascript">
$(document).ready(function() {
        fx: 'scrollLeft' // choose your transition type, ex: fade, scrollUp, shuffle, etc...

<div class="slideshow">
        <img src="images/30_dummy.jpg" width="200" height="200" />
        <img src="images/aquarius.gif" width="200" height="200" />
        <img src="images/star.gif" width="200" height="200" />
        <img src="images/the-proud-indian-flag-1.jpg" width="200" height="200" />

I above code works perfectly and the slide show e

Editor's Note: More than Pretty Pictures


Complete freedom in creating the user experience can be a double-edged sword, but a little bit of artistry can transform an application's usability.

Howard Dierking

MSDN Magazine August 2008

Profile Pictures not displayed in Discussion Board in SharePoint 2007

Picture Placeholders are displayed instead of Profile Images in Discussion boards in MOSS 2007 but when you click on the user, their pictures appeared in MySites, also with Search People. How to fix this?!

Sheet Master in Excel vs Slide Masters in PowerPoint


Is it possible to create a Sheet Master in Excel as we create Slide Masters in PowerPoint?

For example, I'd like to insert a picture in several sheets and i couldn't find a better way than copying/pasting the pic in each sheet.



Code Camp 2010 in Words & Pictures

The Jacksonville Developer User Group pulled off an excellent code camp this weekend.  It was a great opprotunity to catch up with friends, meet new ones, and learn some good tech!  My day started off as a volunteer at the registration table.  We had a great group of volunteers...even if it was 6:30 in the morning...on a Saturday! Our welcome sign...who says you don't need a code monkey? After handing out badges, bags, and shirts for a couple hours it was off to my first class: SQL Server Complex Event Processing.  This is the new StreamInsight technology that is part of SQL Server 2008 R2.  Interesting stuff for streaming real-time data from various system...I'll need to dig into it a bit deeper. Next it was off to learn about Functional Programming and then "Becoming a Rx Pusher with the Reactive Framework".  The Reactive Framework talk was probably the most interesting of the day.  It was presented by Jim Wooley who posts at ThinqLinq.com.  The Rx framework looks extremely interesting in terms of how it handles asynchronous processing. Of course, I had to visit my friends over at PR'UF.  The PR'UF system was launched at this year's Code Camp and provides a better way to find the talented developers & architects you need.  What makes PR'UF different?  It uses reputable industry experts who

Retrieve and display pictures on form

I need to write a code to retrieve and display pictures on a form. And also a validation to disable next or previous button when reaching an end of the picture stream. Can anyone please help me  out ASAP? PS: All pictures should be located in a combo box! And the number of pictures are 200.

Attempting to use an HTTP handler to display pictures in gridview. It's not working, please help.

I am writing a web page that needs pictures displayed for each item.  The page works just fine except for the pictures.  I have a file called handler.ashx uploaded to the server as well.  It does not seem to be hurting anything, but it doesn't seem to help display the pictures either!  I am working with a MySQL database so I am thinking that the call for the data or the ashx page's structure itself are my problem.  I am using C# Express so there is no generic handler class to autoload and therefore my handler page is pasted together and I know the using statements are in the wrong place, but I'm new to this and I'm lost!  The following is my database table info (table is named: Yamaha), my handler.ashx page code, and the code for the final web page.  I have loaded ".jpeg" or "jpeg" into the field I added called "Image_Type"  since I have already uploaded all pictures as longblobs.  You can view the final web page here: http://www.88867honda.com/YamahaPtsSale.aspx Thanks in advance for any help, Melissa   Table info: Field TypeAttributes--> Null DefaultExtra--> Comments part_number varchar(15)  --> No     -->   description varchar(50)  --> Yes  NULL   -->   qty int(4)  --> Yes  NULL  

Thumbnails Disapperar in Slide Library

I am testing a SP 2010 Slide Library. After publishing slides to the library, thumbnails appear normal to me, but others logged in see a box with a red x. If they open the PPT file and save it back, they then see a normal thumbnail, but I get the box with the red x. Anyone have ideas on the cause and correction for this problem?

how to get photo's from my messenges in ''my pictures'

isthere softwhere for this,or do I read it but can not find it sorry for being so dumb,one excuse ,[I am 82 years of age],my brother from france send me some nice pitures and I like to sane them in 'my pictures'

Selecting pictures from a particular directory in the Picture Library.

Hi, Im trying to get the images from a particular directory in a selected picture library, I have seen the SPListItemCollection _pictureList.Folders but im not sure how to access actual contents of these items. Sorry this isn't terrible detailed but i haven't really got any snippets atm. Thanks in advance Courtney O'Sullivan.  EDIT: This is my code but i know its wrong,  SPFile file = folders.File; i think is the actual folder itself instead of the files in the folder. SPListItemCollection listCollection = _pictureList.Folders; foreach (SPListItem folders in listCollection) { SPFile file = folders.File; //if there is a directory set if (PictureLibraryDirName.Length > 0) { bool bFoundDir = false; //if we have a folder directory string dirPath = SPUtility.GetUrlDirectory(file.Item.Url); if (dirPath != null) { string[] dirs = dirPath.Split(new char[] { '/' }); if (dirs.Length > 0) { foreach (string dir in dirs) { errormessage += dir; if (dir.Equals(PictureLibraryDirName)) { bFoundDir = true; } } } } //and if the file belongs to a different directory if (!bFoundDir) { continue; } }

Sharepoint slide library adding functionality.

The slide library in Sharepoint allows you to upload Powerpoint slides to it, then to copy a slide to a new presentation and edit it, or check it out so you can edit it and check back in the changes. Unfortunately the ability to check out multiple slides at once to edit is not possible, only the ability to copy them to a new presentation, so you lose all data stored with them.  I am trying to find a way to be able to check out multiple slides at once, then be able to check them in when you have made changes.   My questions are basically:  Can I add a button to the Sharepoint slide library interface? How can I interact with the client machine in terms of opening Powerpoint and getting them to be able to check out the slides? I have the Sharepoint VSTO tools installed and this must be for Sharepoint 2007. Thanks  

Internet Exporer Crashes when viewing a SharePoint 2010 Slide library

I have 3 environments  (Test, Development & Production) in which this issue happens on all. Whether i create a new blank or use and existing Slide library; upload more than one Powerpoint slide in the library and i put my mouse cursor on any place other than the ribbon interface, Internet explorer jams and stops working. IE restarts itself and brings you back to the library but then does the same thing if you put your cursor anywhere in the sharepoint view. We had tested using IE without addons and it worked correctly. We then ran internete explorer and disabled all addons one by one until all were disabled and the issue was still occurring. We had changed a number of settings and found that disabling "active scripting" in the IE settings also made the issue dissapear. The issue is that we want active scripting and all add ons to work aswell.  We also updated Silverlight  from 4 with a build of 3.0.4 from the Microsoft Website.   (Internet Explroer 8 is the version running on Windows 7 Enterprise edition) The issue IE creates in the application log:  Event ID: 1000 Task Category: (100) Level: Error Keyword: Classic Faulting application name: IEXPLORE.EXE, version: 8.0.7600.16385, time stamp: 0x4a5bc69e Faulting module name: mshtml.dll, version: 8.0.7600.16490, time stamp: 0x4b2c9557

automatic slide show

Hi all: How can I make this to happen automatically instead of on mouse hover:  <script type="text/javascript">         $(document).ready(function () {             lastBlock = $("#a1");             maxWidth = 820;             minWidth = 30;             $(lastBlock).animate({ width: minWidth + "px" }, { queue: false, duration: 600 });             $(this).animate({ width: maxWidth + "px" }, { queue: false, duration: 600 });             currentBlock = this;             lastBlock = this;             //$(lastBlock).children('.comment').hide();             $("ul li a").hover( function () {    $(this).children('.comment').hide();    $(this).children('img').hover(function () { $(currentBlock).children('.comment').hide(); });    $(lastBlock).children('.comment').show();    $(lastBlock).animate({ width: minWidth + "px" }, { queue: false, duration: 600 });    $(this).anima

Slide Library Publish option URL as link

Hello all, I know how to create a new item from URL however am stuck in trying to figure out how to launch the 'Publish' option via a link. Basically I just want to have a link that instantiates the Publish activity (e.g. opens browse to file box, etc..

Programmatically Uploading User Profile Pictures using Powershell

I've reviewed other solutions for this, but I need clarification on something I'm not getting by reading other posts.  I'm using a powershell script to: 1)  Upload profile pictures on our network into the User Photos picture library in the My Site Host.  This works. 2) Associate a picture to a user profile.  I'm using this command ... $up.get_Item($picturePropertyName).Value = $PortraitUrl ... where $up is the user profile, $picturePropertyName is the property name of the url (PictureUrl), and $PortraitUrl is the full path to the picture uploaded in point 1 above.  This isn't working. 3) Eventually I will be executing the Update-SPProfileStore command to automatically resize the images once they've been added. Clarification required ... when I associate a picture to the user profile in step 2 above, is this what will automatically generate the 3 thumbnails for me (in the Profile Picture folder)?  Or ... do I have to manually create the 3 images?  Or ... will it associate the image I've provided and then the Update-SPProfileStore command will create the 3 resized images for me? I notice that when I associate a picture to a profile using the 'Edit my Profile' UI, it automatically creates the thumbnails for me.  I'm just not understanding how these pieces fit together.  I see some code snippets out there for r

Contact Details web parts on pages won't show any more than 7 pictures



For each new person that is added to a company department, we add a contact details webpart and their picture to the departmental page. We can't seem to add any more than that, the contact details webpart and their name shows up, but no picture. The other 7 pictures do continue to show up. Is there a limitation on the contact details webpart?

Heartland Developers Conference 2010 Slide Decks

Below are links to the PowerPoint Decks from last weeks HDC10 conference. [ Opening Keynote - A Look Ahead ] [ An Overview of Microsoft WebMatrix ] [ An Introduction to The Orchard Project ] I was really enthused by the interest in WebMatrix, Orchard, and LightSwitch. Stay tuned... I'm working on overview content for all three.   Technorati Tags: ASP.NET , WebMatrix , LightSwitch Read More......(read more)
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend