20,285 Topics
![]() | |
Hello, I am doing a simple calculator program. I have a combo box and assigned numerical values to a string variable under each case number using the same variable name. My problem is I don't know how to assign that value. When I use the current code, it pulls the … | |
Hi All, I have a vb net program that shows a datagridview which pulls data from a mySQL database. When the user clicks on a row (I am checking for a 'cellclick' event), a text box is filled with data from a hidden column in the datagridview. This works fine … | |
Ok so for some reason I can't get the current item I selected in my datagrid to display on my textboxes I'm new to vb net and programming itself so please bear with me. here's my code: [code] Imports System.Data.OleDb Public Class Form1 Dim con As New OleDbConnection Dim ds … | |
This is my Vb.net Project for company i want to generate code for each individual slip so that i get one field as unique field for that i want to use date & slip no to generate unique key. i have attached screen shot my project in this date 21/12/2011 … | |
I want to write an application that can query a dll or class stored in another location on a server to receive information or perform an action. Can someone please give me guidance on how to go about it. | |
Hi everyone, I have a form with one combo box and text box and buttons. please refer the snapshot with i have attached. I have the following code: My Stored Procedure for inserting the data: [code] /* Name: usp_InsertBranchSetup Description: Insert the Record to dbo.hrBranchSetup table Author: Tashi Modification: Insert … | |
Can someone here give me an idea how should I make a transaction form or should we say a payment form. I already have a database with lists of students in it. Also a database with an event in it. Along with a fee on which every student should pay. … | |
Hey, Im trying for a message box to pop up with a price, depending on the time. Before 11:30 costs £3.00, afterwards costs £4.50. This is what i have tried but it this code gives me the message for £3.00 when the time is over 11:30 [CODE] Dim day As … | |
i wanted to know how to deploy a simple program that is coonected to a access database.I have tried it many times but when I try to install it says that some file is mising. How can I do it so that I dont have to copy the database from … | |
Good day everybody i am wanting to make a new application, an application for sales, but i don't know where to start, any ideas? i want to make an sales application with charts, stock sales, ... and all functionalities(add sales, modify, delete, ...). What an enterprise or a business need? | |
hello all, I have a question about assigning variables values based on values stored inside an sql database. I have the connection part down, but here is my basic set-up. I have a table with the values {username, password, isAdmin}, where username and password are strings and "isAdmin" is a … | |
Hi, I have this program that uses OLEDB connection in order to import the excel sheet into datatable, now I am using windows xp and the server that I'm about to use would be in windows 7, what connection string do I need in order for me to connect to … | |
I have a DataGrid table like this: [img]http://ni8.upanh.com/b1.s24.d1/f869170161faa9e6ad2c272d6f66228e_40513398.capture.png[/img] How could I change the plain-looking arrows in the RowHeader into row number (Like 1,2,3...)??? Thanks for any help from you guys! | |
Hi, i'm doing a school schedule and i have this: [URL="http://desmond.imageshack.us/Himg13/scaled.php?server=13&filename=22875721.jpg&res=medium"]http://desmond.imageshack.us/Himg13/scaled.php?server=13&filename=22875721.jpg&res=medium[/URL] as you can see i have the times on the first column and that is from table "tempos_letivos". now i have a "schedule" table where is the hours of class of the courses, but in this table the cod_prof … | |
Say to me some program in VB2010 like : How I record a program by the data and I can retrieve and review later with the knowledge that the program has a Password for access , How to link button in Visual Basic 2010 with file on your computer such … | |
Dear Experts, I need a text box for entering only for 0 to 9,.,Delete key ,Backspace key and Enter key except this i want nothing to do for this i am coding like as given below Private Sub TxtAmendment_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TxtAmendment.KeyDown If (e.KeyCode … | |
Hi, I'm creating a form application using vb. I'm still new to this and I'm teaching myself via the internet so please don't be too mean. I wrote my code using queries that I created in visual studio. I don't quite remember how to create an update query and write … | |
Hi, I am using VS 2008, asp.net and VB coding. Using Grid View, How can I access the data of the selected row if the column type is check box? The following line is working fine with text, date, number, lbltest.Text = GridViewRVs.SelectedRow.Cells(7).Text but the problem is that I need … | |
I'm working on a Visual Basic application and would like to have it send its results (either an XML file or database rows) from the application to a database online for processing. I'm more familiar with MySQL/PHP but have no idea where to get started on with this. What I … | |
just want to know how will i able to display the info description in my list view but the one that appears in the database is its id(using vb.net) | |
Hi everybody i need a bit of support in my vb coding. i have publish data on data grid(in vb express 2010) and want to check for the data in each an every row. there are few columns and i want to check the string "OK" under "Status" column. if … | |
I have problem to read XML source to datagrid.I can't put data subject and subsec to column and click at row show data all_topic in textbox .I try code but not show. I want result show Principles of Programming Languages 800 and when click Principles of Programming Languages show Topic … | |
Hi all. I have a program in vb.net and with it I have an expiration Key. I would like this key to be valid for 3 moths for example. I don't want to use the users system.date because to prevent them from changing the date. I there a way I … | |
i have created a new form to display the listview that contains the field from my database..i have a problem how to do that..help please | |
[CODE] Dim conn As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter Dim sql As String Dim maxrows As Integer dbprovider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" dbsource = "Data Source = d:\sprrg\scm\scm\sprrg.mdb" conn.ConnectionString = dbprovider & dbsource conn.Open() sql = "select … | |
Private Sub autocus() Call main() Con.Open() Dim cmd As New SqlCommand("SELECT cust_order FROM Inventory", Con) Dim ds As New DataSet Dim da As New SqlDataAdapter(cmd) da.Fill(ds, "My List") 'list can be any name u want Dim col As New AutoCompleteStringCollection Dim i As Integer For i = 0 To ds.Tables(0).Rows.Count … | |
Hi All, I'm just wondering, what should be your approach here: Here's the content of text file: [CODE]0022005138450000425081959 091 003200513845161223180000001Doppel-Pack, WET "Warming" & "Original" 0000001499 003200513845161048400000001Handschellen-Set, "Fetish Fantasy" 0000000999 003200513845161214340000001Strap-on, "His Vibrating S(extension)" 0000003999 003200513845000000030000001Versicherung 0000000099 00220023198100004 091 003200231981161057180425001Gel-BH, "Romantic" 0000001000 003200231981161084072250001BESIRED Bustierkleid 0000002499 003200231981161084050252001BESIRED Trägerloses Minikleid 0000003199 003200231981000000030000001Versicherung 0000000099 … | |
Can anybody tell me where i can find the connection string for using on a asp.net form. I am trying to connect a mysql database to it, and wanted to connect a access database to test the main functions. But i am having a hard time finding any of these … | |
Hi, I was wondering if anybody could help me with printing a displayed form to a printer. This is my current code. (I am using the PrintForm visual basic PowerPack.) [CODE] Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click cPrintForm.PrintAction = Printing.PrintAction.PrintToPreview cPrintForm.Print() End Sub[/CODE] This … | |
I have a number like 6511 and I want to round it up to 7000. How do I tell the computer to round the numbers to the thousands place. I know how to round decimals but not whole numbers. Thanks for you Please help! | |
Hi guys, I am wondering how would I copy files into a jar, as well as delete folders from that jar. Would I have to decompile it then recompile it? Would sharpziplib do the trick? Any help is appreciated, -Toxikr3 | |
I am trying to populate a text box by taking the first 8 characters of a string in a list box. I have heard of a left mid and right function. Does anybody know how to use these functions? Thanks in advance :) | |
Hello I'm trying to send emails using smtp and getting an error This is my code : [CODE]Imports System.Net.Mail Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load SendEmail() End Sub Public Sub SendEmail() Dim client As New SmtpClient() Dim sendTo As New MailAddress("shtrees@gmail.com") … | |
Hey I want to control a textbox to only allow numbers, backspace and a certain length. Ive tried with the IsNumeric function but I cant seem to get it to work. Thanks. | |
im a beginner wid vb .net and need to clear the air wid connecting a database file created on sql server 2008r2 wid vb.net 2008 for a project..plz nebody help from scratch regardng retriving,insertng n modifyng data using vb.net code..awaiting.... | |
How i can; Get a image from webcam with a sub or Function i dont want dll or anything just a sub or function. Thanks now | |
So I made a script to upload a file : [CODE]<html> <body> <form enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" /> Choose a file to upload: <input name="uploaded_file" type="file" /> <input type="submit" value="Upload" /> </form> <?php include 'global.php'; //Check that we have a file if((!empty($_FILES["uploaded_file"])) && ($_FILES['uploaded_file']['error'] == 0)) { //Check … | |
Hi all! I m trying to filter a datagridview (connected to sql server). I have used if statements in order to take all the possible combination but now I have 8 textboxes into which the user should insert values and filter the datagridview.. it is too complex.. I have asked … | |
Hi all I m trying to filter a sql db with many filter criteria which inert the user in textboxes .. i ve tryed this query [CODE]query = "Select * from T_INCIDENTS1 where IFF (txtPostcode.text is notNull) then Incident_Postcode='" & txtPostcode.Text & "') and iff (txtDMA.text is notNull) then Incident_DMA='" … | |
Hi Guys, I am having a little programming jam at the moment. i have a datagridview set up whenever the user selects a row i am able to capture the necessary details but what i really want is the next row providing that the user selects the previous row. example … | |
Hey all, I'm trying to show some concatenated data in a CheckedListBox so that users are able to select the data for use later on. Here is the code I am using currently: [CODE]Dim con As New MySqlConnection Dim theQuery As New MySqlCommand Dim theTables As New DataTable Dim theAdapter … | |
[CODE]Option Explicit On Option Strict On Public Class workschedule Public Sub Start() Dim choice As Integer = -1 While (choice <> 0) WriteMenuText() choice = Convert.ToInt32(Console.ReadLine) Select Case choice Case 0 Case 1 Week() Exit Select Case 2 Nights() End Select End While End Sub Public Sub WriteMenuText() Console.WriteLine("-------------------------------------------------------") Console.WriteLine(" … | |
hello ! i am working on an application and i want to connect it with mssql database , i dont know about the version of installed mssql server at the pc , how can i get the version of installed mssql server so that i can connect my application with … | |
I have an application which calls an external process. I would like this process to be open as soon as it is called. i.e. with no user interaction. This is because I would like to send Keys to it to interact. I know how crude this is but this is … | |
Hi all, I need help with a code to search Sheet1 and copy to Sheet 2. I have attached a Workbook to simulate what I want to accomplish. I want to press a button on Sheet2 which would run the macro a search dates on Sheet1 and copy the name … | |
Hi, I'm currently trying to program a sudoku solver. As a beginner I wrote pseudocode to establish what I'd have to do. One of the first things was to make sure each number in each of the 3 x 3 grids aren't equal to any of the others. Here is … | |
I'm writing the following bits of code for a SaveFile Dialog box in Visual Basic 2010.NET. The code works well as the XLSX file is created and opens in Microsoft Excel. However, the problem that I am having is that if the program overwrites a file, the user is getting … | |
[CODE]Public Class CurrencyConverter Private summation As Decimal Private sum As Decimal Private curryncy As String Private exchange As Decimal Private final As Decimal Public Sub Start() WriteProgramInfo() ReadValuesAndSumNumbers() WriteResult() End Sub Private Sub WriteProgramInfo() Console.WriteLine(vbLf & "++++++ Finnish input type 0 ++++++") End Sub Private Sub ReadValuesAndSumNumbers() Dim done As … | |
Do you know how to use an http post using this code? This code is given by nowsms to use their mms sending but I don't know how to use it in my vb.net application. Here's the code: [B]POST / HTTP/1.0 Accept: */* Content-type: multipart/form-data; boundary=”–boundary-border–” Content-length: xxxxx (size of … | |
Hi, I seem to be having a problem with displaying data in a second form. I've created a linear search algorithm which works just fine - it locates the records from the database. I now want to be able to display the record in another form, I've attempted this using … |
The End.