15,796,738 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Dinesh Kumar Dora (Top 21 by date)
Dinesh Kumar Dora
3-Mar-23 10:21am
View
Your solution justifies my statement that you didnt understood my question. If you see my description and the attached snapshot, you will understand. Your command will return me a reg file with all the reg entries present under the "Dinesh" key, which is exactly what I dont want. I want a reg key with only "Test" entry. And I am not accusing anyone, I knew you will take me other ways, hence I clearly wrote "respectfully". Anyways thanks for your help and quick responses. I have already tried your commands in my tests.
Dinesh Kumar Dora
3-Mar-23 9:51am
View
Hi Richard, respectfully - I am not sure whether you understood my question/requirement. I wanted to export the reg entry to a reg file, so that it can be imported back directly. I can fetch the values in multiple ways, but i dont want to do that, due to some technical constraints. I simply want a way to export a specific registry entry to a .reg file.
Dinesh Kumar Dora
3-Mar-23 9:28am
View
"REG EXPORT" in a command window also didnt work
Dinesh Kumar Dora
3-Mar-23 9:17am
View
The term 'Export-Registry' is not recognized as the name of a cmdlet
Dinesh Kumar Dora
6-Feb-19 13:17pm
View
Thanks a lot Richard, i will give it a try tomorrow and update you on the same
Dinesh Kumar Dora
6-Feb-19 12:49pm
View
And because of some limitations I cannot add a new dll in the media. So c# dll option is also not helpful.
Dinesh Kumar Dora
6-Feb-19 12:47pm
View
If possible, can you please convert it and give. Thanks
Dinesh Kumar Dora
6-Feb-19 12:46pm
View
Thanks but iam unable to convert that code properly to vb.Net. I am getting many errors. Some i fixed and many more iam unable to fix.. So that c# code was not helpful.
Dinesh Kumar Dora
6-Feb-19 8:54am
View
Please someone post some code snippet to help me.
Dinesh Kumar Dora
6-Feb-19 8:53am
View
I need the solution for dotnet 2.0 framework + VB.net...Can someone help here please.
Dinesh Kumar Dora
6-Feb-19 8:50am
View
Please can someone help with some code snippet. Please
Dinesh Kumar Dora
31-Jan-19 7:01am
View
Thanks for the response. As mentioned earlier, i already tried dotnet direct approach to read registry but there are certain areas in this legacy code where i cant use the dotnet approach directly. Is there a way where i can handle the existing objShell.ReadRegistry in a better way. I am currently thinking of catching the system.io.exceptions and use on error resume next in a controlled way. As its just about registry reading, nothing much, so i think i can skip certain errors in specific locations.
Dinesh Kumar Dora
4-Oct-18 1:24am
View
thanks for your response John. But the problem here is that we are talking about installer exe, where the executable name (_is56.exe) will be changing everytime the build is taken. So i cant keep a static executable name for process checking. I agree with your PID justification too. Process name i cant use as that will show up as "Setup" or "Setup64" which is way too generic and chances are there that another setup might be running on the host machine. So, process name is also apt. Now the only option left is Process description - which in our case is unique and it will never be changed as we have developed it. So any ideas or workaround to detect a process is running or not, based on the process description? Thanks
Dinesh Kumar Dora
23-Aug-18 2:22am
View
Hi Dave thanks for the response. This is corporate confidential code so obviously i cant publish all the logic or details. Why this variable is used? why list is used? what is mainobject? etc.. But wrt to the question whatever is relevant information, i have provided. And yes, i missed that closing curly braces while formatting the code snippet.
Anyways, i have decided to condition the logic based on the number of arguments passed. This is not exactly what i was looking for, but atleast it works. Thanks everyone for the suggestions.
Dinesh Kumar Dora
9-Aug-18 5:44am
View
Eric, i tried your method but getting the output like this:
<security mode="Transport" proxyCredential="None" realm="">
<transport clientCredentialType="Windows" />
I want it in this way:
<security mode="Transport">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
Please help. how can i get this.
Dinesh Kumar Dora
9-Aug-18 1:54am
View
Super Thanks Eric.
Dinesh Kumar Dora
23-Mar-17 5:32am
View
Sorry my bad. The application was trying to fetch the data from some other machine as the Web.config file not updated w.r.t the new connection string.
:P
Stupid mistakes Ruins Life :D
Thanks for all your help. And also to suggest me to use Convert.ToString.
Dinesh Kumar Dora
23-Mar-17 5:06am
View
The query works in sql studio
What should i do now?
Dinesh Kumar Dora
23-Mar-17 2:25am
View
No change in behavior
Dinesh Kumar Dora
23-Mar-17 2:20am
View
The strangest part is.. The database has many values. This code is always sending null for all the values present in the DB, Except for one particular value. If i send the ID of this particular value, i always get the exact corresponding value of this particular ID. But the same does'nt work for other values. All the values are in text format and i do'nt see any format issues which can create this situation.
Dinesh Kumar Dora
23-Mar-17 2:16am
View
Hello Karthik,
Thanks for the response. As suggested by you, i tried Convert.ToString. Now instead of null, its sending "". But rest assured, in the database, value is present. why its not returning the value.
Show More