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

Software Development Network >> Visual Basic

Visual Basic

New Question

Using the same structure in multiple objects
A Modest Proposal for Microsoft
How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)
How to capture mouse events on shapes or regions
Exception starting VB Snippet Editor RC
Menu Item Checked Property Application Setting
Workaround for Compiler Error That Was NOT FIXED BY THE PATCH
Save user data
"Bad Sequence of Commands" FTP Error
Advice sought on storing data between sessions

Top Answerers

amckern
John Colasante
push_ebx
WarrenB
xabrooklyn
curedone
Jef Kazimer
Frode Fiplingdal
Raiden_S
Nisarck
XMLFox freeware
Only Title

Answer Questions

  • HIRU ctrl.additem conversion?

    I am trying to convert a VB6 program to compact framework. In VB6 you could pass a control to a routine and use the AddItem method. The routine in question will either receive a combobox or a listbox. Is there a way to do this in VB.NET Thanks! In VB.Net its items.add method to add items to the listbox or combobox Example Public Class Form1 Public Sub ButtonClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handl ...Show All

  • jli [VB.NET VS2005] Multicolumn combobox

    Hello, I'm new with VB.net and I've found a code that I use to do a SQL query on ACCESSDB and it return me a datagrid. For Exemple, I do a query on my tbl_person : "SELECT id_person, person_name, person_birthdate FROM tbl_person" After that, I want to show this result in a combox box, but I don't find how to have 3 columns (id, name and birthdate) with the id hidden. Usually, I work with Access forms, but I want learn vb.net. ...Show All

  • Jerry Langley III Need help using arraylist.sort on an arraylist of structures

    I have a new problem. I want to have a dynamic array of a structure, and I want to sort the contents of the arraylist. If the arraylist is a simple collection of strings, .sort() works fine. But, with what I'm doing below, .sort() causes an "undefined" error to occur. Any ideas how to fix this problem Thanks. Public Structure People Public firstname As String Public lastname As String Public age As Integer End Structure Dim aryP ...Show All

  • David Ballard Beforeclose event problem

    Hello, I am new to visual Basic 2005. I am facing problem that in Beforeclose event after setting cancel=True workbook closes.Please help me to overcome this problem. Code is given bellow: Dim WithEvents xlApp As Excel.Application Dim WithEvents xlbook As Excel.Workbook Dim WithEvents xlsheet As Excel.Worksheet Private Sub xlbook_BeforeClose( ByRef Cancel As Boolean ) Handles xlbook.BeforeClose If ...Show All

  • JBrophy C# Conversion - AddressOf Delegate

    I am looking for help converting the following block of C# code to VB.Net: public static void CloseSplash() { frmSplash formSplash = SplashInstance(); if (formSplash.InvokeRequired) formSplash.Invoke(new CloseDelegate(CloseSplash), null); else formSplash.Close(); } I have used various C# to VB Converters... They return the following: Public Shared Sub CloseSplash() Dim FormSplash As frmSp ...Show All

  • AnonymousDeveloper74 Updating a Access Database from Visual Basic

    Hi. I'm havng trouble with updating my Access database from Visual Basic. There are no problems when populating datasets from the database, but as I try to update it after some changes, nothing happens.. Anyone got an idea Hege if using adapters make sure you have applied and update statement to the update command of the adapter. Try OleDbCommandBuilder to generate SQL statements for s ...Show All

  • Risksvr design question

    Hello, Im a n00b when it comes to Visual Basic, but not to programming in general. So I have a basic question about how to do something in VB. I am throwing together a little utility for my company that joins a computer to the domain and sets up the proper groups, comp name, etc. I chose VB because its easy to throw together a GUI in less than 5 hours. The first "page" is a credentials check, then it moves on to other information that ...Show All

  • clstephenson DataAdapter with temporary table

    I'm trying to take the rows from a datatable and put them into an SQL table with the same schema as the datatable. So what I do is create the SQL on the fly to create the temporary table. I then run the SQL to which creates the temporary table. Here's where the problem comes: I try to open a new datatable as "SELECT * FROM ##tmpTable" when I check in query analyzer before I call DataAdapter.Fill() the temp table is there. After I ...Show All

  • xkeysboy When is dotnetfx.exe actually needed? / Net 2005 deployment download file

    I did a Windows Explorer search for dotnetfx.exe. I changed the name(s) to something like dotnetfx_2.exe, so there is no "dotnetfx.exe" file in the computer, that I know about. Programs run OK in debug mode. Program.exe files run OK. Programs can be published OK. Programs can be installed OK. Properties for dotnetfx.net show Internal name is setup.exe. I've probably overlooked something; what is it When is the file us ...Show All

  • Marcelius lists in a loop

    I have a program that is going thru a tag line .txt file line by line and in this loop it checks the contents of this line to see if a member of a list, ListOfBoundaryFileVariables, is in it. while.. If CurrentRow.Contains(ListOfBoundaryFileVariables( Any )) The problem is I want to write Any like above but that doesn't work. Any ideas on how to check it this way Steph Okay you will need to ha ...Show All

  • Elpacha Pointers : Converting to VB

    Is there anyway of converting the following C# code to VB Vector3* myVector3 = (Vector3*)&someMatrix.M31; Thanks You must be working in an unsafe method or code block in C#. VB does not support unsafe code. If you're willing to deal with a managed reference, you can do the following in C#: Vector3 myVector3 = someMatrix.M31; Then in VB: Dim myVector3 As Vector 3 = someMatrix.M31 As I said ...Show All

  • Michael Adamson I am trying to make a website - Just to learn how to do it! But I have a Problem

    I have created a Master Page with a header to which i have added an image. I have supplied the imageurl and it shows ok in the designer. But not in the browser! I have also added a menu and some pages all of which work ok except the one with a background image.Again the image wont show! I know that they are there because i set the Border width to 50 and then i can see just the borders but no image Can anyone offer an explanation please this has ...Show All

  • Vic02 When is DLL Main executed?

    I am trying to load a dll and make it run code as soon as it is loaded without having anything called. Is dll main like a regular main where it starts running as soon as it is launched If not, how can I create that kind of effect OK You are going to create a Class Library project called ClassLibrary1 and put the following code in there Public Module WhateverModule Public Const DLL_PROCESS_DETACH = 0 Public Const DLL_PROCESS_AT ...Show All

  • Ajao Loops

    Hello, I am trying to create a program that generates the fibonacci series numbers between 2 and 1,000,000,000 (1 billion). The user enters in an number in to a textbox (between 2 and 1 billion), and the program then outputs the Fibonacci series up to that number in a list. The program is also supposed to output the number of numbers found up to that specific number and the sum of all those numbers found. It would be easy if the task was to, let ...Show All

  • ALepage RC1 - "Cannot add Item to ListView" Error

    Maybe I'm amazed at the differences between Beta-2 and RC1! But there's an old saying: "What problems did you have to solve inorder to solve the problems that you have now " The following was a stable subroutine under Beta-2, or at least a reasonable facimile of this was stable under RC1 because RC1 has forced a lot of changes. The  subroutine fails with a "Cannot add item to Listview" exception under unidentified conditons. I can ...Show All

525354555657585960616263646566676869

©2008 Software Development Network

powered by phorum