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

Software Development Network >> Visual Basic

Visual Basic

New Question

Display Same Object In Different TabControl Page
Playing an AVI in a picturebox or panel
How to insert data (probably simple question)
How to insert data (probably simple question)
Stopping a timer from ticking (VB, VS05)
Command Line Switches
How to avoid MS Outlook pop up message in vb code?
Backgroundworker component cross-thread operation error
Listbox selectedItem not working!!
Mutiple Connections Strings

Top Answerers

Binu Jeesman
Mike Wachal - MSFT
mobigital
netpicker9
hendrik swanepoel
Alexei Pavlov aka BlackTiger
xAvailx
Gage
Brandon Tucker
xishan shigri
sitemap
Only Title

Answer Questions

  • Herru Perdana calling vb com from ASP

    I have the following code in activex dll ( class module in VB) : Sub callme(str As String, val As Integer) MsgBox "Company is : " & str & " and Pin is : " & val Database End Sub Sub Database() Dim conn As ADODB.Connection Dim str As String str = "Provider=SQLOLEDB.1;Password=sa;Persist Security Info=True;User ID=sa;SERVER=WKSM7BS-5101\sa;DATABASE=TEST" conn.Open str conn.Close MsgBox "great" End Sub I have created dll for the above code and named it as TEST.dll Now i have to call this dll in asp application. I called it in asp as : set x = server.CreateObject("test.dll") But getting error as : Invalid class string ...Show All

  • GethWho RSS Feeds

    How can I use an RSS feed to show the currrent weather in my application VB.net 2003 Andrew Devaughn, Here is a simple example that uses the yahoo weather rss. It gets the weather by zipcode. This example requires a textbox (txtZip), button (btnGetWeather), and a webbrowser control (webbrowser1) with its dock set to none. It will show a weather sticker in the web browser control. Hope this helps. Public Class Form1 Private Sub btnGetWeather_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles btnGetWeather.Click Dim sr As IO.StreamReader Dim wc As New System.Net.WebClient Dim strUrl As String Dim strOut As String ...Show All

  • Adam Plocher My application acts like a parasite?

    Hello! Strange subject I'll explain. I’ve got a very simple application. A client module that calls a login form, followed by a mdiparent form. This module connects to a remoting server. The client module is deployed via ClickOnce. Why do I say that my application acts like a parasite Because, sometimes, the last application (i.e. notepad, internet explorer, outlook, “you name it”) used before opening my application looses its independence. Steps: Open notepad (set focus to it) Open MyAPP (through menu created with clickonce) Focus notepad (impossible) – MyApp link in taskbar starts to blink. Minimize MyApp Click notepad link in taskbar MyApp maximizes ...Show All

  • Kyle J. Listbox in Vb.net

    Hi pals, forgive my stupid question, but this issue is taking me much more time that it should: I have a listbox control, and I need to access all the items and obtain both there Value and there Text, for creating my objects, setting attributes and add them to a collection. I managed to access the Text, but not the Value... Ex: Dim mb As MyObject For i = 0 To Me .myListBox.Items.Count - 1 mb = New MyObject mb.description = Me .myListBox.GetItemText( Me .myListBox.Items(i)) mb.code = 'How do I get the value Me .myCollection.Add(mb) Next Thanx for your help ;-) D. The ListBox uses an instance of the ObjectCollection class to store the ob ...Show All

  • logtorahul Array.Findall Canceling

    writingapplication Sorry, I left this here: Function FindAll( Of T As New )( ByVal array() As T, ByVal match As System.Predicate( Of T)) As T() Remove the "As New" constraint on the generic parameter, and it should work! Function FindAll( Of T)( ByVal array() As T, ByVal match As System.Predicate( Of T)) As T() hate to bug you again but I get the following error: Error 1 Type argument 'System.IO.FileInfo' must have a public parameterless instance constructor to satisfy the 'New' constraint for type parameter 'T'. C:\Documents and Settings\***\My Documents\Visual Studio 2005\Projects\WindowsApplication3\WindowsApplication3\Form ...Show All

  • Whoisit Vb Games

    Hi im wondering if vb was a good language for good games, not real games like in a store but like a 3d basic game, and what are real games like games sold in stores written in thanks in advance If you want to write games using managed code VB.Net/ C# Check out XNA http://msdn.microsoft.com/directx/xna/ At the moment it only supports Microsoft Visual C# 2005 but its still in beta and I'm sure that pretty soon (I gave Alex my crystal ball for xmas last year) so I cant predict the future. Microsoft will release the final product for both C# and VB - this should simplify your game creation process. Alex's advice is good - once you are familar with programming constructs in Object Oriented Language - switching to another ...Show All

  • Shaantu Broken Site

    From here: https://connect.microsoft.com/vbasic almost none of the links work...all bring back to the page above. Can't vote, can't get to feedback, cant't suggest anything. The connect site may have been having problems. It seems to be working fine now. Just be sure that you're logged into with you Windows Live ID. I checked with the Connect site admins yesterday and the site appeared to be fine from their side. I also see that you've entered a couple of suggestions now so it must be working for you again. Keep them coming! Sorry for the inconvenience. We appreciate your all of your suggestions. I am logged in but only the forums links work to get me in here - nothing else ...Show All

  • shax stored procedure is taking more time to execute from ADO

    We have a web application which uses VB DLL to execute the stored procedure on SQL server. The web application has multiple layers of DLLs which are called specific function such as business DLL for business logic and Data DLL for database calls. The stored procedure gets executed very fast if i execute from query analyzer or using a stand alone client server application. Howver the same stored procedure takes very long time if called from my web application DLL. I am using a seperate connection object for each call and a seperate command object for each database call. The stored procedure has a couple of temporary tables and returns about 1000 records. I am looking for cause of slow execution for stored procedure so that I can ...Show All

  • ImpureEvil access to the path "C:\" is denied

    I am attempting to save plain text from a plain box named 'quote'. However whenever I click the save button in the savedialogbox I am returned with the message: "access to the path "C:\" is denied" Any suggestions This is in debug mode & using an admin account, changing the path seems to make no difference Private Sub saveToolStripButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles saveToolStripButton.Click Dim MySaveDialog As New SaveFileDialog MySaveDialog.Filter = "Plain Text (.txt)|*.txt" MySaveDialog.Title = "Save File" Dim result As DialogResult = MySaveDialog.ShowDialog() If Not result = Windows.Form ...Show All

  • Arran picking off each digit of an integer

    I am using the following code to pick off each digit of a number, from right to left. The number I am working with is 84357. So for the first iteration it should return the number 7 and for the second iteration it should return the number 5, and so on. But for some reason on the first iteration returns the expected results. Each subsequent iteration returns the number plus 1. In other words, when I run the program I am getting: 7, 6, 4, and 9. Instead of 7, 5, 3, 4, and 8. Can someone tell me what's wrong with my code Sub Main() Dim input As Integer = 84357 Dim digit As Integer Dim decimalNumber As Integer Dim divisor As Integer = 1 While input >= 0 digit = (input / divisor) Mod 10 divisor *= ...Show All

  • James S. Jan Images in a Datagrid

    I have information on items in an XML file, each with their own item numbers. I also have an image for each of them. I'm trying to find out how to (In Visual Basic) make an image column, and display the images that goes with each item. I can't find info on this site about that, specifically. Not using SQL Server - just an XML file. I appreciate your assistance. One approach, Set up the Image column in DataGrid, by setting the Column type to "DataGridViewImageColumn". Then set the Datagridview's CellFormating to display your image depending on your particular value in a column Select Case stringValue Case "Warning" e.Value = My.Resources.WarningGif ...Show All

  • vrushali My.Settings strange problem

    I have been trying to figure out why one of my settings will not properly save. Here is what the user.config file looks like: < xml version="1.0" encoding="utf-8" > <configuration> <userSettings> <Project_Tracker.My.MySettings> <setting name="MainLocation" serializeAs="String"> <value>86, 112</value> </setting> <setting name="Engineer" serializeAs="String"> <value /> </setting> </Project_Tracker.My.MySettings> </userSettings> </configuration> Notice that the setting for "Engineer" is not propery formatted. If I manually change the ...Show All

  • et381 HOW CAN I REALISE THE UPDATE METHOD ?THE RECORDS WERE LOST.

    Dear All, I can not realise the update method and query in Visual Basic 2005 because of the Inner exception and Argumnet Error.Would you like to send me some links with the reading to solve these problems Mur it Hakan C L http://msdn.microsoft.com/library/default.asp url=/library/en-us/Dndotnet/html/Usingadonet.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbconfundamentaldataconceptsinvisualstudionet.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadonet/html/adonetbest.asp http://msdn2.microsoft.com/en-us/library/system.data.common.dbdataadapter.update.aspx ...Show All

  • jazzydex Iterating through a given component type in a VB form

    Hello all, I am looking for a way to iterate through a given component type in a VB form. For example, if I want to go through all the buttons found in a given form and change their text to "XYZ", is there perhaps a "For Each" technique to do that The alternative is an ugly hardcoding of the button names, in the above example, and changing their text one by one ... not what I want. Cheers all. N. Farr Hi, the following code runs through all controls, put directly on your form and sets new text of all controls that are buttons: For Each control As Control In Me .Controls Dim myButton As Button = TryCast (control, Button) If myButton IsNot Nothi ...Show All

  • P R W My.Mysettings Designer problem

    No matter what I try, anytime I use the "MySettings" functionality in VisualBasic 2005 Express. I get the error: The type 'My.MySettings' has no property named Well technically that's not true. I can use it once, but if I edit the "Settings" tab on the "Properties window (EVEN IF I DON'T CHANGE THE EXISTING SETTINGS) I get the above error from there on. Any Ideas <EDIT> I guess this was the wrong forum (sorry) can someone move it </EDIT> O.k. I fixed this one too. Turns out it was from a refference to a 3rd part component. I don't know why it did what it did. But it's fixed O.k. I found this in the on-line help... Important The Designer will not display properties whose type is ...Show All

545556575859606162636465666768697071

©2008 Software Development Network

powered by phorum