20,285 Topics
![]() | |
Ok guys I need some help why I am getting this error and how do I fix this:'Handles clause requires a withevent variable defined in the containing type or one of its base types' Code below Error occurs on line 14: Imports System.ComponentModel Imports System.Text Imports DevComponents.DotNetBar.Metro Imports DevComponents.DotNetBar Namespace … | |
What i need to do is parse an integer to a "library" of co-ordinates. This integer allows for a random co-ordinate to be chosen. The "Library" i mentioned is shown below Public Function Hit(ByVal rnd As Integer) Select Case rnd case 0 return "(0,0)" case 1 return "(0,1)" End Select … | |
hey guys , i need some help and guidance regarding my college project. i'm working on a sales system . i have a form which consist of all the following information( item code , item name , item price , quantity of item ) which is display using a data … | |
I am trying to determine the backcolor of a textbox and have an event happen. I've been using: "If txtbox.backcolor = System.Drawing.Color.Red Then End if" But this dont work. Can somone help me? ml | |
Hi, I have a complete ms access system build(tables, forms, reports, query). I am in the process of using vb to re-create the system. I managed to show every fields on my vb forms without any coding. However I have some wrong information in my combo boxes. For example I … | |
Hi guys, I have some fundamental holes in my understanding of programming, so help would be appreciated, I’ve always had a problem getting my head around it. I don't have a very strong mental model of how the code flows. My main problem is i think i understand the syntax, … | |
what is the equivalent of Access DMin and DMax function in VB.net? | |
Hi All, I am using vs2005 with access database. Developing a new application. I am the new one to the application development. This is what my situation which takes my time towards searching a reference but no where it is found: ***There is 2 tables named tblbill(contains VendorID & TruckID) … | |
Suppose I have items in combobox1 1) On button click event ,I want to copy all the items to combobox2 ? What is the coding for this? | |
i want to creat crystal report in form of bulk and i want to use one 131 chqrqcter in that and at the end i want to use verticale bar | |
i need some proffesional helps... from yesterday night i have done a part of my practical and i saved to my pendrive... the folder name as <Chapter 3> and today i went to college computer lab continue to finish another part and i also saved to my pendrive, since i … | |
Hey there, I have an application which have multiple tab pages. On of these pages I have a group box with many controls that do something. Now the problem is I want to add exactly the same group box by the current one that can have different paparemeters. This is … | |
hi, im new in vb.net i want to delete an item on a listview, this is my code If ListView1.SelectedItems.Count > 0 AndAlso MessageBox.Show("Do you want to delete this item?", "Confirm", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes Then 'make sure there is a selected item to delete ListView1.SelectedItems(0).Remove() End If now my problem … | |
Hello everyone, Im new here and may i have answer to my question since i been looking for sutoliton a long time ago, I had a database looks like that user:pass (<IP>) user:pass (220.135.70.173:3128) that i need is to remove the text between ( and ) and the symbols too. … | |
Hi i would like to know how i would extract text from a website especilly out of the (span class= ) area | |
When you create a webbrowser it obviously uses Internet Explorer. Can you change this to Chrome? Cheers Phil | |
Hi, I'm probably missing something really simple or trying too much at once but it's 16:30 on a Friday afternoon and my head is wrecked!! Basically, I'm trying to build an application that takes out put from a database query as XML and uses XSL to transform it into HTML … | |
Hello, I'm working on a webpage automation project. And I am very new in this. I want to use Webbrowser control to select an item in the dropdownlist. Now,how do I programmetically select an item from the HTML snippet below. I would like to select,say for example,"2009" from this HTML … | |
Hello, Im trying to make a program which basically performs unit conversion. I have basically made two text boxes, one for the S.I. Units and the other for British Units. The general idea is that when i input any number in the S.I. Unit text box, it should display the … | |
hi, eventually this program should be able to automatically upload an image to a youtube page. (origionally the idea was to add a gamertag alongside the channel name so people could see current gamerscore etc...) I have coded a lot of it and one part which i thought to be … | |
Hi, All, Is this possible? I want to copy the value of one cell in datagridview to the selected cells of the datagridview? See picture below:  Thaks in advance. | |
Hey, i have to finished a cacluator, all my code seems to be working apart from the equals button and i do not understand why..i've tried several different things such as a case too but nothing seems to work to get the equals button working..please help!! This is my code, … | |
Fairly new to the VB.NET world, but a long time Access and FoxPro programmer. I'm trying to do something that was extremely easy in Access, but can't believe it is this difficult in VB.NET. I populated a combobox with values from a mySQL table. I want to return a hidden … | |
Hi, i had developed windows application with SQL Database. i had deployed the windows application and want to run the same on the client machine Could any one please help me in this issue... | |
anyone can help? i want to check whether the data has been exist or not. but its shows some error in this code. error :No value given for one or more required parameters. Public Sub doSave() Dim con As New OleDb.OleDbConnection(My.Settings.KK3DB) Dim cmd As New OleDb.OleDbCommand Dim adap As New … | |
Imports System.Data Imports System.Data.SqlClient Public Class LookupForm Dim stable As String Dim SelectQuery As String Dim cs As String Dim htKeys As Hashtable Property FKeyWithTable() As Hashtable Get Return htKeys End Get Set(ByVal value As Hashtable) htKeys = value End Set End Property Public Event LoadRecord(ByVal CurrentRow As Hashtable) Private … | |
Hello, I have two linked tables in my database (access), one is for the student and one is the ages(selection drop list ). When I have transfered the data in vb form, a simple text box is shown with numbers in it. How can I have the drop down list … | |
Hello Friends, I need help to get the time value from MSSQL database to VB.Net Datetimepicker I have a datetimepicker but the custom format is set to HH:mm tt so that I can get eg 11:20 AM this value I have stored in database with the help of ` Label4.Text … | |
I am using a tab control on my mdi parent forms. when i open a child window i hide the tab control. but i want the tabcontrol to show itself on child close event. but i cant figure out the code. any help will be great | |
The name "Debit" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted. | |
There are 2 textboxs to accept from date and to date. I will be comparing the fromdate value and todate with the table column. If the record matches then only that row will get display in the datagridview. | |
anyone can help me? my login doesnt work smoothly. i want to login based on Username, Password & Category. So that, if the user is Admin all data can be access, while if user is Staff, only few data can be access. Public Sub DoLogin() Dim strsql As String Dim … | |
I am currently working on a project that has hit a bit of a snag. I have the following string; <td class="bld"><span id="ref_12590587_l">5,304.48</span> I want to cut this string so that only the "5,304.48" is remaining. I would also then like to remove the comma. Thanks | |
Hello, I have creating my application in visual basic using the tables from ms access that I created. In the tables there is field "attachment" with pictures saved in there. I want to show this pictures on my vb form. All the records areshowing fine apart from the pictures. | |
I have created a webbrowser and then click on certain buttons. The first button clicked on creates a slip which appears on the page. Subsequent clicks add further info to that slip. I then save the page so I can check for click id's on the slip so I can … | |
how to serialize and deserialize an interface.please anyone give me whole code of this. thank u. | |
I'm trying to get the first row in each worksheet to be shaded and have the font bold. Right now, I am able to get the first worksheet changes made, but none of the other worksheets within the same workbook are being changed. Here is what I have written so … | |
hi all, I want to update title block attributes of a dwg file using vb.net.please give me the code of this. thank you in advance. | |
Hi all I've been struggling with this one for some time now and I would realy appreciate some help. I have a string which gets data from mssql server, reader collects data (among others also "person) SQLStr = "select * from tablename order by id desc command = New System.Data.SqlClient.SqlCommand(SQLStr, … | |
Back on my form with a ton of financial data entry textboxes but I want to have the data formatted at runtime, as I enter the data. I have a format declared as Public Const cFmtCurrency = "##,###,###" ' don't need decimal for the local China currency What would be … | |
Hi, I am trying to delete data from dataGridview, and update my Access database, but I am having trouble withe these code it keep stated that I have "Object not set to an instance of an object" and I don't know where my code went wrong, please help, I am … | |
I'm new to vb so it is no surprise that I am stuck. I have this code and it runs as it should but I get a the Error "Run-time error '91: Object variable or With block variable not set". How can I fix this and have it continue on … ![]() | |
I was creating a program using vb.net on visual studio. Unfortunatley when I closed out I save it in a way where all of my developer coding was erased. Luckily I still have the debugging file, but it won't allow me to see the form developer or design view (which … | |
[Sample Project](https://skydrive.live.com/?cid=e4d7ee6214fdc062&id=E4D7EE6214FDC062%21120) Excuse me. I am a new vb programming and my enlish is not well. A link on top is my sample project. I have to try hard to fix it. But i have no idea how to fix. If you download my project and run it. When you … | |
How do i transfer the information stored in the 2nd and 3rd col of the selected row in datagrid im using visual basic 6 i have to transfer it to a textBox in a diferent form please tell me if its possible | |
i'm working with vb to automate word documents so to create a new document i use dim oword as word.application dim odoc as word.documant odoc=oword.documents.add and to open a document i use odoc=oword.document.add(mypath+mytemplate) but i'm struggling now how to add a template to an existing document for example i want … | |
I have a string of text being sent through a serial port to a text box (Text1.Text). The string has some symbols in in which I am assuming are Hex values. The hex values are Hex(1), Hex(4), Hex(12), and Hex(17). What I need to do is find the position of … | |
Hello community i am new to vb.net and was wondering if anyone had some turtorials as i am trying to create a tool for my job. I would like to create a tool to gather data from sql 2008 by searching a clients name and then pulling the clients record … | |
I have two RichTextBoxes in my vb.net application (rtf1 & rtf2). rtf1 is loaded with the external data. Mostly It contains para split into different sections. The paragraph is a dynamic data, hence the no. of words keep on changing. Now my question is that, I want to select a … | |
I am connecting to a data stream that pushes data continuously and when I tried to set up a network stream I just could not connect and kept getting the 'not found' error. I used the httpwebrequest with webrequest.keepalive = true and started to consume the data by reading into … |
The End.