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

Software Development Network >> Visual Basic

Visual Basic

New Question

Configuration system failed to initialize
How to modify the Code Comment Symbol
Datagridview bound custom collection, how to refresh
String Functions
Finding a Start position in a File with fixed record lengths
Finding Dialog Parent Name
windows media player
Formatting a Cell within a GridView
Troubleshooting with IDE - Unable to open search!
contextmenustrip not shown

Top Answerers

My Vizai
HanSoloIsSoCute
JohnnyR
Ron Draganowski
vdv_phuong
Hassan Ayoub
CalinMac
Paresh Rathod
SwedishMagoo
Viktor78
Topix: West Nile Virus
Only Title

Answer Questions

  • gcaplan Infopath and Visual Basic 2005

    I'm new to infopath, but i haveto say i like it. Is very simple to use to run queries rom sql data bases. But i was wondering if i could implemented on my visual basic application. Can I use infopath with visual basic Is there a way to open a form desgined by infopath within a visaul basic application Will I need to have infopath installed on the computers that open this form through visual basic im not an expert on this but perhaps try using the InfoPath SDK http://www.microsoft.com/downloads/details.aspx FamilyId=351F0616-93AA-4FE8-9238-D702F1BFBAB4&displaylang=en Implement this and use it into your solution. I believe the destination computers may well require the InfoPath app to be installed but do not quote me o ...Show All

  • Mike Haro Is it possible to run VB6.0 under Windows Server 2003?

    I have VB6.0 and VB6 applications installed on an old machine that is running Windows Server 2000. Now I got a new machine that runs Windows Server 2003, and I want to port the VB6 applications to the new machine, and also want to be able to modify code for any future enhancements on these applications. Do I have to install .NET studio on the new machine and then migrade from VB6 to VB.NET Is it possible to install VB6.0 on the new machine (with Operating System Windows 2003 Server) and then load VB6 applications files to compile and run Can anyone share some ideas, suggestions, advices, or experiences If it is possible, what should I do to make it workable Do I need to install VB 6.0 Service Pack 6 Thank you very m ...Show All

  • Loopsludge Need to show a Simple Chart

    Hello, I was wondering if anyone had any recommendations for showing a simple chart in a VB application. Basically, I have An X and Y axis and I want to show a line chart. Any recommendations anyone could provide would be helpful. Preferrably it would be something free (if it was a control) as this is a one time deal. Thanks a bunch. Thanks for the response. The lite version looks promissing and I think it will do what I need. Have a good one. Try TeeChart: http://www.steema.com/products/teechart/whatsnew.html Thery have a free "Lite" version. There's also: http://www.newfreedownloads.com/Software-Developer/Active-X/Chart-Control.html and http://www.newfreedownloads.com/Software-Develope ...Show All

  • Jing-ta Running EXE without Framework

    So i made a program for this website. But i don't want the users to have to go threw the hassle of having to download .NET Framework just to run it. (Some use this program on Work Computers where they have restrictions on what can be installed) I am using Visual Basic 2005 Express and would like to know how to build to program to include all files needed to run so the other DO NOT have to install .NET Framework. Hi, The .NET Framework is essentially required to be installed on the machine where your .NET Application would be physically executing. However, you can chain the Framework installation to your application setup so that users do not have to install the framework individually on the machines. One setup and it's all done. ...Show All

  • Dietz excel to access (MDB) bulk data upload

    does anyone have a 'robust' conversion utility to convert a large excel spreadsheet datafile into a access MDB file (without running out of memory etc) Write a simple conversion program in VB which reads each line of the spreadsheet in anf then executes a ADO.NET SQL update command to enter the data into the Access database, In you conversion program you can wrap each line iteration in a try catch - so as to catch any specific errors on the update and handle them as you want (write errror file, continue, give user option) An interesting article which will show you how to get VB.Net to interact with Excel. How to automate Excel from VB.Net http://support.microsoft.com/kb/q301982/ Then yo ...Show All

  • Fawadb map string value to a variable name dynamically?

    Hi, I'll use a really simple example to describe what I want to do. Say I have a Class Person, with members being Name, Height, Age, Sex. I want to be able to call a function say person.NextValue, and it will return the value of one of the member variables. So if it is called the first time, it will return the value assigned to Name. The second time the value assigned to Height and etc... Any ideas on how to do this I have had a crack at it and have done the following. In my class I have created an arraylist containing the names of each member as a string. When .NextValue is called it steps to the next string in my arraylist and returns the Name of the member. For my approach to work what I need to do now is return the Value associa ...Show All

  • RBecker Custom Control wont ctrl-c copy.

    Hi! I made a nice toobar/database navagator. using a custom control with a hidden navagation bar in it. its got a slider and some buttons like print and post. The problem is that if i need to ctrl-c it in the design mode of a windows form project, i get an error. "Object referrence not set to an instance". The problem is that i cannot trap the error to even begin to find where the error is occurring. Normally i would not need to copy it but i wanted to lift it off the form to place it onto a container. I got arround it this time by tweaking the 'form.designer.vb' file. But i like have clean code and it bugs me that i cannot copy it. Any one Thanx Jerry ciciarega Bewa ...Show All

  • Deerhake44 Adding list items from delimited text file

    Back again with another Noob question.  My form will ammend user's input via text box to a delimited text file, but i want to get the info from the text file to show up in a listbox.  How do I accomplish this I already have the listbox on my form and have tried ... My .Computer.FileSystem.ReadAllText( "C:\Entries.txt" ) and Private Sub ListBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Dim filename As String = "C:\Entries.txt" Dim fields As String () Dim delimiter As String = "," Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) While Not parser.EndOfData ...Show All

  • FedericoC Compress multiple files into one archive?

    Hello everyone. I'm currently working on some backup software and it seems to be working OK, only I'd like to be able to compress the user's files into one super-massive file. Then when they want to recover the backup, I'd like to decompress this large file into all the smaller ones again. I understand that there are compression functions in VB.Net 2005, but how would I compress multiple files into one, and vice-versa Any ideas The .net framework does have compression classes System.io.Compression. http://msdn2.microsoft.com/en-us/library/system.io.compression.compressionmode.aspx The following thread has an example http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=424050&SiteID=1 This may further help as the com ...Show All

  • Quilnux using variables across different subs

    Hi all, I'm trying to include logging in my backup app at every level i can, but i'm running into a snag in how to set up the option of where the log file should be kept. Here's the structure of what i have that works: public class form1 dim logfilename as string = "some filename" dim object as io-stream(logfilename) private sub do something object.write end sub private sub do something else object.write end sub ...and so on. What i'd like to do is give the user the option to specify the log file, like this: public class form1 dim object as io-stream(logfilename) private sub (setting options) dim logfilename as user-defined-string end sub private sub do something object.write end sub pr ...Show All

  • Steve Kibble How to update a database from a DataSet

    I have found a tutorial on Microsoft's site ( http://support.microsoft.com/kb/301248 ) which I have modified slightly to add data into an Access 2000 database instead of a SQL server database. I cannot get the code to work though. It opens the database but no data is inserted. I am using the Biblio dtabase and the authors table. 'Microsoft example of updating database Dim conn As New OleDb.OleDbConnection conn.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Temp\VB NET Dataentry\Data Entry With DataRow\Biblio.mdb" Conn.Open() ' Create an instance of a DataAdapter. Dim daAuthors As New OleDb.OleDbDataAdapter( "Select * From Authors" , conn) ' Create an instanc ...Show All

  • Selva Kumar.T.P status update while using My.Computer.FileSystem.GetFiles

    Hi, I'm trying to write a utility to search all computers in a domain for particular files. However I need to be able to provide a status update. Do I need to write my own getfiles or is there a way using My.Computer.FileSystem.GetFiles to provide an update (e.g. what file is being scanned) In addition sometimes the oComputer.To string is being filled with "System Error &H80131c25& " I searched the internet for this error number but nothing showed up. I am fairly new to VB.NET and wonder if you offer any advice or suggestions on what I should do to improve this code Thanks, chentiangemalc. The code: (I am using Imports System.DirectoryServices, and the reference to System.DirectoryServices must be ...Show All

  • stinosky Can't get a datasource relationship from a listbox.....

    I'm trying to get "students" in one list box and their courses in the other. Here is the code: Imports System.Data.SqlClient Public Class Display Private Sub Display_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim connstring As String = "Server=.\LEVIATHAN;Database=CTTI;Trusted_Connection=True" Dim conn As New SqlConnection(connstring) Dim adapter As New SqlDataAdapter("SELECT * FROM Student; SELECT * FROM Course; SELECT * FROM StudentCourse", connstring) Dim ref As DataObject = DataObject.Instance(adapter) 'creates and adds the datarelation object to the relations collection of the dataset Dim parentCol As DataColumn = ref.DataSet.Tables(0).Columns("S ...Show All

  • Kwellens Visual Basic Upgrade Wizard Error

    Hello: I try to open a project coded in Visual Basic V6 with Visual Basic.Net(2005). The Visual Basic Upgrade Wizard opens and after a few screens displays an error message: Error - Not able to bind to the source. Thanks for any suggestions... jes With the use of Regmon we were able to determine this was the wow6432node issue. Installing Visual Studio 2005 Sp1 from http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx fixed the problem. Thank you for your suggestion; unfortunately that reference was not in the registry. jes Then this sounds more like a setup issue. Please verify the following registry entries exist: ...Show All

  • carrielm VB: Edit & Continue

    I have searched all over the net for answers to this problem but have not yet managed to find the answer. I have a couple of vb projects which I have recently converted from VS2002 to vs2005 Prof. One project that I converted a number of weeks ago does not allow edit & continue now, whereas the most recent project conversion does allow edit and continue, both in the same IDE with same 'Tools/Options/Debugging/Edit and Continue' settings. Does anybody know of a configuation element that can be added/removed within a project that might control this behaviour, or otherwise offer a solution to this problem Many thanks in advance. I think 'Tools/Options/Debugging/Edit and Continue' is the plac ...Show All

495051525354555657585960616263646566

©2008 Software Development Network

powered by phorum