|
There are a few good commercial apps on the market that can help you. They arn't particually cheap but they are well worth the investment if you work professionally.
My fav is JetBrains dotTrace Profiler/[^]. It has a trial period if you want to use it for this one problem.
|
|
|
|
|
Thanks,
But the JetBrains dotTrace profiler is working only on dotnet framework 2 applications. I have dotnet framework 1.1.
|
|
|
|
|
Well, Access, there's yer problem
On a serious note, take a look at http://www.scitech.se/[^]
God knows how much it costs, I just get to use it. You'd be amazed at what hangs around in a windows app. Release those damn event handlers!
I'm largely language agnostic
After a while they all bug me
|
|
|
|
|
hello frnd,
i am using VB 6.0, i have a code to get the file system of my machine
means is it NTFS, FAT32 , BLAH... how can i get it???
please help,
thankx in advance
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
hi,
isnt it dependant on the OS
ie Xp can support NTFS,FAT and FAT32.
Each hard disk partition on an XP machine can be any one of the above
so you have to read the properties of the particition you want
I think theres an API for that but dont know it off the top of my head
HTH
Martin
life is a bowl of cherries
go on take a byte
|
|
|
|
|
I m developing typing tutor, and i need a keyboard in it.... i just need a keyboard that only inimates any keypress event? like when i type "a" on my physical keyboard, my vitual keyboard should animate "a" key down... any help in this plzzz?
(Jameel)
|
|
|
|
|
You could make a keyboard out of labels, and then when the user types capture the key down event and determine which key the user pressed to change the back color of the corresponding label.
|
|
|
|
|
i m developing a typing tutor, how can i keep track of different users, what they are upto (i.e. their progress). and 1 more thing i want user to have their own preferences(setting) for tutor, i want to save and retrieve back settings for every diffrent user.... any idea how can i implement it in VB.NET 2
(Jameel)
|
|
|
|
|
XML seems a good idea, it's probably not a ton of data to store. Otherwise, you could use access, or a real database like SQL Server Express
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how abt the idea if i make a class of user setting and then write/read an obj using serailization to a binay file?
(Jameel)
|
|
|
|
|
Sure, that works.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
is there any other way to capture key strokes from keyboard with out using any event handling? e.g test_control.keypress etc....
i want to capture all alphabatic keys in some loop bt i cant
(Jameel)
|
|
|
|
|
Can you please elaborate what exactly you are looking for?
Regards,
Nilesh
|
|
|
|
|
i want to know what key is pressed like
do
READ-FROM-KEYBOARD
msgbox("U pressed " " key")
-----
-----
loop while(mycounter)
now let me know what to write instead of "READ-FROM-KEYBOARD"???
mean equalant of "getchat(stdin)" in C, got now?
(Jameel)
|
|
|
|
|
AFAIK the only way to do this is with event processing. The keyboard is not an entity in VS. I wonder if you can get into the comms between the keyboard and the cpu. Seems a bit silly when there is the event to work with
|
|
|
|
|
Make a console app and use Console.ReadKey !
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Thanx to all of frnds, bt actually i m developing a windows application there isnt any equalant call as console.readkey?
if i want to use keypress event that always go to a particular control, e.g. textbox.keypress, i ve made a virtual keyboard wid buttons, now i want that when the keyboard is active then i should capture the keystrokes....
1. how can i group all keyboard keys(design) in a single control?
2. keypress event always needs that the control must have focus, what if a user click out the control(which i really cant afford) then i wont be able to capture the keys
any solution plzz?
(Jameel)
|
|
|
|
|
Hi,
this little piece of info may help you:
if you set Form.KeyPreview true, the form's keyboard events will fire before the control's
keynoard events would (if any).
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Hello everybody, pls can anybody provide me a sample project which is multi-user in nature (CAN BE USED IN A SMALL LAN). I actually have created a project which can be shared in a LAN but the reporting (Crystal Report 8) part has a problem. It doesnot show a updated report in other computer execpt where it is installed.
Well, i m using VB6 and Ms Access with CR8. Please give me a link or clue as to how to go about. WHat is the best way?
Your valueable advice needed!
raamay
|
|
|
|
|
I would gues that you have an Access DB for each computer? Therefore the report only reflects the local data set.
Use a centralised Access DB so all pcs read/write to the 1 database.
|
|
|
|
|
Thanks 4 ur suggestion but i wonder how it is to be done. I didnt get how to create a centralised DB. Actually, as i said earlier i have no problem acessing the database from the applications in a shared environment of my network, except that only the crystal report has the problem since it doesnot point to the exact path that i have specified instead it retrieves from the local computer. So, pls can u help me with further details. My code for the Crystal Report part is as below;
With CrystalReport1
.ReportFileName = app.Path & "\Reports\rptmaster.rpt"
.Connect = app.Path & "\Database\db.mdb"
.SelectionFormula = "{tblContractor.CDBNo} = '" + Trim
(txtcdb.Text) + "'"
.DiscardSavedData = True
.Destination = crptToWindow
.WindowShowRefreshBtn = True
.WindowControlBox = True
.WindowState = crptMaximized
.WindowTitle = "SLAB RATE LEVY DETAILS"
.Action = 1
End With
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggdfsgdsfgfdsgfdsgfdsgfds d fgdsgfdgfds ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
|
|
|
Access wont support centralized db access for that matter..better use an RDBMS like SQL Server
Regards
Bino
|
|
|
|
|
Hey guys thanks 4 ur support, i hope now it solves my problem. Thanks ya again
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggdfsgdsfgfdsgfdsgfdsgfds d fgdsgfdgfds ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
|
|
|
if i have an image placed in myproject/images/test.jpg, should i also add it in my.resources? if i dont what would be the advantage or disadvantage? and what would be a proper relative path for this image if i dont add it in my.resources?????
(Jameel)
|
|
|
|
|
You can embed resources in an EXE or DLL project; the advantage is they no longer are
separate files, can't get lost, can't get replaced without the author knowing it, etc.
The alternative is having separate files; easiest way then is to add them to the folder
that contains the EXE/DLL and use relative paths.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|