OK, I'm still trying to read EXIF information, and have found a DLL I want to try to do this - [URL] I've added the DLL to my project, but how do I actually include it and then us it. The example code I assume is C or something?
I connected to the Informix server using RazorSQL, created a stored procedure and tested it, getting the expected answer, so the procedure exists in the database in some form.
I then run the following code:
If ConnectToInformix() Then Dim cmd As New IfxCommand("dc_routeHasOutstandingQuantity", conn) cmd.CommandType = CommandType.StoredProcedure
[Code]....
This error does not occur when calling the stored procedure from a live SQL connection.
I want to create an ExpressionTree where a Func(of Vector, Vector, Vector, Vector, Double, Double, Vektor) should be called. So I use
Expression.Call(Forces(0).Function.Method, {Vec1, Vec2, Vec3, Vec4, Double1, Double2})(Vec1-4, Double1-2 are declared as ParameterExpression and Forces(0).Function as Func(of Vector, Vector, Vector, Vector, Double, Double, Vector). But I get an AgrumentException, because Forces(0).Function.Method has seven Arguments. (System.Runtime.CompilerServices.Closure as seventh argument at Index 0).
I am trying to convert a DLL function call which has the Callback function routine called within the DLL function call.The DLL function call signature is like this:
I have a VB .NET 2010 application. I added a C# project to my solution. I tried to call the form called 'main'. However, I could not figure out a way to do that. What is the best way to do that? I Goggled, and did not find anything. Actually I noticed that my Developer converted everything to VB .NET.
DLLs in .net are treated differently than in C++ and other programming languages.When you create a class library project in VS (for either VB or C#) you are creating a DLL. In order to call/use that DLL in another project you have to add a reference to your new program.Go to Project > Add Reference..., or right-click on the project that needs to use your DLL, and click "Add Reference...".
After a short wait you should see an Add Reference dialog box.There are several tabs across the top but each of the components that is listed in a tab represents a DLL. If you expand the "Path" column in the .Net tab you will see the DLL location.If your two projects are in the same solution, you should probably go to the Projects tab and add the project that you need.If your dll project is NOT in the same solution as your project that needs to use the dll, then go to the Browse tab and find your compiled DLL from your DLL project. This will add the DLL as a reference to your solution.
Okay, this is my first newbie question so I'm sorry for this newbie question.I've look at Toolbox and I just can't find whatever this called.I don't even know what the name of it too so if anyone know what this called,
I creat one WEB project, this project contain tow WEB FORM, In the first Web Form Design i have tow TextBox for Entring the date(All dataTable between this tow dates) and one Button, I want that when i press to to this Button it will load the second WEB FORM and show all the Data Table in DataGrid In this WEB FORM, So i need To call this tow TextBox value from the first WEB FORM to the second WEB FORM In Load_Page i will use this tow value in select statment. So i want to know how to call this to value from the first WEB FORM. I'am using VB.NET WEB APPLICATION.i have allrady DB in SQL .
I am trying to call a php function from .net. I tried to a webrequest method but I am not sure how to specify the function to call in the url. A link below shows the method I am trying to call.[URL]..
I have a Visual Studio solution, containing .cs and .vb projects, as well as .aspx files. As usual, the .aspx files implement an ASP.NET site and make calls to the .cs and .vb projects.
Is it possible to do the reverse... i.e. make a call from a .cs or .vb file to a method in a .aspx file? (Assume for the purpose of this question that there is a good reason for doing this)
I have created a new Class Library in visual basic and called it 'TestDLL'. I have a TestDLL.vb file where I put in this code
Class TestDLL Function ReturnHello() As String Return "Hello" End Function End Class
Then I clicked on the build tab and built the solution. I then copied the DLL 'TestDLL.dll' to C:TestDLL.dll
I am trying to use that DLL in a console application. I have tried this code but I get an error: System.EntryPointNotFoundException was unhandled Message=Unable to find an entry point named 'ReturnHello' in DLL 'C:TestDLL.dll'.
Declare Function ReturnHello Lib "C:TestDLL.dll" () As String I have added TestDLL.dll to the references for the console application and got that to work, however my goal is to load and unload different .dll files without restarting the application. I have a lot more code besides this, but I'm just trying to find out what commands I could use for just calling functions from DLL files.
There was something I was reading about assemblies, but all I get that to do is list the classes in my dll file. I will already know all the names and locations of the .dll files, and also the class and functions that they contain, because I will be building all of them. how I can get a simple function return in my console application.
I'm making a button via images, which changes appearance as the user uses the mouse. For example, when the user clicks on the button, the image changes into the button being "pushed in." My problem is that when the user presses the button and releases the mouse I want it to go back to the image when the user is just hovering over the button. This only happens if the cursor is move off the button and then moved back onto it. I'm trying to call the event/sub where the mousehover event is used in order to get it to change back to the desired image. How do I call this event and/or sub in order for it to work?
I have an extension method written in visual basic as follows:
Imports System.Runtime.CompilerServices Namespace Parsing ... Public Module CSVParse
[code]....
Unfortunately the compiler is giving a 'Cannot resolve symbol' error for 'DoVB()' and highlighting it red.Yet it will recognise the call in a static fashion.
I have a C# API for interacting with a DB that i have set up. I need to return data to users in excel via hitting this API which calls a sproc on the DB.The problem i am having is in returning the data from the c# method, i'd like to return a datatable object, but maybe this isnt possible. I have the .Net class registered and i can see that it is called from the module in excel, it works if the return type is an int or string, but what do i have to do to be able to have the method return a datatable and be able to output its data to a sheet?[code]...
I'm trying to have a login screen (in vb) call a password change screen also written in vb. It's to force people logging in with the default password to change there password.
i run code to populate datatables etc based on the date selected in the month calendar.I want to refresh my data after saving. so how can I call the MonthCalendar1_DateSelectedevent with the correct arguments from my save button.
I'm trying to call other EXE's from my program I'm writing. Inside my project I have a folder called progs with exe's inside it. How can I call these from button clicks?
I have a C++ application exe that uses a C++ dll. For some reasons, I want to replace the C++ dll with a VB.NET dll.
The dll is not and ActiveX and is therefore not registered.
I cannot use a class but a module since the C++ application does not expect any class in the dll. In all my attempts, I could not have the inner functions of the VB.NET to be called by the C++ exe.
How can I get my program to take a number from an Access Database and by using the internet call the persons number. I will have a pre-recorded message that I want the program to use when it makes the call, but my main problem is I can't find anyway of getting the program to make the call using the internet.