|
thanks yes you understand me - i will post the code but you're suggesting this can't be done in dotnet?
dev
|
|
|
|
|
He didn't "understand" you. He frickin' guessed at it using the link you posted and your replies in this thread.
I took a look at the link and guessed that you were trying to read the entire contents of the file, uninterpreted, because of the HexEdit screen shots in the link and your mentioning of using Encoding to read the file. You made no mention at all of what you were ultimately trying to do with this information.
Luc is correct. You still don't know how to ask a question in a format that is answerable, nor do you provide any of the details to questions that would fill in the missing bits of information critical to giving you the correct answer on the first try. You've demonstrated a history of this. People have to constantly guess at what you're talking about.
|
|
|
|
|
screw you sis go find someone else to argue with, if you don't know the sh*t, don't litter the forum pass on to another thread which you actually have something to offer
dev
|
|
|
|
|
The only way someone can actually offer you anything useful is if they take a wild ass guess at what your trying to do.
|
|
|
|
|
and why do you think Covean gave me the answer I was looking for? There's troops of losers littering this forum these days - like i said, if you have no better to say just move on and play with yourself
dev
|
|
|
|
|
This can be done in .NET / C# by using PInvoke.
But on the other hand I think that accessing the file system directly from C# should be avoided.
If you have problems to get started with this, google for "PInvoke" and try to figure out how to call Windows API from within C#.
PS: To get a better start with this forum and all those helper/cpians here, please read the pinned forum guidelines at the start and try to think about / rephrase your question. One more sentences could avoid further inquiry.
Greetings
Covean
|
|
|
|
|
Covean wrote: If you have problems to get started with this, google for "PInvoke" and try to figure out how to call Windows API from within C#.
I understand pinvoke, but why ... that such things done via platform win32 api better...?
dev
|
|
|
|
|
I just only know this way ... so why should be something better to the only way I know ... better than what?
Let me know if you know an other way, than maybe we could speak about things like that one way is better than the other
... but how should I be able to tell you if win32 api platform invoke is better than ... what???
Greetings
Covean
|
|
|
|
|
Covean wrote: This can be done in .NET / C# by using PInvoke.
It can be done WITHOUT P/Invoke
Covean wrote: But on the other hand I think that accessing the file system directly from C# should be avoided.
Why? For what reason is the namespace "System.IO"?
|
|
|
|
|
And what class from System.IO allows direct access to the hard disk/file system (and how)?
And as I mentioned before, I don't know if there is a way without PInvoke, this doesn't mean there
is no way!
Greetings
Covean
|
|
|
|
|
The original question was NOT about raw disc access, but raw FILE access, therefore the solution without api calls.
And of course, direct disc access is only possible through CreateFile or CreateFileTransacted - api calls.
And I fully agree, that this should only be done if you know exactly what you are doing. BUT if you do it, use the language you know best ...
|
|
|
|
|
Hi , have a good day ,
I have to do a project like :
A book pages as Images files , and audio file reading the book !
My Question is :
how I can replace the color of the Text in the image file , When the Audio file reading that sentence !
I don't need a code , but if you do I would be happy !
I need hints , links , TAG words to google it , Ideas ! , similar projects
P.S:
There is no WAY I can accept to make the book pages as normal TEXT , they MUST be images !
Thank you in advance
I know nothing , I know nothing ...
|
|
|
|
|
There is no way to do as you are asking. You would need to recreate the image file for each word as it is highlighted. You would need to create an algorithm to find the pixels that present the word and replace that section of the image with a highlighted or un-highlighted version, save the image and redisplay it, but it would be so processor and memory intensive as to be unusable.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Replacing the color of the text is complicated, but would a different kind of highlighting do? E.g. place a half-transparent colored window on top of the respective line of text.
|
|
|
|
|
Hi!!
I wanted to know how to read emails from my gmail account.. and may be even save the emails read to my disk...
i googled for it.. but m unable to understand all that... its all bouncing off...
plz guide me...
|
|
|
|
|
I believe it can all be done with IMAP. There are some free and commercial IMAP libraries available for .NET.
The last time I needed it I developed my own by studying the RFC document[^], it's not particularly difficult.
DaveIf this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
|
|
|
|
|
|
Hello to all. I'm having a little problem with one of the features that I want to have in my program. I want my program to search the names of the guest for every key press. For example, if I press H on the keyboard, all of the last names that starts with H should appear. I tried to use both KeyDown and KeyPress Events but either of them doesn't seem to work. Can anyone help me?
|
|
|
|
|
Post some code here and someone might be able to help you.
|
|
|
|
|
Why not use the textchanged event to filter the dataview.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Doesn't the OnTextChanged event fire after the textbox looses focus? That would be too late for this purpose, I believe the OP wants type-ahead lookup functionality
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: Doesn't the OnTextChanged event fire after the textbox looses focus
I'll need to go check this, I was under the impression it would fire at each change of content.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Had to check also. Winforms it raises the event while typing, in Web its raised after loosing focus
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Being a winforms developer I did not even consider the webform activity. Talk about a narrow view on life.
I would not have considered this a viable solution on a webform, you would have to resort to (spit) javascript or ajax to get any sort of reasonable response.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Have you considered using autocomplete or whatever it is?
|
|
|
|