Running On A Panasonic H1 Handheld Device?
Oct 14, 2009
I have an application that I am running on a Panasonic H1 handheld device, that is used at remote locations. I have a database on this device (SQL Server 2005) to help with the data entry process. Because the H1 can be slow (only 2GB ram), when this application starts, I load the data into a global data set. As this data is loading I display a progress bar letting the user know what's going on. This works quite well.
On my main form, the user has the ability to enter data into a text box, and press a button that will open up another form. The data that was entered into the first form's text box will be displayed in the second form's text box with a datagridview below showing results that matched what was typed in. Also, the user does not have to enter any data in the first form's text box, just hit the search button, and all records of the table will be displayed in the second form's datagridview. Then as they start entering data in the second form's text box, any data in the table matching what is entered is displayed.
This is how I am binding the data in the second form's datagridview :
objBS = New BindingSource
objBS.DataSource = g_objDS.Tables("nsi")
dgvSampleID.DataSource = objBS
Now, in the search form, let's say I type '27190' into the text box, only 3 records exist in the SQL Server table therefore only these 3 records will be displayed in my datagridview :
27190-001
27190-002
27190-003
The code to perform this 'auto complete' is in the TextChanged for the text field :objBS.Filter = "sample_id like '" + Me.txtSampleID.Text + "%'"Now, when a I double-click one of the rows, the form closes and the first form then has several fields filled in based on the row selected. When I clear out the text box in the first form, then press the search button, I am expecting to see the entire database in the second form's datagridview. However, what I am seeing is the 3 rows from above.
When I run the app in debug mode, I verify that the 'g_objDS.Tables("nsi")' does in fact have all the records in the table I want to search. Yet when I assign the objBS.datasource = g_objDS.Tables("nsi"), objBS.count = 3, representing the 3 records from above. My question is why am I not seeing the entire database.
View 12 Replies
ADVERTISEMENT
Apr 29, 2010
I want to develop an application in VB.net for handheld device(Ticket machine in Bus and train).Is it possible to develop in Vb net. Whether i need windows OS in my handheld device or any runtime environment only needed.My hardware is ARM processor.I want to run my application as standalone in my machine.
View 2 Replies
Jun 10, 2011
I have put the file under the path below. How to access this file from VB.Net on Desktop program??
My Devicexxxx folderfile.sdf
View 2 Replies
Oct 29, 2010
I'm currently working on an VB.net application using Win forms and SQL Server Express 2008. One of the major functions of our program is to generate work orders for field engineers. These engineers typically work in a factory and have to walk around the factory to complete these work orders doing things such as recording pressures and voltages of certain equipment. Right now they are printing out the work orders and writing down these values then entering them into the computer when they get back from doing the work.
We would like them to have some sort of handheld device we could push their work orders out to that would allow them to enter values/complete work orders and then come back and sync up with our app. Something like an ipod touch or maybe a bit larger seems like a good kind of device. Not really sure what kind of device would work for this and what OS it should run. I'm guessing it will be easiest if I can get something that can run SQL server on it. Also, how would I implement something like this?
View 2 Replies
Aug 25, 2009
I am developing an application which can connect to an ip address to transfer/receive data to the handheld device via gprs network.
View 2 Replies
Nov 13, 2009
A Problem in accessing a device from VB Windows cannot load the device driver for this hardware because there is a duplicate device already running in the system. (Code 42) This error is because i am using 2 devices of the same company which has the mass usb storage on it and when i install one of the device the other hides. So one is detected the Other is not. It also give a error called designed dragnonacally something...
View 2 Replies
May 23, 2011
Is there any sample code for me to investigate of below situation?
VB.Net has the dataset which will update the tables of Compact SQL DB in the handheld??
View 1 Replies
May 5, 2010
how can i make my program feel if any device or usb device plugged into the computer or unplugged.url...
View 3 Replies
Apr 24, 2010
I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64
[Code].....
View 7 Replies
Jun 4, 2011
what account for this error message in ls beta 2?'' The last change wasn't successfully persisted.Please shot down the running application.
View 1 Replies
Jan 20, 2010
I want to prevent my program from running when it is already running.How can I do that in my vb2008 Code?
View 1 Replies
May 7, 2009
I am trying to write a Windows Script that will allow me to monitor the following: That 2 x seperate but specific processes within Component Services "Running Processes" list are currently running and have not reset within the past hour. If I already know the PID, then I can retrieve the CreationDate (I assume which I can use to check for restarts? or is this the actual process creation/installation date) for each specific process, however if a restart occurs the PID will change and my script needs to know what the new PID is without me telling it!
[Code]...
View 2 Replies
Aug 27, 2010
We have a windows service running under a network account that calls and runs an ActiveX exe. The exe is running under the local system account, not the network account of the service.
View 1 Replies
Jun 21, 2011
I can get the LAN Device Names (using code below) but how do you get those strings from the "Name" column (see image) that the user can change?
' get list of enabled lan card device names
Dim cat As New PerformanceCounterCategory("Network Interface")
Dim instances As String() = cat.GetInstanceNames()
For Each instance As String In instances
Debug.WriteLine(instance)
Next
View 2 Replies
Aug 2, 2009
I am using VB.NET. How can I run device via USB? I mean device, such as lamp by USB.
View 1 Replies
Apr 29, 2010
I`m working on a project where i have connected a FPGA chip to the PCI bus but now i am trying to figure out how to communicate in VB to that device? Normally the device has memory assigned to it in XP (address h00000200 to h0000037F) but i don`t know how to read/Write to that memory directly in VB...
View 2 Replies
Mar 22, 2012
How do you retrive a given device IRQ in VB.Net? I can find no examples of this anywhere.
View 4 Replies
Oct 23, 2009
I need to detect a usb device when it is connected to PC.I found next code that is working. But it works only with Mass Storage.Imports System.Management
Public Class Form1
Private WithEvents m_MediaConnectWatcher As ManagementEventWatcher
Public USBDriveName As String
[code].....
View 4 Replies
Mar 15, 2010
Device : USB Scanner
Application : A
Application : B
Let's say there are two applications are running, which are A and B, on windows XP and they all have only one simple form with a text box to receive a data from the scanner. Is it possible to read a number by the scanner and write the number for those two text box on A and B at the same time?
View 1 Replies
Sep 17, 2009
How would a person test to see if a usb device is on? I have a program with a usb reader attached to it and would like to throw an exception if it is not on.
View 2 Replies
Jun 11, 2008
I am trying to write a 'simple' program with vs 2005 that recognises my specific usb memory stick so that I can make windows log off or 'lock' when the device is not in any slot. I have found some ready code and I am trying to modify it for my needs. There compiling works but when it doesnt find any of the usb ports.It works by checking each port if it is a usb port and then compares the vendor and produck ID to the given. it seems simple enough but I cant get it to find the USB.
Here is the code:
View 6 Replies
May 5, 2010
I'm trying to access a device with modbus in VB or C#. I've been searching all over for a simple way to do it. I know that It would be connecting through a TCP Connection, and I know the address of the device. I need to read the input on it (whether of not it's on), and to toggle the relay on it as well.
View 3 Replies
May 27, 2009
I have spent couple of days searching the Internet for some hints, but I haven't succeeded. I need to enumerate all removeable USB storage devices and search for a file. It's important to say, I am looking for a device, which has no drive letter assigned - e.g. Garmin GPS etc.. how to enumerate the devices, indentify storage one and/or access its files?
View 2 Replies
May 27, 2009
I have spent couple of days searching the Internet for some hints, but I haven't succeeded.I need to enumerate all removeable USB storage devices and search for a file. It's important to say, I am looking for a device, which has no drive letter assigned - e.g. Garmin GPS etc..
View 2 Replies
Dec 31, 2010
I need to know, how can we attach an USB to any device and detach an USB. I'm using VB 2008 version. I need to write a code for usb detach and attach in windows xp. Whenever usb is detach from the PC side, i should get a message in command prompt saying that, USB is detached and if you insert an USB , then i should get a message saying that, usb attached.
I'm struck which api should use to communicate with usb , to get info such that usb has been attached or detached?
View 13 Replies
Nov 5, 2009
How do I connect to a device through a USB port. Saying I know what the device ID is. I want to open up serialized communication between me and the device.
View 3 Replies
Oct 17, 2011
I have a usb instrument and a driver who's printed output dumps a data string to the computer I need to be able to read this string into vba The driver manual provides the content of the string but no info on how to access the data.
View 1 Replies
Apr 14, 2009
Is it possible to use a datgridview as an input device and then transfer the input to variables (one or two dimensional). I am creating a programme that can be used for a widely divergent number if inputs and the grid would be easier for the user rather than me creating a lot of text boxes at design time which may not be required much of the time and a datagridview would probably be preferable.
View 1 Replies
Feb 2, 2010
I need to detect a usb device when it is connected to PC.I found next code that is working. But it works only with Mass Storage.
Imports System.Management
Public Class Form1
Private WithEvents m_MediaConnectWatcher As ManagementEventWatcher
Public USBDriveName As String
[code]....
View 1 Replies
Sep 6, 2009
I am trying to figure out how to detect if a device is connected. The exact c# sample can be found here: [URL]
But when I tried to convert it to C# .... I wasted hours!
I googled a lot and changed the declaration of the API many times...
View 3 Replies