20,899 Topics
![]() | |
Hi all! I have two combo boxes: cboRepairCategory (plumbing, landscaping, etc) and cboVendors. I am using Stored Procedures in SQL to store the data from my database and then load them into the combo boxes. The cboRepairCategory will be loaded first. Once the user has selected what type of repair … | |
hey guys im currently working on a project for college. (USING VB) wat the form im working on does, allows the user to enter an ID of a customer and this then displays the customers details the user can then change the details however they want and update them which … | |
Hello Everyone... I got no idea how to send an image to a printer using CMYK. I have been looking arround and cant find any solution to my problem. I need to send any bitmap to a CMYK Thermal Printer using VB.NET What happends is that when I sent the … | |
Hi all, I am trying to write a function which accepts a string as input and gives the integer as output, The string can be in any of these format for ex:2,500.75 or 2.500,7501 or 2'500.7513 or 2500,254 the output of function should be like 2500.56 Basically trying to get … | |
Gentle with me please, I'm brand new to VB.net !!! I have created a project with my forms & a little bit of validation logic, the basic skeleton of the project looks just fine. The data that I have for the project is currently in 2 Excel spreadsheets, so I … | |
Currently,I'm doing a image slide show application but I'm don't know how to save/publish the slide show project into .swf file. Can anyone help me solve this? | |
I have an Access database with a contacts table and a location table that is linked to contacts. When i click the add button I want to add a new contact and add that contacts ID to a the location table. The ID is an Autonumber, so when i add … | |
Well i want to make my prog more pro so is boardless and it has custom buttons like close - minimize and option btn i made that option btn so it appears another form boardless with options but you can see completely the first form. i want like when i … | |
Hello All; I would like to start off by saying hello, and that this is actually my first post to the group, even though I have been a member for many years. I am a ASP Classic Programmer, professionally for a little over a year, I have developed some rather … | |
I'm new in the vb world(and these forums so please excuse me if i'm posting in the wrong area) and I've done some minor java stuff but I'm just not sure at all on arrays. I have to have the user input or select a flight number and my txtBoxes … | |
I'm trying to write a program and am having some major issues. I've written a decent program but people are complaining about some of the cosmetic issues. I have very little experience with code (maybe 10 days of frustrating Internet research). Here A few issues that i have that keep … | |
I have two comboboxes the first one is for order #, the second one is for the amount of order payments, there could be 1, 2, 3... payments for this order. I would like to get all payments to show in the second combobox that relate to the order # … | |
Hi All I have created a dataset and from this I want to retrieve values of a column into a variable. How can I do this? This is the code: [size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] sQuery [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]String[/color][/size][size=2] = "Select PERMISSION_BUTTON_ID from ALC_SECURITY_PERMISSION where ROLE_ID = 1" Response.Write(sQuery) [/size][size=2][color=#0000ff]Dim[/color][/size][size=2] myAdapter [/size][size=2][color=#0000ff]As[/color][/size][size=2] OleDbDataAdapter = [/size][size=2][color=#0000ff]New[/color][/size][size=2] … | |
Using the following sub to download a file I receive an "Access to the path 'path' is denied" no matter where I try to download it to even if I run the program as an administrator. Why do I get an access denied error? [CODE=VBNet] Private Sub Button1_Click(ByVal sender As … | |
I am new to VB.Net and have a question. I am trying to connect VB.Net to Access. What I want to do is , when i select the database name, I want to popup the tables in the database...when one of the table is seleted, then the fields in the … | |
I have written some code in the btnCheckStockStatus which prints out a list of stock items that need re-ordering based on whether the re-order level is greater than the current quantity, at the moment this code works successfully. I am now trying to write code so when i press the … | |
Guyz, I want to know about the Form Disposed Event. I want that everytime I click the close button ("red X button located at the top right of the form") there will be a message box that asking if I want to exit, then if I click yes the programs … | |
I am new to programming with vb2008 and I am trying to fill out a form on line. The form looks for keystrokes and keeps track of the number of characters typed. There are two elements on the form that use this method. The first area will allow me to … | |
Hi everyone, i'm new in VB.NET. I tried some sample program using Visual Studio .NET 2005. I just add new data source (which is MS Access file) to my VB Windows program. I used Data Source Windows to create database objects on the form. But after i debug, i can't … | |
i have an assignment and i do not no how i complete solve it the problem is "An airplane has 15 rows (numbered 1 through 15), with six seats (labeled A, B, C, D, E, and F) in each row. Write a program to display the seating chart in a … | |
Hello again Thank u for your kind helps again i have a question my problem is this i have a program with 3 list boxes when user choose an Item in one list box that item in parallel list boxes must also be chosen here is an example Quantity..... Name......Price … | |
Hello, I'm creating a new report based on data from one of our software vendors. As part of the tax calculation options, end users have four options: 1. Any remainder rounds up 2. Half penny rounds up 3. Half penny rounds down 4. Any remainder rounds down Math is not … | |
I use Visual Basic 8.0 Zebra GX430t TT label printer ZebraDesigner which I use defined the barcode label ,called [COLOR="Green"]barcodelabel.lbl[/COLOR] SDK for Zebra I have a simple question. Can I use the same code as shown below to print defined Zebra label ([COLOR="green"]barcodelabel.lbl[/COLOR]) to a Zebra printer? [COLOR="Red"]What should I … | |
guyz I need help regarding declarations of global variable.. I created a module here is the script. [CODE] Module modGlobalvar Public name As String ----------------------------------------------------------------------------------- 'here is the code in my login form Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click Try sqlcon.Close() scmd = New … | |
Ok im just testing for learn purposes and im making a border less form to make own skin etc, i can make it move blah blah blah but on the task-bar on right click doesn't show the menu ... like minimize maximize etc how can i put them without adding … | |
hi friends...i am developing a small windows application in vb.net using visual studio 2005. i want to design a form where user can enter multiple records.like we want to design a "bill" form where user can create the bill for any no of items.there are 4 colmns in it : … | |
I am looking for receive mail code in visual basic language. Please reply me as soon as possible..........[code][/code] | |
hello every one i had created one application front end as vb.net and back end is Access 2003. after this i had created a setup of that application. it perfectly work on my computer but when i am installing setup on my friends computer it install and run time it … | |
What is the best way to implement a rubber band /focus rectangle on a web page? In other words, I want to be able to navigate to a web page like people.com and use the rubber band / focus rectangle to some html content (images and/or text)... ...and I do … | |
OK, this is probably very simple and it's likely that I am very simple, but it's bugging me big time :$ !!! I have never written anything in VB before, a few things in VBA, but this is my first venture in to VB.net ... so sorry if I am … | |
I have the following code to generate combinations of string for a small list and would like to adapt this for a large list of over 300 string words.Can anyone suggest how to alter this code or to use a different method? Basically what i need to do is generate … | |
Hello, I'm likely overlooking something but I'm having a problem with a Decimal variable dropping a zero which is make the value incorrect. After a bit math, on other variables, I'm ending up with .9 instead of .09 While debugging, if I display the results of the calcuation it's shows … | |
I use: Visual Studio 8.0 Label design For MySAP I have created a barcode label and stored as [COLOR="Red"]barcode.lbl[/COLOR] This barcode.lbl has [COLOR="Green"]two fields[/COLOR]: 1. name = &Barcode& {variable barcode field EAN field 12} 2. name = &text1& {variable text field length character field (10)} I want to link textbox1.text … | |
I fear from loop statements that's why I cannot figure this thing out. I understand the concept put I do not have bigger picture. Here I would like to close the application after the person try 3 times putting the wrong password. [CODE]Public Class MainForm Private Sub exitButton_Click(ByVal sender As … | |
Hi there, i new here and i would like to seek for advise or help regarding this matter. I have trouble in joining 2 table. the error is "type mismatch in expression" the query is Select R.*, P.HphoneNum, P.HeirHpNum from PendingReport R, PatientTable P Where P.PatientID = R.PatientID but when … | |
Visual Studio 2005 Professional Edition: My app runs fine on my development computer, but, bombs out on the 3 other computers that I installed it on (all 3 were running Windows XP Pro). It installs OK, but, upon execution, it immediately aborts with a System.InvalidOperationException. I inserted a MsgBox(" " … | |
hi guys i have written a small program to control a camera through rs485 now the program works ok for one camera but i dont seem to be able to change the byte that changes the camera number at run time through a drop down menu ie cam 1 cam … | |
I can insert into my table by the bindingnavigator and dragging textboxes straight from the DataSet entering them and saving. But I want to insert into the DataBase via code and in order to do this I have used the below code to connect. I use this code to test … | |
hi. I have a method that searches a database using the contents of a textbox. I don't want people to be able to type "%" and retrieve all of the info... If UsernameTextBox.Text = [COLOR="Red"][B]""%""[/B][/COLOR] Then badlogin() End If | |
I'm basically trying to either mimic the BindingNavigatorAddNewItem button or utilize it. Ideally I'd like to make my original code work. The code for my on "Add New Ticket Button" click simply clears the fields on my form and determines the next number to use for a TicketNum, and Places … | |
I have figured out how to populate the comboboxes for an app I'm making from a database this is not the actual code but is basically the way I'm populating them [code] for i = 0 to maxrows - 1 cbobox.items.add(dataset.tables("datatablename").Rows(i).Item(x)) next i [/code] I need either to be able … | |
hi everyone, I am currently working on a small college project and I was wondering if it was possible to insert MS Paint in one of my form. If such a method exist, I would be really grateful if you can give me the code as well... ..............(the fact is … | |
I got error on following statement in vb.net [CODE] Put #1, , Message$ [/CODE] please help me Regards Darshana | |
guyz, I want to know on how to convert small letter to capital letters. I want to convert every letter automatically once I press the keyboard. Hope you help me this guyz.. Im going to wait for your replies.. | |
Hi all, I have four textboxes. I have a ContextMenuStrip that I want to apply to each of them. My dilemma is that one of the options in the CMS uses the CheckOnClick property, and when I apply the same CMS to all four textboxes when that CoC property is … | |
Guyz I need help... How can I transfer the data from the Specified cell of the Datagridview to texbox.. For example I click on the specified Datagridview cell, I have a 3 columns Name,Username and Password. I want to transfer all of them in their designated textboxes. txtboxName, txtboxUsername and … | |
Hey folks, I just have a quick question I can't seem to find anywhere. I have a datagrid with one of the columns being a combo box with values. I would like either the default value on a new row to be one of the values from the combo box, … | |
How would I, if it's even possible, create an array to read/store the input values from a input text file? Here is what I was thinking, but I want to pretend as if I don't know the amount of values in the file. Input File Has: 21.22, 13.23, 43.12, 123.54, … | |
I'm trying to make a code that changes the wallpaper in visual basic express, but it errors: [CODE]Imports System.IO Imports System.Runtime.InteropServices Public Class Form1 Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer, ByRef lpvParam As String, ByVal fuWinIni As Integer) As Long … | |
i've created a 2-dim image array but cannot assign images its members. i have done as follows [code] dim img(4)() as image for d=0 to 3 img(0)(d)=My.Resources.RedPlayer img(1)(d)=My.Resources.BluePlayer img(2)(d)=My.Resources.GreenPlayer img(3)(d)=My.Resources.YellowPlayer next d [/code] |
The End.