Use The New MEF To Make Addins For An Application?
Jun 15, 2010How to use the new MEF to make Addins for an vb.net application?
View 1 RepliesHow to use the new MEF to make Addins for an vb.net application?
View 1 RepliesI have 5 different applications that I have written for my business, they are all interfaces for a point of sale system. I TCP/IP interface handling part of the application is rock solid, problem is that occationally I will come across a small issue, such as a memory leak that I came across a few weeks ago. After I fixed it, I had to then fix said leak in 5 different projects as they all use the same interface base code.Now, if things were different, say a function that all my applications used I would just write it into a class in a dll and have all my applications use the function from that class. Problem is however, using a parent/child explanation unlike my example here where I have interface 1 - 5 as my parents using common.dll as a common child. I need to have InterfaceParent using 5 different children with different attributes.That being said, there are a few stipulations, depending on the customer I may only need to install interface 1 and 3, or 2 and 5, or 1,3 and 4.
View 2 RepliesDoes anyone know of any good tutorials for creating Excel Addins?
View 1 Repliesis it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
View 11 RepliesI want to make a Hidden Application,my application Block Unwanted software or Application
View 13 RepliesI use SetParent to make an external application a "child" of my Main .Net application. This works fine.What I need to know is why can't I use Me.MDIChildren(0)I thought that using SetParent would increase the number of children by 1, thus allowing me to reference it with the above code, but it shows there are no children in the array.I have been trying, without luck, for 2 days to try to maximize an external app being displayed in my app. I can get it to display, but I would love it if it could Dock to the same size as its container (a panel)
View 3 RepliesI am making a exe application and i am using mysql as my database. So the thing is, when i change to a new computer, i need to change the file path for the database connection string to that computer.
like below:
Dim connectionString As String = "Data Source=----------SQLEXPRESS;Initial Catalog=Flexlink;" & "Integrated Security=SSPI;"
i need to change the data source = --------------- SQLEXPRESS to the computer name that i am using for my project.
May i ask is there any method such that the user dont have to go in to the source code to change the computer's name like those normal installer?
Just install and the application will run according like any exe file that we buy.
Okay so basically I want to see if I can make an windows application or just a console application in VB.NET that will verify an MD5 Checksum. I have no idea how to start this out, but I have the ideas of what I'd like to make it.
[Code]...
I have been trying to reference Application.ThreadException in my application to make an addhandler, but I also am using imports growl.connector which has a growl.connector.application method. When I create my addhandler:AddHandler Application.ThreadException, AddressOf ThreadExceptionHandler
And I get "ThreadExecption is not an event of 'growl.connector.application'"
I'm going to make a Skype application using Visual Basic, I use them "Skype4COM.
Below is a link on the page somewhere in the middle Skype4COM. It is the DLL that I use.
But my question is, how can I in my application that I call you? Not that you're on the phone but if someone phoned you before you've pressed record.
I'm using loop to read data from sql and then make some calculations then save it again to another table but when application loop for 3 or 4 times it's freeze but the job is done but if loop = 10 or more then it is freeze and hangup for long time .i need to learn how to make my application working better and never freeze and make application working with any count for loop without freeze .
View 7 RepliesI'm using VB 2008, and I have a dual core computer.Is it possible to make a code that sends one application or program in 1 core, and other application in the other core?
View 1 RepliesI am trying to build an application on VB.There are two different .txt files.
Example:
ListA.txt
1
[code].....
I have this application that deals with a database, adds, deletes, uploads... let's call it: app1 I have created another one app2. in which i deal with 3 tables from a db. and basically i have to set different types of access for different users. like 0 for no access, 1 for read only, 2 for write.but now i have to put these two togeter.in app1 i have to take the windows username: i will do this with windowsIdentity, and see what kind of rights that username has and so to dizable different controls.
View 11 RepliesI have a problem I've been struggeling with for a full week now, and I'm not able to solve it by myself. I've been googeling, and searching in all kind of forums.I have found lots of "this might work", tried it, but no, no success. If anyone have any clue,I'v got, from an external source, lots of classes and functions written in VB that I need to be able to use from a C++ application. My first though was: no problem, I turn the VB code into a dll, and load it from my C++-program. This was though harder than I ever could imagine. My C++-program is not written in Visual Studio, but for simplicity I started with trying to load my VB dll (written in Visual Studio 2010) from a Visual Studio C++ application. This is my code so far:
[Code]...
I looked at the link with the tutorial, but there is a small problem: there are no such thing as "ActiveX DLL" to choose among all the project types. And yes, I do have Visual Studio 2010 Professional (a trial version, but still).
I'm trying to make a composite application.Lets say there are two regions with a view in each that interact with each other via drag and drop, view A contains a list of tasks that view b (which contains a list of People) doesn't really know about.When I select some tasks in the list from view a and drop it to another list maintained by view b which module should know what happened? does the module that maintains the tasks need to know about the module that maintains the people, or vice-versa? Where should I start?
View 4 RepliesHow can I make my .net application look more presentable and interesting from a visual point of view?
View 19 RepliesI would like to make an application that will propt the user to enter a serial key in after 10 or 30 days if that is possible also i would allso like to make a keygen tha will work with this program.
View 14 Repliesvb.net applications that runs at the client-side work in unsecured environment, these applications connects to a mysql database server so... it contains the username and the password of the mysql database in the connection-string in the application itself.isn't there any way to digitally sign my applications so the database server only accepts the requests from the trusted applications?I want to this to prevent the hackers from hijacking my database
View 1 RepliesI have build a VB.NET application which uses PHP command line to run some scripts in a folder in the same directory. I do not want the script in PHP directory to be editable. So, I want that folder to be inaccessible by users or only available to my applicaiton.
View 2 Repliesable to start my application right away after the windows.
View 7 RepliesI am developing application in both language(english- arabic)I have 2 button to switch to languagehow can i swith to using resource and as per language selection form must switch to right and left
View 1 RepliesIs it possible too make a Envelope program in VS2008, something simple too print envelope?. I just want too print a envelope and return address, where would one go too read on how to do this. Is their any templates too start from and build on your own needs?. Has anyone tried too print a envelope in VS 2008?.
View 13 RepliesIs it possible to make a vb.net application faster Through code like using characters that the Computer already understands Like coding in certain areas through y x (math) etc. Will it be More faster since the compiler don't have to really do much work But its still must be VB.NET
View 19 RepliesWe have developed a VP exe that we would like to make available via web access. Never having done this before we're looking for how to start. The application was written in VB6 as a stand alone exec.
View 11 RepliesI want to Make DATA Base Application ! Who Save DATA in XML?
View 6 RepliesIm trying to make a little IP Locator application. It uses this site to get the users info and display them on a form, but im having trouble with the tags that are used in side.
[Code]...
i want to make a simple application [URL]
View 8 RepliesI need to create a standalone application using Visual Basic 2010 without .ico, .deploy, .manifest files.
how can I create only its *.exe file ?
I am new to VBA and looking at an application code, being developed by some one. Although I do get an over view but not entirly sure what these lines of code do, speciallyAddress(True, False, xlA1). I figured it is property but not sure how it works
ColNum2ColRef = Cells(1, ColNum).Address(True, False, xlA1)
ColNum2ColRef = Left(ColNum2ColRef, InStr(1, ColNum2ColRef, "$") - 1