Supposed To Be Fullscreen In WPF Touchscreen Application Is Moving When Inner Listbox Is Scrolled?

Jun 30, 2010

I am writing a GUI application to run on a touchscreen device using VB.NET and WPF--it must be full screen at all times, like a kiosk app; the window must not be able to resize or move in any way. The window contains a ListBox that users can currently scroll through by dragging across the list. The problem I'm seeing is that when the user drags across the list, the whole window moves a bit, exposing the desktop underneath, then springs back into place once the user stops dragging. I have not been able to figure out how to keep the window stationary while still allowing users to drag across the ListBox to view all list items. Here is a somewhat simplified version of my code:

[Code]...

View 1 Replies


ADVERTISEMENT

VB 10 Fullscreen Form In A Fullscreen Game?

Jan 4, 2012

how to make a form to show in a game, Sort of like the program steam does.

Or is this even pausbile?

View 8 Replies

Moving Data From Databound Listbox To Other Listbox?

Mar 2, 2012

I've pretty much just started in playing with Visual Basic Studio 2010 and have been using this site for lots of answers so thought I'd join up and harass more directlyI've been trying to move items between two lists, one is databound to a bindingsource, the other isn't. I found out that you can't really move items from databound lists, but you can remove from the datasource instead. This works fine until I want to move the item back - it fills a blank line with seemingly no data.

View 6 Replies

"Make Single Instance Application" Supposed To Work Across Multiple XP Users?

Jun 30, 2009

I am writing a program in VB.net (vs 2008) that requires that only one instance of the executable be running at a time. Naturally I went for the simple solution by selecting the "Make single instance application" checkbox in the Project properties. Unfortunately, this option does not seem to work across multiple users that are logged into a single XP machine, thereby causing the same issues for my program as if I were able to run multiple instances on one single user. Granted this is a corner case, that someone would switch users while my program is running, but I'd like to understand the limitations. So my question is whether the "Make single instance application" property is supposed to work across multiple users? or is it limited to only one-instance-per-user.

Here are the steps the recreate the issue (prereqs: computer with XP pro installed, 2 user accounts (not on a Windows Domain), and a dummy "single instance" program created using the property mentioned above):

1) Log in with user1, start up the single instance program
2) Switch to user2 (StartMenu -> LogOff -> Switch User)
3) Start up the single instance program using user2

*After step 3, the program launches without complaint even though another instance is running on user1. Is this a glitch? or by design?

View 2 Replies

.net - Moving A Listitem To The Top Of A Listbox?

Mar 2, 2010

When the user selects a name in the listbox and clicks a button I save the name in a var called "parent".What I want to do is programmatically move the selected name to the top of the list and take that whole list and drop it in a dropdown. I started the code below but don't know how to move the selected list item (parent) to the top of the list??

Private Sub GoLower(ByVal parent As String,
ByVal lst As ListBox,
ByVal ddl As DropDownList)

[code]....

View 1 Replies

Moving Through Listbox Items One By One With A Loop?

Nov 26, 2009

i have a listbox full of items and i want to use a loop to access these items one after the other and then process each one for admission.That is when the item is at memory location 0, it will work on that item and the move to the next at memory location 1 till it gets to the end of all the items in the list box but my loop is not working i have tried different types of techniques but none of them it working these are my codes

Dim i As Integer
Dim count = Me.lstbprocessapplicant.SelectedItems.Count
For i = 0 To count - 1

[code]....

'This one only gave me the indexes?

View 2 Replies

Not Getting Highlighted After Moving An Item Up In Listbox?

Aug 19, 2009

I have a listbox List1 in Form2 and the items are populated to it from another form Form1. In form2 i have created a button named btnUP. When we click the btnUP then the highlighted selected item in the listbox moves one level up. this is working fine.

The problem is only the value is moving up but not the highlight.

i have also set the setselect property to true "List1.SetSelected(i - 1, True)" but no use ("List1.selectionmode = one" )

don know wat is wrong with the code.But it is not working

So here is my code

Private Sub btnUP_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUP.Click
i = 0

[Code].....

View 2 Replies

VS 2005 Treeview Moving Tag To Listbox?

Mar 18, 2009

so here is what I got so far. I have a treeview with multiple states as parent nodes. then as child nodes I have certain cities. as for my code - I have it set up that if I check the parent node, all children nodes will be checked. I also have code that moves the tags to listbox. the only items that have tags are the children. the code that I have works if I have tags set for the states, but I dont want to have parent tags move to the listbox. how can I change the code I have or rewrite my code to get ONLY children tags in the listbox even if the parents are checked??? hope this makes sense. here is my code

CHECKS ALL CHILD BOXES IF PARENT BOX IS CHECKED

VB
Private Sub TreeView1_BeforeCheck(ByVal sender As Object, _
ByVal e As System.Windows.Forms.TreeViewCancelEventArgs) Handles TreeView1.BeforeCheck

[Code].....

View 2 Replies

Wpf - Moving Keyboard Focus Away From ListBox?

Mar 28, 2009

I'm developing a program in WPF (VB) that relies on keyboard navigation only.In my program, I have a listbox that displays up to 20000 items.What I want is that when the listbox has keyboard focus, and I move to the bottom item that is visible (using ArrowDown), I want the focus to move to the next item outside the listbox. I'm using PgUp and PgDown to scroll the listbox contents, and text search to jump to items.Is there a way to detect if the focused/selected item is the last/first visible item in the listbox?If so, I could just use:

ListBox1.MoveFocus(New TraversalRequest(FocusNavigationDirection.Down))

View 2 Replies

Cannot Be Scrolled Out And Stay Topmost While The Whole App Is Focused

Mar 18, 2010

With that program, it has extra dialogs within it. They cannot be scrolled out and stay topmost while the whole app is focused. How can I do that?

View 1 Replies

Detect If A Text Box Is Being Scrolled (eg: Using The Scroll Bar)?

Jul 2, 2010

During my program I put lines out to a text box on the screen as a form of logs.After each line is added I do a ScrollToCaret() to move to the end of the lines.However, if I'm manually scrolling around the logs/lines (eg: using the scroll bar) I don't want to that.

Is there something I can check so as not it issue the ScrollToCaret() if the user if currently scrolling around in the text box?

View 2 Replies

Get Exact Size Of Scrolled Panel?

Sep 2, 2009

i have a panel on a form and i have various controls inside the panel which i then shrink and enable the panels scrollbar so i can scroll through the controls. i am trying to get the exact size of the panel (unshrunk).for example the panel is 500 pixels in width and i then shrink the panel down to 300 pixels and enable the scrollbar. when i try to get the size of the panel using code like

panel1.size.width.tostring

it keeps telling me the panel is 300 pixels long ..which yes it is because i shrunk it down but i want to get the full size of the panel which should be 500.

View 3 Replies

Drawing Artifacts - ComboBox Contents Scrolled Up Or Down

Dec 30, 2010

A simple form with a combobox called Combo, drawing artifacts when using ComboBox with Custom Draw and the contents of the combobox is scrolled up or down, and with this source code, illustrates the issue:

Public Class Form1
Private Sub Combo_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles Combo.DrawItem
Dim Combo As ComboBox = TryCast(sender, ComboBox)
If Combo Is Nothing Then Exit Sub
If e.Index = -1 Or e.Index >= Combo.Items.Count Then
e.DrawBackground()
[Code] .....

View 2 Replies

Odd OpenFileDialog Behavior Filename Scrolled To Left

Jan 29, 2011

I set up an Openfiledialog and put in an initial filename value (the last filename the user opened).However, when the dialog shows up, it is as if the filename has been scrolled off to the left.I only see about the last 10 characters of the name, even though the filename field is big enough to show the whole name.It is also selected, which is ok - it means if the user types a name the value will replace what I've put there, which is reasonable behavior.How do I control this 'scrolling'?I call it scrolling even though there is no scroll bar.If I click in the field and use the left arrow key I can back up to the beginning of the filename - the filename gradually shifts into view about 10 characters at a time, until I reach its beginning, at which time I see the entire filename in the filename field which is how I'd like to have things when the opendialog opens.

View 4 Replies

VS 2008 Determine If User Has Scrolled To The Bottom Of A Control?

Aug 22, 2010

I am modifying some code I found here to test to see if a user has scrolled to the end of the control. In this case the control is a Crystal Viewer but I posted here because I think the issue is based on the vertical scrollbar not the Crystal Viewer itself.

The code flags an error at

Me.CRViewer.Controls.OfType
Indicating 'OfType' is not a member of 'System.Windows.Forms.Control.ControlCollection'.

I understand the concept that I can't reference something that it is not but I don't know how to fix it. The original code was for a DataGridView.

The ultimate goal (not finished) is to find out when the user has used the mouse or possibly the scroll bar itself and if it hits the bottom of the page of the viewer, then trigger a new page so it looks like they can just keep using the mouse to scroll.

Public Sub New()
Me.InitializeComponent()
Dim vscroll As VScrollBar = Me.CRViewer.Controls.OfType(Of VScrollBar)

[Code]...

View 9 Replies

Popup Numeric Keypad For Touchscreen App?

Aug 26, 2009

I am running a VB app that I developed in Visual Studio 2008. This app runs on an XP machine with a touch screen without a keyboard plugged in. I would like to add a popup numeric keypad for the user when a data field is touched. Can anyone tell me what is needed to create the keypad?

View 2 Replies

Simulating A Ctrl-Click On A Touchscreen?

Oct 22, 2010

I need to come up with a way for a user to select multiple non-consecutive rows of a DataGridView from a touchscreen. Using a mouse & keyboard I would just Ctrl-Click on the rows I want to select, but I dont have that option with a touchscreen.

View 9 Replies

Dual Monitor With Touchscreen Browser Control?

Jan 21, 2012

i am looking for a way to make a clone of 2 webbrowsers when i make a click in the first webbrowser it shows the same in the second webbrowser

detailed:i am making a program with a touchscreen and a hdtelevision setup as extended monitor at the touchscreen you can control what is happening on the tv now i want to control a webbrowser but the problem is i want a internetbrowser on the touchscreen where i can make changes and clicks on the websites
and then i want also to view the internetbrowser on the tv to see the website this is meaning i want a clone from the internetwebbrowser from the one on the touchscreen to a clone on the hdtelevision some sort of linked copy/clone of the webbrowsers

View 6 Replies

Make A Touchscreen Overlay For Our Crappy POS Software At Work?

Aug 25, 2010

I'm about to lose my mind. I'm trying to make a touchscreen overlay for our crappy POS software at work. It is a simple DOS program. I had built an autohotkey script and gui but I just didn't like the look and lack of advanced menus. All I want is to replicate the CONTROLSEND ability of autohotkey. I tried the autohotkey.dll but I have no idea how to add it to my project. I was hoping VB2010 had something built in that can send a string of keystrokes to the DOS program underneath. I have searched all sorts of forum posts for a SIMPLE snippet of code. Seems anyone seeking this is out for nefarious purposes though, and little help is offered. If you worry about this please PM me so I can prove to you my good intentions.

Let me repeat, all I want is a simple snippet of code that when a button is pushed, a specific string (characters and function keys) is sent to a specific out of focus dos box.

View 2 Replies

VS 2010 Show /mHide On Screen Keyboard (OSK / Touchscreen)

Oct 30, 2010

I want to show and hide the OSK keyboard (docked at the bottom) for my touch screen application best methods? (I want to make sure when I show that I try to run, in case someone closed it while using the app)

View 6 Replies

Forms :: Moving Batch To VB Application?

Aug 12, 2010

I've created a batch file on our domain controller to export users based on the OU they are in.

@ECHO OFF
ECHO This tool will export all users in the chosen Active Directory OU.
ECHO.

[Code]....

The form design is only a text box (txtClientID) and a Go button.

View 1 Replies

UI Application - Moving Panel By Mouse X

Jan 27, 2012

I'm making a W8 UI application and I don't want to use other companies controls so I am making it by my self, but I am getting a little trouble with that.

Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick
Dim formlocation As Integer = Panel1.Location.X
Dim pointerposition As String = MousePosition.X
Dim more As String
[Code] .....

I start the Timer when is mouse down and I stop it when is mouse up, but when stop and start again formlaction is 0 again. And I can make it work. Label1 is just to see how many PX the mouse is moving. The buttons are just to see the movement of the panel.

View 7 Replies

Repeating While It's Not Supposed To VB?

Jan 28, 2011

So, I'm making my program which let's people auto-update other programs. Code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim path As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) & "UpdateFiles"
Label1.Text = "Finding updates..."'To do: Find all files in the folder, and let em update one at a time. Write names of Plugins to label2.text ProgressBar1.Maximum = 10000

[Code]...

View 8 Replies

Interface And Graphics :: Touchscreen Scrollbar Button Height / Width

Jan 21, 2010

I'm developing a GUI for a touchscreen, so when user wants to scroll he/she uses their fingers. Now the thing is that the scrollbar width (with the vertical scrollbar) IS adjustable but the button stays the same height and isn't sufficient for a finger. So the question is : Are the buttons in the scrollbar allso adjustable in size/dimensions.

[Code]...

View 5 Replies

Touchscreen Keyboard, SendKeys, Returning Focus To Original Control?

Oct 22, 2010

This isn't really a VB specific question. It's .Net in general... if you have ideas in another .Net language, let me know... I know most of the .Net languages (I don't know that foxtrot or what not weird ones). Furthermore this isn't a 'I don't know the method on some class I should be using' kind of question, it's a design/problem solving kind of question.I'd like to know how you'd approach the problem with in the boundaries set.

View 3 Replies

Code Doesn't Go Where It's Supposed To?

Mar 2, 2010

I have a VB.Net project that I haven't worked on in awhile. I got into this morning and started to run it. I got some errors so I decided to step thru the code. I enter the Page_Load event of a Form module and execute a function call and it takes me to a "End Function" statement. Totally bypasses the function that was called. I continued to step thru it and it just took me randomly thru code. No order whatsoever. I believe I've had this happen before but don't recall how I fixed it.

View 5 Replies

Form Do Not Close When It Is Supposed To

Jun 7, 2011

I have a method where I am making a trial period. When the date has exceded its trialperiod the program will not close.

The code looks like this:

Public Sub DemoRestrict()

If My.Settings.dteStartDate = Nothing Then
My.Settings.dteStartDate = Now

[CODE]...

Why does the form not close? is just runs to the next method in the load sequence

View 3 Replies

How Repeaters Are Supposed To Work

Jun 25, 2012

I'm having lots of trouble understanding how repeaters are supposed to work and how I'm supposed to use them. Basically, I have a label, a set of image buttons, and a div within a repeater. When you click on the button, I want to populate the div that was created with these repeaters (so a different div for each iteration of the repeater).[code]I can't get the repeater to iterate. It's only firing off once and then stops. I can't get a label with the repeater data source's Subject (a field in my database) to appear.

View 1 Replies

Make Sure A File Is Where It Is Supposed To Be?

Jan 17, 2012

I am making a program, but I need to make sure a file is at a certain place on a computer other then my own. How do I do this?

View 5 Replies

What Are Operators Supposed To Do With One Or Both Objects Being Set To 'Nothing'

Feb 1, 2011

Using 2 objects of the same type, I'm trying to implement < and >, but I can't seem to find any authoritative source on what to do with either or both being Nothing. In other words what the accepted practice or MSDN suggestions are.[code]Accessors is my canonical method for centralizing an enumeration of the properties (all are decimal)return false for both if either is Nothing?I found a comment, but can't seem to verify or validate it that A null object is always less than a non-null object..

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved