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

Software Development Network >> Visual Basic

Visual Basic

New Question

Regarding Commenting in VB
Collapsed states
Zipped FOlder help
Question about screenshots
convert point to comma in .net
mail
Overflow???
C++/CLI Interop with VB.NET 2003
Adding Value and text to a Listbox or a combobox
Subroutine for KeyPress?

Top Answerers

jijo123
LiveAa
Keyth
Anthony Rizzo
Mike Hulen
ScottComstock
sahil1286
Billy Hui
aprag
ivan.paul
Alden Group Ltd: Typesetting and Printing Academic Journals and Publications
Only Title

Answer Questions

  • LegacyOfHerot How to get Stings of 8 bit Chars from Comm Port

    I am using an MSDN RS232 sample VB code in VSTS2005 to read and write from/to the Com1 port. But the example uses System.Text.ASCIIEncoding.GetString which only handles 7-bit ASCII characters, not 8-bit. I don't see any Encoding format that will return strings of simple 8 bit bytes of characters from the Serial port unmodified. What Encoding code can I use for simple strings of 8-bit bytes so that I can handle 8-bit binary data from the COM1 ...Show All

  • Terrex Code Guy new wrappers

    While working on a long standing project today I received a message that new wrappers were available that could provide better functionality. I clicked to install. BAD IDEA!! It broke my project badly. It apparently renamed some activex things and even though I finally (wasted hour) got my sounds working again (uses windows media player plug in) after 2 hours my flash objects still refused to play. I am working very hard to update my skills to v ...Show All

  • Forrestsjs MaskedEdit: setting the starting point for entering new text at first position

    I have a MaskedEdit control in a form. When I click the control in the middle, my cursor is in the middle of the control. but I want it to be at the begining of my control even if I click in the middle of my maskedEdit text box. What poroperty should I use. I tried:  MskEditControl.SelStart=0 but it still goes to the middle of the box if by accident, I click in the middle. It only goes to start of my control if I click at the begining. ...Show All

  • jvinsky Need Rapid help

    I am currently Porting an Application from Access 2003 to VS 6 I am having issues with certain listbox properties missing out of VS 6 mainly Listbox.RowSource = "field1;field2;field3;"  <-- delimited string rowsoruce AND last but not least ListBox.Recordset = objADODBRecordset Does anyone have any solutions to my predicament If I do not find equivalent controls I will wind up doing a massive rewrite of the logic & display layers : ...Show All

  • Ian Wallace Reading

    In my program when i open a program of my choice the filepath appears in a textbox, a button then reads whats in the textbox and executes the program,  so thats fine, but i also want the filepath to then save I was thinkin the the filepath gets saved into a .txt and then the textbox reads the first line every time i boot the program up, any help would be appreciated Hi, I did a copy/paste mistake when copying code from Visual Studio ...Show All

  • Wimpie Creating deployment file distroys program.

    I have a program I have been working on for several months.  I got it working this week and I was very happy.  I am somewhat of a perfectionest and I got the program to do everyyhing I had hoped for in the beginning. Today I was ready to make a deployment disc.  I used the program all morning and it was working fine.  Not having made a deployment disc in vb.net before, I went to Google and downloaded several articles on how t ...Show All

  • Gaurav Singh Desposing of a bitmap. "OBJECT REFERENCE NOT SET TO AN INSTANCE OF THE OBJECT."

    I am having memory problems.  I can watch the memory used climb to 100% during the operation of the program and then fall off again.  The sample code included contains the area where I suspect my problem lies.  I am declaring a new bitmap each time I run the procedure and not disposing of the old one.  As you can see, I have tried the simple direct approach to getting rid of the old bitmap by simply disposing of it.  Unf ...Show All

  • kulkarni VB6 TextWidth vs .Net MeasureString

    Ok - this should be simple - and it should work. I've been strugglingly for 2 hours to get this right, so I decided to whip up two simple examples to see if I could get the same figure from both VB6 TEXTWIDTH and .Net MEASURESTRING. In VB6 - I put this code into FORM_LOAD: Code: Private Sub Form_Load() Form1.FontName = "Times New Roman" Form1.FontSize = 10 Debug.Print Form1.TextWidth("abcdef") End Sub Returns a TWIP value of 54 ...Show All

  • Jag_reports Tableadapter error handling

    I have a sinking feeling I'm not going to like the answer to this one. In short, I'm inserting a large number of rows into a database. I want to ignore any primary key violation errors (discard the row) and continue the tableAdapter.Update operation. Is there a way to do this I am using a strongly typed dataset in VS2005. Thanks, Bob ...omg Coach24 I soooooo owe you a beer... Thanks for posting this ...Show All

  • Justin Marshall Cursor where I want?

    When Button3 on Form1 is pressed, some text is displayed to RichTextBox1. Then, I use RichTextBox1.Focus() to put Focus to RichTextBox1. But, then the cursor becomes located at the beginning of RichTextBox1. I want it to be located right after where the text is displayed in RichTextBox1 after pressing Button3. Thanks, but I want the cursor to be located right after where the text is inserted. For example, I ha ...Show All

  • steveio54 "Signature of the body and declaration in a method implementation do not match"

    Hello, Trying to build a Serviced Component in VB.NET, It has one public class which implements a (.NET) Interface (written in VC++) It has references to 2 Interface Assemblies and 2 Implmentation Assemblies. It is set for COM interop, it is strongly named, it is not (yet) in the GAC. During Build the Build Fails with:- Error 2 Cannot register assembly "C:\Documents and Settings\DBEGCLE\My Documents\Visual Studio 2005\Projects\xxxx\Ap ...Show All

  • ReinerP zip and unzip in setup project

    Because there are huge number of data files in my project, I try to zip them together to a compressed file and then uncompress them back in the installation process. I used pkzip to compress all the files to a zip file and then convert it to a self-extract exe file, finally I add the exe file to the customer action of my setup project, I have two problems right now: 1. when the installation process reach the customer action, it gives me an error ...Show All

  • robertbain 1 combobox based on another combobox

    Hi, Some days ago i started to learn vb9. Since then i’m praticing to gain knowledge. But in my first aplication i’m unable to make a combobox based on another. Can someone help me with the right code. an example of what i’m triyng to do: Let’s sai i have 1 combobox for car make and another combox for car models. so i whant the the combobox of the "car make" to filter the models that will apear on the second combobox "car ...Show All

  • Shai Raiten Intellisense Problem

    I have a problem with the autocomplete feature of Visual Studio 2005. When I use VS2005 for an extended period of time the code editor starts to behave very strange. When I'm writing code it starts to autocomplete my code when it should not. Example, if I want to write: Dim sName as String it can ends in: d(ims) nameas String Dim s(name) as string Dim sn(ameas) string etc. As it was loosing focus and it autocompletes while I'm writing (I write v ...Show All

  • Edson Richter Hi iv ben programing in vb5.0 and i would like to get vb6.0 can i?

    Iv ben programing in vb5.0 for about 2 years and i would like to get vb6.0 but i cant find it. And i dont like .net because: 1 it's not as ez to use. 2 it will not work on windows 98se Dose any know ware or how i can get vb6.0 Thanks I have played with it on my dads computer and thare some stuff i like about it. but thares a lot of stuff i made in vb5 that will not work on .net. il look in to it some more. bu ...Show All

535455565758596061626364656667686970

©2008 Software Development Network

powered by phorum