20,285 Topics
![]() | |
hello m new in vb.net so would anyone can help in how to comparing the input of the textbox with respect to the given text and the number of error in typed textbox? | |
![]() | Hello, I'm having an issue with updating a couple list boxes in the form load procedure. I have an array created from a MySQL database, and when I try to add that array to more than one ListBox, I get: [code]A first chance exception of type 'System.ArgumentNullException' occurred in System.Windows.Forms.dll[/code] … |
[B]Hello guys, I am coding an application for seats reservation and it contains two forms one of the forms contain 32 labels that represent the seat number and when the user wants to reserve that seat, he/she can double click that label to bring up the other form . The … | |
Hi all I have a RDCL Report called Report1.RDCL. In this report I put an image box named logo the select image Source is set to EXTERNAL and in the use this image I have Parameters!LogoPath.Value. I would like the users to be able to pick their own logo. How … | |
Hi guys ok guys this is my problem my DataGridView1 does not show the data on my testdb.mdb i need to fix this first before i continue on adding records on my db i very much appreciate any one who can help me with this. [CODE]Imports System.Data.OleDb Public Class Customer … | |
This question is a bit academic now as my contract at this place is coming rapidly to a close. But for future reference, I'd be very interested in the answer. We're talking about .Net 2.0 and Visual Studio 2005. Don't limit your responses to this platform though; I'm interested in … | |
Hi All I have a load of information on my label in a groupbox on the form there is too much information to be seen in one go so i want to use a vertical scrollbar to move the label up and down inside the groupbox so it can be … | |
I am writing program that should allow the user to hit a browse button and be able to browse in their local directory to select a folder that they will later on save a file to. I know you can do this in windows forms but since I am using … | |
Ok, So i wrote this basic program that takes a map file as an input, and parses it and then draws the map. Its sort of like VERY BASIC tile mapping. The problem is, I cant think of a way to loop it so that no matter how many map … | |
I need to output "Exceptional Innovation" <div id="basic-info"> <h1 class="fn org"> <span> Exceptional Innovation </span> Here's my Code [CODE] RichTextBox1.Text = htmlsource Dim myMatch As New System.Text.RegularExpressions.Regex("(?<=<div id=""basic-info""> <h1 class=""fn org""> <span>).+?(?<=</span>)", RegexOptions.IgnoreCase Or RegexOptions.Compiled) Dim matches As MatchCollection = myMatch.Matches(RichTextBox1.Text) For Each itemcode As Match In matches Dim output … | |
Hi guys just made account in hopes to learn and get help from you C# programmers. Digging the design of this website. Anyways to my question: I want to create a lets a Datagrid that displays info from a table and allow the user to update info on the table. … | |
[CODE]Process.Start(Path.GetDirectoryName(xsM)) [/CODE] [ICODE]xsM = String[/ICODE] with a [ICODE]FullPath[/ICODE] of a .File. .i would like to load win.explorer with [ICODE]that.File.Selected=True[/ICODE]. .thanx.in.advance. | |
Hello all! I am getting errors when I try to use this adodb.connection and command in my code. The error I am getting is saying that the connection and command are not defined. I read online that depending on your version of vb that you might use the "OLE" connection … | |
how can i view my installed program list and uninstall program from the list using vb.net 2008. | |
im creating a custom User Control. its a custom picture box . i want to user to select the picture file from file system. so i use following code(i found it on a forum) . but vb says that code has a error . help me :'( [CODE] <EditorAttribute(GetType(System.Windows.Forms.Design.FileNameEditor), _ … | |
Hi, Im trapped into a silly issue,I have a datagridView,which is filled with the Click of the Button.My Issue is i can see the data only when i select a row.When no row is selected by mouse then its just showing blank cell,whereas data is actually there in the datagridView.I … | |
hi all I have created a web application and have a number of textboxes on a web page. I have created a new class with carries out a number of calculations and if there is no text in the box it enters 0.00 so I dont get a null exception. … | |
Hey, I have an website with dynamic text on it, i want to transfer the text to an textbox, and the text is between this tags: <pre> </pre> How do i do this? | |
Hi, I have richtextbox control in datagridview Column. i am adding it manually but runtime unable to add in datagridview column it gives me an error like 'PRJNAME.richtextboxcolumn can not converted to system.windows.forms.richtextboxcolumn' [URL="http://www.codeproject.com/KB/grid/RtfInDataGridView.aspx"] Here [/URL] i found the Richtextbox contorl I am add the code like this on form … | |
how to add parameter in microsoft reportviewer plz give me sum code sample | |
Hi, Can anybody help me, I have an tabcontrol which has dynamically added the tabpages now i want to add datagridview controls in each tab pages how i can do this.I am written the code like[CODE] For i = TabControl1.TabPages.Count - 1 To 0 Step -1 Dim dtg As New … | |
Dear All, I am working on CE5 device and developing my application on .net Compact Framework 2. While using threads I am facing a strange problem - My thread terminates unexpectedly when I call a function from it which does a serial communication. Any suggestions why this might be happening? … | |
i have a code. i just want to save listview data to database. the title is the error that pops out here is my code [CODE] Public Sub ConnectDatabase() conn.ConnectionString = "SERVER=localhost;User id=root;database=test" Try conn.Open() MessageBox.Show("Connected") With mycommand .CommandText = "Select * from wer" '.ExecuteNonQuery() End With Catch ex As … | |
Can someone please help me on getting a formula round off to the next highest .25. example: 2.35->2.50 2.26->2.50 2.24->2.25 2.51->2.75 I can't use the Round function because if I have 2.26 then it will round off to 2.25 which is unacceptable. I have been using the Ceiling function but … | |
I have another problem if you can help: How to move label caption with clicking VScrollbar.Label value changes with VSCrollbar according to the code: label1.caption=vscrllbar1.value But I need the position of the label caption changes with changing the scrollbar either up or down? | |
Hi All I am writing an import program to import data from an access database to a SQL database. The table structure in the SQL and Access are the exact same with the same field names. I was wondering if there was a quick way to get the data into … | |
I have a stored procedure that creates temporary table to populate return table. It works perfectly fine when I execute it on SQL management studio but when I try to import this sttored procedure, it give me an error Invalid object name '#TOTAL' which #TOTAL is the temp table that … | |
I am trying to write a windows application in vb.net to import data from excel to sql server. I got "object not set to an instance of an object" error. The data actually have been inserted into the sql. The following is my code. I have a button when the … | |
I am trying to create keypress handler that will execute a line of code when Tab, Space, or Enter key is pressed or passed by the scanner gun while the control is in focus. I got it to work with space and enter key but with tab key, the cursor … | |
Color custom cursor appears to be black when I run the program. The color custom cursor is imported from desktop by using Resources in vb.net. When I run the program the cursor turns out to be black. HOW DO I FIX IT? [CODE]Dim ms As New System.IO.MemoryStream(My.Resources.Cursor1) Button1.Cursor = New … | |
![]() | I would like to start this post off with, I am not looking for someone to do my homework for me. If I was looking for someone to "do it for me", I would go to one of the sites where you can pay someone to do your work for … ![]() |
i create downloader in vb.net. i need to add resume/pause buttons to it.whats the program for it? | |
Hi guyz cn any1 help me i connected a vb program(vb 2008 express edition) with Ms access database(MS Access 2007) using a vb wizard which allows me to drag the labels of the dataset which appears on the left pane in vb,which automatically add a toolbox with the navigation buttons,add … | |
![]() | Well' I'm trying to print image from my PictureBox...this is my code for drawing image: [CODE]e.Graphics.DrawImage(PictureBox1.Image, 0, 0)[/CODE] But I need something more specified...when I print my document with this code, for some of those, I don't get the whole document. So I need to specify that...I need to stretch … |
Hi guys, is there a way to get worksheet names from a close workbook? thanks for any help. | |
i have a combobox and few textboxes in Form1. i inserted new item into combobox by entering new item in one of the textbox. i manage to add item into combobox in Form 1. But how can i achieve if the item i added in Form1 to be inserted automatically … | |
when ever i execute this code it hangs ..any help how to troubleshoot the problem [CODE]Imports System.Net Imports System.IO Partial Class vbIPNexample Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Post back to either sandbox or live Dim strSandbox As String = "https://www.sandbox.paypal.com/cgi-bin/webscr" Dim … | |
"Select * From CashReport where convert(varchar(10),StartDate,101)>=@pStartDate and Convert(varchar(10),EndDate,101)<=@pEndDate and Type = 'I'" [B][COLOR="Red"]Hello! i want to add CUSTOMER NAME in this code how to view each customer datewise report plz help me..[/COLOR][/B] | |
Has any one successfully implemented adding additional voices to system.speech in Visual Basic 2008 or 2010 with Windows 7 64 bit? The support documentation is very old and I am not sure I will be pulling my hair out working on the newer hardware and operating systems. Thank you for … | |
I am trying to record many small MP3 files from my computer's microphone. There are numberous examples using mciSendString Library "Winmm.dll" to record .wav files. I find the .wav quality to be lacking and I really want to record straight into the MP3 format rather than converting my .wav files. … | |
I have a sql query with that adds numerical values from different table to find total for a shipment. When I execute this query, it works fine for the first record but rest of the records show null value when I know there are records present. SQL pros please take … | |
Hi! I have to write something like a multisim-like ([URL="http://www.ni.com/multisim/whatis.htm"]http://www.ni.com/multisim/whatis.htm[/URL]) software in VB.NET. My task is to make several custom controls, which the user can combine in order to create a circuit and test it after that. The problem is that I don't know how to make a control, looking … | |
When I use the Build option in VS2010 to create .exe files, I am able to move them from computer to computer without incident. These apps are generally mundane, small and of the utility variety. Last week, I added the Windows Media Player control to a form, with appropriate logic … | |
I have unbound datagridview. It has 4 textBox column and 2 comboBox column which i have defined at design time. For combo,I have databinded the columns. When I add the row: datagridview.Rows.Add() a row is added but combo box are not loaded. Please help how should i add the row … | |
hi , i had created a new .doc file, in the coding part a single doc file is readed and writed to the new doc file ... how can i continue the operation for reading multiple doc file and write it to a new doc file ..... [CODE]Imports System.Windows.Forms Imports … | |
budgeting program using vb.net need help please | |
Hi everyone. I am currently trying to save a snapshot of the video file using vb.net so that i can save each a frame or part of the file as image. The .dll of VLC player which is axVLCPlugin21 has a sub function called takeSnapShot. However, the file is being … | |
Hii everyone.. i have wanted to create a TCP/IP Lan chat program in visual studio 2005. i am a newbie to it 2005. i have already created an interface for it but no codes yet. Attached are images of the client and the server. pls helpppppppppppppp | |
I am trying to per textchanged in a textbox call an isnumeric function. I cant seem to get it to work. function: [ Private Function IsNumericCheck(ByVal CheckVal As String) As String 'check for numeric values and return boolean If IsNumeric(CheckVal) = False Then Return False Else Return True End If … | |
Hey guys, I have just finished a very simplistic game where the object of the game is to move out of the way of a falling block. Still only version 1 so don't expect much but your welcome to have a go and post any feedback on this thread. Looking … |
The End.