|
how character images can be segmented.
how can i interface my scanner through vb.net
saud
|
|
|
|
|
Stop it! If you want to write your own OCR software, you've got A LOT of RESEARCH to do before you can even get started. If you knew what you were doing with the technology behind OCR, you wouldn't be asking us this question, over and over and over again. Your asking about the basics behind OCR, which alone is a VERY complicated topic and well beyond the scope of this, or any Forum on CodeProject.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
WOuld've thought that you'll find it difficult to find a disassembler for VB6 project, unless it's been complied to P-CODE....
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
There is no decoder. If you try and disassemble the .EXE, you'll get back a bunch of assembly code, NOT your original source.
...and stop YELLING...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
If I have a propertygrid and I set its SelectedObject to nothing:
PropertyGrid1.SelectedObject = nothing
why would it continue to show the properties of the object I had set it to before setting it to nothing?
Rugby League: The Greatest Game Of All.
|
|
|
|
|
If I programmatically add a panel to a form and then add several child controls (buttons for example) then I remove the panel from the forms controls collection do I have to call dispose() on that panel and all its child controls?
Rugby League: The Greatest Game Of All.
|
|
|
|
|
No. But, it is good practice to call Dispose on the objects that you use, if available. This will make sure that any component that keeps open any unmanaged resources, like file handles being held open when you create an Image object from a file, are closed and released properly when then managed part of the object is destroyed. Not doing so could result in resource and memory leaks.
The Garbage Collector will call Dispose for you, in most cases, but since the GC is lazy when collecting objects, it may take a little while for it to get around to calling Dispose for you. It's best that you call it when you need the resouces released so that they may be used elsewhere in your app, without waiting around for the GC to do it for you.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Greetings,
I have been working feverishly to learn VB.NET with VS.NET Academic edition, however, I have run into a number of issues when trying to run programs having to do with .NET Framework types. I have been using Michael Halvorson's book: Visual Basic.Net Step-by-step.
The first time I tried to do an Excel Interop, I was instructed to create a variable as so:
<br />
dim xlApp as Excel.Application<br />
The problem here was I kept getting the "Blue squiggly" under Excel.Application (Type Excel.Application is not defined). This is what I had to do to get this program to work properly:
<br />
Dim xlApp As Microsoft.Office.Interop.Excel.Application<br />
It was suggested that I could add the following to the top of the form:
<br />
Imports Microsoft.Office.Interop<br />
What I don't understand is why the book doesn't mention this at all. Another book I have is 101 Visual Basic.NET Applications and it seems to make the same sorts of assumptions about .NET Framework Types that Halvorson did.
So I am wondering if the strict option is on and that's why I'm having this problem, or if there is some other "tweak" I've missed, or whether it is just because I have Visual Studio.NET 2003 Academic that I keep running into what seems like rather large omissions to me. Any ideas?
I should like to add that when I look at the examples provided with the book, they do not need to use the fully qualified names, they seem to work as advertised in the book.
|
|
|
|
|
Nope, you didn't miss anything. And it has nothing to do with the Option Strict statement or anything else in the Academic version of VS.NET. All you have to do to fix the little blue squiggly is Import the namespace.
The book might also have gone and added the namespace import to the Project Properties. Go to the Project menu and select the Properties (last line in the menu), then click on Common Properties, then Imports, and you'll see a list of namespaces that are automatically imported into your project when it's compiled. You could add the Microsoft.Office.Interop namespace to this list and you'll see the exact same thing the book shows. In order to write the book and examples, it is possible that the authors made their own custom Windows Application template and included the M.O.Interop namespace in this list.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks for explaining that for me Dave. It was driving me nuts!
Still coaxing software out of the can after all these years...
|
|
|
|
|
I didn't find anything where you told me to look that looked like an Excel Interop. Curiouser and curiouser...
Still coaxing software out of the can after all these years...
|
|
|
|
|
No, it's not going to be there unless you add it! I said, the authors probably put it there in their projects when they built the examples. That way, they don't have to keep typing in the same Import statement, example after example. If you want the same functionality, you will have to either create your own Project Template (which the Academic version doesn't support!), or just type in the Imports Microsoft.Excel.Interop at the top of each project.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Here's the thing. The book came with a cd which includes all the examples so I can see the author's version of the code. His works as the book does and I cannot find anything about his that is any different than mine.
Keeping in mind that he warns the user at the beginning of the book that he wrote his using Visual Studio.NET professional and that is what he recommends the readers to use. As far as I know, academic is the same as professional.
Well, either way, I know how to fix the problem...
Still coaxing software out of the can after all these years...
|
|
|
|
|
How do I use the installer?
|
|
|
|
|
What installer? Are you talking about creating an Installer Project for your solution?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Can someone please tell me how to put an icon (which is already created and stored as an icon file) on the top - left corner of the form and on the desktop?
|
|
|
|
|
In the properties of your Form, look for the Icon property. You can click on the button on this line and it will let you pick an icon from a file to use in the upper left corner of your form.
As for the desktop, this is NOT an icon, it's a shortcut pointing at your executable. The initial icon for this shortcut, when created, will be the icon used for the top left corner of your form.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Man...is everybody else off today? Seems like Dave and I are the only people here.;P
____________________________________________________________________________________
Does anybody (Dave ) know how to open a text file and load it into RichTextBox without using the OpenFileDialog?
I want a specific text file (the path will be hard coded, for now) to open and be read into a RichTextBox when the form opens.
Thanks
Brad
|
|
|
|
|
I got it!
RichTextBox1.LoadFile(filename As String)
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks Dave;)
You make it all seem so easy...;P
|
|
|
|
|
Me? Nooooooo... Heath in the c# Forum makes it all seem easy. I'm learning new stuff from him every single day. I can't build test/learning projects fast enough to keep up with all the little tidbits I'm picking up from him.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Well, I’m just glad that you are here in VB.NET to help us.
Brad
|
|
|
|
|
I asked this question earlier but I’m not sure if I’m asking it correctly or if it is just something that nobody knows how to do. I’ve spent days scouring the Internet and reading books and just can’t see how to do this one thing:
Display Thumbnails in a List Box
My Scenario:
I’ve created an explorer type application with a TreeView and a ListView. The TreeView is used to navigate through the directories on my computer. The ListView displays the contents of each directory.
What I want to do:
Instead of displaying a generic icon, I want to display a thumbnail view of every image file located in the directory.
I know that this is possible because in Windows Explorer under ‘View’ the ‘Thumbnail’ option is available and does exactly what I’m trying to do.
Thanks
Brad
|
|
|
|
|
You'll have to iterate through the files in the directory and, one at a time, TRY and generate a Thumbnail view of the file using whatever method you chose. If the file is a graphics type, then a thumbnail will be generated and you can display that, otherwise you'll have to supply the icon of the file as the Thumbnail image.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi to all
i am working on a project which is a small ide n includes controls on a forms. i want to save that form along with controls so that when i load it,, the new form is loaded with same control at same location n same properties using XML .....
plzzzzzzzzzzzzzzzzzz help me
|
|
|
|