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

Software Development Network >> Visual Basic

Visual Basic

New Question

Event on Button Made in code? Please help
Music
Menustrip shows up as gray rectangle on some computers
Timer countdown?
Batch & VBS Scripting
How do I put line breaks in my email message using Stringbuilder?
Error while inserting data in to sql server from vb.net 2003
VB Course Outline
keyboard input retriving help !
FolderBrowserDialog1 fails when the user selects a folder name that's to long

Top Answerers

Ashesman
Nyc-mb
Doug DeBug
Benjy
DarwinMak
Cissi
killfr0g
monkeynova
K.V.Bharath
V1ad
sitemap
Only Title

Answer Questions

  • MarkTsai Upgrade issue VB.Net VS2003 project to VS2005

    I am trying to upgrade VB.Net VS2003 project to vs2005. Encountered with the issue Invalid Resx File after the conversion.  If I get rid of .resx files, I do not observe any errors during compilation. Although during runtime I get the message - {"An error occurred creating the form. See Exception.InnerException for details.  The error is: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure \"Tools.FrmStocks.resources\" was correctly embedded or linked into assembly \"Tools\" at compile time, or that all the satellite assemblies required are loadable and fully signed."} Your help will be appreciated. Thank you so much, --Israr ...Show All

  • KVdS implementing ftp through webrequest.create

    i am trying to implement ftp through the webrequest functionality. previously i got the error 'uri prefix not recognized'. i copied some code from http://support.microsoft.com/default.aspx scid=kb%3Ben-us%3B812404 but now i get another error. it is the object reference error and i understand why it is happening but i dont know what to put in the Public Overrides Function GetResponse() As WebResponse 'Override End Function 'Override section CAN ANYONE HELP Imports System.Net Imports System.IO Imports System.Net.Sockets Public Class NetworkCommunication Dim pResponseIdentifier As String Dim pIPAddress As IPAddress Dim pTimeOut As Integer # Region "Pr ...Show All

  • Abelard Synchronize textbox scrolling

    I have two multiline textboxes, no wrap (horizontal/vertical scrollbars) Is there a way I can sync the scrolling so when I scroll one, the other one scrolls OK, unfortunately, the regular textbox control doesn't have scroll events. That's a pain. The RichTextbox control, on the other hand, does. So this is easier with a rich text control. You can do the following: Const WM_USER As Integer = &H400 Const EM_GETSCROLLPOS As Integer = WM_USER + 221 Const EM_SETSCROLLPOS As Integer = WM_USER + 222 Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" ( ByVal hWnd As IntPtr, ByVal msg As Integer , ByVal wParam As Int ...Show All

  • donnie100 How to query by 1 Button_event several TextBox's Text

    Several TextBoxes (First, LastName, DOB etc)are bound to a Database . 1. How to query any of these TextBoxes with 1 Button The query for one of the TextBoxes: SELECT IDP, First, LastName, DOB, SocialSecurityNumber FROM Table12 WHERE (First = @TextBox1) 2. Furthermore, how would be a query look like if the user just type the first letter of the LastName Hello, Say there is a Customer DB with columns likeFirst, LastName, DOB, Sex,....etc. Now, the operator uses the same data entry Form to perform a query. This should be performed without further input from the ...Show All

  • Steve Dunn Access server file from client

    hi all, i having a problem to access server folder. i got one folder inside server, which i already shared. but when i access that folder fail. dim host as string = "\\serverId\folder\file.xml" doc.Load(host) ..... error :System.IO.IOException = {"Logon failure: unknown user name or bad password. how i pass the user name and password any one help please......... Khin, From the code you provide, it seem that you had better use the default LogonProvider when calling advapi.dll. This problem is related to impersonate issue. I strongly recommand you to read the article titled How to implement impersonation in an ASP.NET application: http://support.microsoft.com/default.aspx scid=kb%3B ...Show All

  • kperson IsolatedStorageFileStream access problem

    Hiall I am implementing a class library (Addin ) in VB 2005 for Solidworks 2006 3D cad tool. I wanted to use IsolatedStorageFile for my persistant storage. I used my code like this Private Function CreateSettingsStream( ByVal key As String ) As IsolatedStorageFileStream Dim store As IsolatedStorageFile = IsolatedStorageFile.GetMachineStoreForDomain() Return New IsolatedStorageFileStream(( "abc.txt" ), FileMode.Create, store) End Function When I run the Addin I get a strange error in the following statement Dim store As IsolatedStorageFile = IsolatedStorageFile.GetMachineStoreForDomain() and the error is " Unable to determine the identity of domain." Any body kno ...Show All

  • jhidey Unhandled Exception When Launching Application - Attach Database Failed

    Hello, I am launching a VB app that I built with a SQL backend. I am getting the following error message: "Unhandled exception has occurred in your application. .... An attempt to attach an auto-named database for file .....mdf has failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share." Does anybody have any idea what could be causing this and what I would need to do to overcome this Here are the details from the error dialog. Thanks for your assistance. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Data.SqlClient.SqlException: An attempt to attach an au ...Show All

  • JohnnieK IDE, compiling, copy and paste, debug are all slow

    Any tips on what is making the project so slow. I have about 5 report server projects, and about 3 other projects. One for My Generation and another Base Class project with one form. My machine is a 2.0 Intel with 1 gig of ram. Some times hitting enter causes a huge delay or selecting a chunk of code (10 - 20 lines) and doing a ctrl-c causes a huge lag and then again when I do a paste. Trying to debug by step thru no longer lets me do edit and continue. I get the error "Cannot currently modify this text in the editor. It is read only" Compiling a 6 meg project after simple changes takes a minute or two to come up. Is it a sourcesafe issue References Mcafee Anti virus Thanks, Phil ...Show All

  • brtaydin Some Questions

    Hi there i wanna make a rich-textbox search for some keywords and when it finds them it formates them and change there style & color i wanna make make a program checks if the internet is connected or disconnected i wanna know how to send an email by my program - i need full code - - who knows any Q's answer just tell me- Thanks in Advance 2 out one to go Thanks ppl for help Thanks In Advance "I wanna make make a program checks if the internet is connected or disconnected " There's only one way to do this which is to use the ping class and ping a high availability site. Here I instantiated ping as a member variable p ...Show All

  • Chris Holt Webbrowser - Webbrowser1_DocumentCompleated

    Hi! From the event "Webbrowser1_DocumentCompleated", i try to call a function called "lookup_all_htmlTables". This is not working, anyone know why The line lookup_all_htmlTables() is not executed. ! I have this code in the Webbrowser1_DocumentCompleated --cut-- Dim htmDoc As HtmlDocument = WebBrowser1.Document AddHandler htmDoc.Click, New HtmlElementEventHandler( AddressOf Document_MouseClick) lookup_all_htmlTables(webbrowser1.document) --cut-- --cut-- Sub lookup_all_htmlTables(tmpHtml as HtmlDocument) Dim objects, tblCount Dim tblName As String Dim tmpHtml As mshtml.HTMLDocument tmpHtml = WebBrowser1.Document tblName = "" tblCount = 0 For objects = 1 To tmpHtml.all.length - 1 tblCount = tblCou ...Show All

  • jmcilhinney Error running one of the Samples in 101 VB Samples for VS 2005

    I'm getting the following error when I try to run one of the examples on the 101 VB Samples for Visual Studio 2005: Database 'c:\vb101smaplesall\...location of database.mdf cannot be upgraded because its non-release version (600) is not supported by this version of SQL Server. You caanot open a database that is incompatible with this version of sqlservr.exe. You must re-create the database. ... I was able to successfully run another application "MulipleActiveResultSets" that come with the download but I can't run this application "DataReaderDataSet". They both came in the same download. Why is one working and the other not I must have had a corrupted download file because when I downloaded the data acce ...Show All

  • ClaudiaHelpOnVSTO VBS Script Help

    Hi, I'm not sure if this is the correct forum or not. If not, please let me know where to post. I would like to create a script that will rename files based on a users input. So far I have a basic batch file that will do the job, but I want something that they wont have to edit. The files needing to be renamed are usually something like 06M123AB.000 where the 123 would be the only thing renamed in the folder. I would like to, if possible, let the user input the old numbers (123)  then input the new numbers (456) and have all files in the current directory renamed. I was thinking a VB Script would be better for this. Thanks for the help.           ...Show All

  • Pankajkumar what s the keyboard shortcut access key to close the search window

    I open the search window using: Ctrl F How do I close it using keyboard pls I didn t know that. thanks a lot DMan1:) as long as the find window is not docked you can dismiss the window by hitting escape in 03 or 05...if it is docked then you must use the menu short cuts to hide the find window.... alt...W....H the "escape" key The setup of the IDE, including what windows are displayed where, is a personal preference . I personally do not like the find window docked...I like it to float when I call it with Ctrl F You can click in the title bar of the window and drag it out of the docking area to make it float....now if you close it and reopen it it should be floating in the same place....you ...Show All

  • Gyða Tough one, Share a Socket?

    Hello All, I have an off the shelf Windows app that is capable of calling a dll. Actually it calls a C++ wrapper which calls my VB.NET dll ( a VB.NET function ) and all is working fine. The VB.NET dll is designed to open a socket to a server and send messages using System.Net.Sockets. The VB.NET dll also starts a timer to send regular messages to the server in order to keep the socket open and displays a simple UI to handle additional messages that the user might want to send. All this is working fine...but here comes the problem. When the Windows app wants to send more messages it calls the dll that has previously created the UI and opened the socket that is now sending regular messages. That is to say the socket is already open an ...Show All

  • David Botz Picture's Height and Width

    hey may i ask how can i get the pictures height and width in terms of pixel count i used this before: text1.text = picture1.picture.height text2.text= picture1.picture.width   this gave me a value of unknown integer (what is the numeric value of the output of this code )   and how can i get the real dimentions of a picture interms of pixel im new in programming..thanks Dim i As Image = Image . FromFile ( FilePath ) Dim hr As Single = i . HorizontalResolution Dim vr As Single = i . VerticalResolution ...Show All

67891011121314151617181920212223

©2008 Software Development Network

powered by phorum