20,899 Topics

Member Avatar for
Member Avatar for lp10731

Ok I have a project and I pretty much have no idea what I'm doing. Our project is to make some simplified POS software, in our case, for a restaurant. The form I am currently working on is where you pick food items and add them to a listbox which …

Member Avatar for lp10731
0
183
Member Avatar for sigridish

[B]here is my code[/B] [CODE] Dim lvitem Dim iCount As Integer Dim iLoop As Integer Dim query3 = New SqlCommand query3.Connection = New SqlConnection("SERVER=localhost;UID=root;DATABASE=test") iCount = lvLogs.Items.Count() If Not lvLogs.Items.Count = 0 Then Do Until iLoop = lvLogs.Items.Count LvItem = lvLogs.Items.Item(iLoop) With LvItem query3.CommandText = "insert into wer(CustomerName,SalesGroup,CustomerType,TypeOfIndustry,RM,SeniorRM) values('" & …

Member Avatar for Reverend Jim
0
395
Member Avatar for Kayano

Hey guys just wanna tell you now that I chose to do a minesweeper game or attempt to do one for a class project in VB. Now I'm not that experienced of a programmer so this is fairly difficult and I can tell you that I'm in way over my …

Member Avatar for helix777
0
665
Member Avatar for casey_sunako

Hello everyone.. Anyone knows how to convert video frames to an image using visual basic.net? I used VLC player to play the video file in the form but don't know how to convert the video frame to image when the user clicks wants to. Any help please. Thank you.

0
147
Member Avatar for computbill

Load a picture box with an image. Then, load an overlapping picture box and its image goes on top nicely. But, when I load a third picture box, it goes in between the first and the second. What determines priorities and how can I overlap several picture boxes with the …

Member Avatar for GeekByChoiCe
0
190
Member Avatar for kurohige

[CODE] Public Sub Clear() Form_Main.ctl_InspName.Value = "" Form_Main.ctl_ESN.Value = "" Form_Main.ctl_ToAProcess.Value = 0 Form_Main.ctl_ToAProduct.Value = 0 Form_Main.ctl_ProcessYes.Value = 0 Form_Main.ctl_ProcessNo.Value = 0 Form_Main.ctl_ProcessNotes.Value = "" Form_Main.ctl_ProcessNotesCount.Visible = False Form_Main.ctl_InspectionYes.Value = 0 Form_Main.ctl_InspectionNo.Value = 0 Form_Main.ctl_InspectionNotes.Value = "" Form_Main.ctl_InspectionNotesCount.Visible = False End Sub[/CODE] so that is the code is giving me …

Member Avatar for Reverend Jim
-2
131
Member Avatar for MoldingHam

My professor wants the following: 1. Write a program to correct a text including several paragraphs a. The first line in each paragraph must be indented b. The first character in every sentence must be capitalized, paragraphs will be indented with "CRLF" code c. Initial text and output must be …

Member Avatar for codeorder
0
121
Member Avatar for renzlo

Hi All, I am currently creating a merging program which is processing multiple text files with header. I've manage to merge the text files but I'm stucked with the header that needs computation. path of input files and header explanation: [URL="http://uppit.com/a0nv880qb5uu/text_files_and_explanations.zip"]Input Files[/URL] After merging, I need to put back the …

Member Avatar for Reverend Jim
0
256
Member Avatar for skran

Hi all! I am writting beacause I desperately want your help.. I want to connect 3 comboboxes. I have a table which contains Streetnames, Post Codes and Municipalities. I want to choose the Streetname from the first combobox something that I have done. The second Combobox I want to display …

Member Avatar for Smith5646
0
1K
Member Avatar for vammy

Hi Guys, Im trying to update a datagrid and a text box value in access database. both shld be saved in the same row simultaneously.,unfortunately its not happening. they were gettign saved in a different rows. PLEASE help. [CODE] conn.Open() sqlQRY = "Insert Into tblPlot(SurveyNo)" sqlQRY = sqlQRY & "Values" …

Member Avatar for anusha.shivni
0
120
Member Avatar for quincunxian

Context: I am trying to Query a MS SQL CE database for the properties of table columns. I can get a list of tables from the Schema and from that, the column names. Issue: I can retrieve properties for some column elements but some do not return a correct value. …

0
53
Member Avatar for pantoeflou

Hi I understand how to create a button in runtime in vb.net my code to do this is: ' create button Dim btn As New Button ' set some button properties btn.Text = "go" btn.Top = 45 btn.Left = 190 'add button to form Me.Controls.Add(btn) I read on a forum …

Member Avatar for hscoder
0
1K
Member Avatar for sonia sardana

I want to after clicking on button2,after that if i click on button1 then msg is not displayed [code] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox("sonia") End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click RemoveHandler …

Member Avatar for hscoder
0
221
Member Avatar for skran

I have achieve to populate my combobox from sql and from this combobox to populate a textbox but now I have to do something more complicated.I would like to populate a combobox from an other combobox choice. And what i mean is that I have a table with Streenames and …

Member Avatar for skran
0
226
Member Avatar for vammy

Hi Guys, I need some urgent help.. My requirement is to create dynamic text boxes during run time. it shld b like this: when i click a button a text box shld b created and upon entering a value it shld be saved in access database. appreciare ur help and …

Member Avatar for vammy
0
231
Member Avatar for maggoteer

I've been looking around the internet and I haven't really found any solution to my problem. Is there a way to perform a function when a user closes the form either by pressing the X button in the top right hand corner? I am using a database that saves what …

Member Avatar for maggoteer
0
173
Member Avatar for theonebit

Hi, I would like some insigth or help on the following issue that i am facing. I am building an empty validation module. where i validate my bound item whether they are empty or or not before save. I have a tab control with the said bound items. The thing …

0
241
Member Avatar for arindamsamanta

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?

Member Avatar for hericles
0
105
Member Avatar for randomkid73

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] …

Member Avatar for Smith5646
0
131
Member Avatar for pfm200586

[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 …

Member Avatar for Smith5646
0
118
Member Avatar for JRCharlie

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 …

Member Avatar for VIPER5646
0
220
Member Avatar for shizzle08

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 …

Member Avatar for bluehangook629
0
146
Member Avatar for Paul Norris

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 …

Member Avatar for adam_k
0
253
Member Avatar for get connected

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 …

Member Avatar for codeorder
0
259
Member Avatar for compulove

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 …

0
119
Member Avatar for Catalyst.X

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 …

Member Avatar for thines01
0
213
Member Avatar for fiaworkz

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 …

Member Avatar for TechSupportGeek
0
224
Member Avatar for Lavitz1

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. …

0
78
Member Avatar for codeorder

[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.

Member Avatar for codeorder
0
153
Member Avatar for compulove

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 …

Member Avatar for jlego
0
242
Member Avatar for rajeshpodder007

how can i view my installed program list and uninstall program from the list using vb.net 2008.

Member Avatar for bluehangook629
0
71
Member Avatar for y2kshane

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), _ …

Member Avatar for y2kshane
0
228
Member Avatar for Ehtesham Siddiq

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 …

Member Avatar for bluehangook629
0
89
Member Avatar for developer_2010

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. …

Member Avatar for bluehangook629
0
123
Member Avatar for killerbeat

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?

Member Avatar for fiaworkz
0
3K
Member Avatar for bhagawatshinde

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 …

0
55
Member Avatar for muneeb213
0
57
Member Avatar for bhagawatshinde

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 …

Member Avatar for bhagawatshinde
0
338
Member Avatar for pankaj.garg

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? …

0
71
Member Avatar for sigridish

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 …

Member Avatar for hericles
0
229
Member Avatar for ninjatalon

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 …

Member Avatar for ninjatalon
0
195
Member Avatar for adsa2004

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?

Member Avatar for lolafuertes
0
37
Member Avatar for slpefanis

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 …

Member Avatar for lolafuertes
0
703
Member Avatar for bluehangook629

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 …

Member Avatar for bluehangook629
0
222
Member Avatar for newvbnetuser

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 …

Member Avatar for bluehangook629
0
331
Member Avatar for bluehangook629

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 …

Member Avatar for bluehangook629
0
256
Member Avatar for Start4me

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 …

Member Avatar for Start4me
0
868
Member Avatar for Griff0527

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 …

Member Avatar for Griff0527
0
1K
Member Avatar for rajeshpodder007

i create downloader in vb.net. i need to add resume/pause buttons to it.whats the program for it?

Member Avatar for rajeshpodder007
0
105
Member Avatar for Ingqawu

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 …

0
43

The End.