Software Development Network Logo
  • IE Development
  • Visual Basic
  • Game Technologies
  • Windows Forms
  • Visual C++
  • SharePoint Products
  • SQL Server
  • Audio and Video
  • Microsoft ISV
  • Windows Vista
  • Visual Studio
  • VS Team System
  • .NET Development
  • Visual C#
  • Visual FoxPro

Software Development Network >> Visual Basic

Visual Basic

New Question

vb build
Delete the entire directory without the Name of the file
!!!ComboBox selection Populates Grid View!!!
programmatically access function within late bound dll.
is it possible to tel wich control raised the event?
live video from webcam ? - VFW WDM DirectX/Directshow?
Saving Decimal Values from Text Boxes
Number commands
Runtime error.
Problem: "Interface not registered" message when executing a project on another pc

Top Answerers

MNour.AI
Richard Hough
Oliver 123
Bobo1234
DevDiver
Zia Khan
sugrhigh
asiaindian
Sebastien A
BortNE24
sitemap
Only Title

Answer Questions

  • tnsgod831 Picturebox format conversion?

    I'm running into a minor snag. I load a bitmap into the clipboard using the Ctrl+C command. The program I wrote, then copies the clipboard into a Bitmap object. Next the program assigns this as the Image of a Picturebox object. So far so good... This is where the problem pops up. The Image displayed in the picture box is a dithered image. A nice solid brown patch becomes a dithered patch of color. It shouldn't be system display settings, since the original image displays properly. It isn't the copy operation, since I can set the clipboard object to the bitmap I just loaded, paste it into a graphics program, and the dithering is not there. It appears to be a function of the picturebox assignment. Sample code: Private ...Show All

  • Umesh_DB2 Data set and query

    I need to create a query that is determine by what a user clicks on in a listbox that is generated by a dataset and then use that information to create a sql query against an oracle database. I have my dataset setup and it displays in my listbox but how do i read the other column in my dataset that corresponds to what they click on in the listbox Cptkirkh, Here is a good news that it is possible for you to show multi column in one ListBox control. I searched the codeproject and found an example on the Multi Column ListBox. However, it is written in C#. http://www.codeproject.com/cs/combobox/multicolumnlistbox.asp You can also download the code sample from the website. Hope that can help you! ...Show All

  • MauricioUY integer to textBox question

    I am having a problem with this sorting application. it consist of 3 textBoxes and a displayButton,nothing fancy. Here is the code i have so far Public Class Form1 Dim aInteger, bInteger, cInteger, hInteger As Integer Private Sub goButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles goButton.Click 'alphabetize the Input of the textbox aInteger = Integer .Parse( Me .firstTextBox.Text) bInteger = Integer .Parse( Me .secondTextBox.Text) cInteger = Integer .Parse( Me .thirdTextBox.Text) If firstTextBox.Text.ToLower > secondTextBox.Text.ToLower Then hInteger = aInteger aInteger = bInteger bInteger = hInteger ElseIf secondTextBox.Text.ToLower &g ...Show All

  • BobH Bound Datagrid - Floating DatagridTextBoxColumn

    I am using VB.Net 2003, and I have a datagrid that needed a checkbox column, which in turn seemed to force me to make the rest of the columns to be DataGridTextBoxColumns. The data is just for display - no changing - but if the user clicks on one of the textbox cells, then clicks off the grid, and repopulates the datagrid, the cell that they clicked on is floating around in the datagrid painting area, no longer responding to the scrolling events. The only way that I've found to get rid of it, is to close the app, and restart. Any ideas ...Show All

  • Joseph Stalin Help << operator VB. net

    day (1-31) Month (1-12) Year(0-99) Can you help me This code is wrong but is something like this i think. Module Module1 Sub Main() Dim MyDate As Integer Console.WriteLine( "enter day!" ) MyDate = ((Console.ReadLine) << 3) Console.WriteLine( "enter month!" ) MyDate = ((Console.ReadLine) << 6) Console.WriteLine( "enter year!" ) MyDate = ((Console.ReadLine) << 0) Console.WriteLine(MyDate) End Sub End Module I need to write date with left and right shift operators and I need to store direct day, month and year in MyDate. try something like this: Sub Main() Dim day as integer, month as integer, year as ...Show All

  • Mohsen Kokabi computing a mean and standard deviation

    hi guys firstly i am new to all this as i am currently a student and i am studying visual basic.net so here is my problem i have to write a application in visual basic that computes the mean and standard deviation how do i write the code for this and how do i set up the sullotion explorer window please could some one help me i have been stuckon this for a week now. thanx The point was, you should be doing the homework, not asking someone else to do the homework for you. The howework you have been given should be relatively easily completed with what you have already been taught in class. To calculate standard deviation and mean, again, you should have already been taught. If not, Wikipedia h ...Show All

  • Tiarnan To deploy from Release folder or Debug folder?

    Hello, In visual studio 2005, I have the option to set the configuration manager to output my files to a debug folder or a release folder. Right now by default, it is set to the debug folder. To deploy my vb.net application, would I use the files in my debug folder, or change my program to dump files in the release folder and then use tthe files that reside in the release folder I have used the click once deployment option but finding my application taking way to long to start up after a cold boot, where as if I use the files from my debug or release folder, it starts up fine. Any advice, or clarification on debug and release folders is greatly appreciated. Thanks. Then to deploy the applicat ...Show All

  • jeffers Visual Basic Express application stops before showing form on another computer

    I have now tried 3 separate applications, one being just a simple form with no underlying code at all. All three applications will run fine on my Dell desktop (XP) and Dell laptop (2000) but will not run on my Toshiba laptop (XP). I do the development on my desktop so I cannot run debug on the Toshiba laptop. When I run the applications on the Toshiba, the process explorer shows it starting and immediately stopping. Placing a few log statements in the code, I noticed that the application is stopping when the form is trying to display. Load form is working fine but show form does not seem to be. This must be a configuration issue with the Toshiba as it is the only computer that does not work. However, I have done all MS ...Show All

  • Bidhu P.M. Fixing a NullReferenceException

    What would be the correct way to do this SubGroups(0).IsGroupMember(0) = False Here is my function but I get an error about NullReferenceException. Private Function GetSubGroupIndex( _ ByVal Title As String , _ ByVal CreateNew As Boolean ) _ As Integer '-1 if not found or created Try '$ GetSubGroupIndex Dim I As Integer = Nothing Dim Found As Boolean Dim SubGroupCount As Integer = Nothing Found = False GetSubGroupIndex = -1 For I = 0 To SubGroupCount - 1 If (UCase(Title) = UCase(SubGroups(I).SGName)) Then GetSubGroupIndex = I Found = True End If Next I If ( Not Found) And CreateNew Then Su ...Show All

  • mccpres populating an Access database using visual basic 2005

    I am trying to create a new employee application that gets input from a user in text boxes and then take that information and populate a database in Access that will later be pulled to the Track IT! database on SQLserver2005. How do i do it Thank you. no worries, glad I could help - it's all about asking questions and learning, even the answerer learns from other responses! Good Answer! there are a few ways of doing this but the easiest way probably would be to use a datagridview and dataAdapters. the datagridview is a control which allows you to databind values to it, and you can view/delete/edit/add records to the control (similar type of layout as when you view a Table in MS Acc ...Show All

  • jandrhub 'PlaySound' function and sound events

    Hello, I'm developing a program in VB6 where I need do play a wave file assinchronously and 'be advised' when the execution of the sound has finished (receiving an event). P.S.: Now I'm using the function PlaySound (winmm.lib) to play the wave file, but I don’t find a way to check if the sound have already been played entirelly or not. Any idea on how to do that Thanks! VB6 questions should be posted in the link below since these forums are for .NET Development :-) http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx dg=microsoft.public.vb.general.discussion&cat=en_us_ab067bc0-bda5-4921-a1ec-e76402873945&lang=en&cr=us ...Show All

  • Dave Kulick textbox to *******

    got a password textbox linked to my Database. Everything is working fine but i need to password to be ****** out. I'm sure this is easy but i have been messing with it and can't figure it out. Thanks Michael Hi, try setting textbox's UseSystemPasswordChar property to True. [Update: Changed UseSystemPassword to UseSystemPasswordChar, thanks Jared] Andrej Set the PasswordChar property of the textbox to * (or whatever character you want all the letters to show up as). Small correction, the correct property is UseSystemPasswordChar ...Show All

  • Shawn Wildermuth - MVP &amp;#40;C&amp;#35;&amp;#41; 86 bit and 64 bit Winows operating system

    Hi Im developing on windows XP 86 bit. But the program will be runing on a 64 bit operating system. Do we have to compile it in a certain way that it will work on a 64 bit If i compile it on my machine will it work on a 64 bit Thanks in advance :) If you are using VB 2005 - and you are developing on a 64 bit machine (the machine which has VB installed on) then you can select which Processor you want to target - Remember that you can create a 32 bit application which will run on either the intel or amd 64 processors OR you may specifically target the processor. Most 32 bit applications .NET should work just fine on a 64 bit OS. Its just not going to leverage any of the benefits of the 64 bit processor. This is why the d ...Show All

  • Attila Fogel Regex match from hell

    For all of the amount of time I've been wrestling with this, I could have coded an (inelegant) solution from scratch, but it's bugging me to distraction and I won't sleep until I figure it out. I'm doing a conversion of some data pulled from a mainframe into a text file, turning it into an XML document. The rules are: Each line consists of a number of elements, separated by commas. Each element can either be a double-quote surrounded string, or nothing. The last element has no following comma. So a line of data could look like this: "Value1","Value2",,,"Value3",,"Value4","Value5" I thought this would be easily handled with a regular expression: (".*& ...Show All

  • Karloff Serial Port in vb.net

    I am using vb.net to control the serial port. I have created a serial port object. I think that I have succeeded to write to the serial port but I am finding it difficult to read. Can some one help me by posting some simple code Thanks Glenn serial.Open() serial.WriteLine("AT+CMGF=1") I am using this to write http://blogs.msdn.com/bclteam/archive/2006/10/10/Top-5-SerialPort-Tips-_5B00_Kim-Hamilton_5D00_.aspx provides some good guidelines for using the SerialPort class and includes some simple examples. ...Show All

95969798990123456789101112

©2008 Software Development Network

powered by phorum