Software Development Network Logo
  • Windows Forms
  • Visual C#
  • SQL Server
  • Windows Live
  • Visual J#
  • Visual C++
  • Game Technologies
  • Visual Studio
  • .NET Development
  • VS Team System
  • Visual FoxPro
  • Architecture
  • VS Express Editions
  • Smart Device
  • Windows Vista

Software Development Network >> Visual Basic

Visual Basic

New Question

Navigate Backwards and Forwards button missing
Make element accessible to selected assemblies?
Icons in Menus
Terminate Process while running
VB2005 and MS Access
Force re-parse of syntax....
Full screen form?
Selecting datagridview cell
Creating a byte array from a stream
How to manage / call methods, procedures, forms in multiple Modules, classes, ect.?

Top Answerers

june
AndreBa
Chubbly Geezer
rmann7
srem
cthistle
Johan Traa
Vetu
Puckie Penn
jose mondaka
Hunny Software
Only Title

Answer Questions

  • Daniel McGloin How to maintain security on server with socket applications

    Hello everybody I donot know weather its a right place to this question or not but if this is not a right forum for this question then please let me know My concern is that lets say i have a server that is running a VB.Net application and this application has sockets that listens 24 hours for the connection made from remote sites using TCP/IP. My server is connected on internet Can somebody tells me how I protect my application form being ...Show All

  • fuehrer ObjectModel.Collection(Of t)

    Can someone explain when to use ObjectModel.Collection(Of t) as a base class over CollectionBase I have been working with ObjectModel.Collection(Of t) as my base class, and everything seem to work just fine. The only snag that I have ran into so far is how to implement a Sort method for the derived class. --- Thank you, Isaiah D. Williams     vbCity Leader, http://www.vbCity.com     Microsoft VB MVP The Coll ...Show All

  • Monique2005 Reading characters from a line

    I was wondering (DESPERATELY) how to read only certain characters from a line of text and how to define where the code will start reading and how far into the line the code will read.  and lastly - is it possible to store these specified characters in a variable   I've been messing around with "Mid()" but its not doing exactly what I need it to.  THANX i think i see what youre saying, but as ...Show All

  • UtsavV How do i copy/clone event handlers?

    Hi, i'm copying controls onto a usercontrol at run-time, and would like to copy or clone the event-handlers at the same time - is there any way to do this... I'm using this function to copy the controls: For Each objControl As Control In FormObject.Controls If TypeOf objControl Is Label Then Dim newControl As New Label newPanel.Controls.Add(newControl) newControl.Text = objControl.Text newControl.Locati ...Show All

  • ldierk Outputs

    Resently I have been working on some calculation software and I have a problem with outputs.  What would I replace "MsgBox" with if I wanted the output to go into a text box   (TextBox1.text for example) And if I wanted both input and the output in the same textbox, what do I do MsgBox(A - ((B + C) + (D + F) + (G + H))) Dear stargate3216 First: It is absolutly your responsibility to choose the ap ...Show All

  • joshs ListItem unavailable

    I am not able to use the ListItem Class in my VB 2003. When I try to declare an instance of ListItem as follows, it is not recognized. Dim objListItem As ListItem Is there something I am missing Hi! Do you import namespace What is the error message Error message is: "Type ListItem is not defined". In any case, when I am declaring, ListItem does not appear as one of the types. I tried to import the namespac ...Show All

  • Warren Timmer Locked property

    Why am I able to change the locked property for my combo box or text box in the property window but not in the code I thought maybe if you put the combobox in a container and disabled the containter it would do what you want, but it looks like .NET will disable all controls in the container for you. The only way I can see to do it would be to store the selected index in the .tag property of the item an ...Show All

  • Gadget_IOM Need help with loading a form.

    Hi all, I'm new to VB and need some help im trying to get a form to load after a login box below is the code im using so far. Also is there any way i could get the login box to check a database for the usernames and passwords before alowing login If Usrname.Text = ( "greg" ) And Password.Text = ( "password" ) And Domain.Text = ( "United Kingdom" ) Then Im not sure what goes on the end of then. ...Show All

  • Ariadne22 oledb vs sqlclient data adapter performance when running in ide

    I have a fairly wide table on a MS Sql server 2000 server. Pulling about 6000 rows using a the oledb namespace in the ide takes about 6 seconds. Using the sqlclient namespace it takes about 0.3 seconds. When run outside of the ide, the sqlclient takes about 0.2 seconds and the oledb takes about 0.3 seconds. Why the huge increase for the oledb namespace I'm using a 3rd party assembly for some data access. They use the oledb namespace because not ...Show All

  • Nicolai G. Andersen retrieving a selected value from DataGridViewComboBoxColumn

    How do you retrieve a selected value from a DataGridViewComboBoxColumn Thank you, please view the page from http://msdn2.microsoft.com/en-us/library/ms404353.aspx. It may help you. I managed this with MsgBox( "The content of the Combo box is " & Me .DataGridViewTextBoxColumn5.DataGridView.CurrentRow.Cells(0).Value, MsgBoxStyle.OkOnly) seems rather a long winded way to get a cont ...Show All

  • apedrosa MSComm32.ocx in VB.Net problem

    Hi everyone. A while ago I wrote a library which helps me simply text operations, serial communications, PLC interaction using OPC Automation, etc... My problem is with the vb6 serial control mscomm32.ocx. In my computer, I can use it with no problem. Everything works fine when testing serial control and my forms can open sucessfully. When I try to run a winform that uses Serial library (mscomm32.ocx) in a computer that doesn't have VB6 installe ...Show All

  • Adam P how to Count the filled rows in the DataGrid

    Hi, Please can some one help me to know "How many rows are the datagrid filled with " Thanks a lot I get 77 with this example. Dim conn As SqlConnection Dim strConn As String Dim da As SqlDataAdapter Dim ds As New DataSet strConn = "Server = .; Database = NorthWind; Integrated Security = SSPI;" conn = New SqlConnection(strConn) da = New SqlData ...Show All

  • chakru strongly typed collection wierdness, vb.net 2005

    Ok, I'm really stumped, and I'm probably gonna feel like a fool when someone explains it to me. I've created a strongly typed collection in vb.net (all lower case for ease of typing) public class Foo    public name as string    public line as integer end class public class FooCollection    inherits collectionbase    public sub Add( byval aFoo as Foo )       ...Show All

  • Gizmoguy question about Long data type in VB 2005 Express

    Why is (2^63) - 1 not a constant expression not representable in type Long. Because the long datatype is "signed" meaning that i can express both positive and negative values. The highest bit, the sixty-third, sometimes referred to as the hi-bit, is a "sign-bit", used to describe whether or not the value is positive or negative. I think is a type conversion thing or how math operations are carried out in ...Show All

  • olunow Access Form in Code from a User Control

    I have created a UserControl1 that inherits from the Visual Basic.Net 2005 TextBox Control. A Windows Application Project is then created (named WindowsApplication1) and the UserControl1 is dragged onto Form1 of WindowsApplication1. Question: In the code of User Control how is Form1 accessed In particular, it is desired to place some graphics on Form1 from code in UserControl1. Thanks for any response... ...Show All

808182838485868788899091929394959697

©2008 Software Development Network

powered by phorum