Click here to Skip to main content
15,893,266 members

Comments by VivekSharma0925 (Top 6 by date)

VivekSharma0925 8-Mar-13 12:57pm View    
I searched a bit and found this.

On my 64 bit machine, there are 2 versions of regedit.exe existing.
First in %\Windows\regedit.exe
Second in %\Windows\SysWow64\regedit.exe

Now, I want to pick search uninstallkey from the regedit.exe in SysWow64 folder if OS is 64 bit.
and if not 32 bit, it's no problem.

Please help out.
VivekSharma0925 23-Feb-13 14:17pm View    
My bad. ITs a windows application form.
Although it doesn't matter much.

Since beginning I am coding on websites and this is my first form.
I can't see much difference except I cant use AJAX in this.

My apologies for the confusion again. I will keep track from next time.
VivekSharma0925 23-Feb-13 13:44pm View    
This seems like a promising solution, I have done as told by you but I need to read the location into a string like

String rootpath = Environment.CurrentDirectory;

But above command will give me as result
"C:\Users\<user>\Documents\Visual Studio 2012\Projects\Property utility\WindowsFormsApplication3\bin\Debug"

What I want as result is:
"C:\Users\<user>\Documents\Visual Studio 2012\Projects\Property utility"
OR
"C:\Users\<user>\Documents\Visual Studio 2012\Projects\Property utility\WindowsFormsApplication3"

I have my code files placed inside
...\\WindowsFormsApplication3\CodeFiles\abc.txt

Thanks
VivekSharma0925 29-Feb-12 1:38am View    
For an MS Access database query, * is used and not % or _

My query is working on my access database manually.. but the same query sent using ado.net is not proving itself worthy..
VivekSharma0925 20-Feb-12 0:00am View    
Thanks for the answer but the functionality I am performing as you understood is only 1 part.

On the other part, I have to use the same textboxes with the user manually entering the names. So, in this case, I have to keep the listboxes disabled; which I have done.

In case, I can use combo box as just a textbox without the dropdown, it would be helpful; otherwise I have to use textboxes with listboxes and dropdownextenders only.