What the search button suppose to do ?? it throw handled error and return no matches . anyone else got the same error ?
Printable View
What the search button suppose to do ?? it throw handled error and return no matches . anyone else got the same error ?
You click on the Go button and a menu should pop up allowing you to search either Filenames or all code texts for the specific search word.
Even if you haven't entered anything, it should still search and give a list.
This works ok for me, anyone else having trouble?
exactly what I did !!! and still returns error
What exactly does the error say? As i'm not getting any error, I can tell what's wrong. Have you tried different ways? With text to search for, without, search filenames, search text, do they all throw the same error?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Invalid file format.
at System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
at System.Windows.Forms.RichTextBox.LoadFile(Stream data, RichTextBoxStreamType fileType)
at System.Windows.Forms.RichTextBox.LoadFile(String path, RichTextBoxStreamType fileType)
at System.Windows.Forms.RichTextBox.LoadFile(String path)
at VBCodeBook.Form1.SearchInFiles()
at VBCodeBook.Form1.MenuItem4_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
VBCodeBook
Assembly Version: 1.0.1145.22432
Win32 Version: 1.0.1145.22432
CodeBase: file:///F:/ProgramminG/Text/Visual%20Basic.Net/Tools/vbcodebook/VBCodeBook.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9502
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.3300.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Data
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Ugly error :D .
Hmmm... I'll have a look, thanks.
unhandled exception has occurred in a component in your application.
Invalid file format !
when I press continue , it continue without any matches !
Attached is a quick error check version. When you search it should display a messagebox with a pass number "Pass: n". Do you get this? If so, how many passes does it go through (you have to keep clicking "Ok".
Attached is a quick error check version. When you search it should display a messagebox with a pass number "Pass: n". Do you get this? If so, how many passes does it go through (you have to keep clicking "Ok".
Rename the .zip to .exe, it's not zipped.
Hmm, it didn't attach, try again
Where is it ?. Thanx for this online support !:DQuote:
Originally posted by RealNickyDude
Attached is a quick error check version. When you search it should display a messagebox with a pass number "Pass: n". Do you get this? If so, how many passes does it go through (you have to keep clicking "Ok".
Hmm, it didn't attach, try again, this time it is a zipped file.
That's error is a nighmare !:( . but VBCODEbook will continue !:DQuote:
Originally posted by RealNickyDude
Hmm, it didn't attach, try again
ummm where should I run this file ?Quote:
Originally posted by RealNickyDude
Hmm, it didn't attach, try again, this time it is a zipped file.
got it . thanx
It's the VBCodeBook.exe, just make a copy of the original and unzip this one in the same directory.
msgbox shows "pass 0"? . btw where is search button !:rolleyes:
another error :(
a msgbox shows "sub get directories" and then throw exception says :
File already open ?
Was that the button you where using? That should have been removed and you should use the "Go" button as the 'Search' button is now obsolete.
:mad: Grrr... I'll get to the bottom of this one way or another. Apart from that, does everything else work okay?Quote:
Originally posted by Pirate
another error :(
a msgbox shows "sub get directories" and then throw exception says :
File already open ?
Anybody else having trouble with the VBCodeBook.NET V1.8?
I've not tested it well . But it seems working !Quote:
Originally posted by RealNickyDude
:mad: Grrr... I'll get to the bottom of this one way or another. Apart from that, does everything else work okay?
Did you include this feature in the previous versions?Quote:
Originally posted by RealNickyDude
Anybody else having trouble with the VBCodeBook.NET V1.8?
seems confusing bug !!!:confused:
If you get this error then try restarting the program.Quote:
Originally posted by Pirate
another error :(
a msgbox shows "sub get directories" and then throw exception says :
File already open ?
I did restarted the prog and the machine also but the same .:(Quote:
Originally posted by ProgrammerJon
If you get this error then try restarting the program.
Did you get the same error Jon ??Quote:
Originally posted by ProgrammerJon
If you get this error then try restarting the program.
The VBCodeBook isn't working for me, it does the same thing as my programs do when I press the run button in VB.
http://www.vbforums.com/showthread.p...hreadid=229772
Edit: I have the search thing on my computer it's just not integrated into the VBCodeBook.
Open the "Extras" folder and open "searchIndex" and "numIndex" using a text editor.
In the searchIndex file there sould be this:
"Windows & Forms","Visual FX","Tutorials","Text","System","Security","Multimedia","Misc","Menus","Math & Numbers","List's & Combo's","Internet","Graphics","File Handling","Database","!!!READ FIRST",
and in the numIndex file there sould be this:
16,
This would never change the error . I think there's a bug in the code that is related to search button .Quote:
Originally posted by ProgrammerJon
Open the "Extras" folder and open "searchIndex" and "numIndex" using a text editor.
In the searchIndex file there sould be this:
"Windows & Forms","Visual FX","Tutorials","Text","System","Security","Multimedia","Misc","Menus","Math & Numbers","List's & Combo's","Internet","Graphics","File Handling","Database","!!!READ FIRST",
and in the numIndex file there sould be this:
16,
I moved the the program from C: to another partition , it's still throwing the same error !
:(
This wouldn't change the error but if the "numIndex" file has a value of 0 then it might help explain what is going wrong.Quote:
Originally posted by Pirate
This would never change the error . I think there's a bug in the code that is related to search button .
It has this value "17,".:p .Isn't this file for counting folders Nicky ??I don't know reallyQuote:
Originally posted by ProgrammerJon
This wouldn't change the error but if the "numIndex" file has a value of 0 then it might help explain what is going wrong.
Yes, that the number of directories.
I only have 16 directories, did you add another one?
I added empty folder ?
Have you tried searching without the empty folder?
You don't need to answer this if you don't want but why did you add a empty folder?
Just to see if it will be included in the treeview !! .It did included but even if I removed it it's still throw the error !Quote:
Originally posted by ProgrammerJon
Have you tried searching without the empty folder?
You don't need to answer this if you don't want but why did you add a empty folder?
Try to do what I did ? see if this might be the problem although I don't think it is coz I've tried this before !
I attached the search program from before it was added to the VBCodeBook.
Copy the "Extras" and the "Code" folders to the Bin directory.