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

Software Development Network >> Visual Basic

Visual Basic

New Question

Add text to a text box from a module
Console Application Question
Visual Basics6
3 Questions about Panel component
Bringing up Adobe Reader 7 as a child process has distorted printdialog box (code included)
Enabling f8 (debugging) in vs2005 beta1
Add connection wizard fails with Access database
WebBrowser 2005 : Handling dialog boxes
VB NET 2003: Esportare il contenuto di una listbox in un file
Reading a "text" File

Top Answerers

Brian Matuschak
jawalk
kiln
Jace314
Milad Zarpak
dbowen
Dhero
Herback
dboone
Incognita
SQLAPI++
Only Title

Answer Questions

  • nadlerb Get Index to Key in a Collection

    I have a Collection with several items. Now i want to get the index of an item i know the key of. Code: dim a as new collection fill_collection_with_data(a) msgbox (getIndexOfKey("the_key_i_know", a)) 'should now output the index to entry with key named "the_key_i_know" /Code I hope someone could tell me how to create a good getIndexOfKey-function. The collection will hold a lot of data (around 100k entries), so just going ...Show All

  • Sebastian Rojas Counting Letters in a string

    Hello,  I am trying to get VB to count how many A's B's C's D's E's etc... that are in a  declared string, can someone tell me how to do this. thanks Ray RFeather[AT][NOSPAM]chstaffing.com   Eeeeeeeeeeeeeeeeeeeeeewwwww Ugly, ugly ugly....   Dim str As String = "a982734hfa98sudwhebwe8ruwbwe8r4b233" Dim  Others As Integer      ...Show All

  • J.Eubangus to change or not to change (net1.1-2.0)

    (Mainly) I'm worried about poor performance. When i think in my old projects in vb6.0, vs2003 is too slow, vs2005 will be more slow or really will have better performance My developer machine is P4, 3.2Ghz, w/2Gb Ram, and run well. (not amazing, but well) but when i need talk about final version i found in many cases, machines with Pentium III or Celeron around 1Ghz, and 256 in Ram, so .Netframwork 1.1 really is too slow. What could be ...Show All

  • Vance Gilbert FileInformation, File Comments from File summary tab.

    If you right click on the file in windows XP or Server 2003 probably other OS as well (not sure) in properties you will see Summary tab. There are in simple view fields Title, Subject, Author, Category, Keywords, Comments. How in VB.Net I can access those fields I need if possible read / write access. I could not find it in System.IO.FileInfo, or in System.Diagnostics.FileVersionInfo. Any other places I could look ...Show All

  • rupakg How do I move menuitems around?

    I could swear it worked by drag and drop a few days ago but now I can't get it do do anything thru drag and drop other than change the order. I have a Reports menuitems and I want to drag several other menuitems that are under the same menu down under the reports item. In design mode...you can select the menustrip control...select the menuitem and drag it to the new local on the same menu tree... So just ...Show All

  • Pablo Alarcon Garcia How to update timestamp - Please help

    Hello All, I am new to VB.NET (was a VB 6 programmer for the last 8 years). In my database, I have a CreatedBy, CreatedTime field in my "Transaction" table. CreatedBy should be updated with the currently logged on UserID. CreatedTime field should be updated just before the user clicks on "Save". I simply dragged and dropped the "data table" on the form and VB.NET created the grid and also generated all the code for ...Show All

  • brad elliott Blair Allen Stark

    Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All

  • MikeWarriner Replacing the shown name of items in a FileListBox

    I'm creating a small video player. I inserted the wmp.dll control, created a FileListBox to select the file I want to play, and then a button to play the selected file. Here's what I have so far, and it's working fine: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load FileListBox1.Path = "D:\My Videos" End Sub Private Sub Button1_Click( ByVal se ...Show All

  • Mr2001 Pie chart example

    Hi I am new to Visual Basic, is there a way to create a P ie charts with four variables (20%, 30%,10%,20%,20%) Thanks, MK //with four variables (20%, 30%,10%,20%,20%) That's five variables :-) You have three options 1 - buy a library ( the Dundas one is excellent 2 - use a free library ( there are a few, I don't remember, but google knows ) 3 - write the code yourself ( which i ...Show All

  • JJDIII best practice for database conn scope

    Hi, I currently use a global form variable to store a db connection. I had read that this was considered best practice due to the overhead in reconnecting frequently. Later I saw an article that said you should close and connect after every sub routine. 1. Which is correct 2. Is it better to store the database connection sub in a module and then assign it to a global form variable Or should I not put database queries, connections s ...Show All

  • wfw Print directly to the printer

    Dear all...^^. I have a program needs to print directly to a Zebra TLP 2844-Z barcode printer. I tried the codes in http://support.microsoft.com/ scid=kb;EN-US;322090, but an error occurred when i run it, as follows: A call to PInvoke function 'test!test.RawPrinterHelper::OpenPrinter' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling conve ...Show All

  • Megahalo how to get the path for the Windows folder?

    i.e. "C:\WINDOWS", where WINDOWS is the folder where windows is installed I can get the enviroment variable "windir", but is there a smarter way I've looked at system.Environment.GetFolderPath(blah) but there aint an option for Windows folder, the closest is System, weird! The "scripting" namespace has a const that points to the win folder...other than that you are stuck with r ...Show All

  • Orbix ToolStripStatusLabels

    How do you make a ToolStripStatusLabel have a ' CAPS ' feature (like, say, if CAPS LOCK is on, it'll say CAPS in black, but if it's off, it'll say CAPS in gray ) Thanks for the code, Renee. I haven't worked with timers yet but it looks like a solution worth looking into. Mike Think of it like this...... UC is a boolean that you set when you want capslock for a givencontrol (Typed from memory) If UC then textb ...Show All

  • Sowmya Lakshmanan |> Start ... F5, can VB .NET skip Compiling a project to .EXE

    In Visual Basic 6.0, when you run your program for debugging, it was very fast when it comes to running the application and displaying the output, it didn't have to compile everything to an .EXE or something..., and also you can debug as well, while the program is still running. Are this following features still available in Visual Basic .NET 1.) Run the program, without compiling the project 2.) edit the code while, the program is still runni ...Show All

  • Martin Taylor Filling A Datagrid On Another Form...

    Hey all, I have a dataset of search results that I want to put into a datagrid on another form, then allow the user to select one row and fill in textboxes on the main form with that row's data. Here's what I have so far...this is the code on the main form for my search button. It works fine filling in the textboxes from the dataset on the form this button is on, I just need to know how to populate the datagrid(grdCustSearch) in the other form ...Show All

94959697989901234567891011

©2008 Software Development Network

powered by phorum