I have had no experience with the VB .Net framework. I'm quite comfortable with VB. I wish to create a DLL out of some code which performs some calculations. Is it possible to create DLLs which can export functions using VB .Net? (I read somewhere that we can only create 'ActiveX' DLLs and cannot export functions out of it)
This link [URL] does give a method of creating DLLs by replacing the Linker of VB with a new Linker which can add the '/DEF' field while creating the DLL. Is this doable for VB .Net as well?
Also, the DLLs I want o create will be used by VBA codes in Excel Workbooks. Another way I think it could be done is to put the code in a Module inside a workbook and use it as an add-in. I need to create approx. 150 such DLLs, so I'll have to create 150 separate Add-ins. (Thoguh each add-in will only be loaded when it's required.)
The exact error that was thrown was a MissingMethodException,and was caught like
thisExceptions.Domain.GeneralException was caught Message="UpdateVendorFileProcessingWeek, Method not found: 'Int64 DataAccess.Manager.VendorFileHistoryManager.GetVendorFileHistoryID( Int64, System.DateTime, Boolean)'." Source="Domain"
[code]....
there's a series of shared functions being used;everything compiles and builds ok - it's only during runtime that the error is thrown;the code itself DOES NOT use reflection to find any methods (but obviously the frameworkis doing some reflection)?
I am currently in the proccess of making a calculator, i have added all the functions i want, (+, x, / and - plus = obviously), but the problem is, i cannot do something like, "4+5x2", I can do "4+5" but i cant make 1 function mix with the others.
I'm wondering how I can go about creating something like a header file to contain some verbose functions I don't want to have to look at after I get them created. Something like in c++ like.. #include "classfunctions.h" to hide all the nasty stuff you don't want anyone to see.
I am working on a crystal report in Visual Basic .NET that needs a barcode generating function, and the crystal report should be exported to a pdf file. The pdf file should be open by clicking the open button.
My IT Project is to make CV MAKER that will create CV and will export it to PDF file, could some of you tell me how can i do it using no third party SDK, and how to manage text within PDF file i mean how to do layout, tables, different fonts, etc etc.
how to implement UI, BL and DAL in a project the way that I see it as a requirement for some projects. The way I am able to do a project now is from a form create an object of a class in which there are properties and functions that do database selects, updates and deletes. Looks to me that doing a project like that is separating the UI from the DAL. In an update button click event I may call Obj. Delete (txtCustID.txt) for example. I don't understand the part of further breaking it down to include a Business layer; in which a vb solution is made up of three solutions.What goes in the BL?Does the BL call the DAL?
I am attempting to have my program select a file, create DataTables and then perform some other functions. I want to be able to open another file and re-do the same steps.The problem I am having is that I add columns to my Datatables and when I try and to open another file while one is already open I get a message that a column of xyz is already added how do I properly "clear my datatable" or perhaps that isnt even the correct approach? Here is the code I have that Opens a File
HTML Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
[code]....
This was working at one time but after adding to my project I must have placed something in the wrong place inadvertantly or it has soemthing to do with adding columns,?
I have been able to export data from a query to the xlsx file..howerver those fields which are currency in my sql server 2005 table are currency are showing up in the spreadsheet as text. The column mappings are correct when I look at it in connection manager.
Also Is there also a way to create a new worksheet each time the export is run or does the file have to be already named?
Is there a way to see exactly what the functions are doing. What i mean is there a way to see the class? I know what it does, i just want to know the code. For example the function: Membership.FindUsersByName()
I want to create a Dicom PACS which will import and export dicom image files. At this time i am using a batch file for dicom file importer but i have nothing to export dicom files.
i built a patient management software for a clinic and i need to export patiet list from ASP.net grid view to excel file my question is:Is there a way to export gridview to excel i am using vb.net and visual web developer 2010 i store datasource from advanced search page into a session and redirect to result page here is the code of result page
When you refrence a Function like this one:[code]You may want to be able to get more out of that, like this.[code]So how would I be able to add subs or functions onto a sub or function like that?
I have made quite a good library for calculating Math problems like Quadratic Equations and many other. Now I met a friend, and hes programming a little in VB, and we were thinking if it is possible to import my functions from C++ to his code, so he can call them, when they are needed, so we can make a calculator? How can we do that?
Edit: My friend is using VB.net Edit: My library is organized in free functions.
I am not sure if i am using these in the correct manner. Basically i have an app that downloads a file from an ftp server (i am kinda cheating cos i am using chilkat). Now if i put the code directly in the form i can get it to do a progressbar.value = ... in it['s own sub.What i decided to do was stick my ftp download parts into a dll i created. Created a function within the dll and i have a return on that which returns the message 'file downloaded' or 'no file to download'. But can i return a value to update the progress bar as it goes when the code is contained in a dll? Or am i totally missing the point and how to use dlls?
I want to ask help from you guys, about on how to use the listview functions in vb.net. I also just starting to study about the vb.net for my object-oriented programming. Please help me in writing the codes for a simple listview.
How do I check which functions are in a dll I don't who's contents are unknown to me? I am looking to use a certain function and I have a couple of dlls and I don't know in which one it is are its name. So i need to be able to show all function available in a dll and their parameters.
I'v got 3 functions that I'd like to combine into 1. There is only one line in each function that changes. can think of a few ways off the top of my head, but not sure which is "the best", or "proper way" to accomplish this.
Private Function CheckQuads(ByVal QuadNumber As Integer) As Boolean Dim intArray(3) As Integer Dim x As Integer = 0
We know some functions in dll files and can use them but if we haw a dll file and dont know functions names. is there a way to get the functions name and their parameters
I am new to visual basic and currently doing my major project on sending sms using visual studio 2005. I want to create it in window application. I have search the net but I could not understand it. I have download some of the project that the net has found for me but when i test it the receiver did not received any message but the application have come out the popped out box saying "message send".