Software Development Network Logo
  • SQL Server
  • Smart Devicet
  • Windows Vista
  • Visual C#
  • .NET Development
  • SharePoint Products
  • IE Development
  • VS Team System
  • Microsoft ISV
  • Visual Studio
  • Visual Basic
  • Visual FoxPro
  • Windows Forms
  • Visual C++
  • Audio and Video

Software Development Network >> Visual Basic

Visual Basic

New Question

Different colors in different lines in a Checked ListBox?
What is wrong with the ComboBox !!
Referencing a function in a different class.
EOF equivalent in BinaryReader
How to connect to Server Database (Remote Acccess)
How to get integers from a string?
SQL Express and VB.NET 2006
SplitContainer without the splitter
need handler for array of buttons
Help with arrays

Top Answerers

Mark Macumber
Timothy Greer
flreStarter
tamccann
wleizero
mcland
Jordan Roher
KnobCreek
KrisV
Martin Moe
Topix: Semiconductors
Only Title

Answer Questions

  • coastal skier := Operator Help

    This might seem kind of stupid, but what does the := operator do Named arguments come in especially handy if you have optional parameters, rather than having to put in values or lots of commas to denote the different fields, you can simply name your parameters and call them using the := operator.   No it's not stupid. Those as "Named Arguments". Normally arguments are position sensitive, using named arguments are not. Here's a brief example from Help. Sub studentInfo(ByVal name As String, _ Optional ByVal age As Short = 0, _ Optional ByVal birth As Date = #1/1/2000#) Debug.WriteLine("Name = " & name & _ "; age ...Show All

  • jfbaro unable to specify/change toolstrip location

    Me .ToolStrip1.Left = Me .ToolStripContainer1.TopToolStripPanel.Left Me .ToolStrip1.Top = Me .ToolStripContainer1.TopToolStripPanel.Top Me .ToolStrip1.Location = New Point( Me .ToolStripContainer1.TopToolStripPanel.Left, Me .ToolStripContainer1.TopToolStripPanel.Top) none of this code above changes the location of this toolstrip whose properties as set in Mainform.Designer.vb are included below.. thx -greg 'ToolStrip1 ' Me .ToolStrip1.AllowItemReorder = True Me .ToolStrip1.Anchor = System.Windows.Forms.AnchorStyles.None Me .ToolStrip1.Dock = System.Windows.Forms.DockStyle.None Me .ToolStrip1.Items.AddRange( New System.Windows.Forms.ToolStripItem() { Me .ToolStripButton1, Me .To ...Show All

  • mr4100 Rounding Question

    Hi all, I am trying to achieve following I want to round a value by passing a parameter for nearest upper rounding value rounding result rounding result nearest to 1 nearest to .5 0.2 1.0 0.5 0.5 1.0 0.5 0.8 1.0 1.0 1.0 1.0 1.0 1.2 2.0 1.5 1.5 2.0 1.5 1.8 2.0 2.0 Please guide me to do this. thanks n regards Srikant Add a module to your project, then write this: Module Module1 Pub ...Show All

  • athadu Problem With Automating Outlook

    I was having a problem, but I am wondering if there is a an alternative to CreateItem... I should tell you that I am using the 2003.net Standard Edition which may not have all the bells and whistles of the professional... Now here is what I want to do... Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose( ByVal disposing As Boolean ...Show All

  • Superchick System.IO.PathTooLongException error

    After converting my vs2003 win form app to vs2005, I got this System.IO.PathTooLongException error. (see below for full error) The strange thing is, it is ok on day one, but got it on day two after the convertion. So I can still "run the last successful build", but not be able to create new build. How do you find out the location of this offending long path file Error 2 The "GenerateApplicationManifest" task failed unexpectedly. System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at ...Show All

  • Jacobeo Problem With WriteLine and Integer Variables

    I am trying to write a program that writes some information to a text file. The problem is that some of these are integers, and it dies with an unhandled exception whenever I try to make it run. The problem code block is: line.WriteLine(Count + " " + RockScore + " " + PaperScore + " " + ScissorScore) All variables are Integer Type. The gist of the error is that it can't convert the spaces to Double ... but I am not asking it to (the full error message is below). Any ideas on how to fix the code The error that I get is: Exception System.InvalidCastException was thrown in debuggee: Conversion from string " " to type 'Double' is not valid. ToDouble() ToDouble() RpsGenerator() ...Show All

  • James Rea Visual Basic 2005 IDE Performance Hotfix Released

    We've received feedback, both directly from developers and in the forums, regarding slow performance of the Visual Basic 2005 IDE in certain situations (larger projects, projects with many errors, etc.). I’m sorry that these issues made it to production and degraded the performance of the IDE. The Visual Basic Performance team is working hard to address these issues via hotfixes and the upcoming Visual Basic 2005 SP1 while we work on engineering changes to make sure that issues such as these never make it into a shipping product in the future. Based on this feedback and forum posts, we've been working with customers to address these performance issues. We recently released a performance hotfix to address the follo ...Show All

  • OROCHKA problems Loading a usercontrol

    When i load it manually to a form and run it it shows up fine - when I use the 'add' method - its inactive - any sugestions What do you mean by 'inactive' Also what code do you use to add the control...and what code do you have in the constructor The control is not visible. Dim Zl As Zlist Private Sub Form_Load() Set Zl = Controls.Add("ActiveXControls.Zlist", "Zlist") ''' Zl.visible(true) End Sub This is all the code (whole project). Zlist is a UserControl with a naked ListBox. Zl.visible(true) fails with 'method or data member not found' "Set Zl = " These forums are for .net programming questions only VB6 questi ...Show All

  • Saad Ahmed Problem with sockets

    Hi buddies, How are you !! I got the following problem while i am developing a chat software My software consists of two parts: Server Client each in a seperate project, and each works very well when they are working alone, but when i try to test my application -I run the server then the client- i got the problem that when the client create the TcpClient object i got this message: Only one usage of each socket address (protocol/network address/port) is normally permitted I think that is because i use the same port number for both applications but this is the only way to run both applications on the same machine. the short version of my question is: How can I start a TcpListener and a TcpCl ...Show All

  • waishan About Drawing Data Storage

    Hi! All I have a question when i develop a drawing software using vb2003. Connecting seriates point data forms an undee graphic. and which way i could use to store these mass data Writing to text file or DB or else Could anybody give me some suggestions Looking forward to your answer Okey ...Show All

  • lp75 Windows Media Player 10 Control Enhancements

    Hi, I am developing an application to subtitle videos using the WMP 9/10 object with success for the moment. I'd like to take more advantage of the control and allow the user to use the Enhancements such as Video Settings to control video brightness, contrast, etc. My question if it's possible to access and modify such settings, and if not, I wonder if there's some sort of plugin to allow this, otherwise I'd have to migrate to another player control, and I would not like this option because I'm already forcing users to get WMP9 or 10 to use the program which was released on december 2004.- Any help will be really appreciated, I already searched through the WMP control reference at the MSDN Library without sucess. Hello, the interf ...Show All

  • xplosiv_1 msdn for vb 6.0

    I am in a situation where i have to work loads of with vb 6.0 application dovelopment and modification AND i want help , MSDN I installed is for .NET framwork This one is July 2004 Edition , Now Which edition should i get to solve my problem, or there is any in the first place I need help for Vb 6.0 And Not for Vb.NET see the following links for VB6 help Useful Links Visual Basic 6.0 on MSDN Library Visual Basic 6.0 Help and Support Visual Basic 6 Support on Windows Vista Service Pack 6 for Visual Basic 6.0 Microsoft Visual Basic 6.0 Common Controls Visual Basic 6.0 Upgrade Guidance Visual Basic 6.0 Code Advisor Visual Basic 6.0 Upgrade Samples ...Show All

  • Ian Munro My program will not run

    On wednesday night i was working on my program( a visual basic tutorial). I added in a textbox and then went to run my program when it would just show me the source code. I didn't get a compiler error or anything. I checked for duplicate identifiers and found none. I tried to remove this newly added textbox and when i tried to run the program again, it once again sat there just showing me the source code. Any idea what is wrong Im only using one form. do you have any where in your code where you maybe hiding the code or something Have you tried placing a breakpoint on say the form_load event what happens in the form_load event, try doing something like Me.Show() or Me.BringToFront(). Does that wor ...Show All

  • jerrykur Open default email program (Outlook, for example) when pressing a link

    Hello all, iu have a question: My app has some labels with email adresses, what i want to do is some kind of linklabel but instad of oppening an internet adress, i want it to open, for example, outlook, with the adress in the destination field (many programs does so), also, it would be fine if i can personalize a default email subject and text, but if i can open the program and put the adress i am already happy enough :) Thanks Sorry i didnt specify, i am programming in Visual .NET Well, i am completely sure that i am using visual basic .net , as this is the only language i know :) Actually, i know Visual6, (It would be funny if i know c++ and i didnt know it before :) ) but i started porting my apps to ...Show All

  • ennisb Problem with concatting strings on different lines in windows forms application

    Code used: Dim _PatternRows() As String = cg_text_pattern.Text.Split(vbNewLine) Dim _Pattern As String = "" For i As Integer = 0 To _PatternRows.Length - 1 _Pattern += Trim(_PatternRows(i)) & vbNewLine Next cg_text_pattern.Text = _Pattern.Trim This code adds blocks after each line, how do I avoid this Set the textbox multiline property totrue which will allow the textbox to display mutliple lines. I actually found an answer to this myself which works it was a bit stupid but normally I don't work with windows forms. What worked for me: using textbox1.lines instead of splitting it with vbcrlf / vbnewlin ...Show All

96979899012345678910111213

©2008 Software Development Network

powered by phorum