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

Software Development Network >> Visual Basic

Visual Basic

New Question

Strip Excel file of bad rows and leave detailrows then import columns into table
Non-working keys in VB 2005 Express editor
VB VS2005 DLL references Called by VBA ???
RegEx Help
Clearing combobox dropdown history
How to catch the exception og the index out of bound error
streamwriter doesn't call stream's write() method ?
Accessing a web service from a vb.net windows form application
Running an application
Windows Control Library Issues

Top Answerers

pxcosis
CMOYA
LTelles8
Ahojko
Christine Zhao - MSFT
Amit Chadha
Haider Sabri
WOWJ
Keith Rome
Jokon
XMLweaver
Only Title

Answer Questions

  • amitsingh Change Data Directory in Connection String

    I use the wizard to create the dataset and it added the connection string to the app.config file as follows: connectionString = " Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\mydb2005.mdb " How can I change the data directory at runtime i have changed the settings.designer.vb, and i have replace the conectionstring property widh: Private Shared m_connectionstring As String = "" &l ...Show All

  • IAOCHISON Finding length of structured data

    I am trying to convert a VB.6 program to VB .Net 2005. The program reads up fixed length records from a file and does stuff with them. The code to read the file and load up a combobox looks something like this (sorry about the double-spacing ... don't know how to avoid it): fPayees = FreeFile FileOpen(fPayees, gMasterPayeeDatabaseFile, OpenMode.Random, , , Len(PayeeData)) i = Len(HistoryItem) i = LOF(fPayees) j = Len(PayeeDa ...Show All

  • Solution ADO.net DataAccess time SLOW

    Unless I am doing something very wrong, it seems that the ADO.net dataaccess time,IE retrieving a record is extremly slow compared to Classic ADO. Now it takes between 1 and 2 seconds to retrieve the data from the Remote database (Access). Because of needing update data when I select a serial number, I presume and currently use direct access to the remote database. I load a combobox with all my serial Numbers, Currently 15,000 . Then when I c ...Show All

  • Interociter Vertical spacing on rows in a combobox

    At the moment I am populating a combobox with a database table which includes a product part number and two items of specification data (voltage and description). The problem I have is that each row is a concatination of the above data with a set number of spaces between each item(literally..." ") and if there is a difference in length of any item it up mucks up the spacing between each item on a row....ie Part1 30V PDU Par ...Show All

  • Fahad349 A Complex Graphics Question

    Goodness!   Recently I bought Office 2003 and was astounded at it’s graphics and toolbars.   Along with that I almost lost the old toolbar that I’ve become some reliant on. I haven’t really lost it, but its graphics support is old and my icons look awful.   In order to learn vb2005 (from vb6) and to have pretty graphics   I decided to write a toolbar with identical functionality . Over the years I’ve read a ...Show All

  • theperfectbeat checking properties of folders

    Hi all, I am trying to run some processes to tidy up our SAN storage.  A couple of the things I am struggling with are : 1)   Checking the security of the folder properties to check who the owner is 2)   Checking the security of the folder to check if "Inherit" is ticked 3)   Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All

  • ChandlerDeng dataset won't save back to database

    hi all i have created an SQL db containing 1 table within VB 2005 express. i then created a datasource to connect to the DB. A dataset was then created. i dragged the dataset onto my "Form1.vb" and bindingsource, tableadapter and binding navigator were then created. i then pressed f5 to run. I can nvavigate through the records and create new one's but when i click on the save icon and then exit, the new records are not written back to the DB ...Show All

  • Wildect Starting Directory

    How Can I find out the full path to where the executible is, the directory from where it is running VB.Net 2003 Thanks Ken If you're creating a windows forms application, the Application.StartupPath property is the way to go. However, if you're creating a service or a console application, you'd want to use System.Reflection.Assembly.GetExecutingAssembly.Location() This is a more universal s ...Show All

  • Mike Hollibuagh Basestream.seek

    Hi, I need to read lines backwards in a TXT file with a fixed length for every line. I'm using Dim linetxt As String Dim counter as Integer = -56 'Which is the length of the lines Dim data_r As New StreamReader(data_path) 'data_path contains full path and name for the file data_r.BaseStream.Seek(counter, SeekOrigin.End) linetxt = data_r.ReadLine And this produces good results for a first reading. But last t ...Show All

  • Turkleton Pipe Buffer

    Hi All:  Is there a buffer in vb2005 that can write to and read to. After a record is read, it will be removed from the buffer, like a pipe   Thanks. Hi, There's several things within the .net framework that you can use like that, depending on your intent. You use an arraylist, a collection, any number of things. If you want to put things in and get them out in the same order, have a l ...Show All

  • Cliff Ophalvens how to read system or user variable

    Is there API function to read system or user variable Thanks How about: ...Show All

  • Andreja Creating Tables with sql express

    I know this deals with ms sql express more so than vb.net but it correlates b/c I want to edit the database with vb.net express. On to my question... I'm trying to learn how to use ms sql express using the SQL Express Manager. However, I can't seem to figure out how to create tables. I'm reading http://msdn.microsoft.com/SQL/2005/getstarted/default.aspx pull=/msdnmag/issues/04/09/expresseditions/toc.asp  but it seems outdated and I can't re ...Show All

  • kokfai Pulling User name and info From Active Directory using LDAP in VB.net 2005

    Hello, I am sorry I do not have functional code to post but I hope you can understand my request enought to give me a hand. NEEDS: 1> take a request... ie. First name, Last name, or login ID and Search AD Path can be hard coded so entire forest is not searched. 2> List all entries found 3>once the correct user is selected I need to pull First, last, middle name and , Email , Phone number , @ and GUID for that user. ...Show All

  • Michael K Campbell Convert a long integer (in seconds 10^-7) to date/time

    I am reading the IE Cache index, which contains dates/times stored as long integers.  These are times relative to 0:00 1/1/1601 How do I convert these long integers to standard dates, allowing for time zones and daylight saving (without lots of tedious arithmetic).  There must be a way, as W32TM can do it 10^-7 seconds are 100 ns = 1 tick. You can use the TimeSpan class to represent that time an ...Show All

  • windypoint "Find" and "Find and Replace" not working

    When I choose "Quick Find" or "Quick Replace", either via the menu or the short cuts keys, the appropriate window does not appear.  The screen blinks several times and the main Visual Basic window loses focus, but that's the only response I get.  I don't recall anything that I might have done to cause this behaviour and so have no idea how to fix it.  I've tried changing the options under Tools/Options/Find and Replace, but that m ...Show All

303132333435363738394041424344454647

©2008 Software Development Network

powered by phorum