Making Extensible Application?
May 11, 2010Anybody can show me an example how to use system.addin namespace?I need create an extensible application using "plug-ins" or "add-ins" and I only find a very few tutorials in C#
View 2 RepliesAnybody can show me an example how to use system.addin namespace?I need create an extensible application using "plug-ins" or "add-ins" and I only find a very few tutorials in C#
View 2 RepliesHow would I go about making a windows application extensible with JavaScript?
View 7 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.
Sir, I am a vb programmer. I want to develope a vb application that can be run on an android phone or tablet.What I should do for that and how can i install this application on android phone or tablet and run it successfully? Generally i use ms access or sql server for my desktop application. Which data base should i use with my vb application on android phone or tablet?
View 2 RepliesI have an application written in VB.net 2003, and I would like to make it 'dpi-aware', but I haven't the faintest idea how to even begin. I am an experienced coder, but this is throwing me completely.
View 1 RepliesWhat would be the best way to make a Windows .NET application be the only program that can be used on a computer? I have come across timers or events to switch windows back to a window with matching text and some api32 calls to make a form top most.
Is it possible to make an application like the windows lock screen where nothing can be done except that what is on screen? I want to block users from doing other things and only let administrators get to the desktop.
I have a vb.net application which dials another computer and send message to it with the help of cdrvlibnet.dll . I want to deploy this in another computer. I tried following steps.
1. Added a new project with type as deployment project
2. then build the project
3. took the setup.msi to another machine and installed it.
Here are my problems.
1. The icon which created in the desktop and start menu is not running the exe, but pointing to desktop only.
I'm currently using MS Visual Studio 2008 Express Edition. My .NET Framework version is 3.5. I made an application in VS 2008 and it worked perfectly. However, when I ran it at my friend's place (who's got .NET Framework 1.1), it didn't run. Now, I know that the framework incompatibility is the issue.So, what I ask is, how do I code the application so as to make it run on Framework 1.1 as well while still using VS 2008?
View 5 RepliesI made the setup project for mt VB.NET Application, but when I take it to another computer for installation, the wizard does not show any window for specifying the path. It just asks to accept the license agreement and then starts installing/copying files. Later after installation and rebooting I see the shortcut but it does not start the program/application. It just goes to a folder.
View 4 Repliesdeveloping chat server which as a console application but i want to open that console when i click on to the window form button and another button to close that console application. so how to do that in window form to open console
View 2 RepliesI'm making a console application with a login. The system I have now is extremely basic and very redundant. I would like the password to be masked as you type it in "*****" for example and If possible I would like to encrypt the password with md5. Can someone let me know how to/give me the code to do it.
This is my current login system:
Sub LogIn()
'A log in system to prevent unwanted users from acsessing the system
Console.Write("Username: ")
Dim username As String = Console.ReadLine.ToLower
If username = "sian" Then
[Code]...
I've created an AIO tool in Visual Basic and i need to create some code so when the application is opened it places itself in the computer startup folder. I know i can do it manually but i want to do it on school computers (restricted access).
View 3 RepliesI am making a window based application in vb.net.Now i have work in two sql databases, so i when the window opens it will show two databases..when i select first db then i can work in that particular db only..if select 2nd db then i can work in second db only..how to do that?
View 4 RepliesI am trying making a appliction that produce a invoice, its just a type of business application, in that i want to and form that contain a email sector divided on two tabs one to send email, and second to receive email (like to check my inbox, etc)
View 1 RepliesI am making an application with a bar on the upper side of it. It can stretch with the form, because the anchors are on the left and right. But it fades out.
View 4 Replieshow do i make i VB .net application/tool (any sort of) like a professional one, for eg. if my tool is doing some task when i click a button which takes say 1-2 mins. , then during that phase my app should not look like it's hung (plain white window) if you know what i mean . All i'm asking is the logic for keeping my front end viewable & refreshed (possibly wit ha progressbar) while something carried out in background which takes couple of mins.
View 2 RepliesI have an existing apllication that run on XP. What do I need to do to make my application to run on Windows 7.
View 10 RepliesI'm trying to make a calculator application. Just as practice, as I'm new to visual basic (.NET 4.0) coding. I've got this so far.
[code]...
Note, I've not programmed it to do operations yet, I'm trying to get this sorted out first. My issue is, when I enter my numbers, they do not store as a variable, they both store as zero.
Previously I used to piddle around with VB6 to develop a couple of personal projects. Following my upgrade to Windows 7, I've decided to piddle about with vb.net Express Edition 2010.If I wanted my VB6 application to blend in with the visual style of Windows, I would use the code and techniques described here. In short, I would use a Manifest file and a couple of calls within the application and most of the elements would look similar to the XP theme applied. If it was run on 2000, 95 or 98 then it would look like a standard Windows app. All was good.
Now I've moved onto vb.net, I've written a simple "Hello, world" application but I have absolutely no idea on how to make it look like the Windows 7 theme (eg. the font matches the system font and the widgets are styled correctly).Just changing the font is a hack and will look out of place on machines that are set-up differently or run a different version of Windows where the default font is different.How do I ensure my application matches the applied Windows theme irrespective of the version of Windows?
I created a simple application that when a user logons onto their Windows account, the application pops up to display the computer usage agreement.آ The user at this time has the option of accepting it or declining it. If declined they are logged out of windows, and if they accept they can continue using windows. When I installed the application logged on as the administrator, it only installed in the administrator profile, thus not allowing the application to be run from startup under any other account except admin.آ My first question is, how can I install this application that is it accessible to all user accounts? The second question is how can I program the application to freeze windows until the user clicks the accept button, without puting a timer event that if the accept button is not clicked in a certain amount of time to log off the user.
View 2 Replies making an application which send some files to LPT port.My Code is
Dim PortName As String
Dim pr As Process
Dim args As New ProcessStartInfo("cmd.exe")[code]....
look at the bold line.1st line Send a file to PORT and 2nd line deleting that file.I am execute this code in a loop.that means those 2 lines are executed in multiple times.As a reason of that,some times these 2 commands are not working properly. so that the file is not deleted. How can the commands are executed in proper way?
I was thinking of making a custom skin for my application. I looked into Aero like application like this one. But wait a problem it will not work on XP So my question is do you know were i can get free and good looking GUI. Or can i make the aero work some how on XP.
View 7 RepliesI had all types of problems before with my application size.On one computer it fits great, but on the net book the application is so big that it crashes it.For example lets say that this is my application running on a regular PC which has a 60 Cm screen This not my application. On my net book which has a 25cm screen it will look different and bigger. Can i some how have a application that is the same size. I think this is very possible to do. Kaspersky has the same feature and it works great.
View 12 RepliesI have a MDI Parent form.
In that form, I show people another form which has a richtextbox.
All I need to know is how would I allow people to print the text in richtextbox and also how to save the text in the richtextbox as a txt file.
I cant find any documentation on making an API for a visual basic application. Does anyone have any ideas where I could start?
View 12 RepliesA portion of my code is below. I am making a database application using FlexGrid and an ADO Control. I get errors on the statements following .saying that "Overload resolution failed because no accessible 'Fields' accepts this number of Arguments". Can someone explain this error and also a fix for it? I am using Visual Basic 2008.
[Code]...
I wanted to know how I can make a stand alone exe without making the user install the application. So that the program can be ran from a disk or flash drive. Currently I can run it just fine on the PCs, I'm developing it on. But when I take it to another, that has the targeted framework, it crashes.
[Code]...
I have a NET (version 3.5) Class Library written in VBNET 2008 (on Windows 7 x64) that will at times display a WinForm. The class lib will be used in Excel, and I want to set the NET WinForm to be a child of the Excel Application window. If I weren't using NET, I would just call the SetParent API function, but I can't seem to get this to work since WinForms (I assume) don't have a HWnd suitable for SetParent. I'm sure this is possible, but I just can't find the right properties and methods. The WinForm will be shown modelessly so the user can switch back and forth between Excel and the displayed WinForm.
[Code]...
making a VB application which chooses a random line for a file, sets it as the value of a Label (word) and also adds it to a ListBox (list) when a Button (nextbut) is pressed. I also want it to keep going.
Button; Text: Next
Name: nextbut
Label; Name: word
Listbox;Name: list
What i need it to do is to load a line from a file ("C:words.txt" for example) and set it as the value f the label. The lines are different lenghts.
I'm making an application where a user draws a shape on a picture box( this will be saved on a bitmap image), then another user has to draw on that shape (=follow it ) . if the 2nd user goes too far from the line then an error message will appear.
for example( in case i couldn't clarify this well!)the 1st user draws a a vertical line, the 2nd user has to follow it, if-while drawing on it- he gets too far horizontally, there would be the error.
I'm currently thinking of comparing every point by the 2nd user to its equivalent in an array containing the points by the first user.