|
thanks alot but about hard disk serial number changing could you explain more?
thanks
|
|
|
|
|
Find out what they are and then search the registry for the values.
|
|
|
|
|
Take a look at the Win32 classes[^] for the information that is available.
|
|
|
|
|
I want to display the records of a particular table in listview.
I am able to display simple text in the columns of the listview but i am unable to display records from the database.
i tried a for loop 4 that bt it dint help.
Can smebody help me with the code.....
Thanks in advance.
|
|
|
|
|
If you can post your code, somebody will help you get it right.
|
|
|
|
|
An example can be found here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
M able to display sme text in the list view. M writing the code 4 that. Smebody help to modify that code to insert data from database. The code is:
CDialog::OnInitDialog();
{
LVCOLUMN lvColumn;
LVITEM lvItem;
int nItem;
m_list.SetExtendedStyle(LVS_EX_CHECKBOXES);
lvColumn.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvColumn.fmt = LVCFMT_LEFT;
lvColumn.cx = 100;
lvColumn.pszText = "ID";
m_list.InsertColumn(0, &lvColumn);
lvColumn.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvColumn.fmt = LVCFMT_LEFT;
lvColumn.cx = 150;
lvColumn.pszText = "Name";
m_list.InsertColumn(1, &lvColumn);
lvColumn.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvColumn.fmt = LVCFMT_LEFT;
lvColumn.cx = 200;
lvColumn.pszText = "Description";
m_list.InsertColumn(2, &lvColumn);
lvItem.mask = LVIF_TEXT;
lvItem.iItem = 0;
lvItem.iSubItem = 0;
lvItem.pszText = "Anoop";
nItem = m_list.InsertItem(&lvItem);
m_list.SetItemText(nItem, 1, "a");
m_list.SetItemText(nItem, 2, "b");
lvItem.mask = LVIF_TEXT;
lvItem.iItem = 1;
lvItem.iSubItem = 0;
lvItem.pszText = "Roger A. Miller";
nItem = m_list.InsertItem(&lvItem);
m_list.SetItemText(nItem, 1, "Footballer");
m_list.SetItemText(nItem, 2, "Tennis");
lvItem.mask = LVIF_TEXT;
lvItem.iItem = 2;
lvItem.iSubItem = 0;
lvItem.pszText = "Marie-Julie W. Gross";
nItem = m_list.InsertItem(&lvItem);
m_list.SetItemText(nItem, 1, "Student");
m_list.SetItemText(nItem, 2, "Boxing");
lvItem.mask = LVIF_TEXT;
lvItem.iItem = 3;
lvItem.iSubItem = 0;
lvItem.pszText = "Ella Pius Roger";
nItem = m_list.InsertItem(&lvItem);
m_list.SetItemText(nItem, 1, "Architect");
m_list.SetItemText(nItem, 2, "Ping-Pong");
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
Thanks in advance....
|
|
|
|
|
hi every one!!
i need a topic for our research proposal!
can i ask suggestion from you?
|
|
|
|
|
The meaning of Life
|
|
|
|
|
ahm what i mean is a topic for IT research proposal!!
hehe..im sorry.. i forgot to specify!!
|
|
|
|
|
And my joke icon was to suggest that your question is somewhat ridiculous. Nobody here has any way of knowing what might be a good research project for you.
|
|
|
|
|
ahm.. all i need here.. is just a suggestion!!!
|
|
|
|
|
cool_joy2 wrote: ahm.. all i need here.. is just a suggestion!!!
Your question makes no sense, I have no idea of your abilities or background knowledge. You are the one wanting to do research, so think of something within your own ares of expertise. If you are a plumber then find a way to build cheaper drains ...
|
|
|
|
|
Yes, got one: Kolmogorov complexities.
Send me a private mail for more info
Rozis
|
|
|
|
|
ahm.. what about IT related topic??? hehe
|
|
|
|
|
cool_joy2 wrote: i need a topic for our research proposal!
Spontaneous Human Combustion
|
|
|
|
|
thank you!!! but what about IT related topic??? do you have some on your mind???
|
|
|
|
|
hi,
i got a log file which contains many user who login on the different days at different time. A sample would be:
time mon tue wed thurs fri sat sun
0900 A B Q F K Z W
1000 D Y Q L S Q D
1100 E R G S Q Q W
1200 U E G S G F P
1300 H G D Q H G D
1400 W B E D X Z E
1500 Q H W F Z L B
1600 B H Q G S Z E
1700 D D L X E A H
1800 E W J Z L B F
1900 L M G A P C L
2000 O P F F G S D
how do i find out the number of times each user login?
|
|
|
|
|
Read the file and count the entries by user name. You could use an array or a map template to build the counts. You can then sort the list and display the counts in whatever way you need.
|
|
|
|
|
Tks alot. i will be working with that idea.
|
|
|
|
|
i'm using ms access database and then "timestamp" is one of the field name. but i can't get the data till the field name as "timestamp". while i'm changing the name the program executing good. i'm using vc++ application.Could any on help me? please..
|
|
|
|
|
Your question is not very clear, can you show some of the code that you are using, and wat errors you see?
|
|
|
|
|
If Access is complaining about the name of the field/column, why not change it to something else?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
hi
audiovideoplayback is in available in managed code (C#/C++).
but my requiremnet to get similar functionality in unmanaged code to control audio of video file.
|
|
|
|
|
Try using Google, you will find many examples to help you.
|
|
|
|