16,012,316 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 Visual Basic questions
View .NET 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 lalit.mca2006 (Top 35 by date)
lalit.mca2006
16-Jan-23 0:51am
View
Thanks Graeme_Grant, It helped me a lot. And could you please tell me which xml format should we use? as i mentioned 2 formats to store the same data.
lalit.mca2006
22-Jun-15 21:06pm
View
thanks but actually it did not work for me .
lalit.mca2006
20-Feb-15 5:12am
View
Thanks chrisf
Actually i have to change the property of any control(suppose checkbox) in "Form1" . But right now i have moved to form2 so that i will have to write the code in "form2".
lalit.mca2006
18-Oct-13 0:45am
View
all i need because i want to add some keyword in printer job language(PJL).Its not human readable format .
When i tried manually to insert specific keyword in this file , i got my expected output .
So that is reason i want to do same thing programatically .
lalit.mca2006
18-Oct-13 0:21am
View
Yes you are right exactly , Can u please tell me how to do same thing in binary file ?
lalit.mca2006
18-Oct-13 0:03am
View
Thanks SA for your reply .
my goal is just to insert "&01l" into particular location . This Location i am getting by finding one pattern .before this pattern i need to insert and this pattern must be there in my file and it will be only one time not more than that .
Am i clear about my requirement ?
lalit.mca2006
9-Oct-13 7:36am
View
Thanks a lot for quick and accurate reply which i needed .
by the way this "left arrow sign" is one specific character , which looks like a "left arrow" in notepad and looks like "ESC" in notepad++.
when i tried to copy-paste , it was not showing at the time of paste .
but your solution (code) is much better because it takes care all things .
lalit.mca2006
9-Oct-13 7:09am
View
Hi OriginalGriff ,
Your solution worked for me , now i want to ask one more thing ...
i have to replace left side string into right side string in below text ..
In this text "left arrow sign" is one symbol which i could not copy paste so i wrote it in text ,its just one symbol. So please give me regular expression code to replace it .
"left arrow sign"*p0x0Y --> "left arrow sign"xxx"left arrow sign"*p0x0Y
Am i clear about my requirement , Original ?
lalit.mca2006
9-Oct-13 6:08am
View
Thank you so much OriginalGriff..
lalit.mca2006
27-Sep-13 1:45am
View
yes its obvious but need to find that how can i get x64 value when target platform is x86 ?
lalit.mca2006
27-Sep-13 1:02am
View
i didnot see any picture SA .
lalit.mca2006
27-Sep-13 1:00am
View
Thanks SA , sorry i did not check that feature (green "Accept" button) .
Anyway its good to see your reply .
lalit.mca2006
27-Sep-13 0:47am
View
thanks SA for this conclusion , i got so many things cleared about my results output .
But please last question is that if i build the project in x86 , should i able to get key value in platform target x86 ?
finally i need to get the registry in x86 . :(
lalit.mca2006
27-Sep-13 0:10am
View
Let me explain once again :-
i have 64 bit machine windows server -2008 and my project is a windows(desktop) application in .net framework 3.5 .Now i want to read some registry values .
these are the following outputs which am getting :-
path =SOFTWARE\xxx\Settings\ActiveDirectory\
RegistryKey regkey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(path);
In platform target x86 regkey = null
platform target x64 & any cpu = getting correct value
---------------------------------------------------------
path =SOFTWARE\Wow6432Node\xxx\Settings\ActiveDirectory\
RegistryKey regkey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(path);
if platform target x86 , regkey = null
if platform target x64 & any cpu regkey== null
SA , i have limitation that i should use only platform target as x86 , so if i use x86 then what should i do to get registry value .
please let me know whether i am able to explain my actual issue .
lalit.mca2006
26-Sep-13 22:46pm
View
Yes SA , i tried but still no luck . So could you please suggest me any other way to do the same .
lalit.mca2006
26-Sep-13 7:26am
View
Thanks for such valuable information but sergery still i want one more favor because i am using .net framework 3.5 and in 3.5 ,i am not able to find RegistryKey.OpenBaseKey(....) method .
lalit.mca2006
26-Sep-13 0:42am
View
thanks sergery to reply but path is correct because its working in platform target 64 or "ANY CPU".
full path was :- "SOFTWARE\mycomanayname\Settings\ActiveDirectory\"
lalit.mca2006
26-Sep-13 0:38am
View
Thank You so much Mike .
lalit.mca2006
12-Sep-13 15:40pm
View
Actually its standard .net framwork API CPPUSB.dll. It may be any event like card reader , finger print reader , Bar code reader... etc .
the main concern is that it should automatic execute the code , i can get the card swipe beep after swiping .
Is there any thing like timer , threads ...etc which i can use ... I dont have too much idea . Just guess.
lalit.mca2006
12-Sep-13 15:28pm
View
Hi Richcb ,
Actual question is that i have implemented same functionality on button click . I mean first user will click on button then swipe the card .Its working fine .
But now i want to change the same functionality should work on after card swiping itself , i have to reduce the one phase to click on button . It should aoutomatic read card once card is being swipe .
lalit.mca2006
9-Jul-13 5:05am
View
is there any way to read manually rather than using xml parser ?
lalit.mca2006
9-Jul-13 4:59am
View
Thank you so much sergey for this solution . But i would like to ask one more thing that I can not change XML whatever is existing xml i will have to read . As its predefined i can not change in XML . Then what should be the method to read this kind of XML like <jobname>Microsoft Wor&d - Copy.
Thanks in advANCE .
lalit.mca2006
8-Jul-13 2:07am
View
i have attached xml file with bold offended lines.
lalit.mca2006
25-Jun-13 1:33am
View
Yes right ,please let me explain full scenario .. Application was developed already . Now i am creating new patch for incorporating this scheduler with some new changes . I cannot make changes in existing one .
lalit.mca2006
19-Jun-13 6:31am
View
Thanks Mike to write the solution ,but actually it is not possible in my case because i have
separate exe which is calling inside main application .Do you have any other idea to do so ?
lalit.mca2006
18-Jun-13 0:26am
View
thanks Mike ,for this solution but actually i am using window server 2008 R2 and VS- 2008.
ts.Connect(); In this method 4 arguments are required , one of them is password . i am not able to capture password of window then how should i run . Please let me know .
lalit.mca2006
13-Jun-13 20:46pm
View
Thanks Mike ,I tried it but its not working in my case . still its showing that command window popup .
lalit.mca2006
19-May-13 23:01pm
View
its ok, but i have to do it periodically. It should run automatically .
lalit.mca2006
9-May-13 11:16am
View
Yes Zoltan , i bought a licence version of smart assembly .
lalit.mca2006
9-May-13 5:01am
View
i got it by using smartAssembly ..
its very easy , just with in 2 min . it has finished my task ..
lalit.mca2006
9-May-13 4:58am
View
i got the solution
i am using smartassembly ..
thanks Zoltan
lalit.mca2006
9-May-13 2:35am
View
i think this will work only for windows application . can u tell me what should i follow after step 5 in case of console application .
lalit.mca2006
9-May-13 2:30am
View
i tried till steps 5 .
lalit.mca2006
9-May-13 2:14am
View
yes its good links . but i can not follow the steps 6,7,8 because its only for windows form . i am working on console application .
any idea for the console ?
lalit.mca2006
16-Apr-13 22:59pm
View
yes its asp.net web application . I am trying to write an console application and will run this console exe at each hour .
Am i right ? Http request handling will be tough for me .
Show More