Change Values In Another Program?

Feb 8, 2011

I want to be able to change values in a program that i wrote by using another written program...

like if i want to change textbox1 to readonly during runtime... Well, If it is not worth it, it is not fun - you say programmers are boring but i say they are worth it.

View 1 Replies


ADVERTISEMENT

How To Find Repeated Values In One Dimensional Array And Change The Values

Jul 14, 2009

I am using Visual Basic express edition 2008.I am trying to know if a value in a single dimensional array is repeated in the array. If yes, then multiply one of them by 100. For example:

MyArray (14) = 12, 15, 18, 15, 18, 11, 15, 18, 16, 14, 18, 8, 12, 17, 10
In the above example:
MyArray (1) = MyArray (3) = MyArray (6) = 15
MyArray (2) = MyArray (4) = MyArray (7) = MyArray (10) = 18
MyArray (0) = MyArray (12) = 12

[Code]...

View 8 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

Change The Values Of Last Column?

Aug 10, 2010

I have a GridView and by RowDataBound event I change the values of my last column. I want my last column to have as values the sum of each row.

Below is my code

If e.Row.RowType = DataControlRowType.DataRow Then
'total of row
Dim i As Integer
Dim total As Integer = 0
Dim dt As DataTable

[Code]....

View 4 Replies

Values Don't Change In For Loop?

Apr 15, 2012

I have a List of structure's in my VB.NET program, and I'm looping over them, and change the values of the objects in the list, as follows

Dim retvals As List(Of SomeStruct) = parser.RetrieveData(new_path)
For i As Integer = 0 To retvals.Count - 1 Step 1
dim temp as SomeStruct = retvals(i)

[Code]...

When I look into my List of structs after this loop, none of the values were overwritten. Why? I thought that I had references in my list, so if I change reference A to a struct, then reference B to the same struct should see the changes?

View 2 Replies

Change Values In All The Objects On Form?

Apr 24, 2009

I am trying to change values in all the objects on my form.

First off I call my function when the form loads

SetFonts(me)
Public Sub SetFonts(ByRef Frm As Form)
For Each Ctr As Object In Frm.Controls

[Code].....

View 3 Replies

Change Values Of Listview From Another Form?

Feb 20, 2010

How do I automatically update the values of a listview in form 1 with the values inputted in form 2? I've already declared a few global variables.

View 2 Replies

Change Video Card Lut Values With VB?

Oct 20, 2009

Is it possible make a Basic Application to edit Video Card Lut Table ? Something like [URL] Or maybe it is only possible in C++ ?

View 1 Replies

Combobox Not Updating Or Change The Values In It

Jul 9, 2009

I have a form with a number of controls based on those controls and a database i filter what data i want to be in AllowableHeightsCombobox. I am using an Arraylist to hold the data. The problem i am encountering is that after filling allowableHeightsCombobox once, it will not update or change the values in it. this is the only place where i change the AllowableHeightscombox's datasource.

[Code]...

View 10 Replies

Asp.net - Change The Background Color Conditionally According To Row Values?

Apr 14, 2011

I am developing a report which outputs data in a SQL Table via an ASPX page, using VB. How do I code this so that all rows containing a "1" for one of the columns, shows up as red? Here is what I have so far. This doesn't cause any errors, but it doesn't show up as red either.

I don't know if this is a problem, but the ExceedsLimit and SixInARow variables are INTs in my stored procs, but then I am declaring them as strings in the code below.

Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs)
If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then

[Code].....

View 1 Replies

C# - Change All Values In Specific Column In Datatable

Apr 9, 2012

I have a datatable contain fId field. I want to update all values for this field to "1" without using loop. [Code]

View 1 Replies

Change And Save Drop Down Values In Application?

Jun 5, 2009

I created a vb program so anyone in my company can open it and see who is using what phone number offsite, and since different people go to different places each day, i linked the name and place fields to their respective database.

View 3 Replies

Form Don't Auto Refresh When Change Certain Values

Dec 23, 2010

i am currently making a project which is to make a cinema screen booking system. My main problem is that although i have most of what is working i need to find a formula to give the full result (overall price) in a label. My other problem is the fact that when i interact with my form certain things dont auto refresh when i change certain values e.g i change number of seats but it doesn't auto refresh the price or anything OR i click one discount then another but nothing changes and it keeps the old value.

Okay in my menu i have a CombBox (ComboBoxScreen) for choosing the film and there are 3 films to choose from in the drop menu each with their own price. I also have a Textbox (NumberSeats) for inputting a number of seats you want to book for chosen film. And lastly there are 3 radio buttons each with different discounts. e.g No discount, 10% off and 25% off. A formula to work out the overall price uses all three functions/tools above. [Code]

View 1 Replies

Scroll Bar To Change Hex Values With Timer Reset

Jan 27, 2011

i have a textbox with hexadecimal values and i would like to use the slidebar/scrollbar to change the values (increase/decrease) then save the final values to a text file. To prevent the program from writing to many times to the file, i decided to use a timer. As long as the user still making changes or controlling the slide/scroll bar the timer will re-load (5 seconds). When the user is done modifying (no more dragging or clicking on the arrows) at that time the timer already expired, then the value get recorded to the text file.

[Code]...

View 8 Replies

Structure Values Change In Multiple Places?

Mar 21, 2009

I have created two structures, one named "Product" and the other named "Item". These structures are quite similar but are at the same time quite different from each other. The structure definitions are as follows. Ultimately, I declare arrays in my containing class which access these structures as a type. Their declaration: "Products() as Product" and "Items() as Item". All has been fine and dandy until one day, I go to change the items Enabled() values, and something happens. Not only does it change the Items(index).Enabled(index) value, it does it on the corresponding Products(index).Enabled(index) value, even though it was never specified to do so. Also, nowhere in my coding have i defined this sort of thing to occur. It is rediculous, because I watch it happen. I turn on the watch window, and debug one step at a time, and every time, I watch the Item line step, I look down at the arrays of products and items, and both values have changed. How do I get this to stop, and only change the Item.Enable value??

<Serializable()> _
Public Structure Product
Public Name As String

[code]......

View 2 Replies

Asp.net - Change The Values Of The Controls In The ASPxGridview Edit Form

Jul 11, 2010

I'm trying to change the values of some of the controls in the ASPxGridview Edit Form, however they are not changing. It seems to be resetting? How can I do this and in which event would I do this in?

View 2 Replies

Change The Color From Green To Yellow To Red As Values Decrease?

Mar 24, 2009

Using VS 2008 vb.net how can I change the color from green to yellow to red as my values decrease? Actually the logic is easy but my color isn't changing.

progressbar1.forecolor = color.red -- This is not working

View 4 Replies

Change The Log File Filter (SourceSwitch ) Values At Run Time?

Aug 9, 2009

I want to change the log file filtering at filtering at runtime. I am referring to the traceEventType in the following example.

My.Application.Log.WriteEntry(String.Format("{0:T} DeserilizeProperties", Now), _
TraceEventType.Verbose)

I have found the documentation that allows me to change it in the config file, but I need to do it at runtime. What I am trying to acheive is to allow a beta tester to turn on more detailed logging (according to the TraceEventType...) when encountering an issue in order to email me the log. And then switch back to less detail.TraceEventType.Information)

.Application.Log.WriteEntry(String.Format("{0:T} Send email", Now), TraceEventType.Information)

View 1 Replies

Change Values In Various Text Boxes With Function Controls?

Jun 30, 2011

A toolbox in my project uses text boxes to hold the paramaters of some useful tools.[code]...

View 2 Replies

Make Submodule Run When Excel Cell Values Change?

Jul 25, 2009

I have made a little bit of code which forces a naturally diverging iteration loop to converge to the value I need, excellent, but it currently is controlled by a button which I click to execute it. What I want to do is to automatically run the module when one of the input parameters changes, to find the new equilibrium value. Forgive me if this is really simple stuff, but I just can't figure out how to do it.

View 8 Replies

Selecting A Radio Button Change The Combobox Values

Feb 5, 2010

i am still beginner in coding, i am using vb.net 2005 and access. in my form i am having a radio buttons called DEPARTMENT: english

[Code]...

View 2 Replies

.net - Build Simple SQL Admin Interface To Change A Few Values In A Table

Jan 5, 2011

I am currently building a system in SQL Server 2005.

I have a table that holds information about certain insurance schemes such as overheads and other things. These values will change occasionally and currently I administer the database straight through the management Studio.

I would like to build a simple interface that will allow my colleagues to change these values by selecting the company in a dropdown and the current values will populate. They can then edit these values and submit them to the database.

Is this possible in the current Visual Studio supplied with SQL Server 2005 or do I need to get another product.

View 1 Replies

Spreadsheetgear Form But When Change Its Values And Do Some Calculations On Differed Tabs

Aug 14, 2009

I've got a spreadsheetgear form but when I change its values and do some calculations on differed tabs. I want to be able to save all the data and tabs at it curent state so when I open the application it is at the saved state. I'm not worried about the values before I saved.

View 3 Replies

Change Programmatically Cell Values Of Bound DataGridView Without Receiving Exceptions?

May 4, 2011

I have problems trying to change programmatically the content of a cell of a bound DataGridView.I implemented a minimal piece of code to show the problem.Do the following steps to replicate the problem:

Launch example
Write the title content to create a new row
CTRL+C on inserted title

[code].....

View 2 Replies

Set Boundry Values For A Program?

Jun 20, 2011

For a program i have created it shows who the eldest is out of 2 people by them entering their name and age and then the answer is displayed.

i need to set boundry values as i cant have people writing their age is -1 or 400 or have a letter in it like 434d or have people enter numbers in for the name

how do i write code to stop users entering incorrect data into the text boxes i have provided for their details to enter as well as display a message box.

View 3 Replies

Get Values From A Column And Put Them In Another Part Of Program?

Nov 15, 2009

I am working on a program where the user inputs values, then the program calculates those values and outputs the sum. When the user hits the button exit then those values entered by the user are saved. When the user starts the program again, the values are still there. I wrote the code and everything works fine. I am saving those values in notepad... and the program grabs the input in notepad and outputs those values to the program. But here comes the problem:

Lets say the user wants the information in a certain column to be added to another column somewhere in the program. Is that possible ? And if it is can it be done when I am saving those values in notepad ?

View 1 Replies

How To Set Up Array Within Program To Allow 10 Values To Be Entered

Jun 16, 2010

I just need to know how to set up this array within the program to allow 10 values to be entered then later be shown into separate labels as a largest and smallest value.Create an application that lets the user enter 10 values into an array. The application should display the largest and smallest values stored in the array. Figure 8-45 shows an example of the application's form after all 10 values have been entered, with the largest and smallest values displayed.The form basically shows a large label box where your values will show up. Then two regular labels next to the boxed label that determines the largest and smallest values. There are four buttons, a clear, exit, Display Min & Max, and Input Values.I have the actual program layout already made and the initial buttons already declared, being the exit and clear buttons. I just need to know how to setup the array's for the other two buttons.

View 5 Replies

If Statements - Program Look At 2 Different Values Then Return A Value

Feb 18, 2012

What I need to do is to have my program look at 2 different values then return a value.

Here's an example:

If my tube material = SA-214 and the tube gauge = 20 then my tube wall thickness = .032. The thing is I have 5 different types of tube material and 12 different tube gauges so based on which tube material is selected and which tube gauge is selected the tube wall thickness will vary. So if I select a TM of SA214 and a TG of 14 then my tube wall will be .076.

View 3 Replies

No Values Show Up In Labels When The Program Is Ran?

Nov 17, 2009

I have designed a program that, when the "caclulate" button (btnCalc) is pressed, it asks the user for a file name, then pulls data from that file (file is a .txt of 100 decimals, one per line) and displays the Total, Average, Highest and Lowest. To do this, I have placed all the data into an array, and then used the array to get the information I need. All the code is in place, the only issue is that when the "calculate" button is pressed and the file name is entered, nothing happens.Need to figure out why the values are not displaying in my 4 labels (lblTotal, lblAverage, lblHighest, lblLowest)!!Here is the code:

Imports
System.IO
Public

[code]....

(For the record, I know I could get the data in one pass, however, being a beginner, I like seeing each value computed separately.)

View 3 Replies

Save Values Instantly In My Program?

Jun 14, 2011

I mean, I want my program to take screenshots and i want it to count the number of pictures forever. Just like any Digital Still camera you know? Even when you format it, if you've took 2000 pics, the name of the first pic you take after formatting it "DSC2001"

View 6 Replies







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