So, I want to know. What are the possibilities of changing the FPS of a given program. If the odds are anything about 0,
edit: I didn't make myself very clear. I'm just curious if it's possible change a program's limit to FPS. For example, I can change Firefox.exe to only get 10 FPS, and nothing more.
i was wondering if it is possible to changed the background of the actual computer desktop. i've searched, but all i can find is how to change the background of the form.
This is maybe an weird question because I don't know if its possible so prepare .I am working on a project its a kinda autoclicker.It moves the cursor to positions and perform mouseclicks it all works perfectly.So when it runs you can't do something else on the pc because the cursor gets moved every 1-5 seconds.So I wanna now if its possible to kinda attach it to the program I am making it for so it moves the cursor and do clicks within the form of the program.
I am writing a program, and it worked just fine, then I changed the icon on the program and I get an error when I try to run the program. Attached is the window that I get when I debug the program.
Background: I have a program that has implemented the two "classic" taxes for Ontario Canada: 5% GST and 8% PST. At the beginning of July (2010) the province switched to one combined HST tax of 13% for the most part. Effects and changes here but those aren't the main point of this question...
Question: What are best practices and good solutions to accommodate for future changes easily in retail taxes? Tax changes occur often enough. I'm sure there are a many SO users with good experience.
I have textboxes and lables (e.g. displaying changing filenames etc) which I hope to display the latest value when a program run.But the fact is, I found content of such textboxes and lables are not updated when the program run (under debug mode) although I'm sure that I've issue such command as textbox.text="xxx" or label.text="yyy" etc.What should I do in order that the textbox and lable can always display latest value when a program run?
I recently started out using Visual Basic, and I've run into a problem.I need to be able to change between my two forms when I run my program, however since I'm still rather new at this, I've been unable to figure out a way to do this.
I've added a setup and deployment package to my project. When I go to install it the first screen says "Welcome to the setup setup wizard." Obviously, that doesn't look right. I want to change this, but can't figure out where that setting is. How to rename that setting so that it says "Welcome to the Wonderful Program setup wizard" instead?
I'm creating an application that is near completed.It has a chat server that it connects to that I coded. Here is where the bug comes. When you open the Application, There are messages that are loaded up in 2 different colors. Which is exactly how I want it. [code]...
Does anyone know why my text isn't changing? When my main form's "logging in" screen appears, the text is supposed to change as it makes changes to the main form. I did this by having a timer start when the form loads and as it ticks the actions are performed and the text changes. The timer's interval is 1,000.[code]By default, loadingtxt says "Logging In As (Username)". However, the text just remains as this instead of changing. Is the timer's interval not big enough or something?
How do you change the row height of a datagridview in the designer.I can change the header row height or the font size but the height of each data row stays the same. Does this have to be done from within the VB code?
I know this is a really noob question but in my program when my button is enabled true/false I change the colour so i was thinking if there is an easier way to do this? or is the following the best way?
Not as easy as it sounds, I've been doing alot of research on this and I just about decided I can't find the answer, The Goal:I want to be able add a single image to a form from a selection of images with the click of a button, this would probably work much better with java but I know nothing about java so I am using vb
Progress:So far I have decided to just try and find way to change the buttons background image to display the image I want, so I set up lots of buttons in a form with the text "+" which simply means add a photo. Now I binded the buttons to a context strip with text saying what image I can change the buttons backgroundimage to.Questions:I need to know how to make the buttons background image change from the click of one of the options on the context strip. Is this even possible?
I have an array of structs and each struct contains values for the checkboxes. I am trying to display the checkbox values contained within a particular struct.
MyStruct is an array of structs which has a values for the checkboxes
ChkBoxCol is the collection of check boxes for the form.
I am iterating through the collection as follows:
[Code]...
What I am noticing is that if the check boxes are checked in order (checkbox 1, 2, 3, 4...etc) the code works fine and the values are displayed correctly in the form. However, if the check boxes are not checked in order (4, 5, 7...etc) the code does not write the values of the check boxes and instead keeps them blank. I just need to display the values for the check boxes for a specific struct.
I have a small picture box that I want to change its image on click, then on another click another picture, so on... There are totally 3 images. I really don't know how to do it, but I tried with the code below, but it does not work.[code]First picture shows at the beginning, lets say Image1, then on click it the image will have to change to Image2, then again on click it has to change to Image3, then on the third click onwards, only Image2 and Image3 has to swap on each click.
I started a project in VB 2008 and the target Framework was obviously not 4, like it forces in VB 2010. The issue is the computers this application is being deployed to have 3.5 as the latest .NET Framework.
I am working on a way to change either the x or y value of a point and am getting an error while doing so. the code i am using to do this is the following:pts(currentNo - 2).X = pts(currentNo - 2).X - 10pts is a list of Points and currentNo is merely a count that im using to track where i am in the list. I am getting the following error
I want to be able to change (Increase or Decrease) the computers bass, Main volume, view connected audio devices (Output Devices) and finally display the computers volume with a progressbar.
What I am trying to do is have a Form which can dynamically change the controls which are on it and their properties; this allows my main GUI to be more fluid and not have tons of groups and controls on it which I must hide and show when needed. To make this as extensible and reusable as possible, however, I want all the control additions/subtractions/edits to occur through a separate DLL which I write. The problem is, I can't seem to instantiate any controls in the Class Library because I cannot import 'System.Windows' or any of its children ('Forms').
I've been working on a new application and realised that I want the target framework to be 3.5 (4.0 isn't rolled out yet). So, I changed it and now when I try and debug I get the following error: "An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to cast object of type 'System.Windows.Forms.SplitContainer' to type 'System.ComponentModel.ISupportInitialize'." I really don't want to have to delete and recreate the splitContainer....
im trying to make an ovalshape change colour when i click a button?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "hello" Then OvalShape1.FillColor = Color.Red
I am attempting to create a MS Word (2010) document using automation (but not VSTO). My problem (for the moment) is that I don't know how to set a word (or set of words) to be bold. I can set the bold on an entire paragraph, but not part of the paragraph.
Here is an example:
sText = "The quick brown fox jumps over the lazy dog" oPara1 = oDoc.Content.Paragraphs.Add oPara1.Range.Font.Name = "Arial Narrow" oPara1.Range.Font.Bold = True
[code]....
The above sample will turn the entire paragraph bold. However, if I want to just set the word "fox" bold, this I can't do. I did find a solution that will search and replace every instance of the word "fox" (or just the first instance), but this is not a valid option for the project I'm working on where the word "fox" might appear half a dozen times but only one of those (that I select) would be bold.
When I use the code Public Class Form1 Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Integer) As Integer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load [Code] ..... I get an error saying that the cursor format may be wrong. It is a .cur which is the standard for cursors. How to rewrite this so when GetAsyncKeyState(1) then the computers cursor will change to the currentcursor.
I need to set the paper size on a printer to A4. I have tried several different ways to do this but keep getting errors. Currently trying some code I found on the net but I am getting errorsType 'PaperSize' is not defined&PaperKind' is not declaredI am using the following
Private Sub PrintDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim ps As PaperSize
I'm working on a document editor and I want the user to be able to change the font of a selected text. I have imported the rich text box control from the options menu and place it into my form. I have a list box containing the names of the fonts and when the user selects a item, it changes the richbox's current selected text.
This is the code so far;
Private Sub tmrtextfont_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrtextsize.Tick If lstbxfont.SelectedIndex = 0 Then