I have below Sample text. I need find in the text specfic "Key name"
its Value "HKEY_CURRENT_U SER\Control Panel\Internati onal", If I find
this I need to go inside of this and read Value 0 (Name: Its value and
Data: Its value),Value 1 (Name: Its value and Data: Its value)....Value
N (Name: Its value and Data: Its value).
Please provide me same code for this.
Sample
-------
Key Name: HKEY_CURRENT_US ER\Control Panel\Input Method\Hot
Keys\00000202
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: Key Modifiers
Type: REG_BINARY
Data:
00000000 03 c0 00 00 .À..
Value 1
Name: Target IME
Type: REG_BINARY
Data:
00000000 00 00 00 00 ....
Value 2
Name: Virtual Key
Type: REG_BINARY
Data:
00000000 4c 00 00 00 L...
Key Name: HKEY_CURRENT_US ER\Control Panel\Internati onal
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: iCountry
Type: REG_SZ
Data: 1
Value 1
Name: iCurrDigits
Type: REG_SZ
Data: 2
Value 2
Name: iCurrency
Type: REG_SZ
Data: 0
Value 3
Name: iDate
Type: REG_SZ
Data: 0
Value 4
Name: iDigits
Type: REG_SZ
Data: 2
..
..
..
Value N
Name: iLZero
Type: REG_SZ
Data: 1 4 1549
Is this a homework assignment? I can provide you with code to do this,
I'm just curious if this is a school homework assignment.
Izzy
srikanthv wrote:
I have below Sample text. I need find in the text specfic "Key name"
its Value "HKEY_CURRENT_U SER\Control Panel\Internati onal", If I find
this I need to go inside of this and read Value 0 (Name: Its value and
Data: Its value),Value 1 (Name: Its value and Data: Its value)....Value
N (Name: Its value and Data: Its value).
Please provide me same code for this.
Sample
-------
Key Name: HKEY_CURRENT_US ER\Control Panel\Input Method\Hot
Keys\00000202
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: Key Modifiers
Type: REG_BINARY
Data:
00000000 03 c0 00 00 .À..
Value 1
Name: Target IME
Type: REG_BINARY
Data:
00000000 00 00 00 00 ....
Value 2
Name: Virtual Key
Type: REG_BINARY
Data:
00000000 4c 00 00 00 L...
Key Name: HKEY_CURRENT_US ER\Control Panel\Internati onal
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: iCountry
Type: REG_SZ
Data: 1
Value 1
Name: iCurrDigits
Type: REG_SZ
Data: 2
Value 2
Name: iCurrency
Type: REG_SZ
Data: 0
Value 3
Name: iDate
Type: REG_SZ
Data: 0
Value 4
Name: iDigits
Type: REG_SZ
Data: 2
.
.
.
Value N
Name: iLZero
Type: REG_SZ
Data: 1
Yeah, Home work only
Izzy wrote:
Is this a homework assignment? I can provide you with code to do this,
I'm just curious if this is a school homework assignment.
Izzy
srikanthv wrote:
I have below Sample text. I need find in the text specfic "Key name"
its Value "HKEY_CURRENT_U SER\Control Panel\Internati onal", If I find
this I need to go inside of this and read Value 0 (Name: Its value and
Data: Its value),Value 1 (Name: Its value and Data: Its value)....Value
N (Name: Its value and Data: Its value).
Please provide me same code for this.
Sample
-------
Key Name: HKEY_CURRENT_US ER\Control Panel\Input Method\Hot
Keys\00000202
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: Key Modifiers
Type: REG_BINARY
Data:
00000000 03 c0 00 00 .À..
Value 1
Name: Target IME
Type: REG_BINARY
Data:
00000000 00 00 00 00 ....
Value 2
Name: Virtual Key
Type: REG_BINARY
Data:
00000000 4c 00 00 00 L...
Key Name: HKEY_CURRENT_US ER\Control Panel\Internati onal
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: iCountry
Type: REG_SZ
Data: 1
Value 1
Name: iCurrDigits
Type: REG_SZ
Data: 2
Value 2
Name: iCurrency
Type: REG_SZ
Data: 0
Value 3
Name: iDate
Type: REG_SZ
Data: 0
Value 4
Name: iDigits
Type: REG_SZ
Data: 2
.
.
.
Value N
Name: iLZero
Type: REG_SZ
Data: 1
That's what I thought. In that case, check out StreamReader in the
MSDN. You can find a StreamReader in the System.IO namespace.
This will show you everything you need to read text line by line from a
file. Once you find specific lines your looking for then check into
String functions on how to parse the required data.
I could give you code to do all this but then you wouldn't be learning
anything. I'll continue to watch this thread so post back if you get
stuck.
Izzy
srikanthv wrote:
Yeah, Home work only
Izzy wrote:
Is this a homework assignment? I can provide you with code to do this,
I'm just curious if this is a school homework assignment.
Izzy
srikanthv wrote:
I have below Sample text. I need find in the text specfic "Key name"
its Value "HKEY_CURRENT_U SER\Control Panel\Internati onal", If I find
this I need to go inside of this and read Value 0 (Name: Its value and
Data: Its value),Value 1 (Name: Its value and Data: Its value)....Value
N (Name: Its value and Data: Its value).
>
Please provide me same code for this.
>
Sample
-------
Key Name: HKEY_CURRENT_US ER\Control Panel\Input Method\Hot
Keys\00000202
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: Key Modifiers
Type: REG_BINARY
Data:
00000000 03 c0 00 00 .À..
Value 1
Name: Target IME
Type: REG_BINARY
Data:
00000000 00 00 00 00 ....
Value 2
Name: Virtual Key
Type: REG_BINARY
Data:
00000000 4c 00 00 00 L...
>
Key Name: HKEY_CURRENT_US ER\Control Panel\Internati onal
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: iCountry
Type: REG_SZ
Data: 1
Value 1
Name: iCurrDigits
Type: REG_SZ
Data: 2
Value 2
Name: iCurrency
Type: REG_SZ
Data: 0
Value 3
Name: iDate
Type: REG_SZ
Data: 0
Value 4
Name: iDigits
Type: REG_SZ
Data: 2
.
.
.
Value N
Name: iLZero
Type: REG_SZ
Data: 1
I did same way, what you said to me. Its working fine now.
Thanks buddy
Izzy wrote:
That's what I thought. In that case, check out StreamReader in the
MSDN. You can find a StreamReader in the System.IO namespace.
This will show you everything you need to read text line by line from a
file. Once you find specific lines your looking for then check into
String functions on how to parse the required data.
I could give you code to do all this but then you wouldn't be learning
anything. I'll continue to watch this thread so post back if you get
stuck.
Izzy
srikanthv wrote:
Yeah, Home work only
Izzy wrote:
Is this a homework assignment? I can provide you with code to do this,
I'm just curious if this is a school homework assignment.
>
Izzy
>
>
srikanthv wrote:
I have below Sample text. I need find in the text specfic "Key name"
its Value "HKEY_CURRENT_U SER\Control Panel\Internati onal", If I find
this I need to go inside of this and read Value 0 (Name: Its value and
Data: Its value),Value 1 (Name: Its value and Data: Its value)....Value
N (Name: Its value and Data: Its value).
Please provide me same code for this.
Sample
-------
Key Name: HKEY_CURRENT_US ER\Control Panel\Input Method\Hot
Keys\00000202
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: Key Modifiers
Type: REG_BINARY
Data:
00000000 03 c0 00 00 .À..
Value 1
Name: Target IME
Type: REG_BINARY
Data:
00000000 00 00 00 00 ....
Value 2
Name: Virtual Key
Type: REG_BINARY
Data:
00000000 4c 00 00 00 L...
Key Name: HKEY_CURRENT_US ER\Control Panel\Internati onal
Class Name: <NO CLASS>
Last Write Time: 8/7/2006 - 7:07 PM
Value 0
Name: iCountry
Type: REG_SZ
Data: 1
Value 1
Name: iCurrDigits
Type: REG_SZ
Data: 2
Value 2
Name: iCurrency
Type: REG_SZ
Data: 0
Value 3
Name: iDate
Type: REG_SZ
Data: 0
Value 4
Name: iDigits
Type: REG_SZ
Data: 2
.
.
.
Value N
Name: iLZero
Type: REG_SZ
Data: 1
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Roland Hall |
last post by:
I have two(2) issues.
I'm experiencing a little difficulty and having to resort to a work around.
I already found one bug, although stated the bug was only in ODBC, which I'm
not using. It appears to be in the OLEDB driver also.
My connection was:
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strPath & ";" &
"Extended Properties='Text;HDR=NO;FMT=Delimited'"
|
by: Roland Hall |
last post by:
I have two(2) issues.
I'm experiencing a little difficulty and having to resort to a work around.
I already found one bug, although stated the bug was only in ODBC, which I'm
not using. It appears to be in the OLEDB driver also.
My connection was:
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strPath & ";" &
"Extended Properties='Text;HDR=NO;FMT=Delimited'"
|
by: Roland Hall |
last post by:
Three times the charm? Sorry for the repost. Trying to get my account
right.
I have two(2) issues.
I'm experiencing a little difficulty and having to resort to a work around.
I already found one bug, although stated the bug was only in ODBC, which I'm
not using. It appears to be in the OLEDB driver also.
My connection was:
|
by: John Dann |
last post by:
I'm trying to read some binary data from a file created by another
program. I know the binary file format but can't change or control the
format. The binary data is organised such that it should populate a
series of structures of specified variable composition.
I have the structures created OK, but actually reading the files is
giving me an error. Can I ask a simple question to start with:
I'm trying to read the file using the...
|
by: Eshban Bahadur |
last post by:
Hello,
I want to read (RTF) files in my VB.NET programme. How can i do it. I apply
the same method of reading text files, but it does not save the formatting of
text like (bold, italics, underline) etc.
So , how can i make programme which allows me to read (RTF) Rich Text Format
files or Microsoft WORD files in VB.NET through FILE HANDLING.
Plz help me
| |
by: tigrrgrr42 |
last post by:
I am working(vb.net03and05) with word documents stored in a sql db and I am
currently bringing them from a byte array into a temp file to pop into word
and make word do its thing as a com object. Is it possible to go straight
from a byte array to document in word instead of a temp file? Also is there
a way to change the save behaviour to notify my app to pickup a binary copy
of the file or stream to save back to the sql db.
Thanks in...
|
by: fool |
last post by:
Dear group,
I am a beginner in php and I was little bit experience in C language.
I
want to read a file's content and delete the first line of the file and
display those lines which has got deleted.
The content of the external file , which is in .cvs format is:
-------------------------------------------------------------------
|
by: Jerim79 |
last post by:
I did try to find the answer to this before posting, so this isn't a
knee jerk reaction.
What I am trying to accomplish is to have a script that opens a
cookie, reads a value, and then use a switch/case to take action based
on that value in the cookie. I want to set the cookie manually, so I
don't need setcookie(). I see that in PHP it stores the cookie in
memory. Is there a way to have PHP just read a cookie from the desktop
machine?...
|
by: ianenis.tiryaki |
last post by:
well i got this assignment which i dont even have a clue what i am
supposed to do. it is about reading me data from the file and load
them into a parallel array here is the question:
Step (1)
Your first task is to write a program which reads this file into two
parallel arrays in memory. One array contains the titles, and the
other array contains the authors. The arrays are 'parallel' in the
sense that the n-th element of the authors...
|
by: Clive Green |
last post by:
Hello peeps,
I am using PHP 5.2.2 together with MP3_Id (a PEAR module for reading and
writing MP3 tags). I have been using PHP on the command line (Mac OS X
Unix shell, to be precise), and am getting on more or less OK.
So far, I have managed to parse my tab-delimited .txt file properly into
an array, and then use this array to update the tags on a bunch of MP3
audio files. Nice.
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |