|
This is a topic that is WAY too big for a forum environment. There are entire ciriculums in Universities dedicated to the subject. There are many ways to implement a neural network, but which method is best depends on what you're doing with it and what you want it to do.
You're best approach would be to pick up a couple books on the subject and start reading. There is ALOT of foundation material you need to understand first.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi all,
i've got a sub which requires copies a memory location who wants a buffer ptr of type integer (i think it comes from C++ code where buffer pointers are manages as integer). Now i don't know how to manage it in VB.NET couse i could not use a syntax like cam.CopyImageBuffer(&p, p.Size) [where p is an IntPtr] there's a way to handle these case?
Syntax is:
CopyImageBuffer(BufferPtr as Integer,BufferSize as Integer)
Thanks, Daniele.
|
|
|
|
|
hi all!!! =D
i need to know, how, can i send command parameter to an opened file!!!
following this part of code:
Private Sub mnuclass2jadfile_Click()
cdlFiles.Filter = "Files (*.class) |*.class"
cdlFiles.DefaultExt = "class"
cdlFiles.DialogTitle = "Open File"
cdlFiles.Flags = cdlOFNFileMustExist + cdlOFNPathMustExist
'On Error GoTo No_Open
cdlFiles.ShowOpen
Open cdlFiles.FileName For Input As #1
supposing i want send this command to opened file:
ShellExecute Me.hwnd, "Open", "jad.exe", " jad *.class > \jad", "\jad", SW_SHOWNORMAL
any suggestions!?
tnx.
|
|
|
|
|
psyq wrote:
Open cdlFiles.FileName For Input As #1
I asasume this opens a file for reading ? A file that is opened to read, is not actually run, so there's nowhere to pass the command line to. Use ShellExecute ( as you did ), for this.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi
Can anybody help me. how to print Grid Control values with heading and Report Header.
Thanks in advance
|
|
|
|
|
is there is way to extract the line number causing the error
Like Stack Trace displays the proper error massage with the line Number.
I have tried ERL() but its not working
Can anybody help ?
as early as possible
Thanx in advance
Hema Chaudhry
|
|
|
|
|
Why would you need to? The line the error occur on is just about never the real cause of a problem anyway. Also, the line the error was thrown on wouldn't be available in Release code anyway.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Actually I am looging all the activities with error in a log file
so that if a application have some errors By checking this log file I can debug that later.
So tha's why i want to extract the line Number of the error with source . Source can be easily get by ex.source . But how to extract the line number.
|
|
|
|
|
The closest your going to get is the StackTrace. It appears that you can't get the line number at all. The old-style Err object in VB6 doesn't work the same way in VB.NET.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I have come out with an office COM to create a custom button in Microsoft Application Eg. Word, Excel. The problem is how can I get the path of the saved document or how can I save the document when I click on my Custom button.
Any one knows what I'm talking about?
Please help.
Thanks
|
|
|
|
|
Each Office application behaves differently.
With Word you need to play with ActiveDocument or Application.Documents to get a Document, then you can invoke the Document.Save and Document.FilePath (I think).
With Excel you have ActiveSheet instead of ActiveDocument. It may also have slightly different functions that you need to call for saving and getting the file path.
Check the MSDN documentation for Office VBA programming. For MS Word http://word.mvps.org/[^] is a great website to help in Word programming.
All the best,
Ed
|
|
|
|
|
Thanks..that helped alot...How about microsoft outlook mail..how do I get the saving path?
|
|
|
|
|
I have an expression which when i assign to Dataview's rowfilter gives an exception. Expression is
DataItemSize like '9%'
it works fine when i pass a string like
DataItemSize like 'g%'
What am i doing wrong?
-- modified at 5:01 Tuesday 27th September, 2005
|
|
|
|
|
Hi,
I am new to VBA. I'm writing a macro that asks a user to login with username and password. Once his username and password is checked, the macro opens another workbook. To run the second workbook, the username and the password of the user has to be present. I want to send the value of the username and password to the second excel workbook. Can anyone please help
By the way, I need open another excel workbook. I am not supposed to do the program in only one excel workbook.
I open the second excel workbook by calling the function below :
Sub example_template()
ChDir "C:\SymbolsExcelReports"
Workbooks.Open Filename:="C:\SymbolsExcelReports\Example_Template.xls"
End Sub
Thanks for helping
ksumputh
|
|
|
|
|
I have a datagrid attached to a database table. I know that there is no such event in datagrid as column resize.
But is there a way that i can capture the datagrid column resize during runtime.
|
|
|
|
|
I'm not 100% sure how it's done but you could try looking up the DataGridColumnStyle.WidthChanged Event in MSDN and playing around with that.
The man who smiles when things go wrong has thought of someone he can blame it on.
If you tell a man there are 300 billion stars in the universe, he'll believe you. But if you tell him a bench has just been painted, he'll have to touch it to be sure.
|
|
|
|
|
I have written and installed a service using VB.NET. I'm no great shakes with Windows services, but I believe I've done everything according to various resources I have consulted.
Problem is that the Windows Service starts up, and within a second or two, stops. When I start it via the SCM I get a popup advising that some services start then stop because they have nothing to do.
My service creates a timer which is supposed to fire every 60 seconds to check and process files in a given location. Apart from setting the timer on startup the service does no other useful work.
Am I supposed to put a never ending loop in the Main() subroutine or something?
|
|
|
|
|
OK, I've created an almost identical Windows Service.
But I did not use a Sub Main as an entry point - just created the typical Service style class. So that might be the source of the problem - I cannot comment on that.
The other thing to look for is if you dragged a Forms timer onto the graphical designer, it will not do squat. You MUST use a System.Timer. VS does not complain, nor does the service throw an error if you used a Forms.Timer, it just simply does not work.
Since I have only created simple timer based services I've never tried to figure out the complexities of debugging one.
I suggest you add an event logger and just write status entries at many points. That has been adequate for me so far in terms of debugging. It may be crude but it is a simple way to figure out exactly what your service is doing...
|
|
|
|
|
Hi ,
I want to develope an urdu/arabic based database application usin vb.net and SQL Server 2000 any one can
help me how i can do this .If anyone can give Code Example in any languge
|
|
|
|
|
You can do it by using Resource files
Resource files have the values for the controls etc.
In resource files u save the value in your desied language
Get the values from these resource files to display.
Hema Chaudhry
|
|
|
|
|
I've almost solved this problem by
using unicode whiles inerting into db and
converting unicodes back to Actuall text while
displaying in a listview. But now i've another problem
if you can solve this , i'll be much thankful to you
as i need an urgen solution .The problem is that
my idea of converting Text to Unide Code then back to
text doesn't work with Crystal reports . If you can help me
how to convert unicodes (Which are now stored in db)
to Actual text for Report.
Many thanx
HMSS
|
|
|
|
|
Sorry but i have no idea about crystal reports
Actually I m also facing this problem
If u get the solution Please Mail me also
Its a great help fro me.
|
|
|
|
|
Sorry but i have no idea about crystal reports
Actually I m also facing this problem
If u get the solution Please Mail me also
Its a great help for me.
hema chaudhry
|
|
|
|
|
Hello everyone,
I'm making a call to a native DLL on a PocketPC 2003 device via pinvoke. I have the call working fine in an eVB demo but it is returning a Not Supported Exception error when I call it in VB.NET.
I'm trying to find some docs on how/why the Not Supported Exception error is thrown but can not find anything useful. Can anyone point me in the right direction?
Thanks!
Ryan Bradley
|
|
|
|
|
This problem evolved through a couple of different error messages.
The NotSupportedException was thrown when I passed a System.String ByRef to a BSTR in the non-COM DLL.
I finally realized that I needed to use a StringBuilder. This resulted in a Native Exception (0xc0000005). Memory wasn't being marshalled properly between the unmanaged stack and the managed heap.
Originally I was using <DllImport("")> and passing StringBuilder ByRef (resulting in Native Exception). I finally got this to work using Declare Function "" and passing StringBuilder ByVal.
I've read through the CF Core Reference and numerous web sites but have not found the defaults that are different between using DllImport and Declare Function .
I did find that MarshalAs is not possible in CF 1.1. I'm stumped why but it works.
Dysfunctional:
<DllImport("ReaderDll")> _<br />
Public Function Read(ByVal strbData as StringBuilder) as Integer<br />
End Function
Functional:
Public Declare Function "Read" Lib "ReaderDll" (ByVal strbData as StringBuilder) as Integer
Ryan Bradley
|
|
|
|