.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

C++ Q&A: Full Screen Display and Implementing Drag to Move Dialogs

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

More Related Resource Links

PDA Keyboard v1.0 Light Edition - Full Screen Keyboard

The default keypad on Windows Mobile is not at all finger friendly, there is no way you can use it with your fingers. I have trouble using the stylus with it too. But there are many freeware option available to make the SIP ( Software Input Panel - check the Glossary ) finger friendly. Some of these are HTC Diamond keyboard, Blimkeys, PocketCM Keyboard and then now we have PDA Keyboard v1.0 Light Edition from pdamedia.biz. When you hit the blue button it goes into fullscreen mode , then you can use both your hands for typing.

Display Full Name in SharePoint instead of Domain\Username

My SharePoint 2010 server started displaying the users with the Domain\Username standard instead of using Full Name (as it did up to yesterday). This in all pages of the sites (persmission settings, document libraries, tasks, etc.) Does anybody knows how to force SharePoint to display users with the "full name" standard? Thank you.Plo

current window to full screen

i want to do current browser link to full screen and if it is full screen then back to default screen same as pressing F11 but it should be via javascript.

How can I use vb codebehind to open an aspx form in "full screen" mode as if I had pushed the F11 ke

I can create an ActiveX control to active F11 to enable full screen mode, but would rather not.  Is there an easier way?   Thanks 

How to display the image in the screen from the scanner directly

Hi friends,The scanner connected to my PC. now i need to develope the application to display the images when ever the files are scanning in the scanner machine.i want to display the images directly from the scanner. is there any way to do this? pls help me out.. thanks in advance.. 

UpdateProgress full screen

Hi, Is it possible to display the "UpdateProgress" in full screen?  Thank.

Move cursor position during drag drop operation



I know how to change to a custom cusor or visual instead of a standard cursor during drag and drop operations.  I know how to get the current mouse position during drag and drop methods (often there is a GetPosition method, or alternatively I can use p/invoke or System.Windows.Forms.Cursor.MousePosition getter).

My question is, how can I (or is it not possible) to change the mouse position programmatically during the drag/drop operation, ideally just before the drop occurs so that items are dropped at the point of the programmatically set cursor position? 

I tried to to use the System.Windows.Forms.Position setter and SetCursorPos both in the source's PreviewQueryContinueDrag handler and the target's PreviewDrop handler but neither affected the position of where the items were dropped.  In the case of PreviewQueryContinueDrag, the mouse visually moved to the programmatic location after the items were dropped, even though the PreviewQueryContinueDrag handler was called before the item was dropped (and before PreviewDrop).

Any ideas?



Problem in display Full Name after logged in (Session Problem)


After login, i have create a session to display the Username of the logged user, however instead of display the Username, i want to display the Full_Name of the logged user

However i have no idea how it dones....Kindly if you could help me in giving suggestion / ideas. Thank you.

PersonUser Table

P_ID (PK)   =1

Username =lucy88

Password =88ycul

Full_Name = Lucy

User_Type =Admin

Login.aspx - as i do session, it will display lucy88 however i would like to display Full_Name which is Lucy.


    protected void Button1_Click(object sender, EventArgs e)
        SqlDataSource sds = new SqlDataSource();
        sds.ConnectionString = ConfigurationManager.ConnectionStrings["MyDB"].ToString();
        sds.SelectParameters.Add("Username", TypeCode.String, this.TextBox1.Text);
        sds.SelectParameters.Add("Password", TypeCode.String, this.TextBox2.Text);

        sds.SelectCommand = " SELECT * FROM [PersonUser] WHERE [Username] = @Username AND [Password] = @Password";
        DataView dv = (DataView)sds.Select(DataSourceSelectArguments.Empty);

        if (dv.Count

Move cursor position during drag drop operation



I'm enhancing the behaviour of out of the box WF designer drag/drop experience.  One of the things I'm trying to do (in part) is when a toolbox item is drag over an existing activity designer and then dropped, I want the toolbox item's activity to be dropped close to the activity designer on which it was to be dropped, but not directly on top of the designer.

To accomplish this, I detect when a drop operation is about to occur and then I attempt to move the cursor position next to the activity designer.  The problem I'm having is moving the cursor during the drop operation.  I've tried various ways to do this programmatically, but nothing seems to work.  Or, perhaps it is getting moved but then the workflow designer (and in particular the flowchart designer) does something special with mouse position or otherwise ignores it. 

I started out posting this question on the WPF forum, but now I'm beginning to wonder if perhaps there is something unique to  the WF/flowchart designer that's causing the mouse not to move (or to move back to the original position perhaps) rather than a general issue with moving the mouse during drag/drop operations.

Can anyone provide any guidance?



cannot we display an image as a full coverpage so that the coverpage will not have left any margins



well cannot we display an image as a full coverpage so that there will not left any margins .

what we have to do inorder to display a whole image as a coverpage.


i just need to display some company image as a coverpage and i have remove a header n footer from coverpage also but still there is some margin left out so how can i rewmove it ..

help me out soon.


Drag-move canvas and its children


With VS2008, I have created a Canvas in a ScrollViewer, in which I place an Image which I overlay with Buttons and StackPanels. This far, everything works as I'd want to, but my next challenge is to implement a drag-move behavior where the user can click on the Image and drag it in every direction. I figured out how I should move just the Image, but the problem is that the Buttons and StackPanels stay in place, where I really want them to be moved with Image as well. Trying to convert the drag-the-Image-method to a sort of drag-the-Canvas one did not work out for me.

So my layout is structured like this:


Personal review:how to get movies full screen on my droid x

Personal review:how to get movies full screen on my droid x

When you get or have a look at the real Motorola Droid X, you will find the large screen impressive. Motorola Droid X has a large screen with 4.3 inch, which is larger than the 3.5-inch display screen for iPhone 4. However, the display resolution of Motorola Droid X (480 x 854) is smaller than iPhone 4 (960x640).

If you want to play most of you videos on Motorola Android smartphone: Droid X, you shall pay attention to the file format before transferring them to your phone's SD card. Let's have a look at the playable format of Motorola Droid X:

Video: H.263, H.264, MPEG-4,
Audio: AAC, MP3, WAV, eAAC+, WMA v10, MIDI, AAC+

With the above codec, you may notice that the most commonly supported format is .mp4 for Motorola Droid X. If your videos are not in the Motorola Droid X compatible format or resolution, you shall convert them to .mp4. Aunsoft Video Converter is the recommended video converter for Motorola Droid X. It does not only convert your videos to mp4 for Motorola Droid X, but also downscale the HD videos to 854x480, so that you can enjoy video

want to open popup screen on button on user control and and display same user control on pop up


Hi i have page where i am calling user control, on user control i want to give button when i click button same user control should appear on popup screen

but not able to do , here code






void Page_PreRender(object sender, EventArgs e)//some value set as hard coded






string defLayer = "1";//Build the params to be passed to gdd xaml file.







defLayer =


How to move the SQL Server SQLFT log files created by the full text catalog process.


I need to move the location of the SQLFT text log files from it's current location %ProgramFiles%\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\LOG folder to another larger drive to accomodate the log file growth.  I cannot find anything on how to make this change.  Does anyone have an answer?  I have found this is a default at install - but during install did not find how to change this. 

Thank you.



Full Screen Mode In Silverlight

In this post I will show you how to make the silverlight application to run in full screen mode which is provided by the silverlight. You can use the F11 key to run the silverlight application in full screen mode but the toolbar button are visible on the top of screen in case of the F11 key. To go back to the embedded mode you can use the Esc key to exit the full screen mode. But if you want to give this functionality in you application or by using the code here is the code which is used to run in the Full screen mode and also to go back to the embedded mode.

Move to the new page and display one Div and collapse another Div using JavaScript


I have two pages: Page1.aspx and Page2.aspx. Both pages have three input-button menus with JavaScript function:

  • “See Div1 at Page1.aspx”.
  • “See Div2 at Page1.aspx”,
  • “See Page2.aspx”.

Please take a look my full code below for Page1.aspx and Page2.aspx. My code is working but have problem at Page2.aspx only for menu “See Div2 at Page1.aspx. Because when the user at Page2.aspx and click menu “See Div2 at Page1.aspx”, the user will see Div1 at Page1.aspx (not see Div2).

I need your advice to solve this simple example. I am using VS 2008. Thanks.


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Page1.aspx.vb" Inherits="MyExample_MovingDivAndPage_Page1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="ser

Full Screen Loading Panel

The article Full Screen Loading Panel was added by cruzerb on Saturday, March 19, 2011.

After few projects, finally come out with this simple loading panel scripts. Hope it useful for your. JavaScripts functionShowLoading(){ functionGetWidth(){ varx=0; if(self.innerWidth){ x=self.innerWidth; } elseif(document.documentElement&&document
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