I have a maximized form that has controls at the top of it and a large DataGridView that is docked below all the controls. Its kind of like the Ribbon in MS Office. The controls cover about 1/4 of the screen at the top. I would like a way for the user to click a button to hide all the controls then automatically expand into the place the controls were so the user can view more data in the DataGridView and visa versa. For example, in MS Office Excel you can hide the ribbon by clicking a tiny button that has "^" on it.
I'm not very familiar with all the controls in Visual Studio so I would like to hear some recommendations. Is this situation ideal for a SplitContainer or ToolStripContainer or am I way off base here?
I am using an webservice to update my dataset and have a picture box to show an processing image i.e. a gif showing a progress bar and the words processing. My prob. is the gif stops animation as soon as the control goes to the webserver. I have done this. Timer1.Enabled = True Timer1_Tick(Nothing, Nothing) picServer.Refresh() GetMasterData() In the timer1_tick even too I have tried picserver.refresh (picserver is the picture box). Getmasterdata is the process where the data is returned from the web service and as the control goes to the web service it somehow stops the process of the gif. It takes about 5 mins to popup the data from the webservice this code is in the form load event of the main form.
I am trying to make a Christmas light animation via computer control. I am using VB.Net and have tried several examples I have found, but I get the same error: port is closed. The code I am using is this:
Imports System.IO.Ports Public Class Form1 Dim instance As New SerialPort
I have tried several things and I still get the error message that the port is closed.
recommend a zone ocr sdk package. What i would like to accomplish is to automatically import a set of images, pdf or jpg, and then apply zone ocr to each image to extract data into a database. I have already looked at and spoken to Lead Tools and it does seem like they have everything that i would need but by the time you add up all the modules / addons needed, the cost is just too high for our small shop.
The main purpose of the my app that I need your help with is, to deliver an always (or close to) up to date a list of files for the user to choose from for a variety of common purposes. For instance, opening the selected file in its native client editor application so the user can make changes. Another purposes would be to print the file, and I have others.
If nothing else (meaning recommendations for a better design that still keep my desired in mind) I'd like ideas on how to update my complex DataSet (background processing options, what's the most efficeient/quickest way to update my DataSet) as the list of files changes while my app is running and my app is designed to never close due to the long amount of time it take to load it initially.
The list must be always kept up to date while my app is running because not only the intial loading of data takes a lot of time but updates (new/modified/deleted) could potentially take too long depending on not only how much data to update/add (new files) but how efficeient my code is in updating the list. To be perfectly clear: If a new file is created then it need to be somehow (automatically preferably or manually i.e. button code) add to the list. If a file is deleted then it needs to bet removed from the list. And if the file has changed, perhaps some of it metadata or thumbnail image have changes so update the file's data in the list. All of which (new/modified/deleted) need to be as real-time as possble without degrading the server too much and without the user waiting more than a handful of seconds.
Listing all the files as quick as possible whether that be with or without metadata initially is very important because most of the time the user is going to filter (or scroll the list by typing) for a partial file name. Once the user filters/scrolls to the desired file there's a very good chance that he/she isn't even interested in the metadata, most of the time the user wants my app to open the selected file in its native client editor application so he/she can view or modify the file. The initial load time of the data doesn't concern me as much as updates because the user can possibly do other things while it initially loads all the data as long as it not too long (more than a few minutes). From there the updates will either be automatic if possible (most desirable from a users standpoint) or the user initiated (e.g. button). Plus I'm thinking the updates might need to be done with a few different background processes (multiple threads) because I think I need one for periodic updates (e.g. every 15 minutes) and one background process for page updates meaning whatever the user has either scrolled to or filtered for, more accurately all files currently display to the user will be systematically update in the background so the user can still operate my app.
I'm currently using SqlDataAdapter.Fill to fill a DataSet object variable (which is bound [BindingSource] to a DataGridview control) to first populate the DataSet from the SQL query and then prorgammatically adds records (DataRow) for local files but please make recommendations. I don't mind big changes or starting over if necessary, I just want the best app possible based on the aforementioned criteria. I'm not sure if it complicates matters but I've also added custom columns in the DataSet for some special needs (thumbnail of files, booleans for tracking custom statuses). For the local files I'm currently populating the DataSet prorammatically (iterating a path/file string collect made by System.IO.Directory.GetFiles) since the list is first (and very quickly) populated with Vault files (which is always a far larger list than the local files) so . Again, I don't have to take this direction, make recommendations.
I am a student a couple of weeks from completing my first Visual Basic class. I have a 100% score so far. Plus I am really enjoying the class and learning VB. We use Visual Studio Professional 2008 at school. I have also installed that product on my own pc from the DreamSpark site. I'd like to continue my education with VB. However, there are no classes this summer in VB at school. I was wondering if there might be some online tutorials or books that I could use to keep moving forward. I have good discipline for learning without being in a classroom.
Generally, what I like is something that shows the key points about a new topic. Gives an example of how the topic might be used in an application. Shows a code sample or two. And then gives programming assignments that use that topic. So that I can then write the applications. One of my educational goals would be to start through the Microsoft Certification process.
I programmed in Basic, Fortran and PL1 many years ago. I now am developing a complex Excel application that needs use of VB macros. I've recorded and modified several VB macros so far, but have gone beyond my skill level trying to use VB indexed variables that link back to a spreadsheet. What text/reference book would you recommend for my level of skill? I'm not trying to become an expert -- just need help with approaches and correct syntax to simple programming issues if, while, indirectly addressed variables, etc.
I am looking for a nice way to display some help messages in my application and I was looking to have the user click a button. This would then trigger a area at the top to grow and show the help section. The only problem is i am not sure how to acomplish this.
Currently, working on my chess program, I am trying to show a bunch of chess variants in a picture box but i have come to a forked road of either making all the images collectively into a Gif animation using fireworks, or using the timer to shift them one by one. The following code does not work and i am seeking help for a alternative code:
(non-coding request)Okay, I have my client, my server, and my map editor...a 2d online game, and yes it's written in VB.NET.I have had a lot of trouble finding anything to do with adding an animation layer something that will flash with a timer to appear as if something like fire is animated. I have a lot done so far and I kinda want to stick with VB.NET working with this.
I'm not really looking for code here, but maybe an idea of "how" an animation layer plays into a map editor and client...specifically what is needed.Running this through my head I believe I am going to need a timer on both the map editor and client, showing and hiding the animation layer...but I don't think it is that easy, and am hoping someone here has an idea of the logic of how this works. I'm almost certain that the timer doesn't go on the server to control this, but am probably wrong.
i need to make an animated intro of my project, i mean that when my project executes so first a welcome screen executed then project will load, so please assist me that i am using SWISH software to make such animation, so can i add swish animation in vb.net? if not so which software is useful for this except flash?
this is my first time to deal with this kind of problem. I need to show a cylinder on the form, to let the user knows how much content left in the cylinder. So I need to programatically show the content become lesser and lesser.
I'm trying to create an animation with 5 picture boxes (labeled picturebox0 - picturebox4) but I have a specific order I want them to display. I made 5 picture boxes, added images to them, and stack them on top of each other.
I want the order to show this: picturebox 0, 1, 4, 3, 2, 4, 2, 3, 1, 3... etc
The code I have using if-else statements which would work if I wanted to repeat the same display pattern but I need to manually right the pattern... I have at timer set to change the pictures every 2.5 seconds.
Code: Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick System.Threading.Thread.Sleep(1000)
Doing the Christmas animation. I have gotten a nice HID set up to recieve data from VB6 and the computer, but I have a slight problem: I cannot seem to write what is necessary to send my data to the USB serial conversion device. I have tried send, write, open, and nothing seems to work.
Can anyone tell me what I need to do to send an 8 bit data packet to the Serial Converter so my shift register can see the data and put it in the correct output line?
I am looking for some info to do some animation. Fairly simple stuff like dealing and flipping over playing cards, tumbling dice and such. I normally work with logic and data and do not know what would be the best approach to do a good looking animation like these. Does anyone know of some good sources on the net or even better some sample code to do this sort of thing or get me started.
I'm making this rubik's cube program, and I wanted to make a 3d animation of the cube doing the moves, and I figured the best option for that was using the XNA extension. However, doing that brings up a problem. I want to have lots of different options in the Mdi parent form that will interact with the moving 3d cube. The problem with this and using XNA is I can't use both the normal form and the XNA game in the same project. How would I go about having the 2 different projects interact? Just like a txt file or something?
I'm making a game where a rocket image follows the mouse on the Y axis.I want to have a kind of lagging effect on the rocket, so rather than the rocket being where the mouse is, I want it to follow it.I have tried using the sleep method but for some reason it doesn't work
Here is my code :
Private Sub Form1_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove Do While YPos <> e.Y 'if mouse position is different from rocket position, move it If e.Y > YPos Then YPos += 1
I want to ask, how i can make animation only with 1 images, inside there are like few different images. I seen this in few games, and i want to try it. I think there should by picturebox and it should scroll my animation right with timer, by few pixels. Image example: [URL]
how do i change the notifyicon during runtimeif i have series of icons in the application resource, how do i refer to a particular icon in the resources from my codeif the application icon is made of different combination of icon, how do i specify the icon i want to use in th ni=otifyicon, somthing like notifyicon.icon = me.icon,index, where index is the index of the icon in the compiled ico file
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
How do you play an animation from the web into a picture box?I have this code to get the image:
Private Function LoadImageFromUrl(ByVal url As String) As System.Drawing.Image Dim theRequest As System.Net.WebRequest = System.Net.WebRequest.Create(url) Dim theResponse As System.Net.WebResponse = theRequest.GetResponse()
(myurl is a string for the location of my animated file.)Edit: it does work but has terible lag how can i stop this?
I just watched a "how to create a snow animation on vb.net" on youtube. I would like to make use of the code to make the snow move from bottom to top repeatedly but I got stuck. I have Label1's text as *
I want that every character that I inputted in the textbox will suddenly changed into a password character. Assume that I inputted "a" as a first character in the textbox in 3 seconds it will converted into "." character as a display in the textbox after I inputted the second character such "b" in 3 seconds also it will converted into ". character but if i read it still "ab".
I have an issue here which I am looking for ideas on. I am creating a program that models the movement of some atoms and then animates them using the basic Paint method in visual basic. The animation is to have basic remote control functions, such as play, pause, fast forward, rewind and skip to any particular frame.The program is in two parts. The program models the movements of atoms in a background thread. This program was 90% written by other people and is very long and complicated, so in your answers please do not suggest I change the modelling aspect because it's just not possible. It is my job to do the animation.
The modelling program outputs the positions of each atom (just an x,y coordinate) at each time step. We could easily be looking at 200,000 time steps and 50/100 atoms. That means there are 200,000 * 100 * 2 = 40,000,000 numbers that need to be stored. The locations are all single precision numbers.
I am using VS2010 RC and .NET 4.I have a progress bar control on a form. It works fine, and it shows the value of the bar in the proper position. But, I would like to disable the white "sparkle" that repeatedly moves then length of the bar. also, the value part of the progress bar is Green. Is there any way to change to another color?
I have a project in WPF/VB.net 2010 that I want to create an alternate version of in Silverlight. However, it uses heavy amounts of animation, especially motion animation. Most of this animation takes advantage of storyboard double animations for either translate transforms or canvas left/top changes. Can I convert this project over to Silverlight?
I tried applying an animation to an object in powerpoint through VB.NET. I'm only a beginner and have tried my best to figure it out with something like the following code which is two objects using one as the trigger. I managed to get it working in pptVBA but just can't get it to work in .NET. I keep getting an error COMException was unhandled.
Imports PowerPoint = Microsoft.Office.Interop.PowerPoint Dim intereffect as powerpoint.effect Dim oShape/sPic as powerpoint.shape With oApp.ActivePresentation.Slides(1).TimeLine.InteractiveSequences.Add(1) [Code] .....
I already created a button "enjoy button" that i want to move in a form when the "timer start button" is clicked. how do link the timer to the "timer start button" and make it move?this is what i tried so far..
blankfirst-------------------------------------------------------------------------------Public Class MainForm Dim DX As Integer Dim DY As Integer Dim X As Integer Dim Y As Integer Dim Counter As Double Dim Y1 As Integer Dim Y2 As Integer Dim X1 As Integer Dim X2 As Integer------------------------------------then-------------------------------------------------------------