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

Software Development Network >> Visual Basic

Visual Basic

New Question

setup - custom dialog
DataGridViewTableStyle
Help...with Help Files!
SendMessage API doesn’t work inside an ActiveX DLL
Opening forms in a tab
assistance: tring to setup Visual Studio's 9 pro, 16 bit subsystem error, WHY??
System:InvalidOperationException
Padding a string
Programmatically getting same list of programs listed in Explorer's "Open With.." option
dynamically adding resources with the My.Settings object

Top Answerers

AntonioCanaveral
ClintC
eteq
AlexLancaster
mdon
p33
jgrant
carlao
krisjl20
Carl Mercier
Testwell
Only Title

Answer Questions

  • Designing-Systems.com cursor in textbox control

    I need some help showing the cursor position in a text box on windows form. I’m using two buttons on a windows form to move a text insertion point to the left or right in a single line text box on the same form. The text insertion point does move left and right as commanded but I get no cursor in the text box to indicate where in the text box the insertion point is located. In VB 6 the cursor (flashing vertical bar) in the t ...Show All

  • NemanjaTheLost Changing Wallpaper With VB

    I'm trying to find/make a vb script ( .vbs file for win xp) that will change the Windows Desktop background (for current user only). I am new to VB so any help anyone could give would be nice. Hope someone can/may/will help. -Wolfe   Phoenix wolfe wrote: I'm trying to find/make a vb script ( .vbs file for win xp) that will change the Windows Desktop background (for current user only). I am new to VB so any help anyone could giv ...Show All

  • Rube VB.NET 2005: Windows Service That uses a Timer to read/write registry

    Hi All! I have the following problem: Timer1: Timer1.Enabled = True Timer1.Interval = 1000 The OnStart event writes the value Blaat1 to "HKEY_LOCAL_MACHINE\SOFTWARE\Test" , "Test" But the Timer1 doesent write Blaat2 to "HKEY_LOCAL_MACHINE\SOFTWARE\Test" , "Test" Can some one help me with this problem I know it worked in VB.NET 2003 but why doesent it work in 2005 anymore THX! Public Class Service1 Protected Overrides ...Show All

  • texwalker DirectCast Vs CType

    Can anyone explain to me that when can I use DirectCast vs CType I know msdn documentation mention something regarding inheritance that there must a inheritance relationship between objects that are being casted when using DirectCast DirectCast is quicker, but requires that the runtime type of the variable be the desired type. Otherwise an exception is thrown. CType succeeds provided there is an ...Show All

  • lokeshbhatnagar Update database with Null from databound textbox

    Hello, I think the answer to this is simple, but I just cannot seem to figure it out.  I have some databound textboxes on a form connecting to the Northwind mdf database.  One of the textboxes is bound to a field with an "int" datatype and Allow Nulls is set checked. When I run the app, I want to delete the value in this textbox and have the database updated with null. But, when I just delete the data in the textbo ...Show All

  • Rose Say VB express - text file in resources

    Can somebody help me with my first program please. I am using vb express and have a text file in resources. When it is accessed like this there is no problem:- Dim file As New System.IO.StreamReader _         ("C:\Documents and Settings\Frank\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\Resources\wintable.txt") However when I try this:-  Dim file As New System.IO.Str ...Show All

  • Penn Wallace Remote Computer

    I am now doing my final project for Cybercafe. May i know that how can i shutdown, restart, or log off the user/customer pc after payment by using admin pc. How to remotely shutdown a pc or remotely run a .bat file Before that have a fren send me the syntax below, but i stil canot remote shutdown other pc. Can any one tell me the way how to remore shutdown Syntax SHUTDOWN [ logoff_option ] [/m \\ Computer ] [ options ] logoff_op ...Show All

  • fbalas VB.Net help - Various Issues

    In our point of sale system, we can export various reports as a csv file.  The problem is that when we open them in Excel, some of the fields (which contain a number 20 digits long) show incorrectly as Excel can only recognize 15 unique digits and changes the last 5 to zero's. I have written a VB program that will allow the user to open teh csv file in a datagrid, adn the numbers show up correct.  Now I am having a problem figuring ...Show All

  • Christophe Lusardi VB.NET and .NET Framework 2.0

    I am using VB .NET (2003),  Can I use the .NET Framework 2.0 Component Thank you VS 2003 will not use the 2.0 framework. ...Show All

  • Swati Sucharita How insure something runs when form is loaded

    I had a problem today of not being able to make a certain textbox on a winform receive focus at run time. That is, I had code in the Load event something like "textbox.focus", but when the form was loaded the textbox did not receive focus. I figured the problem out (thanks to this forum) and found two different ways of dealing with it. One was to simply change the code from textbox.focus to textbox.select. Another was to put the ori ...Show All

  • oivindroed VB .NET/VB 2005 Express/ VB 2005

    Hi. Ive decided to move from VB6 programming and Im not really sure where to go.. Ive got a copy of VB .Net 2003, and Ive also downloaded VB 2005 Express edition, with a possible view to getting hold of Visual Studio 2005 to program VB 2005. The problem (and confusion) that I have is - what is the difference, and which should I turn to Am I right in assuming that VB.NET 2003 and VB 2005 are different, or am I ok to learn .NET 2003 until the 200 ...Show All

  • muhsin ugur Help with custom shape forms

    I have tried to follow the example in the MSDN library but I cannot get it to work. I have created my shape in paint and chosen an easy background colour e.g. white and set the TranparencyKey but it doesn't work. Is there anything that I am doing wrong I've followed the instructions to the letter but it still doesn't work. Any ideas I'm running Visual Studio 2003 with the .NET 2.0 framework. Cheers In the Win ...Show All

  • Chuck Cobb Streaming text from a view to a file.

    The following code is supposed to place data rows from a SQL Server 2000 view (vwExport) into a text file: G:\doc\Output.txt. The compile error I get is: 'Application.ApplicationDataSetTableAdapters.vwExportTableAdapter' cannot be converted to 'System.Data.DataTable'. Code: Dim strExport As String = "" Dim strExportFile As String = "" Dim x As DataView = New DataView(VwExportTableAdapter) Dim z As Integer Dim y As ...Show All

  • Frankie Ho WebBrowser 2005 : Handling dialog boxes

    I am using the 2005 .NET WebBrowser object to automatically navigate through some pages. Occasionally, the web page navigated to will create a dialog box alerting the user to something that then requires the 'OK' button to be pressed.  Of course, this will stop my application from any more automation until the dialog is closed. I have tried using 'SendKeys.send' for the enter key and spacebar in the 'document_completed' event but that event ...Show All

  • William Banks Menu code

    Hi I am using microsoft visual basic express 2005, and I am trying to figure out the code for a menu. I get as far as inserting the standard items. But as far as the code to make it all work, this is where I have the problem. Does anyone know of a good snipplet that I could look at for this or anything else ...Show All

656667686970717273747576777879808182

©2008 Software Development Network

powered by phorum