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

Software Development Network >> Visual Basic

Visual Basic

New Question

enabling readonly property for textboxes on a form in a for/foreach loop
Cannot Publish Project
ToolstripMenuItem.Visible
Question
TextBox to String
ImageLooper Control
Execute Code on Application Exit
WebBrowser Refreshing Problem
i need help! please someone help!!
Windows App debugging vb6 dll from vb.net

Top Answerers

Jason Zhang
ClintZync
Summa
Wee Bubba
jasmine pham
h3mp
PeterJMoore
killfr0g
singam
TuanTuan
PDF2Text
Only Title

Answer Questions

  • Wicket Nested structure declaration

    hi i am trying to convert a udf type of vb 6 to vb .net. VB structure definition Type a myCode As String * 10 myDesc As String * 80 mytype(1 To 26) As c end type type c myname as string * 10 end type equivlent in .net for a simple structure which does not have another structure as an element worked fine Public Structure a <VBFixedString(10), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst:=10)> Dim mycode As Char () <VBFixedString(80), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst:=80)> Dim mydesc As Char () End Structure ...Show All

  • EileenWin remote connection

    i have used this code but error display Microsoft ADO/RDS (0x800A1003) Cannot connect to server. My code: conn.open"Provider=MS Remote;Remote Server=www.abc.com;" & _ "Remote Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=d:\websites\abc.com\wwwroot\mdb\db.mdb;" & _ "User Id=admin;Password=; give the best solution how i can connect to mylocal machine to my domain. Thank you. You cannot connect. because you cannot connect this case because it does not support the remote providers. the remote provider and remote server keyword are not supported HI Remote Connection Domain1 to Domain2 It's possible to do work in ASP.NET Web Application If it's ...Show All

  • crondog Excel Application

    Hello, I want to write a macro where on inserting a new row in the active worksheet, the newly inserted row will become yellow in color. But I dont know how to do this. kindly help Thanks These forums are for VB.NET questions. The fact you are talking about macros is probably indicitive of you using the VB within Excel is Visual Basic for Application. VBA is a very different product from VB.NET and there are some other locations where youy will probably get a quicker and better response to your VBA questions. Y ou may find more assistance in following which specifically deals with VBA development. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=74&SiteID=1 Or if you are using VBA from w ...Show All

  • mamatham Textbox Caret Line, Col

    I'm trying to find the Line and Column of the caret. When I searched these forums earlier, I found a this Function: I just tried the function and it says GetLineFromCharIndex is not a member of Textbox. Perhaps I should have mentioned I am using VB.NET 2003. I don't know if this would make a difference, whether it is a member of textbox on older or newer versions, but I apologize for the confusion. Have you considered using a Richtextbox which has numerous methods and properties for getting characters, selection, insertion point and even a method "ScrollToCaret". Trying to find a particular position or character is much easier with a Richtextbox! /* Here's an easier way that ...Show All

  • Enix591 Working text files without a binary mode

    Hello I need some help for a troubleshot that I have in a VB.NET 2003 program that I develop at this time. I need to open a text file for "read mode" and, at the same time, 3 or more text file for "write mode". I tried already but I didn't any result. Can have anybody who help me Thanks a lot. In this my own code, I need to read a text file and write its content in two or three other text files at the same time, depending some conditions. Do you have an idea about how do I this If yes, explain it to me, please. It's important for me. I did this in VB6 but, at this moment, I need to pass the code to VB.NET 2003. I have VB.NET 2005 also, but I'm feeling better in the 2003 version. How did ...Show All

  • TA123 Language change with ChangeUICulture not after Publish

    HI I' using MVB 2005 Express Edition for a multilanguage application (on Win XP Pro). I have set to resourcefiles: resources.resx and resources.de-DE.resx. When I run the application in Debug mode in MVB, I can change the Language with a Combobox: Private Sub cboLanguage_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboLanguage.SelectedIndexChanged If cboLanguage.SelectedIndex = 0 Then My .Application.ChangeUICulture( "en-GB" ) 'My.Resources.Culture = New CultureInfo("en-GB") 'Threading.Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB") End If If cboLanguage.SelectedIndex = 1 Then My .Applicat ...Show All

  • guy kolbis Mutiple solutions with both project and file references to the same assembly causing compiler errors

    We have a very large application consisting of more than 20 VB projects developed in VS.NET 2003. The current application is using project references for everything in one large solution. However this is getting unwieldy as opening the solution uses up most of the system resources. Once you debug and step into code the problem becomes even worse and is practically unusable. This application is going to become larger with time and we would like to move to a multiple solution model to help alleviate this problem but are running into assembly reference issues. The problem occurs when trying to reference an assembly by both project and file in the same solution. We have a small solution that builds a shared library let's call CommonLibrary1 ...Show All

  • paulixml TextBox & ComboBox Autocomplete

    Can I force the user of my program to strict to the list of autocomplete feature of a textbox and a combobox I want the user to use just the items in the autocomplete list VB2005 - No not working for combobox - I want It for a textbox as stanalone component - and also for combo box with dropdownstyle set to drop down my question still unanswered thank you rkimble this is what I want but can you make me a little example how I can do this in code I know that and I use it but I want a control like the combo box in microsoft access whe you set that values to be fetched from a table and you use strict to men ...Show All

  • Bludysky R

    I'm sure this is possible to do. I am working with a UTF8 encoded file. When the file is opened in VB and loaded into a text box, the line breaks are converted to squares. Each line break is represented by two sqaures. I have been using code to replace bad chars, but the problem with it is that it replaces a single instance of the square with a LB. So I am getting too many LB's. How can I replace this with a single line break TIA So just to clarify my problem. If in the file I have... A line of text with two line breaks It is represented by four squares. I need to replace every two square chars with a LB. My code replaces every single one with a LB. How are y ...Show All

  • George2 How to save data from a form to a xml file?

    i'm trying to find a way to store data entered in a form into a xml file i have found some codes~ it worked~ but when i want to store another set of data~ it replaces the one i enter before~ it's like it's creating a new xml file each time i store data in the xml file the code i used is this Dim xmlTW As New XmlTextWriter("..\CYFmembers.xml", Nothing) With xmlTW .Formatting = Formatting.Indented .Indentation = 2 .WriteStartDocument() .WriteStartElement("CYFMembers") .WriteStartElement("Members") .WriteElementString("FirstName", txt_fname.Text) .WriteElementString("LastName", txt_lname.Text) .WriteElementString("D.O.B", txt_dob.Text) .Wr ...Show All

  • ykgreene How to set the install path for application

    I noticed that my app doesn't install to the Program Files directory as VB6 does it. Instead, the wizard creates a jumbled multi level directory and sticks your app in there. How can we change that Thanks. Isn't it possible to edit one of the deployment files and just add the destination directory No setup icons appear in solution explorer... even during publishing... only the program files. I clicked on all files in the solution explorer window and nothing comes up with a View|File system menu. Thanks. If your publishing your program then it will be installed into the local settings folder in the users home folder which usu ...Show All

  • Jim Perry SQL Express and VB.NET 2006

    Hello everyone. I have a login form which has a username, password, and login type (i.e. user,admin) fields and I want to add the code in the LOGIN button. I am still pretty new to SQL Express and VB.NET, so how would I go about making a connection to the SQL database called Users.mdf I want it to check whats in the username, password, login type fields to what is in the Users.mdf. If they select admin and have admin priv then they can go into either admin or the system and if not admin priv. then they can only login to the system. do you mean between classes if so yes: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=700821&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx ...Show All

  • JohnHarding How to retrieve the timing of current playing media?

    Hi, i've used windows media player 11 activeX control to play my media in my first application. the question is, i did not know how to retrieve the time of the playing media programmatically. Can someone help me on how to do this every help will be appreciated by me.... Check my last answer in this topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1135025&SiteID=1 I'm assuming the .CurrentPosition property exists as my post got marked as the answer. ...Show All

  • ennisb Nested classes as arrays

    I'm still getting lost in some of the features/syntax of .net (VB2005), so my searches through here and on the net so far have been fruitless. I am reading in a data set to my program. I have created classes for the different types of data that i will be processing. I have declared arrays of the various classes to store the info. Where I am having problems is with the data that is multi-leveled, for lack of a better word. For example lets say i have a 'MyPlant' class. Nested in the 'MyPlant' class I have a class for 'Stems', a class for 'Fruit', each of these nested classes have thier own properties, methods, etc. Additionally each plant may have a different number of stems, and pieces of fruit. What is the correct way of doing t ...Show All

  • Claudiu Chiorean Opening a Word file stored as a Resource

    I can add a Word file as a resource to my application, and it then shows up in the Solution Explorer. But how can I then open this file from within my application I know I need to add a reference to the Word object library, but what then >Process.Start(TheFilePath) <-this line opens the document with word...and will lock the document! You can do a file save as and then delete the temp file as an alternative Actually if all you want to do is display the file to your user...then you must make sure the Word application is available to the user....and you can open the resource with word without making a reference to the object library.... 1. store your document as a binary resource 2. w ...Show All

858687888990919293949596979899012

©2008 Software Development Network

powered by phorum