Login Register


Hello Everybody! I have a question again! filter_list
Author
Message
Hello Everybody! I have a question again! #1
How can I use this code? (this code is in Background Worker) Thank for your guide before hand!
Code:
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { string list = listView1.Items[0].ToString(); }

Reply

RE: Hello Everybody! I have a question again! #2
you're assigning a variable the value of a listviewitem? Why do you need a background worker for that in the first place? It doesn't make sense.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Hello Everybody! I have a question again! #3
This is a small part of my code that have problem!

Reply

RE: Hello Everybody! I have a question again! #4
Well then why not post the full thing? Otherwise I can't help you with code that is invisible to my eyes...
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Hello Everybody! I have a question again! #5
Now I solved this problem by my self thank. This is my small project in Khmer Language and it is about to protect PC from Autorun Virus on USB Flash. This can unhide Folder when it detect file that name like folder that why this program can unhide folder when it detect virus that hidden folder on USB.

Reply

RE: Hello Everybody! I have a question again! #6
Remember Autorun really only works for older versions of Windows NT, so unless you've got intentions of protecting XP machines or earlier, then this won't do much.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply

RE: Hello Everybody! I have a question again! #7
(06-03-2012, 06:10 AM)PhazeShift Wrote: Remember Autorun really only works for older versions of Windows NT, so unless you've got intentions of protecting XP machines or earlier, then this won't do much.

Didn't try in 8, but definitely works fine until Windows 7.
Unless it's the UAC thingy, which is the first thing I turnoff so never tried with it on.
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: Hello Everybody! I have a question again! #8
It's partly a UAC thing, although AutoRun itself has settings, where you can have it prompt or always do something when media is insertted. In which case, anything past XP, people are usually out of luck
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply







Users browsing this thread: 1 Guest(s)