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

Software Development Network >> Visual Basic

Visual Basic

New Question

Independent Executable
.NET 2.0 ComboBox
Hiding Parent from the grid ??
VB6 Database connections
Inserting large numbers into a byte array
Boolean Explanation Please!!!
Can't edit existing project
Mixed data type in a Mulicolumn listbox
What is the best means to FTP files?
PC Clock

Top Answerers

Cryptanalyst
wells.yap
WillReyn
Dorie Hannan
thuja
EricA MSFT
Richard_Mutschler
DeveloperStudent12
Jeff Maurone
Sankar2000
GazduireWeb.com
Only Title

Answer Questions

  • JayUK how to add buttons programatically

    My application requires to add buttons programmatically, These button's should display in a dialog box for selecting purpose(this is a touch screen application). I can do something like  Dim b as new Button b.visible = true b.x = 12 b.y = 20 b.width = 12 b.height = 13 forms.controls.add(b). but the number of buttons always depends on the count(boxes) (boxes represents buttons). So, depending on the count(boxe ...Show All

  • tsramkumar Does VB.net have "Sets" ?

    In delphi, IIRC, you can create a set, say of characters: Set={a,e,i,o,u} Then have : Dim A as char If A is in SET then .... I'm guessing I'd have to do this with LISTS. But was wondering if vb.net has SETS. Dim Set as string Set = "aeiou" if Set.IndexOf(A) >= 0 Then ... I don't think there is a set container in .NET. There's certainly no way to cre ...Show All

  • mchf Overloading operator CType

    I can't figure out how to implictly convert one class to another. Take as example: Class Person     Public Name As String End Class Class Employee Inherits Person     Public Position As String End Class   Now.. I'd like to add an implicit conversion from Person to Employee. I want to add to the Employee class the following: Public Shared Widening Operator CType ( ByVal  Pers ...Show All

  • Vikas Verma [MSFT] Update object data in collection

    I am going to have a collection of objects. Let say an employee collection. I add 3 employees to the collection and now I want to update some data for the 2nd employee. Maybe say change the employees salary. How would I change that data. Dim empCol as Collection Dim emp1 as employee Dim emp2 as employee Dim emp3 as employee . . . empCol.add emp1 empCol.add emp2 empCol.add emp3 ...Show All

  • kmtracker How can I use EnumProcesses

    Hi All, I am trying to use EnumProcesses as I want to count the no. of instant of any specific processe. so in form load i write: MsgBox GetProcesses ("explorer.exe") But its giving Nothing Please Help me out... Would you mind sharing it with us here so that it will be available to others in future who may have a similar problem Hi, Actually I have taken code from www.allapi.net here you c ...Show All

  • JarLin Add entire contents from a form to a panel

    Hi, i want to add alle the controls from a form to a panel on another form (sort of an MDI app), the method i would like to be using doesn't seem to get all the controls, and furthermore, it seems that the controls are removed from the collection - the method is here: For Each ctl As Control In FormObject.Controls newPanel.Controls.Add(ctl) Next Another method, which i'm using now, has to add the controls manually by getti ...Show All

  • ncarty97 Generic Collections In vb.net 2005 Help

    Hi, Getting to grasp with Generics.Could somebody help as follows: In vs 2003 I used to write strongly typed collections now I could simplify it all with generic. I am trying to write some base collections What is the difference between inheriting from collectionbase  and list I have tried to implement the IEnumerator in my collection but the for each still doesnt work Can somebody provide a good example of collections using generics ...Show All

  • NJCLC What code do you use when the user clicks open and the file browser opens?

    What code do you use when the user clicks open on the menu bar, and the file browser opens   Please help. Hi, what you are looking at is the OpenFileDialog: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsopenfiledialogclasstopic.asp ...Show All

  • netnav Shared Classes

    I thought I read a while back that VS.NET 2005 would introduce a way to specify that a class is shared without having to use a private constructor.  I know that C# 2005 supports the static keyword for this purpose.  Is there a similar technique in VB Thanks, Lance   To be honest, I'm not entirely familiar with what that implies in C#, but isn't that essencially what a module in  ...Show All

  • Ed Noepel 3 Questions about Panel component

    Hi all, I just change to .net from vb6. There are three question about Panel component drove me mad. 1. I try to use drag and drop change the Panel position inside of winform. I can start drag by these code Panel1.DoDragDrop( Panel1 , DragDropEffects.Move) But I don't know what to write in Form1_DragDrop sub. to drop panel1 in the right position 2. Drag effect. In VB6 there is a g rey edge no fill rectangle for shape component when d ...Show All

  • Abha Convert a long into a dword

    The registry setting below hides\shows the my document's icon on the desktop. I'm having a problem entering the appropriate values. Both methods below give aconversion error at runtime. If I don't specify the value type, a reg string value is created, but the value needs to be a dword. Private Sub HideShow( ByVal iconvisible As Boolean ) If iconvisible = True Then My .Computer.Registry.SetValue( "HKEY_CURRENT_USER\Software\Mic ...Show All

  • Ron Fowler extracting numbers out of a string

    i have a field that has employeeid aand employee name example " iyajimi1234" or "iyajimi-12234" "iyajimi/0234" , i need to be able to get the numbers out of these string values into another feild. any ideas than ks, but i am actually trying to do this using dts(active x) i will look to see if this function exits in the language browser for active x thanks These forums are for VB.NET.&n ...Show All

  • Stenor ListBox Populating

    Hello Again! My program is getting ever so close to completion... Right now I have a listbox that needs to be populated with specific data from my sql db, the thing is I need it to grab just specific rows of data with a matching value... I can populate my listbox 2 different ways but not the way I need it done. The first way was the obvious, by clicking on the data bound items and filling in the Data Source, Display member and Value member ...Show All

  • Roda Chan Issues with Express Registration and Activation

    Now that Visual Basic 2005 and Visual Studio 2005 has shipped the final release, we have a new home for setup and registration issues for VB Express. Please direct all setup, install/uninstall, and registration issues to this forum: Installing and Registering Visual Studio Express Editions   Thanks, Paul It would be great if you could send the following information to v ...Show All

  • Jose Picon Passing a structure with arrays of fixed length strings to a DLL

    Hi, I need to be able to pass a structure to a DLL that has arrays of fields of fixed length in it. In old VB6 this could be done by having types with types type repeatingRecord field1 as string * 2 field2 as string * 5 end type type maintype field1 as string * 7 records(10) as repeatingRecord end type In .NET types become structures and fixed length strings no longer exist. However the attributes 'VBFixedString' and Marshal ...Show All

414243444546474849505152535455565758

©2008 Software Development Network

powered by phorum