20,899 Topics
![]() | |
Hi ALL, Plz tell me how to retrieve data from mysql using vb.net as frontend. I created database in mysql and able to insert data from vb.net but i dont know how to retrieve data from mysql. Plz help me to perform this action. Plz post your reply for my … | |
My [B]first column does not align to center[/B], although the sub-columns aligns perfectly [CODE=vb] Listview1.Columns.Add("Column1", 100, HorizontalAlignment.Center) Listview1.Columns.Add("Column2", 100, HorizontalAlignment.Center) Listview1.Columns.Add("Column3", 100, HorizontalAlignment.Center) [/CODE] | |
Greetings I have a USB RFID scanner. While I have this form1 up, I want to send any keyboard input and put it in a textbox which is in another form(say form2). I tried using this code but to no avail. The first form is named "MainMenu". Every time of … | |
Hey guys. I was wondering if u could help me with some code i was working on. im making a program like notepad called wonder notes. so far its goin pretty good but i was wonder if u could help me with some code. i want the program to load … | |
Hi,Im converting VB6 code to VB.net..i got following code from converter In vb6 myForm.show vbModal method is triggering Got_Focus event. But in the foll code,showDialog() method is triggering Load event.I need Enter evwent to be triggered which is equivalent to Got_Focus. Is it possible to do so?? pls help me. … | |
Hello in this code i'm like counting the interest of the start capital and doing this untill the start capital is as much worth as its double but now beside of that i'd like to count with a for next the years so like start capital 100 interest 5 year … | |
Hello , i have this excercise i have to learn for my exam tomorrow! I just have to do with a random word these things (eg. windows) w w swodniw wInDoWs , *I've been searching a lot but couldn't find* wi i *it anywhere* win n If you can help … | |
Hi, In my program, i have created 10 richtextbox dynamically. in all richtextbox i gather text form various websites. All is going fine. now what i want is- i need to print all/selected richtextbox text to printer and also saves it to Word file as following formate: * Richtextbox1 (or … | |
Help i need to import excel to my listview using adodb or oledb but i dont know how? in vb6 i use adodb and the code is like here Dim lngI as Long Dim lvItem as listItem *'adodb connection goes here...* *'then this code will import all excel data in … | |
Hi to all, I'm using the WIA Aut. Library [url]http://www.microsoft.com/downloads/details.aspx?familyid=a332a77a-01b8-4de6-91c2-b7ea32537e29&displaylang=en[/url] , trying to capture photos from 5 digital cameras (Nikon D90) USB-connected to my pc. Now, I partially achieved my goal, what I do is: - loop through the attached devices, connecting to every camera; - fotocamera.ExecuteCommand (WIA.CommandID.wiaCommandTakePicture) ; - … | |
Query to make movement of a record I have this tables User Description Item UID Name DeID Dgroup ID DeID Name 1 Jose 1 Printer 1 1 Stylus 2 James 2 Monitor 2 1 Epson 3 2 Viewsonic Transaction Details Ttype IID UserName NewUser Release 1 Jose Release 2 Jose … | |
**Please Help Me! I'm Getting this error:** > Error 2 C:\Users\Nick\Documents\Visual Studio 2010\Projects\HTMLGrabber\HTMLGrabber\Form1.vb 143 'System.Data.Keywords' is not accessible in this context because it is 'Friend'. 38 HTMLGrabber **My current code is:** Public Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged Dim line As Integer = RichTextBox1.GetLineFromCharIndex(RichTextBox1.SelectionStart) Dim … | |
Frusterated... Should be simple. I have several forms that all do the same thing and I re-use the same basic code in all of them. But this one form is pitching a fit. I have a DataGridView that is able to read data I have saved in a local DB. … | |
Hi all.I am trying to send mail through my vb.net application but i am getting error "Failure sending mail." Can any1 help me to solve this problem?Below is the code I have written. Private Sub Send_Mail(ByVal SendTo As String, ByVal Subject As String, ByVal Body As String) Dim strFrom As … | |
How to view ms document (doc, docx) in richtextbox. | |
Hey i am having trouble creating a piglatin converter using dynamic arrays in vb this is my code so far. the problem is i cant convert multiple words into piglatin Private Sub insertWay(ByVal convertWord As String) 'function will add -way to the words that do not contain vouls Const nonVoul … | |
The idea would be to read the items of Listbox1 (one-by-one) and run a query (Listbox1 ->Field1) and display the result (Field2 -> Listbox3) in the same Listbox3. For some reason, only appears in Listbox3 the result of the last item of Listbox1. Dim con As New OleDb.OleDbConnection … | |
I have a datagridview bound to a datatable and it works great. However, when I try to programmatically change the datasource property to a different existing table, I get a blank datagridview with no cells. Although I have tried many bits of code to remedy the problem, this is the … | |
Hello, Hii friends, I want to know how to connect sql server 2005 to vb.net windows application 1)is there any connection string ? 2)if so i am using windows authendication in sql server 2005 management studio so am not entering any user id and password to enter in sql server … | |
OpenConn() For Each li As Windows.Forms.ListViewItem In ListView1.Items With OleDa .UpdateCommand = New OleDb.OleDbCommand() .UpdateCommand.CommandText = "UPDATE [Inventry] SET [CODE] = @CODE , [ITEM] = @ITEM , [QTY] = val(QTY) - @QTY , [SPRICE] = @SPRICE , [PPRICE] = @PPRICE WHERE (CODE = ?)" .UpdateCommand.Connection = Con .UpdateCommand.Parameters.Add("@CODE", OleDb.OleDbType.VarWChar, 50, … | |
im using many textboxes one button and one datagridview, i want for example, textbox1.text to be shown i first row of column one, textbox2.text to be shown on first row of column2 and so one ... when i press button1. after i press button1, textboxes to be clean and to … | |
using System; using System.Data; using System.Collections.Generic; using System.Linq; using System.Text; using MySql.Data.MySqlClient; using System.Windows.Forms; using DPUruNet; using System.Drawing.Imaging; using System.Drawing; namespace UareUBiometrics { class HelperFunctions { private static Fmd[] fmds; private static Fmd[] allDBFmds; public static Fmd[] GetAllFmds { get { return allDBFmds; } } private static string[] allUserNames; public … | |
In my app, I have a text box that takes the text and transfers it to w Word doc for printing. It does this with the bookmark feature in Word. On the Word doc, I only have "X" amount of space. The bookmark in Word will auto size and fill … | |
Hello guys, I'm facing a serious problem now in my vb.net(VS 2005) project. The problem is that I want to update automatically my stock when I enter the purchase voucher and keep the purchase voucher detail as well. I can do everything except the automatic stock update. YOUR VALUABLE HELP … | |
Hi guys... i want to delete data from datagrid in mysql...i have also done update query using same datagrid... but i m not able to delete data... my code is <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'classic'; var source = … | |
i created a database with Item_No,Item_name,Qty,Price,Total,Grand total i took a form and dragged and dropped that database as details view. first i arranged labels in row format and their respective text boxes under them. and i made copies of text boxes of first row text by holding Ctrl key upto … | |
hi, can anyone please check why im getting dataype mismatch error... im using combobox and msaccess db which consist of formNo(autonumber) LastName FirstName MiddleName Address (text) ... if i use address as valuemember there is no error,, but if i use FormNo as valuemember then there this datatype mismatch error.. … | |
I have a question. Does anyone know of a way to scan an image into vb.net, and then save that image as a multipage tiff? I would need a redistributable. I have been looking for a library that will do this, but every one I have found does not meet … | |
Hello Community, I was wondering if there is a way to to use the webbrowser to download a file silently without the download file dialog coming up. What i want is to use `Browser.Navigate("Download Path")` and i don't want the file dialog to show up i want it to just … | |
Hi, I have a delivery challan and it should be printed 3copies which has setting in crystal report itself. What i want is it should be printed on each copy as "Original", "Duplicate", "Triplicate" etc. Since I have written a single line of code to print ther crystal report by … | |
I am trying to use a combobox in a windows form for windows CE mobile device with sql server compact installed. I am using visual studio 2008. I have two sdf databases - MobileArticles.sdf and MobileOrders.sdf MobileArticles.sdf has a table Articles(name, weight,barcode,...) and a table Clients(ClientID) MobileOrders.sdf has only one … | |
Hi All, In my opinion, this is the best way to read in text from a csv file. Take for example if you are importing addresses: "1 Main Street","SmallTown","SmallCounty" The above is fine and easy to parse in BUT what if an address like this was entered: "App 1A, Tall … | |
Hi All, Trying to add items from listview to datagridview, but keep coming up with this error: "Specified argument was out of the range of valid values. Parameter name: rowIndex" I can add one row with no errors, but when I try to add two or more at the same … | |
Hi all I'm trying to shade a cell based on a date difference between column 7 & 8. It seams to work accept column 8 seams to be the one being shaded instead of column 7. I have googled but can't find a solution to have the calculatin being made … | |
Hi Is there a way that we can bind two textboxes together. I have two forms. The 1st form has textbox1 and is the main form. The second form is a edit form and it contains textbox2. I would like to open form2 and see the value of textbox1 and … | |
For whatever reason beyond my understanding did my DB start this problem. I got 2 tables in my database. 1 dealing with personal info 1 with dates and time To keep my startup form empty I have the first row empty in both tables. But for some reason after I … | |
Hi, I want to know what code should be used in order for me to import data from an excel file to dataset and then adding it to the database, how can it be done? thanks | |
Dear all, I understand the form closing event. But I want to detect when my app. is closing. It needs to update a status into the database, and only when the app. is closing. I have multiple forms in my application and people can close a app with the X … | |
| |
I am creating a random number guessing game. I have 6 options. 3 Game playing levels and 3 timer levels. I have my form display with 6 radio buttons: radRookie radVeteran radPro radThirty radFourtyFive radSixty You select your level and time. Then you have a text box to enter your … | |
hi The idea is to make DataGrid contains a field of type combobox it have another data source to choose from those and save data in the DataGrid , this is possible and without any problems.. But when make Parameters to filter data in the combobox and when i try … | |
hi there. anybody knows how to display conntents of (SQL)database in vb.net using label? | |
Hi, Im new in VB.Net. im having trouble with filling the datagridview with data. the program seems to skip the part where i declare the **datagridview datasouce** and only executes until **da.fill(dt)**. here is my code, hope you could help me. thanks in advance. Imports System.Data.SqlClient Public Class Form1 Dim … | |
hi dears.. i have really big problem with save values of checkedlistbox in one field but i can't do it..what can i do?? is it a database or code problem?? i want the data save like this: 1;2;3 for example..is that possible?? plzzz help.. | |
We are using digital persona for our biometrics. We can already save employee ID, employee name and assigned finger .Our problem is that we dont know how to save a fingerprint template to a database and retrieve it so that it can still be read and verified by the biometric … | |
Hi, Everyone, I've coded a program that uses a web browser control and loads a java applet, the process created when the java applet was loaded is java.exe, then on another tab, I've executed again a java applet and created again a java.exe process, now I need to kill the … | |
Hey guys. i was wondering if anyone knew any good tutorials for making an audio software, similar to audacity or mixpad. i prefer it to be in vb.net but it can be in C# or C++ too. thx! | |
i want to click on a row in grid view and the details of each attribute can show separately in textbox field. i had type this in my coding part, but it doesnt work. may i know how to do it? thanks you. Dim text As New TextBox Dim sql_productname … | |
Hi Guys Can anyone give me an example on how to retrieve the value 16 in bold under the tagname <td>In process</td> with a webbrowser and insert this value to a texbox. Thanks <tbody> <tr class="odd"> <td>In Process</td> <td class="number">***16***</td> <td class="number">1</td> <td class="number">01:16:48</td> <td class="number">02:54:00</td> <td class="radio"><input type="radio" name="queue" … | |
Hello programmers! I made new software, LD File Browser. This software contains ListView but this ListView has error. Software works fine when I run it on F5 (debug), but when I run .exe icon I got error when I select different item in ListView. Here is the code: TextBox1.Text = … |
The End.