Protect Dlls In Project From Being Referenced By Other People?

Apr 30, 2009

How do I protect dlls in my project from being referenced by other people?

View 1 Replies


ADVERTISEMENT

[2005] Setup Project And Referenced Dlls?

Feb 9, 2009

I have created an application and a setup application for it.The application references Microsoft.mshtml.dll and another custom dll.The problem is that despite the fact that i added to the setup project the output of the application, these two dlls were not added in the setup project's "detected dependencies". Do i have to add them manually ? Do you know if Microsoft.mshtml.dll (C:Program FilesMicrosoft.NETPrimary Interop AssembliesMicrosoft.mshtml.dll)will work both on Windows XP and Windows Vista no matter what version of Internet Explorer is installed ?

View 1 Replies

1 IDE Won't Release File Locks On Referenced DLLs

Mar 20, 2009

I develop an application through two multi project solutions.There is one solution for the data layer stuff and another one for the front end stuff.All the dlls are referenced in a startup project and have copy local = true. So the build output from the GUI solution and the dlls referenced from the data layer solution should be copied to this startup project's bin folder. This seemed to work without issue for some time, but after changing source control, after a rebuild of the data layer solution, I clean the GUI solution and get the following output: [code] I have researched this problem and it seems microsoft are aware of a problem, logged under MSB3061... but no solutions have been posted by MS. Several users have suggested stopping the indexing service from indexing bin and obj folders (I've done this). I've also ensured that none of the bin/obj folders are under source control. I downloaded FileMon from sysinternals and it says that devenv (GUI) has the file locks.

View 13 Replies

Can Not Be Referenced Because It's Project Type Is Exe?

Aug 10, 2009

I created a standard exe project and then an Activex exe.I compiled the activex exe and tried to make a project reference to the activex exe and keep getting the error ... can not be referenced because its project type is exe

View 2 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

How To Protect My Project

Aug 7, 2010

i made a small project and i want to sell it, there is any way to make user name and password for the project, or serial, or some thing like that?

View 3 Replies

C# - Calling Function Referenced By Project

Nov 13, 2009

As per [URL] How can I achieve this? 'processPacketVB' is a 'variable' but is used like a 'method' is the error I'm getting with these references to the project and class and function.

using VBProcessPacket;
namespace UIST {
public partial class FormActionMenu : Form {
private void timerDelay_Tick(object sender, EventArgs e) {
VBProcessPacket.ProcessRX processPacketVB = new VBProcessPacket.ProcessRX();
//read the receive buffer as a string
RXpacket = processPacketVB("test"); // processPacketVB throws the error 'processPacketVB' is a 'variable' but is used like a 'method'

View 5 Replies

Image :: Get To Resources Of A Referenced Project?

Nov 4, 2009

I have a project which contains all custom controls and images; we'll call it projectBase.Now I have created a windows forms project (project1) that references projectBase. I need to access the embedded resource (images) of projectBase in project

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

How To Protect Project From Duplication

May 23, 2011

i developed a project using VB.Net 2005 and sql server 2005 standard edition at back end. now its complete and have to deliver to company now. but i am afraid that the company may reproduce a new copy of this software from the original and may sell to any other company or in open market. I want to implement some mechanism on my project for its security, which enables it to not to work on other computers or some similar type security.

View 3 Replies

Protect The Project On Vb2005?

Dec 11, 2008

After I finish my project I'll create a setup for it and give it a serial number.But unformatted it could install on many PC.I have heard that I can create a serial number with the number of the motherboard of PC. Is this possible?I was working on accounting program. This program was protected from a steal by a piece insert in the usb of the PC. So the program was working only for a few days if that piece doesn't inserted.

View 7 Replies

C# - Access The My.Settings Of An Other DLL Referenced In The Current Project?

Jul 1, 2010

Is it possible to access the My.Settings of an other DLL referenced in the current Project? I have a Database project in which Settings the ConnectionString is stored. I need access to this Setting in an other Project(for Log-File).

View 2 Replies

Project Warning - Referenced Components Could Not Be Found

Jan 9, 2010

Everything was fine but suddenly appeared this error when I built a project.
Warning 1 The referenced component 'stdole3' could not be found.
Warning 2 The referenced component 'stdole2' could not be found.
[URL]

View 7 Replies

How To Protect Project From Illegal Copy

Jan 16, 2010

How to protect my vb project from illegal copy

View 10 Replies

Protect My Vb Project From Illegal Copy?

Jan 16, 2010

How to protect my vb project from illegal copy

View 1 Replies

VS 2005 Protect The Project From Duplication?

May 23, 2011

i developed a project using VB.Net 2005 and sql server 2005 standard edition at back end. now its complete and have to deliver to company now. but i am afraid that the company may reproduce a new copy of this software from the original and may sell to any other company or in open market. I want to implement some mechanism on my project for its security, which enables it to not to work on other computers or some similar type security.

View 12 Replies

Access Byte Array Within C# Class Referenced In .net Project?

Jun 6, 2011

I am trying to instantiate a c# class whose project is referenced within a vb.net project.By providing the following declaration/instantiation of the class, I hoped to be able to access the instantiated classes publicly declared byte array within a vb.net module.The compiler won't let me. I get the message Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. It wants me to replace the reference to the instantiated class and public member frameData() with the general Class definition name. Why can't I access frameData through the instantiated variable rxFrame?

View 5 Replies

VS Project Fails To Compile: Property Not A Member Of A Referenced DLL?

Aug 27, 2010

When I try to compile my VB.NET web project, I get an error that reads:[PropertyName] is not a member of '[Namespace.Class]'The class referenced is part of a dll that the project references. The property definitely exists in the referenced class, and its access modifier is Public. What's more, if I update the reference, or just remove it and add it back, the error goes away: the intellisense shows my property -- all is fine.. that is until I try to compile again. Then the error returns. I've even restarted Visual Studio to no avail. What is going on?[UPDATE]After Will's comment, I've changed the namespace to something I am absolutely sure is unique. Now, I am getting more compiler errors of the same genre. The compiler is not recognizing some of the overloads although they are right there in intellisense. Weird!

Dim gis = New MapQuestGeocoder
Dim r = gis.GetResult(address)
originCoord = r.Coordinate

[code].....

View 1 Replies

Asp.net - Visual Studio Project Randomly Named DLLs?

Oct 26, 2011

Years back I inherited a project that is written in VB.net - the problem with this site (it's a website in Visual Studio, not a web application) is that if you change any code you have to compile and upload the entire site each time.

Why? Because it seems to generate a bunch (maybe 10-15) of randomly named DLLs in the BIN directory on every compilation. Each page in the site then references these randomly named DLLs so I have to upload them all and the new DLLs if the site is to continue working.

What 'setting' is this site built using, or more importantly how can I change it to a more convenient system of generating one or two consistently named DLLs?

View 2 Replies

Protect Codes And Forms In Project From Viewing ?

Dec 31, 2011

Can I protect my codes and forms in my project from viewing ?

View 9 Replies

Divide Project Into Smaller Entity (dll) Or Convert 10 Forms To 10 Dlls?

Jan 21, 2011

Let say I had a project contains 10 forms and 10 reports and typed dataset (xsd)I am trying to divide my project forms into dlls, so when the client had a problem or asks for modification in single forms, I had to build the project all over again and the exe size will be large.

in my current project, the exe size is 4.8 MB, and I am working with customers by internet and remoting, so every time I make small changes (change the back color of textbox in one form) I had to rebuild and send the whole 4.8 MB to the customer. And not forgetting the increasing size of the exe with time.I know that converting my project to class library and built it will convert it to dll, so I had to create a second project to manage it.

1 - Can I convert 3 or 4 forms / 10 forms total in my current windows application project to dll?

2- What is the best recommended method to divide the project into smaller entity.

View 19 Replies

Password Protect Project In Visual Studio 2005?

Aug 26, 2009

How can I password protect my VB.NET project in Visual Studio 2005?

View 6 Replies

How To Change The .proj File To Include Reference Dlls When Doing An Auto Build With A Project

Aug 27, 2010

I have a simple vb.net project that outputs a dll. In order to build this project, I have to reference some 3 3rd party dlls by manually adding them to the project and then building.

What I want to do now is auto build this using a app called CruiseControl. . . I have been told that in order to use the 3 3rd party dlls, I have to modify the .proj file to include the .dlls. The thing is, where in the proj file do I include this
and how do I do this? I think I may know where the section is and I have included it here:

[code...]

When I run the auto build program it fails (it runs through but fails at compile time); when I build this manually it works when i refer the dlls. What am I missing to make this work?

View 4 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 - Error "newForm1 Cannot Expose Type 'form1' Outside The Project Through Class GlobalData"

Feb 18, 2010

For a test scenario I have a dll project. In the project I have 1 generic class 'GlobalData' and 1 form 'form1' in the generic class I would like to make a public shared newForm1 as new form1 the line of code I'm trying is: Public shared newForm1 as new form1 I get the error newForm1 cannot expose type 'form1' outside the project through class 'GlobalData'. I really need to be able to make a public shared reference to form1. Any way to get around this? Background as to why I need to do this: I have several projects that need to use Form1 as a mdi child. I would like to just update the dll and not have to go back and update the same form in 50 projects.

View 4 Replies

Anyway To Have Bookmarks Option For People

Mar 15, 2009

i want to make a custom instaloler for my ProjectI made a web browser and well.I want to add tabs Make it so you do not have to click go you can hit the return Key falso i want to make it where they have to enter a free 10 diget code i make and give out. iks this possible?one last thingi cannot figurel out how to print save or open a Text Box that i want to make kinda my own simple version of the notepad?sorry so manny questiuon kind new but kinda notIf you want one of the webbrowsers i made email me or tell me i made a couplewow i feel stupid is there anyway to have bookmarks option fr people

View 5 Replies

C# - LINQ To SQL Group People By Age?

Nov 3, 2011

Sample in C# and VB.NET are OK.

I have a table "People" with the following columns:

-FullName (nvarchar not null)
-DOB (datetime null)

I want to write a LINQ to SQL to group the people by age, like following result:

Age 19: 4 ppl
Age 20: 5 ppl
Age 21: 6 ppl
Here's my try:
Dim query = From ppl In db.People _
Select New With {.Age = DateTime.Now.Year - CDate(ppl.DOB).Year, .CountAge = ppl.Count}

Notice that there are no DOB record for some people in the tables, so these shall not be included. The DOB column has record like this 1982-10-24 10:12:45 AM because it's a DateTime column.

View 4 Replies

How To Format Much String For People Name

Feb 25, 2012

I've a question about string.How to format string in VB.NET like this :

old string : "okta viani|anna viona|.....(more like this)"
into :
"Okta Viani"
"Anna Viona"
(and many more)"

the old string is splitted by "|" character but the name is lower. How to format just the first title name to Upper and other to lower in vb.net but the data to change is two thousand or more..

View 2 Replies

How To Show People That Are Online

Feb 13, 2011

i got a question i making a app and i have my db running on localhost but now i need to show witch people are online (i thought to show them in to a listview) and on that database i got a colum named active if the colum is 1 then you will be shown in to the listview if not then you will not be shown but how to do it i got some code but it wont work here is my code for loading the people in tho the listview :Imports MySql.Data.MySqlClient

[Code]...

View 14 Replies

Open Other People's Outlook From Asp.net?

Jul 11, 2011

I am using

Dim Outl As Object
Outl = CreateObject("Outlook.Application", "localhost")
If Outl IsNot Nothing Then

[code]....

to open outlook but when i host application in iis i got error "Cannot create ActiveX component."

View 2 Replies







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