VS 2008 Modular Application Using Dlls?

May 30, 2011

I am trying to find a way to write a modular application.In this application there is a main form. Each module will be contained in one (or more) dlls. The idea is that a dll module can be dropped into the module folder and the application will be able to pick it up without the application having any prior knowledge of the dll existence.

View 14 Replies


ADVERTISEMENT

VS 2008 Securing DLLs - Way To Stop The Other Person To Use My Dll In Their Application?

Jul 3, 2010

We are developing an application in VB.NET 2008. We break the application into smaller multiple dlls so that we can easily update the program at the customer end.We want to know that is their any way to stop the other person to use my dll in their application?i.e we want to lock the dlls such a way that the dlls will be used by us only and not anybody in their application.Also we want to block viewing of dlls code using any code reflector

View 4 Replies

VS 2008 Create An Interface Between A Third Party Application Which Can Make Use Of C/C++ DLLs

Nov 30, 2010

I am trying to create an interface between a third party application which can make use of C/C++ DLLs, but no interface directly to .NET. What I was hoping to accomplish (not sure if possible though), is create a very basic C++ DLL (not .NET), which the third party application would call directly. This DLL would contain a basic method such as "DoSomething()". Somehow, from my .NET application, I want to "listen" to this DLL and "takeover" the DoSomething() method, and then returning the result back to the DLL, which will in turn return the result back to the calling third party application.

I don't even know if this is possible because I'm sure I would somehow have to get a hold of the memory space of the DLL as initiated by the third party application. Also, it seems that creating a managed DLL does not work, based on feedback from other individuals who have tried this.

View 1 Replies

DLL Import - DLLs Were Re-compiled As 64-bit DLLs And They Still Don't Work?

Apr 6, 2010

I am trying to understand how to interact with external DLLs written in C++ for use in my VB.NET application. I have some DLLs that a client wrote that do some math functions. Everything was working on a 32-bit machine. Because we were taxing the 32-bit machine we moved to 64-bit. Now we can't get the same functions to work. The DLLs were re-compiled as 64-bit DLLs and they still don't work. So my client wrote some dummy DLLs to see if we could figure out the problem. Here are the "signatures" of the DLL calls that I am making:[code]....Ultimately I would like to get to calling initialize_quiet and I am guessing at the format of the marshalling, const size etc.

View 3 Replies

DLLs For A .NET Windows Application Setup?

Mar 13, 2009

I have developed a couple of windows applications in Visual Vasic Express 2008. To my horror, I have just discoved that the Setup Project is not available in the express edition.I have been searching to discover which DLLs I will need to include when using my 3rd party Deployment Application.

I know which ones I need for my 3rd Party Controls, but am stuck on which Microsoft DLLs will be needed the Microsoft Controls I have used, plus any other Common DLLs that are always needed.

I have tried searching Microsoft's site but without success.

View 2 Replies

IDE :: Auto Updating Application DLLs In Web

Sep 26, 2009

I'm looking for a way for copying a VS application files via HTTP and TCP? I mean I have published my application and now I am trying to find something like ClickOnce application that copies my updated files from my website to the clients' centers through HTTP and then locally to end users through FTP. I need to a source code or something like that.

View 2 Replies

VS 2008 How To Publish With Dlls

Sep 15, 2009

I made app. But it doesn't work on other peoples computers. I don't want to publish it as installer App because it doesn't look good and people can't choose which folder it will install to. Is here way to copy My Exe file and all DLLs to one folder so it works for everyone?

[Code]...

View 11 Replies

VS 2008 Hidden Dlls - Security Program That Monitors The Keystokeswebsitesprocesses

Dec 30, 2009

I have created a security program that monitors the keystokeswebsitesprocesses... I want to FIRST ask if this is a legal question; for, my purpose in this program is security reasons (eg. following up on employees to make sure that they are doing what they are paid to do. They all know this is running, and have been warned not to go to sites and enter information they do not want reviewed).

Second, I want this program to be hidden so that techy persons cannot go into task manager and end the process, then go on to some porn site! How could I make this app hidden, or at the very least make it 'un-end-able' from the task manager?

View 5 Replies

"right" Way To Make A Modular ASP.NET Page?

May 20, 2010

I'm writing an internal program using ASP.NET (Visual Studio 2008). The basic premise is that folks will connect to the page through their web browser, put in some data (which will be validated and sanitized of course), click "submit" and then a query will be run on a database. I told you that story so I can tell you this story - I want to make my program modular for the likelihood that this program will be updated later on, and probably extended. My initial thought is to compile the database handler as a dll and then use its functionality on my page (see my little diagram). But I can't figure out how to hook the dll into my page - My Google-fu has failed which leads me to my questions:

1) Is creating a dll the "right" solution? If so, continue to question 2, if not, what should I be doing?

[Code]...

View 1 Replies

64 Bit ActiveX DLLs?

May 27, 2011

I've seen quite a few questions about calling 32 bit ActiveX components on 64 bit platforms - as I understand it you can't create a 32 bit ActiveX component from a .NET application running in X64 (native) mode. This is OK and I think I understand it.But my question is more basic. Is there such a thing as a 64 bit ActiveX component? or is ActiveX always 32 bit, period?

View 5 Replies

IDE :: Testing VB DLLs In VB?

Nov 22, 2010

I was once a VB 6 expert, but it's been a while.I am attempting to create a simple DLL in VB. I created a new WCF Service Library, which is what it looks like I needed to do. I filled out the interface and implemented it. Here's the interface:

<ServiceContract()>
Public Interface AgileApi
<OperationContract()>

[code]....

And attempted to call it, but I get System.EntryPointNotFoundException. I've tried pathing the defined library and copying the dll file into the same place where my EXE is, but no change to the error.

View 6 Replies

C# - NRefactory Has Missing Dlls

Apr 22, 2011

I've tried to use NRefactory(Vb) [url]... but it didn't come with mono.cecil.dll so i downloaded that too, but when i merged it together the versions seem to be off (i had error Mono.Collections missing class)

does anyone seem to be able to get NRefactory working?[code]...

View 2 Replies

COM Visible DLLs: Are They Only Legends

Dec 5, 2005

straightforward method of creating a DLL with properties and methods exposed to other programs? I followed the instructions that I found on the MSDN websites as well as suggestions from forum participants. The DLL should be available both for COM and .NET programs. So far, nothing has worked.There are numerous variations listed on the MSDN site. No doubt there are reasons for the differing instructions. However, I have not had sufficient success with any of them. Sometimes, just building the project makes the class visible to COM compatible programs. Other times, only after running regasm. Still other times, I have to run regasm, sn and gacutil before the DLLs class gets exposed. Then forums posters tell me: "you shouldn't have to do all that.

[Code]...

View 15 Replies

Deployment :: What To Prevent Anyone From Using DLLs

Feb 2, 2010

You developing a application named "DemoSoft" which is going to be a shareware or Premium, you use different DLL's in this project and some DLL's are owned by you, they are very useful and valuable, you are selling this software and are charging the customer for what the software does but since this software uses one of your Valuable DLL, actually few functions from it you have to deploy it and cannot additionally charge for the whole dll. since that would be unwize.now i want to ask what can you do so that This DLL in "DemoSoft" cannot be exploited, meaning end user could use my software but if some thief tries to use my supplied DLL in one of his own app he is unable to do it, in simple terms DLL should work only and only with DemoSoft.

View 5 Replies

Get A List Of DLLs That A Process Is Using?

Jan 11, 2010

How would I get a list of the DLLs that a process is using? For example, if a process used "SomeDLL.DLL", would it be possible to find that out using a VB program?

View 10 Replies

How To Change DLLs Dynamic

Mar 5, 2009

My environment is VB6 (NOT .Net), and I have three function-similiar com+ DLLS with different GUID. For example, DLL A, DLL B and DLL C have the same function Beep(). I have a VB application, if I want to use DLL A Beep(), I should import the DLL A reference, and rebuild my application. If I want to switch to DLL B Beep(), I have to change the DLL reference and then rebuild my applicaton.. The same to do if I do with DLL C.

View 1 Replies

How To Put DLLs In Separate Directory

Oct 16, 2011

DO NOT REDIRECT THIS TO ANOTHER THREAD BECAUSE THERE ISN'T A ONE I'm developing a project in VS2010 - WPF - VB.NET (4.0)The solution contains 11 projects; one executable and others are User Controls, Custom Controls and Classes.Now when I build my solution this happens in the output (Debug) folder:

Images/(images used buy MainProg.exe)

[Code]...

View 11 Replies

Link Different Projects Using A DLLs?

Jun 4, 2010

i have been researching this question fror weeks and yet i cant find the answer. Can anyone tell me how i can link two vb.net projects in VS2010 together using a dll. For example, say i have two projects, project 1 and 2. if i want to open a form from project 2 using a button from project 1, what will the procedures be and the codes.

[Code]...

View 10 Replies

Load Dlls From Folder And Use It?

Jun 13, 2011

I have a simple question for you I think, but for me it bugs me a lot

So as the title says, I want to load a dll from a folder in my exe and use it's classes

How can I do that? like for example my app is named "run.exe" and I want at load time to load dlls from folder "resources" and use the classes from the dll's it "imported"

View 1 Replies

Referencing DLLs In Project?

Sep 23, 2009

I have a project that references two DLL files in the system 32 directory as COM references. The files are certenroll.dll and certcli.dll which are included in the system32 directory as part of the OS. My app is a console application that I'd like to have as a standalone exe. It seems that the these files are converted to something like Interop.CERTENROLLLib.dll and Interop.CERTCLIENTLib.dll and dropped in the bin directory for my project. Since I want the app to be a standalone exe able to run on other PC's I'd rather see the app reference the original DLL files in the system32 directory and not have to carry these dependency files around with it.

View 2 Replies

VS 2010 Adding DLLs In GAC?

Mar 8, 2012

In my Installer project I just added my OracleDataAccess.dll to the "Global Assembly ache Folder" folder in the "File System on Target Machine" But when I install my project it doesn't install the OracleDataAccess.dll on the target machine'sC:WindowsAssembly.

View 3 Replies

VS 2010 Publishing With Dlls

Jul 11, 2010

I have this vb program that uses 2 dlls i made in c++, the dlls are attached to the project and are set as "copy always" and in vs debug mode they work fine, however when i try to publish the program and run it it can no longer find the dlls even tho they are right there next to the program itself the dlls are declared as following: Private Declare Function Trace Lib "Lowstuff.dll" (ByVal targ as IntPtr) As UInteger.so what im thinking is that maybe theres like a switch in project settings i didnt flick or maybe i need to specify the dll with full path or wut?

As it turns out it had nothing to do with vb afterall, it was the c++ dlls that had to be made as static. However now i have a new problem: Im geting a bunch of overflow exceptions from my program but only on other computers, in the dev machine it reports no errors or warnings whatsoever, i also went over function where the error was generated and all the functions it used and detected no fault so how am i supposed to track these down?

View 2 Replies

Where To Download SharePoint DLLs

Mar 1, 2011

I need to get hold of the Sharepoint DLL's. I understand that these are available from the Sharepoint server however the company I work for is quite large and the server is not anywhere I can get close to to copy the DLL's. Is there somewhere I can download these so I can start to develop my VB.NET application locally!

View 2 Replies

.net - Reference 2 Dlls Using The Same Namespace In 3.5 Project?

Jun 29, 2011

I have a vb.net 3.5 class library project that needs to reference two assemblies that have the same namespace. We have two third party dll's in which one is version 5.1 and the other is version 6.1. They have the same dll filename and they utilize the same namespace and functions/class names. The project needs to use one or the other depending on a specific situation. I've investigated up on a c# process that uses the "extern alias" feature to pull in the different assemblies.

[URL]

What use is the Aliases property of assembly references in Visual Studio 8.It seems that this feature isn't fully available for vb.net. Things I've Tried I've renamed the 2nd dll and added both references to my project. At this point I get tons of: 'blah' is ambiguous in the namespace. So I need to alias the different versions. In vb.net you can do aliases on an imports statement like:

Imports version5 = Somedll.Something

The problem is I can't setup an assembly reference alias for the different versions of the dll. Apparently in vb.net you can't set these up in the reference properties window. So I tried setting them in in my project file like this:

<Reference Include="somedll.5.Navigation">
<HintPath>....UtilityThirdPartyDLLSsomedll.5.dll</HintPath>
<Aliases>SomeDLL5</Aliases>

[code]....

I would then expect this to work:

Imports version5 = SomeDLL5.Something
Imports version6 = SomeDLL6.Something

But the "SomeDLL5/6" doesn't show up in intellisense. So how can I reference both dll's in the same project?

View 3 Replies

DLLs Not Copying In Debug Mode?

Aug 29, 2011

I have a few DLLs that I have added to my project. I placed directly into the BinRelease directory and set Copy Local and Specific Version to true. Now if I move to debug mode, it doesn't copy those DLLs into the debug folder, so it won't compile. If these are just 3rd party DLLs, and not being built by my program, is it normal practice to throw these into the Release and Debug folders every time?

View 3 Replies

GPS Street Navigation Dlls Or Examples?

Aug 28, 2009

I have been searching but unable to find any code examples of using a GPS coordinate to navigate to another GPS by road way. Is there a dll from MS Streets and Trips or any other software that would allow this to happen? This would also need to be done offline, so no Google or other online serive call outs.

View 1 Replies

Managed Satellite DLLs And How To Create It?

May 6, 2009

i wanna know what's benefits Satellite dll has? how we can create that by add_in

View 2 Replies

Referencing DLLS In The GAC And Policy Files?

Nov 11, 2010

I have a project/app released which references a dll from the GAC folder. The project is looking for version 1.0 of the referenced dll.

I want to release version 2 of the dll without having to re-release the app and have all users re-install.

I had thought if i deployed a policy with the new dll which redirected calls for the dll to the new version this would be ok. However I think I am missing something. IT seems the redirect is not working as when I test on a users machine, give them the version 2 dll and the policy dll but take away the version 1.0 the app fails. It seem calls to the missing dll are not redirected by the policy dll to version 2.

Policy config which is used to create the policy.1.1.CorpReportsClassLibrary.dll
is as below.


<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

[Code]....

View 3 Replies

Replacing And Then Stringing Multiple DLLs?

Mar 28, 2011

i'm trying to create a program that is highly edible. Users will be able to change multiple things by just replacing the existing dlls. Kind of like a modding ability. The new DLL shouldn't have to recreate every function though, it should only include the ones that it changes and then hook to the old dll for anything that it doesn't have. Is there a way to dynamically do this? Reference another dll (like a proxy) through yourself for anything that doesn't exist in its self?

View 1 Replies

Runtime Discovery Of DLLs And Their Contents

Feb 3, 2010

I have an application for which I wish to allow plug-ins. The plug-ins would be packaged in DLLs (one or more plug-ins per DLL). The application is written in Visual C++, and I was able (quite easily) to get a sample Visual C++ plug-in DLL to work. The main app looks in a particular folder for plug-in DLLs, and loads all that it finds. The process of loading the DLL calls the DllMain function, which allows the DLL to register all of its plug-ins with the main app. Another way of doing this would be to export a function with a known name in the DLL. That way, the main app can load the DLL, get a pointer to the function, and call that function, which would cause the DLL to register the plug-ins. This gives me the ability to discover the plug-ins at run time; neither the plug-ins nor the DLLs are known at build time.

I have been trying to do something similar with a VB DLL with little success. I was hoping someone would be able to suggest a way to find a VB DLL in a well-known location, load it, and either have it execute a function upon loading, or allow me to discover one or more functions that I can execute. Apparently, there is no way to export a function in a VB DLL the same as I can in a VC++ DLL.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved