20,284 Topics
| |
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 … | |
hi daniweb members I am using visual basic 2008. i have a listview and a datagridview which have both 3 columns like ProductCode,ProductName & ProductPrice. Now i want to pass listview values to datagridview in the same sequence. I want that when i double click on any row in the … |
The End.