Page Turning Like Animation?
Aug 24, 2010
This shows a form, header and footer are to be kept fixed. In the middle there is a Group Box that hold a question with different option. When user clicks Next button at the bottom, Group Box loads next question. I want
View 4 Replies
ADVERTISEMENT
Aug 24, 2010
I am building an application. This shows a form, header and footer are to be kept fixed. In the middle there is a Group Box that hold a question with different option. When user clicks Next button at the bottom, Group Box loads next question. I want to make this change animated. I wish to show a page-turning animation that runs when Next button is clicked.
View 1 Replies
Jul 20, 2009
I'm trying to build an application to increase my understanding of visual basic. I may have set the bar too high for myself but it's the challenge that makes it fun right? Anyway, I'm trying to make a transition effect of a page turning. The application is a brewing database which looks like a book. I think the transition would make it look more professional. Dose anyone have on how I might be able to accomplish this? A basic example even would go a very long way.
View 5 Replies
May 21, 2010
Some of you might remember that my application got data from a PLC which is a Short. That is converted into his base 2 equivelant and turned into a boolean array.Problem is, this 16 bit word i'm getting is little endian (right to left) and I want to turn it into a big endian (left to right).
View 3 Replies
Apr 11, 2011
Question is, I basically wrote a Rock Paper Scissors game in VB.NET using If statements and wondered how exactly I would try and work this into a Select Case instead.Professor was pretty awful at teaching things and didn't let us know until today that it had to be Select Case(its due tomorrow
View 2 Replies
Nov 10, 2010
I'm trying to use System.Diagnostics to do some very basic logging. I figure I'd use what's in the box rather than taking on an extra dependency like Log4Net or EntLib.
I'm all set up, tracing is working wonderfully. Code snippet:
Trace.TraceInformation("Hello World")
App.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
[Code].....
That doesn't make sense to me: I just have to declare an instance of the BooleanSwicth to be able to manage (disable) tracing via the .config file? Should I like ... use ... the object somewhere?
View 4 Replies
May 16, 2011
I'm trying to turn a string array that contains string , numeric and date values some of the string values are in hebrew when turning them to a single string (using join or through a loop) the order of the values comes out wrong
[Code]...
View 1 Replies
Oct 7, 2011
Basically, my program is supposed to display the list of students that have been entered. (Into a listbox.) Here's the AddStudent code (which works as far as I know)
Public Sub AddStudent(ByVal FullName As String, ByVal Gpa As Integer, ByVal Major As String, ByVal SocialSecurityNumber As String)
_FullName(ENROLLMENT) = FullName
_Gpa(ENROLLMENT) = Gpa[code]......
Here's where the problem comes in...I need to return a value from "GetAllStudents" that can be used with the lisbox. Here's the code for that:
Public Function GetAllStudents() As String
Dim i As Integer = 0
Dim aryStudents(50) As String[code]....
This obviously doesn't work. It gives an error that I can't convert a 1dimensional string to an array.
View 6 Replies
Feb 1, 2009
i have a simple list Format
[Code]...
Its extracted from a text document and put in a multi line textbox in the same format. What I want to do is read each line and put it in an array, however i couldn't find code to read line by line, so I have a series of questions
1. What code do I need to put in an If statement so if it is a return (i.e. the next line) Then it runs
2. Is there a simple way to read line by line in multi textboxs so I don't need to do question 1
View 4 Replies
May 3, 2010
I want to turn a string into an array like so...
dim str1
str1 = "hello world"
arr1(0) = "h"
arr1(1) = "e"
[Code]....
just assume i declared all those vars. it doesnt seem to like my i variable in the Mid function
View 4 Replies
Sep 5, 2011
How do turn text from a textbox say w into a key to be sent?
View 1 Replies
Nov 6, 2011
My coworker's installation of visual studio 2008 breaks every time there's an exception, mine doesn't.
We've been looking for how to stop his from doing this but haven't had any luck. The only difference is that mine was initialized for C# while his was initialized for VB.
Other than reinstalling and choosing the option that says "Optimise for C#" when VS2008 sets up the environment for the first time
View 1 Replies
Jun 10, 2011
I am supposed to be writing a program for my instructor using VB 2008. It is sort of like a quiz program. You build the "light bulb" program but instead of names and colors, it consists of two forms. Question 1 with a "next" button and the second form for Question 2 with a "previous" button. I have no idea how to link the two so that when you click "next" it goes to the second page and vice versa.
View 2 Replies
Nov 29, 2011
When I run the apps, one radiobutton is checked though the checked properties is set to false. No code setting it to true either I tried deleting and creating a new one but it is still setting checked to true at
View 18 Replies
Jan 17, 2010
Notice that some files use vbnewline, some use unicode encoding, and so on and so on.
View 1 Replies
Dec 13, 2009
I need a way to turn a whole folder full of .JPG Files each named 0 - Infinity(each numbered) into a video of some type. I really don't care what type of video at this point as long as its a video.
View 2 Replies
Mar 11, 2009
Is there a way to turn option strict off for just a single line of code?
I'm doing some maintenance work and I need to "cheat" in just one place and I don't want to lower the standard for the entire file.
View 3 Replies
Apr 12, 2011
I have a table of chars. What is the most acceptable method of turning this array into a string.
Ex:
Array: ['a']['b']['c']
-> abc
View 3 Replies
May 2, 2012
I am creating pivot tables in VB.NET and have run into a problem I did not think would be as difficult as it is turning out. When I create a pivot table it adds in subtotals for each row and I do not want that. In excel you just drag down the subtotals option and tell it to not display subtotals. I looked into the VBA for it and it is several lines long of this format:
ActiveSheet.PivotTables("Main Highway Pivot").PivotFields("Division"). _
Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _
[Code].....
View 1 Replies
Feb 16, 2011
During Serial communications, is the echoing back usually done by the serial port interface or is it done by the UART at the far end?
View 10 Replies
Aug 2, 2010
A week or so ago, you folks really taught me how to use the KeyData event. I adopted some of the coding to make my new code so much better. A few days ago, I thought I figured out how to run my little game. You see, you have two buttons. Comment and Uncomment. You Press Control + K and then after that, you press Control + (C or U) to activate the buttons. And I thought it worked! But my buddy figured out how to break it! The thing is, I need to figure out a way to make IsCtrlK (Look below) False if any key that isn't Control + C or U is pressed right after it. What would you suggest I look into using?
[Code]...
View 4 Replies
Nov 3, 2009
ow would I go about turning the number from an array into a single stringsay for example I had:
Dim MyArray(4) as Integer
MyArray(0) = 1
MyArray(1) = 2
[code].....
View 2 Replies
Jun 12, 2011
I have a text input in textbox1 in tab page 1 and i want that text from textbox1 will be displayed in textbox2 in tab page 2.
View 3 Replies
Oct 5, 2010
I wrote a page Page method in my aspx page. in web service method I need to call FindControl method return textbox and get text box value. But my findControl will take MasterPage object to iterate.
see my code
<script type = "text/javascript">
function ShowCurrentDateTime() {
$.ajax({
[Code]....
How to pass Master Page object or Page to Page method?. So I can use in Sared method.
Is there any way I can access Textbox value directly in Page method? I need access couple of controls in Page Method.
View 3 Replies
Nov 4, 2010
HOW TO RUN THE JAVASCRIPT FUNCTION ON PAGE ONLOAD EVENT IN CONTENT PAGE OF MASTER PAGE.? means i have masterpage and the content page of master page namely default.aspx in vb.net.i wanna run javascript function in Default.aspx and i have called the function body onload in master page.when i run my website it shows the error "" Microsoft JScript Runtime Error : Object Expected ""
View 4 Replies
May 17, 2012
I need sample vb.net code to save single windows form as many page and reload the page whenever i call that page...
View 1 Replies
Jan 8, 2012
If I have a 32bppBitmap (Bitamp01) which I have reduced the colors to <=256, I then create a new bitmap02 Bitmap02 = New Bitmap(W, H, Imaging.PixelFormat.Format8bppIndexed)
[Code]...
View 4 Replies
Aug 3, 2010
Late binding is not allowed and that's how we want it. Depending on whether our program is running on a LAN or the Internet, we need to dim an object as one of two types. We use an if...then statement to ascertain whether or not we are running on a LAN or the Internet.
When we declare our object inside the if...then statement, we have declared in the wrong scope and cannot use the object. When we declare it as an 'Object' type and use DirectCast inside an if...then statement, we receive a late binding error. How can we get around this problem without turning off Option Strict?
View 2 Replies
Mar 24, 2009
I have two DataGridView controls on different forms. One is bound and one is non-bound. I am not sure if it is my imagination but I find that properties behave different based on the bound or non-bound. When I compare the properties I do not see any that are different except the data binding properties. On the non-bound DataGridView, the whole line is always highlited, I cannot figure out how to turn it off. Trying to make the grid behave more like an excel grid.
View 5 Replies
Aug 13, 2009
In Microsoft Access there was an easy method to turn off screen updates by setting Echo = False. Is there an equivalent in VB.NET for WinForms? I've got a situation where I'm trying to prevent users from seeing controls flickering while they're being updated. I could probably solve the problem by coding it differently, but would rather avoid it if I can.
View 2 Replies