VS 2008 Make An Output That Is Too Long For The MessageBox To [roll] Across The Screen Rather Than Have [newline]
Jan 13, 2010
i don't if i can make an output that is too long for the MessageBox to [roll] across the screen rather than have [newline] in vb.net
View 8 Replies
ADVERTISEMENT
Nov 11, 2011
I am making a windows forms application that helps me with running some commands in command prompt. Each button has a different command and they work perfectly.
[Code]...
View 1 Replies
Mar 8, 2011
First let me say yes this is for homework and no, I DO NOT want an answer in code. A simple nudge in the correct direction will suffice.Basically I am attempting to roll the dice with the roll button and then display the number of times a number shows up with a bar graph.
View 2 Replies
Feb 25, 2009
I'm using Microsoft's Portable VB. so far I'm doing my work with the help of my friends. I'm making a project and for that I want to wheter I can have an image as a marquee. If yes then how to make it work like that or what is the coding for it?
View 2 Replies
Apr 15, 2011
I am using visual basic .net 2005 win application.
My code,
Dim
coyCollect As
New Collections.Specialized.StringCollection
Dim
[code]....
i am sending list of company codes to the function. and in function i loop through to do something. if success i will return 1 if some error occures i will return 2)
If Res = 1
Then
MessageBox.Show(
"Success.",
"My App"
[code]....
My probelm, sometimes messagebox.show method don't show messagebox on screen. It will appear in task bar but we have to click it to show it on screen (looks like it is hanged but messagebox is already there in taskbar so click it to show message "success" then click ok to close the messagebox). then only we can click "ok" to close it. without clicking it my "in progress" window won't close. sometimes messagebox will appear with no problem.
View 8 Replies
Aug 15, 2008
I am trying to write a program in VB2008 Express. I originally wrote it in excel, but I want to add some features and make it a standalone executable. the program is ideal for a spreadsheet application though.
essentially, there are two input tables. each containing about 6 columns and maybe 10 rows. I assume that could be handled by arrays. the output would be a continuously updated table of output based on calculations using the data from the two input tables. the output table would be about 4 columns by up to 1000+ rows, and would need to be recalculated and displayed each time any data in the input tables has changed.
first, are arrays sufficient to handle this? would databases be more appropriate?
second, what's the best way to display a long list of output, that has a user defined length and is continually updated. it would also be nice to have the ability to click on an individual cell (or value) in the output and have more code executed.
is there a way to incorporate a spreadsheet like tool for this as a backend? I want to make sure i'm using the most efficient approach before i invest too much time.
View 1 Replies
Sep 18, 2011
Is there a easer way of coding in stead of wrighting long long paragraphs like this in one line [code]All of this is on one line and i got lots of info to put down.."The game will begin on your 16th birthday with your mother waking you up. Today you are to go to the castle for the first time. Leave your bed and open your dresser for a Strength Seed. "
View 2 Replies
Mar 19, 2012
I 'm running a multithreaded VB.NET program. After running a particular task in the environment I'm displaying a MessageBox to indicate that the task is complete. Everything works fine, sending data, receiving data, displaying the data, etc. When I display the MessageBox and I click outside the MessageBox, the MessageBox goes behind my Main Screen.
[Code]...
View 2 Replies
Mar 21, 2011
How can I use MessageBox.Show("test") and have it appear at a specific location on the screen. By default, the message box is shown centered on the screen.
View 2 Replies
Aug 23, 2009
How do I make a loop from 1 to 100 and make it everytime it loops display incrementing numbers to the screen?
View 1 Replies
Nov 10, 2010
I have a task to resolve, it is regading extracting characters from a long string to the console, the extracted text shall be reformatted and saved into a CSV file. The string comes out of a database.
It looks something like: UNH+RAM6957+ORDERS:D:96A:UN:EGC103'BGM+38G::ZEW+REQEST6957+9'DTM+Z05:0:805'DTM+137:20100930154
The values are seperated by '.I can query the database and display the string on the console, but now I need to extract the Keyword 'ORDERS' for example, and lets say it's following 5 Characters. So the output should look like: ORDERS:D:96A then I need to extract the keyword 'BGM' and its following five characters so the output should look like: BGM+38G:After extracting all the keywords, the result should be comma seperated and look like:
ORDERS:D:96A,BGM+38G: it should be saved into a CSV file automatically.
I tried already:
'Lookup for containing KeyWords
Dim FoundPosition1 = p_EDI.Contains("ORDERS")
Console.WriteLine(FoundPosition1)
Which gives the starting position of the Keyword.I tried to trim the whole thing around the keyword "DTM". The EDI variable holds the entire string from the Database:
Dim FoundPosition2 = EDI
FoundPosition2 = Trim(Mid(EDI, InStr(EDI, "DTM")))
Console.WriteLine(FoundPosition2)
View 3 Replies
May 19, 2010
Can i make from this image to make it Loading Screen I mean i put this in Form1 [URL] And i want when the program start the progressbar (the white line to load)
View 1 Replies
Mar 11, 2010
I have a problem regarding bill printing on roll paper. My printer is Epson LX-300+II, my roll paper is about 3" width, and is used for printing bill/invoices for the customers. The number of items varies.Whenever I finished printing the bill, the printer throws out/ejects the paper, as long as about a letter (11") size. Whatever the ways to achieve this, I just want the printer stop printing/ejecting after the last line, then i can tear off the bill for my customers without wasting paper.
I'm really wondering someone out there could help me.. I have worked hard for this, and searched in internet, but it seems that there's no applicable and clear solution. If the solution is in VB, please give me the code to implement this, or give me a very simple example application.I cannot make a custom size in my printing preference.
View 7 Replies
Oct 24, 2009
make the screen fade.By fade i mean you know when you goto Start>Turn Of My Computer in Xp and the screen turns black and white.
View 7 Replies
Apr 2, 2009
I'm trying to make a screen recorder using Visual Basic 2008 Express, and everything seems to be smoothlike... until I actually try to record with it. The actual error I am receiving is as follows.A first chance exception of type 'System.Runtime.InteropServices.ExternalException' occurred in System.Drawing.dll The particular line of code that it seems to be having problems with is the following.
BMP.Save(FileDIR0 + Frame + IMG)And now I will post the rest of the code in case it helps.
Public Class Form1 Private Sub RECScreen_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RECScreen.Tick
[Code]...
View 3 Replies
May 31, 2010
i request assistance for my web browser. I did everything how i normally do it, but i would like to know how to make it autofit to the screen. Like i maximize it on my screen, but the browser part is still small like the regular size. Is there any way to make it maximize with Form1?
View 1 Replies
Oct 7, 2009
I am trying to make a VB project for use on a touch screen so I require buttons that when pressed load a different image (the selected version of the image) ie. I know how to do this in HTML and CSS for use in web pages but am struggling to find out how to do it in VB.I have an image (looks like a button) that I want displayed in my form window and then when the image is clicked I want the image to swap for another image so to the user it looks like they are pressing a button.Now the standard windows button in VB (ie when you drag a "button" from the tool box) does this but I can not replicate this using my own images.
View 7 Replies
Apr 15, 2012
I currently have a system that saves student data to a text file. I can search for individual students and have their information output to screen. How can I make my system output every student in the text file to screen?
View 3 Replies
Jul 12, 2009
I am using IHTMLElementrender.DrawToDC but when sending to a screen DC, the image is cropped by about 10%. The image is large enough and I can draw using VB Line, Print or API etc, to the area that is cropped, so it isn't the DC at fault.On any printer device it works exactly as expected. I believe this is a bug, but where can I go to report it?
View 1 Replies
Jan 25, 2010
How do you find out what the screen resolution is and then make a comparison. ie if the resolution is 1024 x 768 do one thing else do another.
View 2 Replies
Aug 29, 2011
VS 2008 make text apper on the screen When the progress bar is full?
View 3 Replies
Jan 13, 2010
I am reading the following text from a multiline textbox
james:johnson
anita:baker
vince:daly
chuck:better
I want to remove the newline characters on line 2, 3, 4 etc.
Dim AccountsText As String
Dim arr_Accounts As String()
AccountsText = txt_Accounts.Text
[Code].....
View 5 Replies
May 21, 2010
I have this sample code...
Private Sub DataReceived( _
ByVal sender As Object, _
ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _
[code]....
this displays in a text box the received data from a serial port. And it works like a charm but the data received has custom start and end of line characters. A line begins with chr(&H2) and ends with chr(&H3). What i want is on the text box those characters to be hidden and the chr(&H3) to start a new line.
View 5 Replies
Sep 30, 2009
I have windows 7 installed on my laptop and visual basic 2005 academic edition as well. I can use VB but when I go to run program, it compiles, links, and executes, but the output screen just shows up for about 1 second. I have tried updating my computer and manually updating VB2005, with no luck.
View 3 Replies
Jan 12, 2008
Is it possible to write code to record the pc screen and output a video file of it?
View 3 Replies
Sep 6, 2009
I have a program that Outputs a measurement after in putting an angle and a width... solves the triangle.
[code]...
Make question is if there is any way to make the program print to the screen a picture of the triangle with the correct angles and measurements?
View 3 Replies
Aug 20, 2010
I wanted to make a screen recorder (not screen capture) program, but I am not entirely sure how to get it started. I have seen many videos and things on how to make one, but all of these just take multiple pictures and then don't compile them into a movie file, and I don't want to take many pictures (unless that is the only way possible.) I am using Visual Basic 2010 Express and I have looked at the Windows Media Encoder, but I can't seem to figure out how to use/implement it (yes, I have downloaded and installed it.) Maybe I can use some kind of ActiveX control?
View 3 Replies
Feb 23, 2010
How you record a screen and then output the recorded frames in a .avi file or .wmv, doesn't really matter what kind of file.
View 1 Replies
Oct 2, 2009
[code]...
How do I make it when you type in a number above or below 1 and 100 the messagebox comes up? I can only make the msgbox come up after Ive clicked the button, how do I make it automatically come up when I try to click anywhere else?
View 7 Replies
Jan 3, 2012
When I call this Messagebox, is it possible to center the Messagebox on the parent form rather than centering it on the center of the screen?
View 2 Replies