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

Software Development Network >> Visual Basic

Visual Basic

New Question

Root Namespace
exporting to a document
ActiveX Control Size method
Unable to port VBA to VB2005 Express
WriteXML - streams?
How would I restrict input for a textbox.
Debugger is extremely slow
ToolStripMenuItem - Checked/CheckState differences
Year in 2 digits
Can Classes be used to include or display UI as well or just for code and functionality

Top Answerers

Victor Irzak
aXi
Josh Lindenmuth
MikeTheMechanic
Chris G.
Sasanka Pinidiya
j_johnso
Jim Sharkey
lavasurfer
SiJP
Zyberland I/S
Only Title

Answer Questions

  • dr.thomas VS 2005 RTM Weird Editor Behavior

    I'm using the VB Editor in VS 2005 RTM version and every so often it starts misbehaving and I have to close all editor windows to get working properly again. What happens is that as soon as I type a single letter at the beginning of a line it immediately appends open and close parens. So for example if I want to type an If statement, as soon as I type 'i' it changes it to i(). If I backspace to delete the parens it puts them back in. ...Show All

  • cdavid String to Hexadecimal

    Hi folks! I need to be able to convert a string, including both text and numbers, to a hexadecimal value. Currently, I can convert numbers to hexadecimal, but it will not allow for text in any way: Dim MyHex As String MyHex = Hex(txtPassword.Text) MessageBox.Show(MyHex) Any ideas greatly appreciated! Tim Tim, give us a sample of what you need to convert... it still doesn't seem clear. Converting a number like "3252" to H ...Show All

  • japieson Newbie Database Question

    This is a very basic question, but I've wasted a few hours trying to figure it out already, so I'm groveling for help. I'm looking for basic code to help me open a database, read some of the contents into variables, and that's it for now (close the database). The database in question is a flat table in mdb format; 8 columns, 15 rows - each row is a record with a name (p01, p02, etc) and seven associated strings - pretty primitive. The 1st column ...Show All

  • monkzen Can VB.NET save images as JPEGs with custom configurations?

    Hello all, I'm saving a bitmap as a jpeg using: savedImage.Save(fileName, System.Drawing.Imaging.ImageFormat.Jpeg) which is resulting in a JPEG with a 96dpi x 96dpi resolution and a 24-bit color depth. Is there a way in VB .NET 1.1 to change this to say a 72 x 72 dpi resolution and a 16-bit color depth Thanks everybody. N. Farr To change the DPI, you can use the SetResolution method. Like this: ...Show All

  • FunkyVB Logoff/logon windows, change user, app still running

    Just need to check if user exists in any of my given groups, like "App_Admin", "App_user" and so on. If he doesn't exist I set the max of restrictions and I set the windows loged on username, otherwise I show his username and set the restrictions according the users group. If he logs off I also set the max of restrictions with windows loged on username. I start app with the max restrictions and with windows l ...Show All

  • ?eljko Marki? replace text with textbox...Need help!!!

    I have a sentences of words which will contain this symbol '**'. How can i write the coding to replace the symbol with textbox Means, once the symbol '** is detected in the sentences, a textbox will be replaced... Help is needed...thank you..... Hi, I think i got your point you could have a textbox which contains the sentences and ** where ** mean some one have to put here some text and now you want to give t ...Show All

  • vbcoder_dk Processing Serial Data

    I need the reduce the processing time in a uMicrocontroller to allow faster sampling times. This has creates a problem in the data collection routine in VB. The old system collected the analog data a converted it to a decimal format before sending it to the serial port. This data is collected and saved using Hyperterminal. The VB program would, when run, would open this file and process the decimal data by graphing it. What I need ...Show All

  • nehajampala My Home Page Exit

    I have a project with 14 forms total. I generated code to take the program back to what I call "Home Page". My question is: How do I exit this Home Page From this Home Page, I can hypertex to any of the other 13 forms and return back to the Home Page by clicking a button I named "Home Page". As it now stands I cannot exit the Home Page. Any suggestions greatly appreciated. Add a button on the form, and in the Click eve ...Show All

  • Klgsx File Properties

    I would like to access the file properties of a file (summary, title, author, etc). I need to do it for all files, not just office documents. Any assistance is greatly appreciated. I put in this code and it works for Office documents, but doesn't seem to work for non-office documents. Eg. tiff images. Do you know of a way to access the properties for non-office documents. I believe it probably uses the MODI mod ...Show All

  • Icesniper789 insert new rows/records

    Hi all, I have a problem inserting rows/records into my db. In my access db I have 1 table called "Channels" , this table consist of 3 columns (Id, Channelname, ChannelURL) primary key has been set on Id. Table has to be filled up with data captured from textboxes on the form (table is yet empty) When I hit Button1, no new records are added ! Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System. ...Show All

  • Instalectual question on unhandled exception error

    I have an app with ~40 win forms that runs fine on my development box, but when I deploy it on another box, 3 of the forms give me the following error: ************** Exception Text **************    System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualBasic.Compatibility, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition ...Show All

  • Sam .Net Toolbar - Can't use Icons?

    Is it only PNG files that you can use   Mike Pooley No, I don't, sorry.   No, you can import any sort of image into an image list, then associate the image list with the toolbar and select the icon to use for each button.   Ah Thanks! Imagelist is no longer in the properties window so i thought it was not being used any more. I didn't realise you could still access it in code. Do you know wh ...Show All

  • anonjj Excel Macro please

    Hi, I dont know if is this the right place to post this, sry. I'm writing a little macro in Excel, with the following code: Sub Logger() Dim varNombre As String Dim varApellido As String Dim varLogin As String Range("A1").Select varNombre = ActiveCell.Value Range("B1").Select varApellido = ActiveCell.Value varLogin = varNombre(0) & varApellido Range("C1").Select ActiveCell.Value = varLogin End Sub I need ...Show All

  • Matt Ayers 101 Code Samples for Visual Basic 2005 databases aren't up to date

    Hi Does anyone know the whereabout of up-to-date databases (or scripts) for the 101 Code Samples for Visual Basic   The samples are  to be found at http://msdn.microsoft.com/vbasic/downloads/code/101samples/ . The error I'm getting is as follows: Server Error in '/Membership' Application. -------------------------------------------------------------------------------- Database 'D:\NET 2 EXPERIMENTS\MSDN\101 SAMPLES\WEB ...Show All

  • Alberto De Marco custom enumerator, com interop, and vb6 client

    Context: I have a legacy VB6 application that uses DAO and Jet. The owner of the company does not want to change any of the DAO code as we move into VB.Net, so I've been working on a set of VB wrappers to present an interface that looks just like DAO. The advantage to this is that we can subsequently replace the underlying DAO code in the wrappers with ADO.Net to use SQL Server in the future. The design: I have a set of abstract classes ...Show All

92939495969798990123456789

©2008 Software Development Network

powered by phorum