Get User To Create Macros In Application?

Dec 6, 2011

Can I get a user to create macros in my application, and then get them to run them at run time.

eg. At runtime, the user will type the following into a textbox:

Dim x as integer
x = 5
Msgbox(x)

And then press a button, and the code will execute and pop a messagebox up?

View 14 Replies


ADVERTISEMENT

Run Macros Using .net Application?

Apr 12, 2010

im using Microsoft office 11.0 object library in vb.net application to do word process,in that im not able to attache the macro file and add-ins in that word application to run macro.how to run macros using vb.net application?

View 1 Replies

Create Excel Workbook With Macros?

Jun 30, 2011

need to create an excel workbook with macros that clients accessingthe web app will download. Data to populate the workbooks comes from a database and I need macros to generate lookup tables in the workbooks. I cannot automate Excel to do this sincewill NOT beinstalled on the server. Which tool or component can I use for this task?

View 4 Replies

Application That Allow User To Create Form?

Feb 28, 2009

I have a button named button1 on form 1 I want it so when I click this button1 it will automatically make another form say form2 with say I dunno a textbox1 on this form2. The reason for this is because I want to make an application which will allow a user to create a form with certain things on it (what ever they choose).

View 6 Replies

Create A Multi-User Application?

Sep 18, 2009

I am new to programming. I know how to create simple windows app using VB and Sql Server/AccessDB. My question is this: Can my windows app be ran on a LAN or do I have to create a special multi-user app for a LAN? If the answer is yes, can someone please guide me on how to create a LAN/Multi-user app.

View 2 Replies

Create A Multi-user VB Net Application?

Feb 19, 2009

I need to create a multi user VB.Net application that connects to Access 2007 and has 2 forms. How do I go about it? Please give me a start up.

View 6 Replies

Create User Designed Application?

Oct 2, 2009

I need to create a prg. in that user can designed the form based on their requirements (like add delete buttons, textbox, labels, change its properties, location) and save the form changes permanently.

View 2 Replies

How To Create User Class For Application

Jun 22, 2010

I have a desktop application designed (VB.NET 2008 and SQL2005) which consists of user login and some access level for the users.The user class which i have classified are :

1. Administrator
2. Operator
3. Report User

This user has got a few access in my application. I have got stuck how to create a user class and give access level for this class and map those class to the users.

View 4 Replies

Create An Application That Prompts The User For A Number Less Than 100?

Nov 16, 2011

-Create an application that prompts the user for a number less than 100 and then when the button [Check Number' is clicked - displays whether the number is one digit or two digits.

View 6 Replies

Create User Control For Vb Form Application?

May 27, 2009

I want to create User Control for vb form application.

View 3 Replies

Create A Console Application Which Would Read Input From User?

May 27, 2011

How to create a console application which would read input from user and assign the input to a variable? The problem is, I need to enter several words on one line separated with blank spaces like "ab cd efg" and then assign ab to one variable, cd to another variable and efg to another variable. Also the entered words can be any lenght.

View 3 Replies

VS 2010 Create Application's User Login System?

Dec 7, 2009

[Code]...

I need some trick to make some good and safe "Login" to application system with username and password.

View 8 Replies

Create A Multi User Application That Connects To Access 2007

Feb 19, 2009

I need to create a multi user VB.Net application that connects to Access 2007 and has 2 forms. How do I go about it?

View 4 Replies

Create A Small Application That Will Force User To Enter An Even Number?

Oct 5, 2011

I need to create a small application that will force a user to enter an even number but i MUST use a loop. Here's what i've come up with:

Quote:

Dim bynombrepair As Byte
bynombrepair = InputBox("Entrez un nombre pair")
If bynombrepair Mod 2 = 0 Then

[Code]....

View 1 Replies

Create An Application That Allows A User To Enter Three Test Scores Each For Three Students?

Sep 30, 2009

I am a new user to VB and I am having difficulty with one of my assignments. The assignment states that to create an application that allows a user to enter three test scores each for three students. The application should calculate each student's average test score and assign a letter grade. The application should prompt the user for each student's name and three test scores.

[Code]...

View 3 Replies

Create An Application That Allows User To Enter Number Of Tickets Sold

Apr 16, 2012

i'm having a bit of a hard time on setting up the calculations.There are three seating categories at a stadium. For a baseball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Create an application that allows the user to enter the number of tickets sold for each class and the total revenue.

View 3 Replies

Create An Application That Allows User To Type In A 32 Bit Number Using Binary System

Jul 13, 2011

Can anyone help me to break down the instructions for this assignment.Create an application that allows the user to type in a 32 bit number using the binary system, and convert that number into the decimal numbering system.For example, the user types 000000000000 0010 (where there are 30 leading 0's, 1 then 0 from left to right), and the output would be 2.The user will type a string that is 32 characters in length.A For loop 'reads' each character using the x.substring(i,1) where i is the current character we are reading and 1 means one character only,and x is the entry the user typed (use a Textbox to get the entry but Inputbox is also ok).When you start at the first character (from the right) then that value is to be * 2 ^ 0 then the second character is to be * 2 ^ 1, then the third character is * 2 ^ 2, hence:( x.substring(i,1) converted to Integer ) * 2 ^ j represents the decimal value of the current number (0 or 1) we are reading.A variable is needed to accumulate all those values.After the loop is done, display the accumulated value.To test this code on a simple version, enter a 4 digit binary number, where 0010 is decimal 2, 0110 is decimal 6, 0111 is 7, and 1000 is 8.

My understanding is the user must enter 32 digits into a textbox. The textbox should place limitations that only allow the digits "0" and "1". This error could be displayed to the user with a messagebox that then asks to reset the value orginally inputted into the textbox. My understanding is I should continue creating the formula of the position of each character where the third character is *2^2, fourth is *2^3, fifth is *2^4 and so on? I don't understand the formula and how it works.

View 9 Replies

Create An Application That Will Monitor The Upload/download Traffic Of A User?

Dec 24, 2011

I am wanting to create an application that will monitor the upload/download traffic of a user. Can someone point me too some code that I can have a look at?I have found SharpPcap - A Packet Capture Framework for .NET, but cannot find any vb.net code for it.

I have found this code:

Dim Properties As IPGlobalProperties
Dim StatV4 As IPGlobalStatistics
Properties = IPGlobalProperties.GetIPGlobalProperties
StatV4 = Properties.GetIPv4GlobalStatistics
Dim Packets As Long = StatV4.ReceivedPackets

What actually is a 'packet'? Can I calculate the download/upload from this code by maybe multiplying the recievedPackets by packet size... or something like that?

View 2 Replies

User Create Template / Configuration File For Application That Can Be Used For Different Scenario's?

Aug 13, 2011

I have an application that I'm writing that needs to allow the user to be able to create templates and save them for how the applicaton will work. For instance, lets say I am provisioining mobile devices, and my application allows the user to create a template to only install "application1" on the device, with "application1" settings for "devicetype1". But then if the user has "devicetype2", he or she can select the template that they created to install the software for that kind of device. I've looked around and all I find is the .exe.config for read only application settings, and I have found the user.config for the read/write variables. But that won't work as my application could have several templates depending on what the user chooses. I'm looking to have my app have a "create template", "edit existing template, and"use existing template" buttons, and have my config file extension like *.ipx for example.

View 1 Replies

VS 2010 Create An Application That Lets A User Enter As Much Grades He Wants?

Oct 5, 2011

I have to create an application that lets a user enter as much grades he wants. The grades are between 0 and 100 and they can't be negative. Whenever the user type -1, the application is done and it shows the average of the grades, the lowest and the highest grades.I absolutly have no idea where to start but i must be using loop/do/while.

View 4 Replies

Create A Notification System For Application That Will Alert The User Once New Items Have Been Sent To Their Queue?

Jul 4, 2010

I need to create a notification system for my application that will alert the user once new items have been sent to their queue, which is made of up database entries. The latter part of this question may need to be asked in the database forum, but I guess we'll figure that out First, since I haven't created anything like this before, I need some direction on what the best possible solution would be.The notification system should always be running and work independently of the main app. With this requirement, I thought a Windows Service would be best.

The notification itself will just be a quick form that alerts the user. I'm sure most of that will be fairly easy to create. The only issue I'm wondering about is how to constantly check the database and determine a new record has been inserted.Would a windows service have a timer or something that allows me to constantly check?If it does, how would I determine a new record has been inserted?

View 4 Replies

Create An Application That Prompts The User To Enter Today's Sales For Five Stores?

Feb 18, 2009

I have to create an application that prompts the user to enter today's sales for five stores. The program should then display a simple bar graph comparing each store's sales. Create each bar in the bar graph by displaying a row of asterisks (*) in a list box. Each asterisk in a bar represents $100 in sales. I have to make two different versions of this program. One using a "do while ... loop" and the other using a "for ... next loop". Could someone give me a hint on how to do this. I the "do while ... loop" version and I have had some problems, especially with converting the numbers to asterisks.

Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click
'Clear everything

[code]....

View 5 Replies

Create An Application That Prompts The User To Enter Today's Sales For Five Stores?

Jun 5, 2011

this is my first vb. and i have assignment and i have been trying for hours but i couldn't do it right I have to create an application that prompts the user to enter today's sales for five stores. Create a loop to prompt for an amount for the first store using an inputbox and do not exit until you have good data. The inputs cannot be negative or greater than 5000, but may contain decimal values. The program should then display a simple bar graph corresponding to the amount of sales using a row of asterisks (*) in a listbox. Each asterisk represents $100 in sales. Display the total of all the stores by looping this process for each store.

[Code]...

View 2 Replies

Create One Help File For Whole Application - Once User Press Help Button Next To Any Input Control

Aug 17, 2010

I want to create one help file for my whole application. and once user press help button next to any input control then appropriate help topic from file should get display. how can i create this functionality in vb.net?

View 1 Replies

Install The DB Automatically With The Application Without Requiring The User To Create A Mysql Server?

Aug 8, 2009

I'm bulding a program that willl work with a database the database is made with mysql.I would like to know if there is a way to install the DB automatically with the application without requiring the user to create a mysql server...the db have more than 5 million records.

View 3 Replies

Game Programming :: Create A Slot Machine Application : User Movable Picture?

May 1, 2010

I am trying to create a slot machine application. I wanted to make a handle like gui so here is what I have:

[URL]

What I want is to be able to let the user drag the red button till a certain point and when they let go of the mouse click the button moves back slowly to the top.Here is what I have so far (I tried my best) :

Private Sub picBall_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles picBall.Click
tmrOne.Enabled = True
tmrTwo.Enabled = True

[code].....

View 3 Replies

Create A Console Application That Lets A User Enter 20 Names And Then It Sorts Them Out Alphabetically In Order?

Mar 25, 2012

I need to create a console application that lets a user enter 20 names and then it sorts them out alphabetically in order and then displays them.

Module Module1
Sub Main()
Const names As Integer = 20
Dim index As Integer

[code]....

View 2 Replies

Interface And Graphics :: Create A User Interface In A Game Such As The Application XFire Using VB?

Jan 12, 2010

how to create a user interface in a game such as the application XFire using Visual Basic?

View 3 Replies

Getting Rid Of Macros?

Jun 8, 2011

I have been assigned the task of tracking training records used by multiple departments within my company. Before, they would fill out ISO Standard Forms that are built in MS Excel and save them in one folder. This folder held ALL of the documents used by multiple departments, training on multiple topics. The first assignment was to organize this, which I did by building macros in the forms to save these files in a document tree that was built dependent on some data from the form itself. Then they asked me for a program to make it easy to find these files, so I built a program that would populate a series of dropdown boxes that worked their way through the tree. Now they want to add a SQL database to track data from the sheet and add an archiving feature that checks the revision number of the form and moves it to another folder if there are higher revisions.

View 7 Replies

When I Create The User And Assign The Role, The User Should Get The Permission Automatically?

Nov 24, 2011

I need to define some roles in my program with defined permissions. Let's say the administrator can have access only to certain features. The officer in charge to certain features and the user as well. for example, I have several group boxes and the user can access one of it only. So how i do manage these permissions? What I want do is have the roles already with the defined permissions. When I create the user and assign the role, the user should get the permission automatically.

View 6 Replies







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