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

Software Development Network >> Visual Basic

Visual Basic

New Question

can't find references
Does a method for deleting Bytes exist? (System.IO, FileStream)
How to Setup Visual Studio 2005 for VBScript Editing
RTS and DTR serial port control
generating variable names
How to Transfer Data from DataGridView to MS Excel File and MS Word 2003
Converting VB6 DLL to VBNET
Help
Illeagal Characters In Path Error.
specify the browser version of WebClient Class

Top Answerers

Simon Heffer
Chaepp
mammoo
Xi0N
renyx
mameelas
gregmackers
David Botz
Jorne
jimgong
sitemap
Only Title

Answer Questions

  • John Oliver (UK)MSP, VSIP Interop Forms Toolkit - Available yet?

    Hello Is the toolkit available already (or soon) Thanks :) The Toolkit should be available soon, stay tuned for an update. Jonathan The MSDN Site for this tool is no longer reachable... Has it moved If I search the MSDN I am getting the same linkt that was posted here, but I get redirected to a FIle Not Found page... Hi Hatzi74, I have no clue...google still rates the link I posted...so it must've only just moved <snip> The Interop Forms Toolkit 1.0 is a free add-in that simplifies the process of ... The Interop Forms Toolkit provides tools and components that simplify the ... msdn.microsoft.com/vbasic/downloads/ powerpacks/ interop forms/default.aspx </sni ...Show All

  • Eyso Zanstra How to retreive network adpater information from remote machine

    Hello, I am completely new to the Visual Basic langauge -although I know VBScript pretty well. I am working a making a tool that connects to a remote machine and gathers some statistics from the network adapter. However, I have no clue as to how to connect to a remote machine. I tried looking for code examples, but I couldnt find anything (which doesnt suprise me because I dont really know what to look for) In VBScript I would probably use WMI -is that also true in VB If so, how do I use it in VB If not, what should I be looking at Any code examples or help that you can give would be very appreciated Regards, Jeremy how exactly do you mean what is the function of adding the r ...Show All

  • pmak is there a way to modify code in vb.net on the fly when it is running?

    is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and have the changes take affect right away. Sharewareisland.com wrote: is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and h ...Show All

  • MGunes generating variable names

    Sorry to be so stupid but I'm new and as yet have been unable to find a post that answers my question by searching. What I am trying to do sounds straight forward to me - but I can't do it. I want to be able to define and access variables from a string. Eg Instead of dim variable1 as integer dim variable2 as integer dim variable3 as integer dim variable4 as integer dim variable5 as integer dim variable6 as integer I want to be able write a for loop that defines all something like dim counter as integer for counter = 1 to 6 dim variable & counter as integer next counter Needless to say there aren't 6 variables (and for that matter nor is the code quite so simple) Similarly I might want this so t ...Show All

  • Onlinemercenary StringBuilder and indexof

    Forgive me if you've seen this before. I seem to be losing track of postings. Mechanical failure at my end i suppose:-) Why isn't there an indexof method for stringbuilder's I would love to be able to code Dim sb as new stringbuilder sb.append("How Now Brown Cow") dim l as integer = sb.indexof ("ow") if l>-1 then sb.remove(l, 2) ALTERNATIVELY I note in passing that cstr(sb) does not work. Could someone explain precisely what happens when you say sb.tostring I'm assuming that you get the contents of sb stuck in another location in memory. Regards, Al Christoph Who really thinks stringbuilder is great besides this. You should keep in ...Show All

  • pangitko79 Problem whit publishing

    When publishing program to a computer thet don't have internet access and framework i found thet i have to include prerequisites. Becose prerquisites can't be downloaded from web in properties i specify thet prerequisites download from the same location as my application. When publishing start i got three errors: Error 1 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk. Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more info ...Show All

  • Coroebus Is it possible to call a .net dataset from a vb 6 app.

    HI, Never tried, Suppose you have a .net dll with functions returning a Dataset. Now you have a client application in vb6 using Adbo.Recorset. Is it possible to convert a dataset to an Adodb.Recordset in the way mentioned above Any issues Thanks in advance Both ways will definitely work, and you should be able to databind to the recordset you get back, but it's tough to say which one will perform faster. You'd have to try out both to see which one works better for you. Obviously the lower the number or rows and columns the faster this will run. If you go the XML way you've got the overhead of doing the XSL transform and possibly writing to disk. If you construct a disconnected Re ...Show All

  • progames25 My Visual Basic 2005 does not compile the source code in a .exe file only .vshost.exe , why is that and how can I change tha

    When I do a project, and click the "Save All" button. It saves it normally. When I try to debug the program whidin the IDE it reports an error that the .exe file does not excist ! Then When I look in the bin/Debug/ directory there is only a vshost.exe file. I really need some help because it really needs to be fixed (for me). By the way, why does ALLMOST every code sample in MSDN's section Coding4Fun has like a TON of errors. Like the Skype VoIP thing. Who can please alert Microsoft for that, because I can't sen E-Mails with a domain microsoft.com (I don't know why). I tried bgates@microsoft.com but it didnt work :) Ok, I odn't think that there were any errors but it's ok.... But when I use a lot of graphics in a app (whid ...Show All

  • Soumya B IRunningObjectTable.Register Example?

    Does anyone have an example of how to register an automation server in the ROT (Runtime Object Table) using IRunningObjectTable.Register and how to revoke it using IRunningObjectTable.Revoke Thanks, It looks like this example discusses the .Net 1.1 approach. There are new capabilities for doing this with .Net 2.0...has anyone used that capability yet I thought .NET 2 just introduced a managed wrapper for the interfaces, but use of them is exactly the same from a coding perspective Richard I've made some progress on this, but I've run into an obstacle I haven't found a solution for. The following code works fine within a single AppDomain; however, when I try to use it ac ...Show All

  • chire Keyboard sendkeys

    Hello, In a windows Form I have two buttons : One to navigate on the Web The other one to send to the active page ( in my example : "google"), a string (in my example : "test".) I do not see on the Google welcome page the "test" indication arriving !. What is wrong Thanks for your help ! Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click mybrowser.Navigate( "www.google.fr" ) End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click My .Computer.Keyboard.SendKeys( "test" , Tru ...Show All

  • New-Bee Visual Basic and a Database, very basic questions...

    Im doing a bit of research at the moment. Im creating a basic inventory system for a friend of mine, and for a class project all roled into one. It does inventory control, customer information, etc. The software I create will eventually be installed onto other peoples computers. Their "database" will be on their machine, accessable only to them. I will need to do very basic queries to the database, insert new data, update data, maybe a few triggers, etc. So I dont need a full blown database software like oracle or postgresql... I would like to not have the end user need to install a database program, just my program (and any dll files/whatever else..). I have Visual Studios 2005. Is there something I can use here Or w ...Show All

  • Gulden dgridview

    I have two datagridviews dgv1 and dgv2 bound to datasets when user double clicks on dgv1, the current row of dgv1 gets added to the dataset of dgv2 Now what I want is when user clicks on the same record of dgv1, It should show msgbox that row was already added in dgv2( for information i dont have any primary keys) pls help me http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=695209&SiteID=1 Please do not cross post the same question in multiple forums. Those that read this forum generally read many of those related to VB and simply clutters the forums with the same question. ...Show All

  • cbtm Problem: "Interface not registered" message when executing a project on another pc

    Hello, I developed an application in Visual Basic with Visual Studio .Net 2003. The .exe file works fine on the development computer, but in another pc it doesn't work and shows me a message of an unhandled exception. I tried to debug it with CLR Debugger and the result was a message showing: An unhandled exception of type "System.Runtime.InteropServices.COMException" occurred in system.windows.forms.dll Additional informations: Interface not registered. In the host pc there is Windowx XP SP2, including .NET Framework 1.1. Can you help me Thanks. Hi, In your devbox, can you see the dll's that ADO and ADOX is refferencing YOu can check it in the Add References in COM tab and serach for ADO ...Show All

  • ahmedilyas How do I determine how much ram a program will use?

    -Visual Basic Express 2005- I'm working on a very large accounting program that requires a few hundred variables. I'm declaring most of them publicly. Is there any information that tells how much ram strings, decimals, int16 and others take Also is there a limit to how many variables I can publicly declare in a module Thanks in advance Still, I would tripple check your design. Those couple hundred variables might better be expressed in arrays or collections of objects and graphs. It's perfectly possible that you could need them all but there may be easier ways on you. Several hundred public fields is a maintainence nightmare.   Oh and there is a page somewhere in the documentation on data types and their typical s ...Show All

  • P&amp;#233;ricles create sql table in vb.net code

    Hi, create a table in vb.net connect with sql server. i know create a sql table in sql server 2000. but i don't know vb.net using runtime create a table. pleasew help me. thanks Hi yes. create a table in an application written in VB.NET but not in a database. but store in sql server 2000 or 2005. a.s.viswa, Please try the following code: Private Sub BuildDataSet() Dim objDS As New Data.DataSet( "CustomerOrders" ) Dim dtCustomers As Data.DataTable = objDS.Tables.Add( "Customers" ) Dim dtOrders As Data.DataTable = objDS.Tables.Add( "Orders" ) Dim objDR As Data.DataRow With dtCustomers .Columns.Add( "CustomerID" ...Show All

606162636465666768697071727374757677

©2008 Software Development Network

powered by phorum