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

Software Development Network >> Visual Basic

Visual Basic

New Question

Access or SQL Which one is better
Shortcut problems
VB 2005 Express App not responding
HardMarginX and HardMarginY and print preview...
Auto Tab
How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)
Building Relationships/Querying datasets
Visual Basic and Reports question
conversion
too many IF`s

Top Answerers

C#TURK
Geoff N. Hiten
williamwon
Muzukashii
pilchieMS
Jules730
scompa
Arsoft
Kyle Pike
Seema
AdvanceScripts
Only Title

Answer Questions

  • Darnoc Display a value in Binary

    How would I display a number in binary format. I looked through the help files and only found how to display in hex format. I am making a small bitwise calculator for personal use and need to display value in binary format. Thanks. Public Class Form1 Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load TextBox1.AcceptsReturn = True End Sub Sub Text1_Chan ...Show All

  • Ronald Cagape Save Output rtf file with date/time info in filename

    I've been researching this a lot the last 2 days and not getting anything that works from the various help resources. I know it is a common problem. I put a save button to save the contents of a rich text window. When I click on the save button, it just saves. I didn't want to offer any options, just save it to a particular folder in which all "studies" of this nature will go. But the names would have to be date/time stamped ...Show All

  • RashiQ Visible Property

    Hello, I have an event that occurs when my context menu is opening, and it makes certain items visible or invisible. Then it resizes the context menu to accomidate for the diffrent items becoming visible or invisble. The only problem is trying to figure out what items are "going" to be visible. Becomes the context menu is not visible yet, it returns all the items as being invisible.... Meaning I can not resize the menu, depending on ...Show All

  • Eric Morceau databindings to datagrid

    How do I bind a datarow array (mydatarow()) to a datagrid (mydatagrid) at run time. Something like: mydatagrid.databinding ... I tried, but xdatagrid does not bring Datasource property, only Databindings and others. BTW, your code looks similar to mine except that you are using the RowFilter method whereas I am using the Select method. You know, even mine was working except how to refresh (or reload)the datagrid to show the se ...Show All

  • BahKoo Newbie VB Question

    The program I'm writing is very simple - in fact, there is no need for anything visual at all - including the main form.  As it is written right now, my half-page of code is executed in the form's Main_Load procedure, and the program opens and closes in the blink of an eye. I'd rather the blank form didn't blink in and out of existence though - I was hoping I could get my code to run without using the form.  Is there a way to run  ...Show All

  • Chris_Wilson Passing a value from form to form

    What is the best way to pass a value from form to form Do I use a global variable or is there a parameter style way to do it Is there some other way Thanks for helping a newbie. Just what I need. Thanks for the help. Heres some code passing a couple of values as an array list from form1 to form2. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ...Show All

  • PoulH Drawing a line on a user control

    Hi I'm trying to learn about the Graphics in VB by making my own simple Graph control. But i've hit a problem straight away which seems to be a VB bug i' wrote some code to draw a line across the bottom of the control with a margin of 40 from the bottom and a margin of 20 either side. it all works ok unless i make the form over 395 high or 400 wide. if its height >395 i cant see the bottom x axis at all if the width is over 400 then the x ax ...Show All

  • Maria. What good is this?

    Dim PrgrssBr as New ProgressBar ... and what can you do with it   Thanks. Yes, I can do that.  I try to keep thinks simple because even if I look back at this months later, I don't know what the heck it is. Even as a programmer, I don't document ' everything (Code) I do, because it's so simple, I know it like the back of my hand.  However, months later when I look at i ...Show All

  • ConnollyG Interval Timer Class: Timing Intervals

    Since I'm doing a lot of graphical animation currently, I needed the ability to time how long - time-wise - one methodology takes compared to another. Here's a class to do accurate timing, specifically, with a fine granularity (this code is extracted from some C# code and some C++ code): Public Class IntervalTimer '---- Win32 API Calls Private Declare Function QueryPerformanceFrequency Lib "kernel32" ( ByRef Frequenc ...Show All

  • Chris Kuck Specifying the 1.1 framework

    I have this program that I would like to use another programs SDK to access their proprietary format ( ACT! by Sage ). You can check out the SDK for yourself at here . Unfortunately, all I've got is VB2005 Express and their DLLs. But, I can only use the DLLs on the .NET 1.1 Framework, and not the .NET 2.0 Framework, else I get an AccessViolationException about it not being able to read/write protected memory. However, when I try to specify it v ...Show All

  • univac_les Modifying the OpenFileDialog

    I'm trying to add a file preview and other functionality to this form but it has been mission impossible. There is a section here (msdn) were something similar is performed but it is done in VB.NET 2003 & I am in 2005, I get allot of errors. If anyone here could directed me in the right direction or provide me with an easy to follow example it will be greatly appreciated. Thanks in advance. William OK.& ...Show All

  • iliketoeaticecream Try..Catch not executed in EXE

    I have a Shared Sub Main() in my application which, after performing various startup tasks, shows the main form by executing Application.Run(frmMain). All code in Sub Main is encased in a Try..Catch block. If an error occurs further down in the call stack (in the form or another class), then that Try..Catch block catches the error, displays a message, and calls a shutdown routine. This works fine in the development environement. However, in t ...Show All

  • grumpy3b Creating a "Flashcard" program 4 kids

    Hi all, I am taking beginning VB in college and I am creating window apps rite now, I would like to do a side project. The side project would help my kid on math, what it is is a math "Flash card" type program , what im trying to do is have program create random numbers like " 4 x 4 = " or " 10 + 5" that type of thing, I have looked thru my text book "Programming in Visual Basic .Net" ( its VB 2003.net vers that I am using) and only example they ...Show All

  • AsbjørnRygg Help With Code

    I have got this bit of code which I have written, but I don't know how to say Number = (Any Number). So the effect would be if the text in TextBox1 is a numeric value, it would do the calculation. Otherwise it would display "You Must Enter A Number Into The TextBox" in the toolstrip status label Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Number = If TextBox ...Show All

  • charlie_mtz VB 2005 Ejecting removable media

    I'm writing a program that reads and writes to MO drives and I need to be able to eject the MO disk on completion. Any suggestions how to do this within VB2005 would be most welcome. I assume it is that same process as with Zip drives and similar to that for CD/DVD drives. Thanks Hi Kevin, I use your Prog. for CD-Rom load and unload in vb 2005 express, and it works fine. Now I have a question. ...Show All

95969798990123456789101112

©2008 Software Development Network

powered by phorum