Object, (like A Circle On Screen), To Get Larger And Smaller Over Preset Periods Of Time?
Feb 7, 2011
I am looking for assistance writing code, (VB 05), that would cause an object, (like a circle on screen), to get larger and smaller over preset periods of time, (about ten second increments).
View 6 Replies
ADVERTISEMENT
Mar 24, 2010
I've to write this application in which i've two text boxes and of those, i've to determine which number is smaller or larger or if both are equal.
View 13 Replies
Jan 4, 2011
I am trying to take a png file (around 2000 x 2400) and split it into 8 smaller images of 500 x 1250 each (2 rows of 4), each of which is saved as a png file. I then which to display these smaller png files in a picture box so that they look as if they were one image.
My problem is that when I display the png files in the picture box, lines that look like grid lines show up in the picture box at the points where the png files sit next to each other.
When I view the smaller png files in Paint it appears as if the left column (x=0)and top row (y=0) of each file is set to clear (or transparent). What shows up in the picture box is the background colour of the picture box.
This clear/transparent row and column are not added on to size of the smaller png files. They are still 500 x 1250.Not every file is affected. If the smaller files are created from the original bitmap in the following order[code]...
View 4 Replies
May 13, 2012
I'm wanting to make a "Farmville" like game. However, I dont know how to make the map larger then my viewable screen. So how do you make your forum larger then the viewable screen and allow players to "scroll" through the map or allow them to "zoom" to different locations of the viewable map?
View 6 Replies
May 21, 2011
I'm making an application in vb.net and during the development has arisen the need to make a form greater than the screen resolution.For example:
Screen resolution: 1280x800 and 2560x1600 sizes form
Obviously, the form should
not have scrollbars.
View 2 Replies
Dec 15, 2011
Screen Size of my deployment screen is larger than my development screen.
If i try to set my form size larger than my development screen size, IDE doesnot accepts this.
Please let me know How can I use a form larger than my development screen Size?
View 7 Replies
May 30, 2010
Okay: I've been searching the threads and MSDN and elsewhere and either its not there or I am simply not understanding what I am finding.I have an image which at full resolution is larger than my screen (actually it is larger than any screen). I want to be able to look at parts of it at full resolution in a client area that is the size of the entire image at full res; that is, I want the window to exist without any scroll bars and want to be able to examine different parts of the image by repositioning the window on the desktop.
In general, I've run into trouble insofar as windows (or maybe VB) won't let me make my window any larger than my operative desktop (although interestingly it will let me place the window to the North-West of my visible screen). What it won't let me do so far is to grow my window any larger than my desktop.
So far I have noodled a couple of different possibilities, in descending order of preference:
(1) Find some way to exempt my window from the limitation that it be smaller than the desktop;
(2) Virtually increase the size of my desktop so that it is as large or larger than my image (i.e., find some way of exempting my desktop from the limitation that the desktop represent the dimensions of the screen/monitor -- understanding that those two are not the same);
(3) Simulate a multi-monitor configuration (I'll probably need at least four); or
(4) Actually configure my system for four+ monitors (I don't even know whether that's possible, but its certainly not my first choice).
Does any one have any other ideas or suggestions as to how I ought to proceed?[URL]..
View 11 Replies
Jun 8, 2011
I need to create an on-screen shape (circle) that has a fill color, which will blink every X seconds (go from fill color, to white, back to fill color). This is trivial to do...BUT... i want to do it in my own class, so that I can instantiate it numerous times passing it unique coordinates for each instantiation.
How do I do it? Can a class have its own "timer control" in it independent from the form? How would I draw a shape from a class?
View 2 Replies
Nov 17, 2011
I have read that VB .NET in earlier versions limited the FORM size to that of the development machine screen resolution.I am hoping that there is a way in the current VB 2010 to get around that.However in my attempts to make the form larger, it always resets itself to the screen height on my develoment machine.Is there a way to get around this and have the person be able to use a scroll bar to move down?The data I wish to show actually has two screens worth of information but the stuff in the scroll down section would be used on a limitied basis so scrolling will be useful rather than having to recreat the screen to show less data at one time.
View 2 Replies
Jun 9, 2012
Trying to understand the basics of grid design so how would I make a over sized grid or a grid larger then whats viewable on my screen resolution? Below is a simple chart describeing what i want to make roughly. I would like to build the grid in "blocks".[URL]..
View 16 Replies
Jun 8, 2011
I have developed a program which continuously draws a circle using a timer. Now every time the circle gets displays it flickers and which is because i have used me.refresh. Is there any other way to avoid this flickering.
Here is my code
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As EventArgs) Handles Timer1.Tick
Me.sweepAngle += 1
If Me.sweepAngle = 360 Then
[CODE]....
View 4 Replies
Jun 11, 2012
Trying to set the viewable area to a smaller screen area and have it cycle through as the person moves using collision detection to move the backgroudn image. Here is the start but its off to a bad start so far.
Public Class Form1
Dim Mapx As Integer = 600
Dim Mapy As Integer = 2000
[code]....
Basically the forum size is set to 600x2000 but the client should only allow you to view 600x600. I want it to add +1 once you "collide with a invisable box I'll add and this will redraw the screen.
View 4 Replies
Jan 8, 2010
I just started using macros two days ago in excel, programming them by hand in VB (i've never really used VB before this). In one of my macros I need to make an array of all the files and folders with a specific path, so i used a variation of the following code:
Thedir = Dir(some_path, vbDirectory)
Thedir = Dir(, vbDirectory)
Of course there is more to my specific code but this is where the problem occurs (I've tested the return value with MsgBox and i still had the same problem) What should happen is that the first line would assign Thedir with a String representing the name of the first file/folder in the path. The second line would then assign a string representing the second file/folder in the path that the first Dir was called in. What instead happens is the first line sets Thedir = "." and then the second sets Thedir = "..". any successive call of Dir(, vbDirectory) will return the remaining files and folders in the path.
[Code]...
View 2 Replies
Sep 23, 2011
I have the following example datatable:[code]And now the user should be able to compare multiple periods. In this example the user chose two periods: 1.1.2010 - 31.12.2010 and 1.1.2011 - 31.12.2011. The result of the example should be:[code]
View 2 Replies
Sep 6, 2011
I have an XML file where some of the elements have periods in their names. Using the code below, I receive the error:
"System.ArgumentException: Child list for field Stock cannot be created"It successfully reads the file if the periods are removed( i.e. StockAdjustment instead of Stock.Adjustment)
Dim myXMLfile As String = "C:file.xml"
Dim ds As New DataSet()
Dim fsReadXml As New System.IO.FileStream(myXMLfile, System.IO.FileMode.Open)
Try
[code]....
Is there a way to handle elements with periods in their names?
View 4 Replies
Oct 29, 2005
I made this splash screen and since I just started working on my project, the app takes less than two seconds to load and the time for splash screen is not enough? I have tried to put System.Threading.Thread.Sleep(5000)but where? I put it in the code of the splash screen, then it waits 5 seconds before showing the splashscreen and I put it in the main program, then the splash screen is out THEN it waits 5 seconds after the splash screen is gone then it loads.
View 17 Replies
Dec 30, 2010
How to make the splash screen to have a time before to open Form1?
View 1 Replies
Nov 19, 2010
how can i hide an object like a button by pressing another button? also how can i unhide an object with the press of a button,
View 1 Replies
Nov 7, 2011
Okay, so I have to convert letters to numbers, each letter in the alphabet is assigned a value that I've assigned. But I need to run through a textbox letter by letter, and convert that letter to the numbers that I have, and append. So if I had a textbox with "JANE", it would output 942383312318265498643 assuming that the following letter values were true
A - 833123
B - 2277765
C - 33935654
[code].....
View 2 Replies
Sep 1, 2011
i want to make a program that will 'clean' up a computer, so far i can make it delete temp files, clear history, empty the recycle bin, even startup windows disk defrag... basic stuff like that Now i want it to go into windows registry and add some preset values, for example: HKEY_CURRENT_USER // Control Panel // Desktop // MenuShowDelay is by default 400, but i want to set it to 200 or something...i would also need the program to figure out which OS the computer is running (xp/vista/7) and only use the appropriate key and value,
View 1 Replies
Jun 21, 2010
Previously I asked about sending emails. And now, I have a related question.How to use a preset message in the email ?
Dim strMessage As String = "Hi [USERNAME]..! You have not paid your due amount of Rs. [DUEAMOUNT]. The last date for payment is [LASTDATE]. I want it to be in such a way that, when a button is clicked, all users with pending amount will be selected (from db) and the above preset message is formatted with each user's USERNAME, DUEAMOUNT & LASTDATE, and finally added it to another table in my db.
Presently my idea is to use a SELECT query for getting all the pending users and then loop through each user (record) and add the preset message to a separate table (this table contains all drafted messages which will be then sent to the recipients), by replacing the USERNAME, DUEAMOUNT & LASTDATE using the Replace function.
View 4 Replies
Nov 16, 2009
Is there a way to view preset functions like the Int() function.
View 6 Replies
Jan 7, 2012
How to do app active on screen all time?
View 2 Replies
Jul 22, 2010
How to make a object moving on the screen- How to make game with VB.NET
- In 2d game, ex i see a mario charator, which is object ( Label, image v.v.v)
- Is there a physical engine for vb.net
View 3 Replies
Mar 25, 2010
I have a ton of MP3's that have an extremely high bitrate (like 200+) and I am trying to create a program that will
1. Read my MP3 Folder structure (DONE),
2. Create a list of MP3's that need to be rebit (DONE with UltraID3Lib), and
3. Resample the file to be a preset bitrate like 128...
I don't want to have to reinvent the wheel on this one.
View 2 Replies
Sep 24, 2009
I have a variable which I called ElapsedTime. I press a button and it displays the time in seconds since clicking the button, into a label . I did it with HTML
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
LblElapsedTime1.Text = ElapsedTime
ElapsedTime = ElapsedTime + 1
End Sub
Private Sub BtnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnStart.Click
Timer2.Enabled = True
End Sub
This updates every second a bit like a simple stop watch. Great so far, because I do need the elapsed time (in seconds) for later use in my app. However, whilst elapsed time is being displayed in this label on the screen I want it to be shown in HH:MM:SS format. How can I convert it into a new variable " ElapsedTime2 " so that I can show it in the desired format yet still retain my original " ElapsedTime " variable for later.
View 8 Replies
Apr 20, 2010
I am creating a splash screen for my vb.net 2005 app (.net 2.0 framework). I would like to include the build date and time on the screen without having to manually enter it myself everytime I do a release.
View 1 Replies
Feb 16, 2012
My main form shows at the same time as my splash screen.
ApplicationEvents.vb:
Partial Friend Class MyApplication
Protected Overrides Function OnInitialize( _[code]....
View 1 Replies
Sep 28, 2011
I am a recent newcomer to VB.net, having moved from VB6 this summer. I am using VS2008 because I also need to develop for WM6 on a ruggged pocket pc. I am not a commercial developer. I only develop apps for my own use, so I can live with some things that I could never survive with on a commercial basis. I developed an app that automates a COM object on my 32 bit WinXP machine. The app runs as expected, whether from the VS2008 IDE or from the executable in the bindebug directory where the supporting files are located. When I installed VS2008 on my new laptop, a 64 bit Win7 Home Premium system, the app still runs fine from the IDE but not from the exe file in bindebug. The problem is that the COM object gets executed fine, but never shows up on the screen.
[Code]...
View 4 Replies
Sep 9, 2011
Now This is my first post and i am very inexperienced with Visual basic As an extra feature to a kiosk that i am making as an assignment in my year 10 ist class, (were doing it in power point 2010)
i am making a visual basic keyboard in Power point from swish max objects inserted through visual basic toolbox, i have found code to make a button that can type in to a text box once clicked. But i need code that when you click an object it types a letter into a visual basic textbox that i inserted into the power point prestation
View 2 Replies