Make A Small Listbox Inside Contectmenustrip?

Oct 18, 2011

I have a richtextbox and when i right click i want to select a word[code]...

is it possible to make a small listbox inside a contectmenustrip??

View 10 Replies


ADVERTISEMENT

Make A Small Program For Ticketing On A Parking For A Small Hotel?

Aug 27, 2010

I need to make a small programm for ticketing on a parking for a small hotel.So i have 2 Printers pariking In (for delivery of the tickets) and 2 Readers PArking Out.Both Printers and REaders are working Serial.So i need to poll the serial ports of the printers and readers every second.The data is stored on a SQL database so i need to read and write in the database.Can i do this with 1 PC and 1 programm or 1 PC and 4 programms that are runnning at the same time ?

View 2 Replies

Create A Small Application That Can Make Small Calculations?

Feb 1, 2010

On form 1 , i have a number of buttons that open up different websites.What i want to do is when i click a button on form 1 , i want forum 2 to show ( Form2.show() ) , Form 2 will have a list (Buttons) of internet browsers.

View 4 Replies

Interface And Graphics :: Listbox Event - Scrollbar That Comes With ListBox Is Too Small For Touch Screens

Jan 6, 2011

The scrollbar that comes with the ListBox is too small for touch screens, so I use my own scrollbar instead. But when you do this on various forms you end up repeating a lot of code. So my solution was to create a custom scollbar that has a property I can set to the control I want it to be a scrollbar for. In vb6, I can use the withevents keyword to get access to the control's events so that all the scrollbar related code can be in the custom scrollbar object I created, except...I had to create a refresh method for the consuming code to use to let the scrollbar know when the number of items changes. The scrollbar doesn't need to be told how many items there are because it has access to the control, but for a listbox there is no event to tie into when an item is added/removed so not 100% of the scrollbar related code could be encapsulated.

View 2 Replies

VS 2005 - ContectMenuStrip Popup Alignment Or Flag

Jan 8, 2010

i left VB6 to .NET (Microsoft Visual C# / Basic.NET / MS Visual Basic 2005). i made ContextMenuStrip for NotifyIcon but in VB6 we able to set flag for popupmenu which you can edit the align of menu vbRight.

View 4 Replies

ListBox PreferredHeight - Make ListBox Calculate Correct Integral Height Before ListBox Is Made Visible

Nov 19, 2009

If I set a ListBox.Height = ListBox.PreferredHeight when the control is hidden and IntegralHeight = True, then set it visible:

a) Actual Height reduces by typically 3-5 pixels after redraw (but not 1 pixel per item).

b) PreferredHeight does not not appear to give the correct integral of item heights.

Is there a way to make ListBox calculate the correct integral Height before the ListBox is made visible, so it can be correctly pre-positioned from bottom edge?

Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

ListBox1.Visible = False
ListBox1.IntegralHeight = True

[CODE]...

View 4 Replies

Make A Small Application With 6 Textboxes?

Mar 8, 2012

What am i trying to do is this:I want to make a small application with 6 textboxes, the user should only can type numbers and the numbers should not be bigger than 20 so then when u click a button (btn_1) it should write the numbers to a txt file.after that i want to read all this numbers and if there are some same (repeated) numbers to display them in a label.

dim wrt as new system.io.streamwriter ("c:/test.txt")

wrt.write (textb1.text & textb2.text & ......)

wrt.close()

View 9 Replies

How To Make A Small Image Rotating

Jun 8, 2011

I want to make a small logo in the upper corner of a Form rotate.

I've seen on some forums that they have small avatars dancing and such, so I imagine it would be posible to make a tiny image rotate by it self up in the corner in a Form.

Does anyone know how to do this? Link to tutorial, codesnippets etc..

Ps. The goal is to make it smooth. Not turn 4 x 90 degrees.

View 6 Replies

How To Make A Small Image Rotating?

Jun 8, 2011

How to make a small image rotating

View 1 Replies

Make A Standard Button Quite Small?

May 26, 2012

I want to make a standard button quite small. maybe as small as 16x16

FlatStyle.Popup
TextAlign MiddleCentre
Margin and padding are all zero

The text in the button is an upper case letter X (sanserif 8pt)But even though there's enough space the text is too low and half of it is off the bottom of the button with lots of empty space above the text.

if I make the button slightly bigger. 19x19 then all the X is visible but there's just LOTS of space above and it doesn't look good.I 'could' make my own button class but surely there's an easier way. Is there something I'm missing ? maybe some combination of margin and padding that I haven't thought of ?

I will add that if FlatStyle is Standard then it isn't as bad at 19x19 but that has thick border. I'd really like to use flatstyle popup and possibly a bit smaller than 19x19

View 2 Replies

Make A Small Program To Encrypt Files Using AES

Apr 11, 2009

i am trying to make a small program to encrypt files using AES, and then have the password from the AES encrypted using RSA for its use of public keys. i've got the AES part working fine and i found a good RSA tutorial here url....but after i encrypt the AES password (which is saved in a .txt file) using RSA, then i try to decrypt it again, it comes out as an empty .txt file!

View 4 Replies

Make A Small App To Import 3 Keys Into Registry?

May 13, 2009

What code would I write so to make a simple app that will import three registry keys. As if I would double click on a .reg file

For multiple reason, I dont what to have to click on the .reg file, and I cant have a .reg file there.

View 1 Replies

Make A Small Application To Print From .net 2010

Sep 16, 2011

I am trying to learn and make a small application to print from VB.net 2010 to my usb label printer.

View 3 Replies

Make Small Databases Then To Use Access Or Sql Server?

Oct 11, 2009

Are there any other ways to make small databases then to use access or sql server?

View 1 Replies

Make A Small Program For Church To Power On And Off Projector

May 11, 2012

I am attempting to make a small program for my church to power on and off the projector According to the user manual I need to send the following to it. Power On: C00[CR] | Like so: "C" -> "0" -> "0" -> "[CR]". However I am getting the following error when attempting to turn it on by the program: Conversion from string " " to type 'Byte' is not valid. [code]

View 14 Replies

Make A Small Program For Feedback And Send It To My E-mail?

Feb 28, 2011

m using Microsoft Visual Studio Basic 2010 and im fairly new to it. Im trying to make a small program for feedback and send it to my e-mail. I have seen e-mail sender tutorials on youtube but thats not really what I am looking for. Im looking for it to be automatically sent to me, not having to type in "To" so as if its hidden I guess. So Basically

View 2 Replies

Make Small Project Which Can Interface Hardware With Software

Aug 26, 2010

i have make 1 form in vb.net which has 1 button.i have 1 circuit which can glow a led or bulb.i want that whenever i click on that button it can pass signal to the circuit & glow the led.how can i do this.reply.....

View 1 Replies

VS 2010 - Make Small Pause Before Form Submission

Jun 13, 2011

I have a little project but ive come to an error. What it does: It goes to a site, fills a form and then submits it. But the submit is too fast. I want it to fill in info, then wait 3 seconds and then submit it.

Here is the
WebBrowser1.Document.All("user[screen_name]").SetAttribute("value", TextBox4.Text & intcount)
For Each element As HtmlElement In WebBrowser1.Document.All
If element.GetAttribute("className") = "submit button promotional" Then
element.InvokeMember("click")
End If
Next
I want it to have a little pause of 3 seconds after the intcount).

View 6 Replies

Make A Small Video-player With WPF - Ffdshow And MeidaElement Not Working

Feb 13, 2011

I'm trying to make a small video-player in Vb.net with WPF.

Got everything working beside 2 things:
Mkv-files and subtitles,.
I've installed FFDShow.

I've read that if you install it to WMP, then it will automatically work to MediaElement. It did work first, but then i had DivX installed, when i uninstall'd DivX, it stopped working.

View 1 Replies

VS 2008 Make Some Kind Of Loop Inside A Timer To Make Them Change?

Dec 14, 2010

Basically I have 10 .png images.They contain a walk cycle I need to make some kind of loop inside a timer to make them change.

View 2 Replies

IDE :: VB Express 08 - Create A Word Application From VB - Set Out A Format, Make A Small Table

Aug 6, 2009

I am trying to make my program print out a requistion slip but I don't want to make a report using VB b/c sometimes the printer is not connected and it is better to have a Microsoft Word document and save it as such. So how do I create a Word application from VB? I basically am going to set out a format, make a small table etc. and then whatever the user types in the textbox, it will appear in the slip. (I am using Word 2003)

View 1 Replies

New TabPage With New Listbox Inside It?

Mar 23, 2009

How to make a button creates a new TabPage with a new ListBox inside it ?

View 6 Replies

Add Total Of Numbers Inside A Particular Listbox

Oct 24, 2010

i need some help i want to add the total of the numbers inside a particular Listbox and the total should be in in Label form Like (Label1.text = "Total").

View 7 Replies

Displaying The Files Inside A Listbox?

Aug 14, 2011

i have a problem on displaying the files inside a listbox i cant see files like .wav or .mp3 or .wmv or any video or movie related files...

on my forms load this is the code

Private Sub Subjects_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label4.Text = System.IO.Path.GetFullPath(Application.StartupPath & "....

[Code].....

View 10 Replies

Possible To Change Location Of Text Inside ListBox

May 1, 2009

Can I change the location of the text inside listbox. I have three text box button and the listbox. When I click the button the text on the button will go to list box but I want it in such a way that I can define the location of the text, current it add iexjohn13black.

I want list box like below:
name age house color
john 13 black

View 5 Replies

Listbox Items - Downloading Images Inside Created Folders

May 4, 2010

I want to make an application that's pretty much all server side. I have everything sorted, apart from downloading images from my server. I have a listbox containing all the game names, in this format.
pacman
rallyx
mspacman
asteroids
There are many more, that's just an example.

Each game name is stored as a folder on my server. Inside those folders is the games boxart, called boxart.png. What I want to do is make an application that makes those folders and downloads the images. I have made the "create a folder for each game name" code already, now I just need to add another line or two to download the image inside those created folders.

For x As Integer = 0 To ListBox1.Items.Count - 1
My.Computer.FileSystem.CreateDirectory("C:UsersJoelDesktopids" + ListBox1.Items(x).ToString)
next

View 8 Replies

Directly Binding A BitmapImage Created Inside A Class Bound To A ListBox In WPF?

Aug 31, 2011

I am adding object directly to a ListBox, and inside this class, I've got a BitmapImage object.I'm using an ItemTemplate :

<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel>

[code].....

View 1 Replies

Make An Event When The Small "s" Key Is Pressed On A Windows Form?

Dec 27, 2011

How do you make an event when the small "s" key is pressed on a Windows form?

I now have the following code:

Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If e.KeyChar = Convert.ToChar(Keys.S) Then
End If
End Sub

View 3 Replies

Make A Small Database Out Of Text Boxes And Text Files?

Oct 11, 2010

I'm trying to make a small database out of text boxes and text files, something where sql would be overkill, not to mention beyond my experience. I want to be able to write the contents of the text boxes to a file.txt (the easy part) then being able to retrieve them back out into individual text boxes. How would I pull this one off?

View 5 Replies

Make An If Statement Inside A Button?

Oct 26, 2011

I want to make an if statement inside a button. So basically its this Private sub Button1_Click ....

If Button2.click then
blah blah blah
else if button3.click then
'blah blah blah
End If.

How would I do this because I can't seem to solve it with any code of mine, i searced through all the allowed values that vb offers and nothing ...

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved