473,386 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

A unique way to identify different windows?

Hey,

I am working on a project which requires me to store different data for
different windows (can be browser or non-browser window) and to be able to
retrive corresponding data when meet the window again.

For example, a prompt accepting userid/password input. The project needs to
store the userid/password and next time when the SAME prompt comes out, the
project should be able to recognize it and get the userid/password from
database for it.

My question is: what's the best way to index the data? The original idea is
using the caption of the window. But this idea is not very satisfying since
many prompts contain very simple and same captions like "password".

Thanks.
Nov 22 '05 #1
1 978
You could use a DataTable for instance, and have it as a static property.
You can set the PrimaryKey equal to the Form's caption and then store the
rest of the info in corresponding datacolumns - you can even encrypt it.
From there, you can check against the datatable and if it matches, then you
have your values.

--
W.G. Ryan MVP (Windows Embedded)

TiBA Solutions
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"simpleblue" <si********@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Hey,

I am working on a project which requires me to store different data for
different windows (can be browser or non-browser window) and to be able to
retrive corresponding data when meet the window again.

For example, a prompt accepting userid/password input. The project needs to store the userid/password and next time when the SAME prompt comes out, the project should be able to recognize it and get the userid/password from
database for it.

My question is: what's the best way to index the data? The original idea is using the caption of the window. But this idea is not very satisfying since many prompts contain very simple and same captions like "password".

Thanks.

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Nitin | last post by:
Hello, We are trying to figure out how to get a unique identifier for a machine. Our application is a C# windows application that talks to our server via a webservice. Every time our webservice...
4
by: deko | last post by:
I have a Make Table query that creates a fairly large table. The Make Table query populates the new table with one AutoNumber field (which is taken form another unrelated table as part of the...
29
by: Lauren Wilson | last post by:
Does anyone know how the following info is extracted from the user's computer by a Front Page form? HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107...
3
by: Jozef | last post by:
Hello, Is there any way to acquire a unique Machine ID, Hard Drive ID or Windows Installation ID? Im looking for a way to uniquely identify a physical installation and connection. The problem...
4
by: John E Katich | last post by:
How do I assign a unique Id (like WM_USER+nnn) to a control?
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
5
by: EP | last post by:
This inquiry may either turn out to be about the suitability of the SHA-1 (160 bit digest) for file identification, the sha function in Python ... or about some error in my script. Any insight...
4
by: tweeterbot | last post by:
I am working with Access 2000 in Windows XP. I am putting together a table describing a pricing structure for product groups. A single product group, however, can have different prices (per lb)...
2
by: srusskinyon | last post by:
I need some help getting unique records from our database! I work for a small non-profit homeless shelter. We keep track of guest information as well as what services we have offered for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.