Development Techniques - Make A Program That Can Be Used With Plugins?

Aug 19, 2010

While I've mainly been developing small applications for personal use, I stumbled upon making a touchscreen application for a close friend. While he is not very good at programming, he is pretty well at drawing/etc... So, I thought about expanding my horizons some.I already have code that loads images from a folder, and made that folder changeable via the program, so in effect, probably a horribly coded way of skinning some parts of the program (the buttons). But then I though about it some more and really wanted to learn a better way to make my programs 'expandable'.I have begun searching about how to make a program that can be used with plugins, how to make plugins, and so on... I am researching about dynamically changing controls and other things, so that when resolutions change, I don't have to code each individual buttons new size/location, and, most importantly, a way to implement patching/app upgrades...

View 2 Replies


ADVERTISEMENT

Make Plugins For The Program?

May 20, 2011

expand my program by allowing people to make plugins for the program. I thought of a way to do this: They can make a form/plugin on a form in VB then they can save it and upload the Form1.VB file and when you put that in a folder made by my program in "My Documents" my program will run that form like its, its own.

View 3 Replies

Can't Make A Seekbar Control Using A Windowmediaplayer And Vlc Plugins?

Oct 10, 2011

I cant make a seekbar control using a windowmediaplayer and vlc plugins

View 1 Replies

Visual Studio 2010 - Techniques For Not Allowing Program To Enter "Not Responding Mode"?

Jun 6, 2011

I have a program that runs a pretty long operation in the background once a user clicks the button. I have implemented a progress bar but if the window is touched or moved then it grays out and says (Not repsonding). Everything still works and when the operation finishes the program resumes function. (But a user would not know this

View 3 Replies

Software Development By Program?

Jun 11, 2011

how to develop application software and doing research regularly.Is there any powerfully software available that automatically create software without and coding knowledge. still conceptualizations and sketch is important part.Like we have Macromedia Dreamweaver, through which we can see ontime our design and coding accordingly...is there any software available to create any custom software on same theme.May be one of the example could be "Real Studio"?

View 5 Replies

.net - Createinstance() - Put Together A Plugins System With .NET

Apr 12, 2009

I'm trying to put together a plugins system with .NET, and I'm not sure if I'm doing it correctly. The basis of the system is that a specific directory ({apppath}/Plugins/) will have a bunch of precompiled DLLs, and I want to look through each one with reflection, and for every class available, if it inherits a specific base class (this is defined in yet another DLL, but I'll go into that later), then create an instance of it and call a specific function in said instance.

Public Sub ScanPluginsInDirectory(ByVal Directory As String)

Dim Plugins As New IO.DirectoryInfo(Directory)
Dim Files As IO.FileInfo() = Plugins.GetFiles("*.dll")

[CODE]................

The specific problem I have is, I'm not sure this is the right way to do this. Would the method I'm trying to do work, if it can be assumed that A.Plugin() actually exists and any structures and classes referenced here are bug-free?

View 2 Replies

How To Use Techniques To Encrypt And Decrypt

Aug 18, 2011

I just know it works. So as a personal project I'm trying to learn in VB/C# all about Cryptographic methods and how to use those techniques to encrypt and decrypt files. [code]

View 2 Replies

Plugins And Extensions For A Vb Application?

Mar 9, 2010

Firstly, I understand that this might sound more or less abstract, but this is because I have no previous experience in such applications. I completed an application using Visual Basic and is running and tested. What I want to do is
to make this application expendable i.e I could write other pieces of code and I would just plug it in to the application "somehow" and it would be added as a functionality.

View 1 Replies

Best Techniques For Fighting Software Piracy?

May 19, 2011

From what I understand, it is still impossible to prevent software piracy until a global Internet is established.

In the meantime, I'm looking for suggestions on how to protect any new projects I design.

View 9 Replies

Coding Techniques Could Use For Timed Keypress?

Apr 10, 2009

Ok heres my idea Start(button)> start timer1 countdown> keypress> start timer2 countdown> keypress2> if keypress2 happend twice> then keypress3> loop> end>I understand the science behind it but I fail to grasp the knowhow of the program lang if anyone knows how this could be done in VB Express.

View 9 Replies

Eclipse IDE, C# And Plugins That Supports .Net Framework4.0?

Sep 4, 2011

I want to use C# and VB.Net in Eclipse 3.7 Indigo.VB.netI could not find the plugin about VB.net in Eclipse.So I want to know is there a plugin for Eclipse that allows you to write C# or VB.net code using the .Net Framework 4.0 or 3.5?

View 1 Replies

Editing Settings For Individual Plugins?

Jun 6, 2012

I have a vb.net project that loads "plugin" dlls at runtime to crunch some data in slightly different ways and return the results. To do that, all the plugins implement the same interface, so the GUI couldn't care less how the plugin arrives at its final dataset, just so long as all the plugins deliver it back to the GUI in the same way.

I'd like to set up per-plugin options in addition to the main program options. I have an options form that accepts an object of type System.Configuration.ApplicationSettingsBase and displays the contents in a PropertyGrid control, so it'll show any My.Settings object the same way. Question is, how do I pull the My.Settings object out from a plugin that's loaded at run-time?

View 1 Replies

Techniques To Control Stack Overflows?

Aug 20, 2011

Basically, my program will try to generate the list of all possible lowercase 5-letter words. Including all combinations that clearly are not real words like jshcc or mmdzq.

I do that by stacking up a massive amount of calls for a function, which does the word work.

But that's simply too much, and I get a stack overflow error.

View 3 Replies

.NET Have Built-in Techniques For More Complicated Forms Of Iteration

Jun 11, 2011

Does .NET have built-in techniques for more complicated forms of iteration like the following:

1. Iterate over rearrangements of a list.

2. Iterate over subsets of a list.

3. Iterate over all indexes of a multidimensional list.

4. Iterate over all "combinations" of a list, i.e. all subsets of a list of a given length, where subsets that differs only in their ordering occur only once total.

I recently had cause to do (1) and my method was ugly, slow, tedious, and generalized poorly, which is why I ask. I can think of better ways, but it was garbage code anyway [brute force checking that there are precisely 576 seven-digit numbers made up of 1, 2, 3, 4, 5, 6, and 7 that are also divisible by 11]. The others are just for my own curiosity.

View 4 Replies

Stable Plugins Architecture Using An Appdomain Per Plugin?

Jun 22, 2010

how to create a stable plugin architecture. Stable because I plan on opening up plugin creation to the public but I dont want a sloppy coded plugin to take down my whole application.

So I thought of using an AppDomain per plugin and I did a little seaching. But it seems that even using a temp AppDomain to load plugins and then unloading it once all assemblies have been inspected raises complexity allot and I was planing on using an AppDomain per plugin.

I feel the gained stability (if there is any at all) may be raising the complexity so much the app will never be done..

Is there another way to both create a stable application and at the same time making it extensible?

I cases where the host calls a defined function via say IPluginInterface I guess I can pack a whole lot of try catch blocks around that call but what if a plugin insisted of a timed routine that would run continously without being invoked from the host other that a starting call to StartPluginService or something like that?

If I include a plugin like that in the default AppDomain and it blows up I sure will blow my own foot off right?

View 3 Replies

C# - Preferred Techniques For Passing Objects Which Clients May Invalidate

Jan 31, 2012

I have adopted a technique where I pass existing objects to forms so that they can display the object's content and allow the user to alter it if necessary. The form is not bound to the object, so when it comes time to act, the form sweeps up the content of its controls and puts them into the object. The object is then validated and any issues reported to the user. If the object is valid, it may be handed back to the caller so the caller can refresh a view/list/etc.

So far, so good. However, if the form's content, or lack of, creates an invalid object and the user does not correct it, maybe cancelling the form, there's a chance the form will hand an invalid object back to the caller. This is not good.

Essentially I'm looking for an elegant and efficient way of either leaving the object as it was or rolling back if the user cancels the form/action.

I have considered a range of techniques, each with many pros and cons. I'm keen to consider some other views.

View 3 Replies

Create A Plugin System Where Plugins Can Be Dynamically Loaded?

Dec 21, 2008

I am trying to create a plugin system where plugins can be dynamicly loaded (we don't know how many there are, what their classes are called, ...)This is sample code for a plugin:

Code:
Public Interface IPlugin
Sub bla()
Function bla3() As String
End Interface

[code]....

This code SHOULD msgbox("yay") when it finds a type that implements my IPlugin interface. Yet it never finds one. I can't find what I did wrong. It gets to the debug.print("2"), but never gets past the "If GetType(IPlugin).IsAssignableFrom(t) Then".

View 4 Replies

Plugins - Org Chart Control/Plug-In For WPF Multitouch Application?

Nov 5, 2010

I have been working on a UI app (written in VB.NET and using WPF) which creates charts using the Microsoft Chart Control for Windows Forms. The application retrieves data periodically from a remote database, parses and formats the data to create series, and then creates a chart based off the series which is then hosted in a WindowsFormsHost control. So far this process has been working well.

View 1 Replies

List View Techniques - Populate The Corresponding Data Elements On Another Form?

Jul 18, 2011

I have the following "contact" data (exampled below) stored in an xml file.I've created a frmContacts windows form and placed a list box control inside it.I'm new to the list box but plan to have the users manage the list by letting them add, delete, and pick from it. For searching there should also be a sort function/button (by last name then first name).If the user deletes from the list the corresponding data in the file will be deleted.If the user picks from or adds to the list, I'd like to find the best way to populate the corresponding data elements on another form (i.e., in their respective text boxes). This will include the ability to edit/save from this other form too.

<?xml version="1.0" encoding="utf-8"?>
<Rows>
<Row>[code]......

View 1 Replies

Add Custom Plugins For The App For Additional Features, Without People Having To Download A Whole New Update Each Time?

Nov 28, 2009

I am trying to figure out an easy way to add custom plugins for the app for additional features, without people having to download a whole new update each time.i guess the way i'd want it to work is,the program will auto detect the plugin file. Then, add's a specific value to either a button array, or add's a picture, etc.Once that button is clicked, it will open a new form designed the way i want it. from within the plugin itself.So its a module.What would be the easiest way to do this?

View 2 Replies

VS 2010 Any Tips Or Techniques For Debugging In Mouse Move Events / When Mouse Button Is Down / Has To Stay That Way?

Jun 6, 2011

I'm currently debugging a form that sets a flag when the mouse button is pressed, then clears the flag when the mouse button is released. As long as the mouse button is pressed, the user can move the mouse around and a few things happen depending on where they move. One of the things that happens is that a timer starts, or stops, and a few things change color depending on the mouse position. The timer starts when it should, then stops when it should, but once stopped, it is not re-starting when it should. I can verify that MouseMove events are getting through, because coloring changes as I move the mouse, as it should. This would be a simple thing to debug...except that it requires the darn mouse button to be down, and it uses the mouse move event. Anybody who has put a breakpoint in a mouse move event handler knows the issue: There are THOUSANDS of them. Worse yet, since the mouse button is necessary for switching to the IDE, as well as setting a breakpoint (technically, a keyboard shortcut could do this if I could shift focus), I can't wait for the problem to happen, then switch to the IDE and set a breakpoint to see what is happening then.Does anybody have any tips or techniques for debugging in mouse move events when the mouse button is down and has to stay that way? As it is, I'm going to have to write some funky code into the method just so that I have a place to get a breakpoint when I need it without breaking on every one of the mouse move events.

View 7 Replies

Data Modelling Techniques To Handle Lots Of Data?

Apr 6, 2011

So I have a relatively small website with growing amounts of data - the fastest growing table is pageviews, as we do all our analytics ourselves. The website is made using VB.Net, SQL Server 2008 and jQuery. I am limited to .net 2.5.I currently handle all the data and validation using objects with a list of attributes. Each attribute is of a specific datatype and has a validation function when a new value is given to it. If the data does not validate then it won't even get as far as updating the database and feeds back an error to the user. Currently I have "Manager" classes and "Item" classes - Items are managed by a particular Manager class, for example Users are managed by the UserManager, so to get all the users I just have to call UserManager.Items. These Manager classes are stored in the cache and are created as needed - but once a Manager class is referenced it creates all of the Items within it. This is getting rather slow now, as the company is growing fast. It takes 2 - 3 seconds to load the first page (the page which makes most first-time requests to data) but I am not happy with this time. After that it is nearly instant.

Now the way I see it I have 3 options to speed the website up: Keep it as it is, but try to make it more efficient through other techniques;Change to creating all these objects on every page load, in the hope that it is simply so slow because I am using the cache to store a fair amount of data (about 10 MB or so at least);Forgetting using object oriented techniques and just use straight SQL queries and loop through records.

View 1 Replies

Cannot Find A Way To Make A Program That Write Make A Shortcut In Start Menu For All Users

Jun 6, 2009

I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?

View 5 Replies

VS 2008 Make Button Open A Program And Make It Windows Size?

Aug 23, 2009

How do i make my button open a program and make it windows size?

View 6 Replies

Command Line Strings - Make The Program Close If The -1 String Is Sent With The Program

Feb 25, 2010

If e.CommandLine.Count > 0 Then

Dim IncomingCommand As String = e.CommandLine.Item(0).ToString

If IncomingCommand.Substring(0, 2) = "-1" Then

form1.close()

End If

End If

I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.

View 1 Replies

Screen Resolution - Change My Program's Size Correct To Make Program,  800x600 Such As Minimum?

Jun 1, 2010

I made vb.net program for 1440x900 resolution, if i run my program on 800x600 or 1024x768, my program's resolution is bigger then windows, so i have problem with resolution. Now i want to change my program's size and i am interested in, wich resolution is correct to make program, 800x600 such as minimum?

View 9 Replies

Make A Program That Opens A File In The Folder The Program Is Stored?

Aug 26, 2009

How do I make a program that opens a file in the folder the program is stored?

View 6 Replies

VS 2008 Make A Program That Searches For A RGB Color And Clicks On It WITHIN The Program?

Apr 3, 2010

I want to make a program that searches for a RGB color and clicks on it, WITHIN the program.

View 2 Replies

Do= Make A Program That Will Make Multiple Accounts?

Dec 30, 2010

what im trying to do= make a program that will make multiple accounts

[code]...

ok what i type in textbox(es) "1" i want it typed on a "3"{a website=www.justin.tv/signup} when i hit the "2"[button1]i really dont have any idea what im doing i know ill need to have a webrowser to load the justin.tv/signup but i have no clue what the name of the boxes are called on the webpage

View 4 Replies

Make A Program In VB Make A Sound When It Starts?

Jun 9, 2011

Me and a friend are making an app which we need to play a sound when Form1 is started. How do we do this? I don't mind code.

View 2 Replies







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