Making A .NET Application The Only Program Which Can Run?
Oct 18, 2011
What 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.
View 3 Replies
ADVERTISEMENT
Oct 20, 2011
I am making a program which generates a random number between 1 and 10 and when 7 appears it is suppose to tell you how many tries it took to get the number 7 and then end the application. This is the code I have used:
CODE:
This code only generates the number 7 and exits the application, each time i click the random button but i want it to show the other number it randomizes too for example 1 2 3 4 .. etc, if u dont understand, please try it, but im trying to say, when i clikc random it just says number 7 (does randomizing in background) and tells you how much tries it took but i want it to show the other number it randomized also and when 7 appears, then exit the program
View 2 Replies
Dec 14, 2009
I 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.
View 1 Replies
Dec 3, 2009
What I'm trying to do is make a MSN like rpogram where you can send Text form a Textbox to a listbox between 2 computers. I have read About TCP/IP connections?
View 4 Replies
Oct 7, 2009
I used Microsoft Visual Basic 2008 and i am having trouble making it to where i can make a screen that a video can be played in. I mean i know i have to code it to call if from a folder but i do not know how to set up the form so i can make my own program. My teacher said that there used to be a thing where you just put in on the from and it did it for you is there a special thing you have to download to do that or do you have to actually go through and code it yourself. I do not want to be given code i just want to know the best way of starting my project whether it is making a thing so that i can play the videos
View 3 Replies
Jan 20, 2012
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 Replies
Jan 24, 2010
I 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 Replies
Jul 27, 2009
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.
View 5 Replies
Mar 25, 2009
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 Replies
May 11, 2010
Anybody 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 Replies
Apr 16, 2010
I 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 Replies
Apr 3, 2010
developing 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 Replies
Oct 5, 2009
I am making a program that is very simple, but I'm have problems with it. It runs like this:Theres a textbox and you enter in any amount you want.Next to that there are three radio buttons, deposit, check and service charge.If you enter in 100 in the transaction text box, and check the deposit radio button, and hit "Calculate" it will display 100 (in a total display box); hit calculate again, it will display 200, then 300, etc..Now lets say you keep 100 in the text box, but you check either "service charge" or "check" and hit calculate then it will MINUS the amount in your total display box. So for example if you had 300 in the total display box, and 100 in the transaction box and you checked "Service Charge" and hit calculate it would display 200 in the total display box, hit calculate again, and it shows 100.. etc..
Public Class Form1
Private Balance As Decimal
Private Sub CalculateButton_Click(ByVal sender As System.Object, ByVal e As
[code].....
View 9 Replies
Oct 13, 2009
i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer.Now, i want to run it using shell or something else at the click of a button. how do i do this?
View 1 Replies
Jan 25, 2009
i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer/Now, i want to run it using shell or something else at the click of a button. how do i do this?
View 3 Replies
Jan 27, 2010
I am making a program in vb.net (visual basic) that has two forms. I have one as a sort of "main" base which will be behind everything. Then I have another additional form which is suppose to go on top of the "main" form. Well I get this to work when I show both of the forms, but I want the smaller (additional) form to be centered onto the main form. If you want an easier sense of it, its a small box in a big box. (all centered and aligned). Does anyone know how to do this?
View 3 Replies
Nov 14, 2008
I have an exe with certain variables that need to be changed for each "make" of the program so that each one is customised, but what I need is to create a program that can edit these variables and generate a new exe, or something that can take the source files from my exe and edit the variables then recompile it. Now I don't want to hear "why not just do them by hand", if I wanted that I wouldn't be asking how to do this, I just need this because I need to create 1000's of these custom exes, and I figured that if I could make a program that can do this (edit the variables and compile new exe) then that would make it easy on me since the variables I need to change go in an order from 1 - 1000. I also need it to work on a regular pc not one with all the special VB plugins and stuff, it needs to be able to work on a fresh install of win xp.
View 1 Replies
Mar 26, 2012
I'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]...
View 1 Replies
Jun 9, 2011
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 Replies
Dec 15, 2011
I 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 Replies
Mar 25, 2010
I 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 Replies
Mar 11, 2010
I 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 Replies
Sep 16, 2010
how 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 Replies
Jan 9, 2010
I 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 Replies
Jun 26, 2011
I have searched lots of way to make a 30 day trial limit of my program. They say "Use -Settings- in visual basic application for your variables" to save the information about user (like : registered or not registered or when the program expire). (You can see the 'Settings' when you double-click on "my project" in "solution explorer") Does the data which we use with "settings" saved in our program or somewhere in the computer?
View 5 Replies
Apr 26, 2009
I put it in Communications.For My programming class at school we are required to have made a program. So I decided to make a LAN messaging program which uses VB and Microsoft Winsock Control 6.0. Im quite new and noob at using VB so i'm using a tut here, url... to make the base program.As you can see if you've read it, he uses Microsoft Visual Basic 6.0, while I use Microsoft Visual Basic 2008 Express Edition.
View 3 Replies
May 20, 2011
this is my code till now, i no most of it doesnt make sense but i dont know the most efficient way of making a program that has five lisboxes (4 are classes 1 is absent list) of names but each class can only have 10 student and the user should be able to move student to other classes as required
[Code]...
View 1 Replies
Jul 22, 2009
I am trying to make a basic "paint" like form for one of my programs.I would like it to be like a function, where I put the input in, the user changes it, and when the user is done, it returns the changed picture.I know how to draw the picture and then draw lines, dots, whatever where the user clicks, but I don't know how to do some of the features like: text, color picker, zoom, erase, select (copy and pasting parts of the image) , and fill. I also don't really want to have a color picker dialog open ever time that the user wants to change color.
View 9 Replies
Jan 3, 2011
im making an msn style alert program. im having troubles getting my program to go off when the time/date saved = current time/date. i got the date from a the date selector object and i formatted 2 integer counters and 2 radiobuttons for the time. but my timer() method doest go off. is my thread wrong or did i do something weird with the date?
Option Strict On
Public Class Form1
Dim strName(1000), strHour(1000), strMin(1000), strAMPM(1000), strCheck(1000), strRepeatcnt(1000), strRepeatcbo(1000) As String
Dim dtDate(1000) As Date
[code]...
View 4 Replies
Sep 17, 2009
I am making a calculator-like program, and would like to make it so that it is always the front-most form, even when another program (like Firefox) is clicked. While Firefox is the active form, my form is still up. Basically, I'd like to make the form like the on-screen keyboard; it never really minimizes unless you specifically tell it to.
[Code]...
View 1 Replies