Compact Framework Flow Layout Panel Equivilent?
Feb 24, 2009I am looking for the windows mobile equivelent of a flow layout panel (or any other control that I can use to hold custom controls)
View 2 RepliesI am looking for the windows mobile equivelent of a flow layout panel (or any other control that I can use to hold custom controls)
View 2 RepliesI am wondering(struggling) the following:
I have 5 flowLayoutPanels and 5 PictureBoxes i want to be able to move anyone of the picture boxes over anyone the FLP at run time and have the layout panel add it to FLP.controls.Add()....
I've been at it for Hours and now ill swallow my pride -
I have done the following To get it working, but here i have to manually specify which PixBox intersects with which FLP and i dont want 25 if statements
[code...]
I have a program with three tabs. On tab one I use a folder browser dialogue and load file names into a listbox. These are usually ".tif" image files but could be other image formats. I save the folder location in a variable. On tab 2 I have a Flow Layout Panel. I need to 1) use that folder location on tab 1 as the source of files to be loaded into the flow layout panel and have it do so when I use the Folder Browser Dialogue; 2) I need to click on these tab2 images (in the Flow Layout Panel) to select them, and to trigger events. Mainly create a list of selected image thumbnails.
View 3 RepliesI have been trying to understand how to make thumbnails that I create from a directory, and place in a flow layout panel, selectable. That is, when someone klicks one of the thumbnails that thumbnail should be selected and, either automatically or by the click of a button, a new window (picture viewer) opens and shows the original picture. This is probably very easy to implement, but I am at a loss for the moment.I've tried to find an answer to this by searching the forums, but nothing good has been found so far.
[Code]...
The above code works perfectly and creates thumbnails from the directory c: emp and whatever subdirectory the user writes in the textbox (textbox2). No problem here, it is how to proceed to the next level that has got me stumped. As stated I want the user to be able to select one of the thumnails to get a better look at it in another window. So in selecting it, the procedure should get the path to the original image, and the rest is magic.
during the development of my project, i'm incurred in the need to use the flow layout panel, but the real need is to show these panels with a defined size without using scrollbars.
I think a kind of dynamic clip of these panels.
For example.
I've a flowlayoutpanel of this visible size (100,200) but its real height is 500, now i've to show to the users the other content of the panel, without using scrollbars.
I am adding some controls to Flow layout panel. In between some controls I need a line break.
View 3 Repliesim trying to get my from to have a flow panel that shows all open forms and it has to refresh its self when a form open or closes. Ive already kind of done this but im sure theirs a much better way to do it.
The Code im using at the moment is:
Private Sub formcheck_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles formcheck.Tick
Dim formTitles As New Collection
[Code]....
I need to create a sound if validation fails. Anyone know how to do that? It can be a wave file or any kind of format.
How can i create a sound in .net compact framework 2.0. using vb.net. I saw codes asking to use system.media class. However in compact framework there do not seem to have this class.
I want to use MySQL with my mobile phone. I have installed the "MySQL Connector" and use this
Dim conn As New MySql.Data.MySqlClient.MySqlConnection
Dim myConnectionString as String
[CODE]....
My machine has erros with "MySql.Data.MySqlClient.MySqlException" and "MySql.Data.MySqlClient.MySqlConnection"
How can i solve this problem? With the normale Framework i can use MySQL...
I cant understand why sending parameters to insert function works slow in .net compact framework.
Forexample following code inserts within 2 seconds
[Code]...
I am creating a TableLayout in which the rows and columns are set by the user at runtime.There initial controls on the form are rowsTextBox, columnsTextBox, button1 and tableLayoutPanel1.I modified some of the code from my initial program. Here's the old code.
Private Sub button1_Click(sender As Object, e As EventArgs)
tableLayoutPanel1.RowCount = Integer.Parse(rowsTextBox.Text)
tableLayoutPanel1.ColumnCount = Integer.Parse(columnsTextBox.Text)
[code]...
Anyone doing anything with VS2010 and the compact framework ? or do we need to go back to VS2005/VS2008 ?
View 1 RepliesI need to replace WebRequestFactory, what is this doing?
Public Shared Sub download_file()
Dim wr As HttpWebRequest = CType(WebRequestFactory.Create("http://www.test.com/test.jpg"), HttpWebRequest)
[Code]....
I'm sure this has probably happened to most people but I've run out of UI space and need to create a hotkey or some similar situation to run a method or function.
View 3 RepliesWe are in the process of creating a new WCF web service (WCF service that has an basicHttpBinding Endpoint) to carry out some of our business logic. The web application connects not problem at all, however our legacy Compact framework application doesn't seem to see the service at all. Are we on to a loser here and should we just revert to ASMX web service (the Compact framework cannot be upgraded) or is there a way around this?
View 1 RepliesI am building an application for windows mobile 5.0 using the .net compact framework and the mysql compact framework connector.Using this very simple app, I test the connection to our database:
Dim connection As New MySql.Data.MySqlClient.MySqlConnection("Server=160.10.1.25;Uid=***;Pwd=***;Database=DevAutomate;Pooling=false;")Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
connection.Open()
connection.Close()
End Sub
In the beginning, I was using an emulator to test this and I was getting a MissingManifestResource error. When I figured out that the emulator didn't have a network connection, I connected it to active sync and used the device emulator manager to simulate cradling the device. Next, I got my hands on a HP iPac mobile device running windows windows mobile classic and I get the MissingManifestResource exception again. This time, I have a network connection on my device and it can definately see the database.
[code].....
View 3 RepliesI am working on the mobile device application and I have a simple form where I have a text box+submit buttom and datagrid
On value enter in textbox+submit, i want to display the the data related to that value (txtbox) in grid.
Now in the compact framework there is no option like Selected value There is selected all, selected text. With the use seleted text is not working.
Dim con3 As New SqlConnection("xxx")
con3.Open()
Dim cmd3 As New SqlCommand
[Code].....
I'm trying to do a school schedule with a Table Panel Layout, and i'm having some difficults.This is the code i have so far:
TableLayoutPanel1.ColumnCount = 7
TableLayoutPanel1.RowCount = 2
TableLayoutPanel1.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single
Dim label_seg As New Label()
[code]....
How do I know wich is the current folder of an App?? I mean... Is there a way to know where is the exe located from the running code?
View 5 RepliesHad any of you tried to migrating the code written in Compact framework (For Windows CE mobile application) into windows application 2010 I did this but getting .resx error i.e resource file error since it is in old version.Has any of you tried a workaroud on this in order to get rid of .resx error.
View 7 RepliesThis is the first time I am working on compressing and decompressing data. I have a byte array(a dataset before compression) which is an already compressed data and I want to decompress it. But the decompression is to be done in .Net Compact framework 2.0 and this framework doesn't have System.IO.Compression library to use GZipStream or DeflateStream.
View 1 RepliesI'm developing an application with visual studio 2008 and compact framework 3.5 who needs to tell users about the compact framework version. If the user don't have the version specified in the application it sends a message but windows check the version before the application runs and send error message. How can i check the version before windows in vb without compact framework?
View 1 RepliesHow can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked:
Shift
CTRL
ALT
and for the Psion Teklogix machines
Orange
Blue
Although I may be able to work this out, if I can determine the others.I want to create my own on-screen indicator panel and want to poll the keys, not using events.
im trying to creat a pocket pc application using visual basic. but i got problem access text file. system always shows that "counld not find a part of path". the code i wrote is like:
Imports System
Imports System.IO
Public Class Form1
[code]....
Is the Compact Framework still in work? It's not in Beta2.
View 2 RepliesI am writing my first windows ce app. I am using an xml file (app.Config) to store state data... basically user preferences on the last location (connection string) that the person was using before closing the app. I am having trouble understanding what is happening on deploy. It looks like it is copying my xml file to the debug folder on deploy. My problem is, when I save the xml file it is not saving in my project. Is there another folder in which the emulator resides that contains all of the state data and possibly the file that I am writing out? I am saving the doc to the same filepath as I am reading in but it does not actually save or throw error or anything.
View 2 RepliesI want to add a single row or more in column but not in complete table layout panel,
means i just want to add row in first column not in second, third or any
How to check tablelayoutpanel each cell having controls is available or not...
View 1 RepliesI'm using a TLP and it contains controls that exceeds it's height, so it's normal for a vertical scrollbar to be displayed. So far so good, but i can't figure out why a horizontal scrollbar is also being displayed when my controls width do not exceed that of the TLP. Is there some way to remove this horizontal scrollbar?
View 5 Replies