I have been learning VB2008 and have been working a little with the toolstrip. While this question isn't really urgent, I've been thinking down the road about images and image libraries that I would like to build and use in my programs. I am thinking I should set up my own library so that all programs I write will have the same look (at least as often as I want them to).
1) What does everyone use to create images? What programs, features, etc. are important? Eg. I have MSPaint and and old version of CorelDraw but have never really used them to high quality stuff.
2) Are people just using the images provided in VB2008 Pro?
3) What should I consider when working with images for use in Windows Forms programming? Currently I am not doing any web work.
I need help with images for a toolbar control for vb 2008. I think I remember there was a way of creating them with VS6 in the C++ department. Maybe not. I would be happy to use them off the web but I can't find a link. Or maybe we have some in Visual Studio in some uncommon folder?
I need this for my program. There is "add images" button where you can load multiple images and those images should be show on listview after loading.I have been trying to make this but could not get it work.
I have been perusing the internet in search of the best way to accomplish this, but have had no luck. If someone here has experience with Office add-ins, I'm not asking for a solution by any means, just assistance with which direction to take. The software I'm working on is primarily in VB.Net and C#; IDE is VS2008 Here's my scenario:
I'm writing an application that I want to keep status text always on the taskbar. Some programs like Windows Media player create a toolbar that can be added to the taskbar. Is there a way to do this in VB.NET, and if so how ... ?
I can create a notifyicon, and although it can be used to display notifications I need the text information to always be displayed... I could have used different icons to show a change in status in the notifytray but I really need text to display the status.
I'm wondering how I would go about creating a program that once installed was a windows toolbar. What I'm trying to do is similar to the clipboard, but I want to customize it to my own style. I work in a data entry job and many of the bills we enter have similar information that I'd like to be able to enter without repeated typing. I'd like the toolbar to be docked to the top of the screen, and have several buttons on it. Clicking a button, while having a focus in my data entry program, would paste the button's text (or the full text of what the button caption represented) into the selected field. Alternately, if focus between multiple applications is too difficult to try, then clicking the button would highlight the text and copy it to the windows clipboard, so I could then click back into my data entry program and hit ctrl-v. I dont need help on the program itself...just on how to make it as a windows toolbar, if possible.
I want to load multiple image in one picturebox using these two buttons which Previous and Next buttons.... I have no errors with that but the image is mark "x" in runtime when i press Next and Previous button....
How can i display my Image...
Public Class Form1 Dim m_files As String Private m_CurrentFile As Integer
I'm on page 243 of "Sam's Teach Yourself Visual Basic 2008" and it says: * Display the ViewerForm form in the Form Designer * Double-click on the Draw Border button on the toolbar. Only -- I don't see a Draw Border button on the toolbar.
I have got an urgent question about creating an add-in for outlook 2007 using a VB.NET 2008.Does anyone know how to add a custom button to an Outlook toolbar?
I have 2 save buttons on my form, 1 which saves all textbox contents to a .txt file, and 1 which saves a image capture of the active window to a jpg. Both work fine, on the same form i have 2 picture boxes which the images are loaded into based of a list box like so:
I couldn't find any taskbar button in the toolbar.Usually, when i minimize a button, it will be minimized to the toolbar and once you click the taskbar button, it can be enlarged.however, i couldn't find any taskbar button.Please could you raise some suggestions?any way of resolution without coding?
I am trying to print the contents of a listview to paper from a toolbar button. In the code below I can get the printer to function and print but cannot get the listview contents to print. I found an old post by Martyr discussing printing listview contents in debugger that was helpful but have not been able to figure out what part of the code to modify for the print sub to recognize the listview contents in the handler. This is what I have so far:
Private Sub PrintToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintToolStripButton.Click Dim prn As New Printing.PrintDocument
[Code].....
The printer portion of the code that runs on the strip button works without any problems. If I use that button click code above and add something to the PrintHandler Sub like this:
args.Graphics.DrawString("Hello World With A Printer", New Font("Arial", 20, FontStyle.Bold), Brushes.Black, 150, 125)
It prints the "Hello World String" with no problem. The issue is I am not sure what or how to refer to the contents of the listview in the Print Handler Sub or if this is even the correct way to attempt this.
I'm trying to make a thumbnail toolbar button (TTB from now on)visible when the it is clicked. I know how to do stuff when it is clicked, AddHandler etc. But if I tell it TTB.visible=false then it doesn't become invisible. If I put TTB.enabled = False it will be disabled, so it's only the visible that isn't working.
Also I put a button on my form (not a TTB) and when that is click wrote, TTB.visible = false and that didn't work, so there is no way to make it invisible.
I have a problem with a Save button on a toolbar firing the click event twice if the user double clicks the button as opposed to single clicking.Disabling the double click on the toolbar itself seems to make no difference as it is the actual save button that is being clicked twice.I have tried setting a Boolean to stop the event firing twice but it is just too quick!I didn't have this problem with my code before as the server call was not async... and reverting back is not really an option.
My code is as follows:
Protected Sub tlbOrdQuot_ButonClick(ByVal sender As Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles tlbOrdQuot.ButtonClick
I am trying to get a checkbox to activate and deactivate a button. While the button is deactivated it is dimmed or faded out. While Actvated the Text and button is fully visable. I did use ctype to activate the button from the checkbox.
CODE:
I found this code in the help section online to enable & disable an inactive button but do not know how to apply this to the button.
Enable or disables the automatic generation of inactive button images.
I am creating a "Who wants to be a millionaire" game. Lets say I have 100 questions in a listbox. How can i randomally select a question by clicking a button.
Is there a way that I can create images (bitmap, tiffs, whatever) from txt,docx,pdf,or rtf files?
One idea that I found was creating a Metafile from the file. However I am get GDI+ errors with the palette. how to get around that? Do you think this is the right track?
Dim gr As Graphics = Me.picFile.CreateGraphics() 'i am really not using a picture box, but I thought if it helps, why not?
The app i am working on is for creating theme for the iPod touch... It has to deal with LOTS of images (100's potentially) There will be the set of default images, and then the user created replacement images. I started loading all the defaults into a resx file... thinking then I could just pull them out. now that I started setting the default, this sucks! lol the app will do this, on load it will set all the images (variables) to the resx images then when a theme is loaded, it will replace the default with the user image (if the user img exists) otherwise, the default stays. Then the "screen" is drawn to show the user. so, here is just the images to build the wallpaper, dock, and status bar...
I want to create a new bmp file with 200 x 500: Append the footer.bmp into the bottom of the new image - position (0, 300) Resize the product.bmp to 200 x 300 and position into (0, 0)How do I do this using VB.NET?
Dim oBitmap As New Bitmap(200, 500)Dim oGraphics As Graphics oGraphics = Graphics.FromImage(oBitmap)
I have a media gallery type project I'm working on, but I want to enhance it by creating animated thumbnails to "preview" the media. I have already created code to extract 10 incremented images from a pretty much any video format. Now that I have my images, I thought the most efficient way to animate them would be through a GIF. Once you have imported media to a library it will automatically generate the images, and hopefully create the gif thumbnail I'm looking for. How to generate animated GIFs in vb2010?
Not really sure what's going on here, but basically I got a new Component/Addon for my Windows Forms. I go and reference it to the Toolbar, which it accepts, and the 3 new components pop up on the screen, all fine and dandy.However, I go and press OK to add them to a group, and nothing happens. They aren't added. So, I try again, same thing. Thinking it could be a bug with the new Component, I make a new group and try to add a built in item to it, and to my surprise, nothing happens as well.
i'm working on a project right now and I need to create a graphic library.The game I'm experimenting with is an RPG; this project is expected to contain many big graphic files to use and I would prefer not to load everything into memory at once, like I've done before with other smaller projects.So, does anyone have experience with libraries such as this one? Here's what I've came up with:
Have graphic library files and paths in an XML file Each entry in the XML file would be designated "PERMANENT" or "TEMPORARY", with perm. being that once loaded it stays in memory and won't be cleared (like menu-graphics)The library that the XML file loads into would have a CLEAR command, that clears out all non-PERMANENT graphics I have experience throwing everything into memory at startup, and with running the program running with the assumption that all necessary graphics are currently in memory.
I'm migrating VB6 application to VB.NET 2008In the old app I have a toolbar with icons which are stored in an imageList.Now I can't find how to link the imageList to toolbar (which is now called "ToolStrip"). It's so confusing.