Answer Questions
RGE to set help id for each menu item in menustrip
hi, i have created a sample project in vb.net.i have added menu strip control to the form and created some menus.also i have added helpprovider control in the form.i am able to get help related properties in menustrip control such as helpkeyword,helpstring..but i am not able to get those properties for each menu item in menu strip.is there a way to set a help id for each menu item Thanks, Ganesh ...Show All
dundret VS 2005 in opens HTML and ASP in design view
I have a project which uses the vs2005 IDE but just has ASP (ASP3) pages, plus a couple of other files I have searched high and low but cannot find an option which lets you open an ASP page in source mode instead of design mode in vs 2005. Anyone know how this can be changed thanks Thank you, thats it. I hadn't found that set of options, and was expecting it to be under the html editor t ...Show All
A.I.V Rebuild Issue with Object Test Bench
I am able to create an instance of my class just fine, and I can invoke a method. If I make ANY changes in the class designer, whether its to my class library or dragging a new class onto the designer or anything that causes the class designer to become dirty, it forces a rebuild of the project. I am still able to create an instance of my class, but I get a message to rebuild my project when I try to invoke a method. I clic ...Show All
Tony Richards Trouble reading bits.
I am trying to read a byte from a certain address in a file. But, I am trying to read the byte in bit format (bits 0-7). I have tried to use the BitConverter and the BitArray classes but I cannot figure it out. I am pretty sure that BitArray is the one I need but there are no methods that look like they would do anything I want. Maybe I am just missing it. I checked the help section but the examples there were not what I am trying to do. Any ...Show All
MrPeaceMaker Bypass OK button
How do I code in to auto enter an "OK" button so the user does not have to click on it Hi, From your question, I get the idea that you want the OK button to be the default button and the user should be able to use the button without clicking it but by just hitting Enter key If this assumption is correct, then here is how you do it: Select the Form on which this button is placed. Hit F4, or open the Properties ...Show All
Mohit Gupta Generics and Performance (Sorting)
Hello guys, i'm just joining the forum (hopefully for good). I just started playing with Generics, obviously, i'm in love with them... Question: How would the Innerlist Sort of the Generic Collection compare to sorting directly on a constructed SQL Query Thanks fellas ...Show All
pangwa Is there any object can play .wmv file in VB.net 2005?
Is there any object can play .wmv file in VB.net 2005 You can use the MediaPlayer control in VB 2005 easily. Heres a few steps to using: 1) Add the control to the Toolbox by right clicking the Toolbox, selecting "Choose Items...", picking the COM Components tab, and checking the box for the Windows Media Player control. 2) Drag/drop the Windows Media Control onto your form. 3) Play the file by setting the Url property on the player, e ...Show All
maheshjadhav9 Timer Questions???
I am trying to build this app that Grabs these doc files out of this folder...But i dont know how to pass the procedure to the Timer...I know in C# it seems i could do it like aTimer.Elapsed += New ElaspedEventHandler(Name of Procedure) but in VB.Net i am kinda lost any help would be great!! Imports System Imports System.Timers Imports System.IO Module Module1 Sub TestTime( ByVal sender As Object , ByVal ...Show All
erso How do you open an embedded resource?
I am trying to make a program that will will make it easier for me to access some of my smaller frequently used program. I am new to Visual Basic and just discovered how to embed a .exe file into the project. I just dont know how to open it now. Basically there is a button and when it is clicked it needs to open up a .exe file, lets just call it 1.exe. I have looked around everywhere on how to do this and all I found was some resourcemanager com ...Show All
Steve Nye Upgrade GetEXEName()
I'm trying to upgrade my application form VB6 to VB.NET I had the folowing commandline in my code: App.Title App.EXEName. I dont find any equivalents in .NET. I tried For App.Title - GetExecutingAssembly.GetName.Name OR Application.ProductName For App.EXEName - VB6.GetEXEName Any suggestions to get the same values in VB.NET your App.exeename equivalent in Visual basic would probably ...Show All
Matt150279 problems with IIF
Private Sub Amount_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Amount.KeyUp IIf(RoundValues.Checked, convertRound(), convertLength()) End Sub The problem is that it calls convertRound() then convertLength(), no matter what the state of RoundValues is. Can IIF be used to call functions I could use If RoundValues.Checked = True Then Call convertRound() Else Call convertLength() End If w ...Show All
wcpc_el Picture Box
I got an MDI application and am trying to place a picture on the MDI parent. If I place the picture as a Background Image of the MDI parent, the picture is tiled across the whole form..... and doesn't look nice! If I place a picture box and dock it to fill, and select the image I want, the image is shown well. But whenever I call another form, nothing appears on the screen...... the form is loading behind the picture box. I already tried calling ...Show All
JLecht Wierd error message with Access DB
Hi all, I have this wierd error message that I get when I use my DataAdapter.Fill function. The message is : "No value given for one or more required parameters" I just Cant figure it out, here's my fuction Dim strSQL As String Dim cmdSelect As New OleDbCommand dsIPBs = New DataSet 'Verification de l'existence du chapitre dans la BD strSQL = "SELECT * FROM PN Where PART_PK = '" & gIPB.PARTNO & "' AND N ...Show All
ClausP How to print a paragraph?
I tried to print a paragraph using .net printing but it exceeds over the margin. How can i make this paragraph to word wrap when i print it Do you know where i can find a sample Check out the paint event in the MultiLineColumn class on the vb-tips website. Use one of the versions of graphics.drawstring methods that accepts a rectange, or rectanglef. You can use the graphics.measurestring to figure out the size of the box. ...Show All
Barry Harkness Extracting Variables from Strings and Event for a Tabchange in a TabControl
I have a program that is meant to take a user defined string (ex. x2 + 2x + 1) and divide it, and then store those values (the coefficents of x); there is a practically indefinite number of numbers in the coefficient. I've looked at the String.Split Method, but I don't understand it very well nor do I believe it's very practical when you have to keep splitting each variable to get the coefficient. Is there an easier way to the the opposite of ...Show All
