Software Development Network Logo
  • Visual J#
  • VS Express Editions
  • Visual C#
  • Windows Live
  • Visual Studio
  • Windows Vista
  • Visual FoxPro
  • Visual C++
  • Visual Basic
  • Microsoft ISV
  • Smart Device
  • .NET Development
  • Windows Forms
  • Game Technologies
  • Architecture

Software Development Network >> Visual Basic

Visual Basic

New Question

Radio Check Options in Menu Strip?
How Can I use the Installer Class!
PropertyGrid refresh and expanding.
REfresh Dataset, Databound Controls
Does calling a function from a dll created from VB class library spawn a new thread when run or it uses the thread that call it?
Access or SQL Which one is better
Changes in versions
Verify my functions
How to retreive user who created a file from .NET?
Visual Basic Performance for 3 Million record/rows

Top Answerers

_John_
jorgew
Gabo
herman_d
bpfh
aHAB
Jeff Pigott
P-ter
Forbes.Pu
charles pratheepan
Topix: Vocal
Only Title

Answer Questions

  • Van Vangor KeyDown not working with Web Control

    Issue: When the web control has the focus, the form can no longer capture keystrokes through the KeyDown event, even with KeyPreview set to 'True'. Platform: VS 2003 running on XP Pro Web Control: AxWebBrowser1 (imported into tool box) 1. Create a single form Set KeyPreview to 'True' Add key trapping to the 'KeyDown' event In Form1_Load event add the following line of code: AxWebBrowser1.Navigate2("www.microsoft.co ...Show All

  • Brandon Paddock MSFT Getting the running app's name

    Hi all!! I'm trying to get the running application's name and save it in a string var.The problem is that if I use app.exename or app.title or even app.path, it returns the name, title or path of the control that the class belongs to.What i need is the name of the main application that is running.How can i achieve that Thanks! These forums are for VB.NET and there are better places to find answers ...Show All

  • de Lira Help.

    How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All

  • Cyrus Scrolling Text

    Hi There, Unfortunately another vb beginner for you guys here. I am building a windows application and I was wondering if it it possible to display text in a scrolling fashion i.e. with a label scrolling text through it. Like in some news websites where the main headlines would be scrolling along Hope this isn't a silly question Thanks very much Colin Yes, you can. You need to create a control to do thi ...Show All

  • ?? recover text under the mouse pointer

    hello how i can recover the text under the mouse pointer i want when mouse pointer is over any window (like msgbox) i can recover the text under the muse pointer. tanx Here is some sample code that works.  Place a Timer on your form and set enabled=true, put the declarations in your class or module, and put the code in your timer event. Hope this helps, Adam -------------- 'Declarations Private Const MAX_TEXT = 255 Pri ...Show All

  • Yuelin49124 [VS2005] 0 width pen still draws a line

    Does anybody knows why a Pen of 0 point width still draw a line For example, I expected the following code to draw nothing on the PictureBox : Private Sub PictureBox1_Paint( ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint e.Graphics.DrawLine( New Pen(Color.Brown, 0), 10, 10, 150, 150) End Sub But i still get a line of one point width. Is it normal, or is it a bug of V ...Show All

  • v_seyedan text box need help

    Hello i have a calculated value saved in variable i assign it to a text box like this. txt_out.text = cstr(cal) here cal is signed variable and stores 19.65487 and give the ouput in text box same as the above value written. what i want is to show only two digits after a decimal place. You can also using formatting strings, eg. cal.ToString("0.00") I did a quick search on help for 'limit decimal places' and ...Show All

  • scroll C# or VB ?

    other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax what about job opportunities and $/hr differences I program in both, although I started in vb.net because I had previously used vb6. A customer of mine insisted that a project be done in c#, which started my c# learning curve. There basically is little difference, but now that I am comfortable with both ...Show All

  • Zeelia receiving email with .NET VisualBasic

    How can a .NET VisualBasic application or web app receive email no but he is pointing you to where you can create your own. Your server has everything else you need. Enjoy! Thanks for reply. What VB object do I use I would use a ClassLibrary project to deal with all the email related features, since the classLibary can be shared and reused. I meant, what object class should my VB application use to ...Show All

  • Ronald Wessels Reading from file errors...

    Hi everybody.. This is the problem I have: I have a .txt archive which contains lines for configuring labels, buttons, and other controls of my form. This archive is written in spanish and some letters have an accent. I can read wit no problem the line, but when I assign the value I get (string type) to the text property of the control, the accent letters did not appear at all. Now I tried configuring my regional settings, before I had Eng ...Show All

  • Big Mak Setting a value directly with serialization without calling the property set

    In Visual Basic 6, I might have a property (for example Style) which when set, would also set a number of other properties to suggested default values. In ReadProperties, I would simply read the style directly to the variable holding the value, for example: Public Property Let Style(ByVal Style As Styles)     mStyle = Style     Select Case mStyle         Case SomeValue &nb ...Show All

  • ARASKAS add item in String() in VB .net

    Hi guys! If a have for example Dim myList As String() and inside my program I want to add items to this variable how can I do this Thanks! I could be wrong ( I don't 'do' VB ), but it looks to me like you're creating a string, not an array.  Then again, VB uses () instead of [], so I could be wrong. If you want a dynamic array, then you want an ArrayList using System.Collections Dim myList as ArrayList ...Show All

  • trulyviral Is it there?

    Here is what I have in my password form. Public Class PassCreate Dim strPass As String Private Sub btnPassCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPassCreate.Click strPass = txtPasscreate.Text My.Computer.FileSystem.WriteAllText("C:\Pass.txt", strPass, True) Me.Hide() PGS.Show() End Sub End Class What I want is If C:\Pass.txt <> exist then create a password write it ...Show All

  • Menno Object invoked has disconnected from its clients ERROR

    Hi everyone.. Im working on a VB6 migration to .Net and Im getting a very strange error. Heres part of the code im executing and where the error is thrown.. I got a form where a message is shown in screen for the user to track what operations the main applications is running.. the routine is in my VB99_loadingScreen. VB99_LoadingScreen.DefInstance.Message("Reading Tag Configuration for Smart Devices") My form has the next rout ...Show All

  • David Brenchley Checkbox checked in gridview?

    Hello, I've created a gridview bound it to a dataset and added a checkbox column. What I would like to have happen is when a user checks the box, then clicks the button, the row with the box checked will be updated in the database. After some intense searching, I finally got it to find the checkbox, but when I run the code, I get "Object reference not set to an instance of an object". Can someone please help me figure out how to ge ...Show All

8788899091929394959697989901234

©2008 Software Development Network

powered by phorum