20,899 Topics
![]() | |
Dear Developers SQL, Table CODE has data as following Code------product 1-----------Mango 2-----------Potato 3-----------Orange SQL, Table SALE has following data Code------Product 2----------- 3----------- I want to fill sale.product column with code.product columns as Code------Product 2-----------Potato 3-----------Orange What query should I USE? Please help | |
Please send some sample coding for the Dot Net windows base Storage class or give some tutorials. It is urgent. Thanks KHCNS | |
hi to all i need a help from I'm using datagridview in my vb.net project. in that datagridview i use check box for null value check property if the user click that how i check if the box is check or not in a number of rows and know how … | |
hi guys, i need some help again. my teacher asked to create a program wherein the user must log in to show another form. i was able to do it but here is the twist, my teacher again asked me to create the same program but this time, when it … | |
I am writing some code to retrieve data from SQL Server, including an image field. I load the retrieved image data into a byte array and then convert the array into an image. Finally, I want to show a thumbnail of the image in a picturebox control on my app's … | |
I have written a simple program which receive data from serial port i.e (temperature) and display on a line graph. but i require accumlate the graph data upto 10 minutes on screen. after that it again accumlate next 10 minutes data. **The Code of VB.Net program is below :** [code] … | |
How can i retrieve data information displayed on the hyperterminal or is there any way to redirect the information being displayed on hyperterminal to a file? | |
Hi I have made a program that i would like to be able to move from PC to PC; at the moment i would have to change the string directories within the program for each PC i would like top run it on. By having the user select their drive … | |
Hi, I would like to use nested tokens, a similar question was asked in this thread [url]http://www.daniweb.com/forums/thread110255.html[/url] While this did address how to do it with a single instance, I was wondering how to do it with multiple instances in a string. ie. input to textbox1 "I {love|like} {blue|red|orange|pink} its … | |
Hi, I really need line with this I can't figure this out . I am looping through items in a list view box, I am then adding them to a string. I need each new line in the listview box to be a new line in the string. I will … | |
im trying to add a new records to database access but when i click the button submit it say's Syntax error in INSERT INTO statement, OledbException was unhandled da.Update(ds, "MSHS") = syntax error INSERT INTO here's my code [CODE]Public Class StudentRegistrationForm Dim inc As Integer Dim con As New OleDb.OleDbConnection … | |
Hello everybody, This must be so simple but I cannot find it anywhere. I want to split a form into two section by a line. Example TopData ______________________________________________ BottomData I cannot find the functionality anywhere and it is really bugging me. Any help will be much appreciated Thanks | |
help me please........... here iam writing code for client side validations....... but the code is not properly working..... it will not show any error messages....... here my code is given below..... iam working asp.net with vb.net sql server database..... please check my code and give me the correct code........... [code] … | |
Hi, I found myself a difficulty on creating a image uploader to my database. This is because in .NET CF, I cant find File Upload control. Is there any other options and how should I do it? I know there is a OpenFileControl but there is a problem on saving … | |
I have followin codes [CODE]Dim dt As DataTable Dim str As New SqlClient.SqlCommand("select code,name from employees", con) da = New SqlClient.SqlDataAdapter(str) dt = New DataTable da.Fill(dt) dt.Columns.Add("city") Dim cmd As New SqlClient.SqlCommand("UPDATE dt SET city=(SELECT top 1 city FROM master WHERE master.code=dt.code)", con) cmd.ExecuteNonQuery() [/CODE] it says [COLOR="Red"]Invalid object name … | |
Hello, I have a project where I am using a listview to display a data received through XML. One of the columns called "STATUS" display only 2 text data, either "ON" or "OFF". I would like to know how to count how many times the word "ON" it is apearing … | |
Hello, How do I reinitialise a form load event? Example; Form1 Loads data from a Db and has 3 buttons, each button represents showing data from a different table onto form2 When form2 is initialise for the first time i can use an onload event, but if i go back … | |
Hi... I'm trying to add a name of a product to a Textbox...the name of the product is stored in a database. Now there is a Combobox with number in them....1 2 3 ect. Now if you select one of the numbers it must display that product name? I know … | |
Dear Developers SQL, Table1 has data as following Code------product 1-----------Mango 2-----------Potato 3-----------Orange Datagridview has THREE columns as Code----product-------qty I have following codes [CODE]str3 = "SELECT product FROM table where code =" & Val(DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(0).Value) dt3 = GetTable3(str3) If dt3.Rows.Count > 0 Then DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(1).Value = (IIf(IsDBNull(dt3.Rows(0).Item("product")), "", dt3.Rows(0).Item("product"))) Else MsgBox("Code Not Found", … | |
im making right now a auto sign up application for example in registering yahoo mail when i click a button in VB all information will be filled out and submit Example: [CODE] Private Sub btnFillUp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFillUp.Click Dim theElementCollection As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("Input") … | |
im trying to make a auto sign up in youtube but my problem is the " I accept" button doesnt have value in html so i try to use the id but i doesnt work help me please.... heres my code [CODE] Public Class Form1 Public Sub BHMNavigate(ByRef Wb As … | |
![]() | Hi I am ravi, this is my first personal interview in my career. Please comment me over my answers and my way of answering:) The questions are: My interview questions 1. Q: Tell about yourself? Me: I am N.Ravikumar coming from Unjapalayam; I am pursuing my B.Sc Information Technology degree … |
I have following codes [CODE] str2 = "select sno,name from employees where sno =" & Val(Me.TextBox1.Text) cmd2 = New SqlClient.SqlCommand(str2, con) da2 = New SqlClient.SqlDataAdapter(cmd2) dt2 = New DataTable da2.Fill(dt2)[/CODE] Now dt2 has two columns as sno and name But I want to add a 3rd column city type char(80) … | |
Have nice Evening! I have an error message of "[B]Overflow Exception was Unhanded by User code[/B]"when i am trying to exceute below very simple code. [CODE] Partial Class zeesant Inherits System.Web.UI.Page Dim x As Integer Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load x = (Val(TextBox1.Text) … | |
hi iam getting date as like '1/01/2010' from a dateofarrival(name of text box id) ....... i want to replace the ' from '1/01'2010'., iam interested to show as like 1/01/2010......... plsa help me,,,,,,,,,, here iam using asp.net with vb.net ........ here my coding is..... [code] Response.Redirect("check availability.aspx?ardate='" & dateofarrival.Text & … | |
I'm a novice at VB.NET and I'm having a problem with the compiled versions of my applications. If I take the .exe file (it's real small, like 40KB) from the BIN/DEBUG directory, it runs fine on most computers (I've tried it on 5), including Windows 7, Vista and XP. When … | |
I have been reading books trying to learn .net on my own. I am working on an exercise that asks me to create a 1MB file. what i have below does work, but it seems to me there would be a more efficeient way. It seems like what i am … | |
Hi everyone, I've created an application that runs queries against a SQL server (via Data Adaptors) in VB.NET 08 and returns the results to a DataGridView. It works great and returns my data, but when I switch to a different query that returns different columns, the DataGridView keeps the old … | |
Hi, I am using datagrid to show my products. The products have a image and I should show it. Problem is, datagrid is only text and there was some reference on creating custom columns but I still dont quite understand (Mostly are custom url columns). Any help please, thank you! | |
How do I curve the edge of a User Control? | |
our group will be developing a pawnshop system and one of our teacher's requirements is to send SMS via infrared. the PL we're using is vb.net. hope you'll help me people :)) thanks in advance. :D | |
Can we use any C# or VB.NET controls or components in VB 6.0? or Is there any place where we can get free controls or components for VB 6.0? | |
Greetings, I am suffering a loss of sanity at the hands of this issue. I think i have something worked out, however, could someone shed some light and keep me sane? [B][U]Problem Description[/U][/B] It would be of interest to others if you could write a program that would allow other … | |
pls sent this code on <<Email Snipped>> | |
im am trying to find the best method to use for the following: I have an applicaiton that is going to be loaded 24/7 running in the background. what is the most efficient way to display the current date on the top of the form so that it changes on … | |
I am trying to update a sequence of records where the field WebSvc = No Here is the code [code] cn.Open() da = New SqlDataAdapter("SELECT * FROM dbo.DurexBOL", cn) cmdBuilder = New SqlCommandBuilder(da) da.Fill(ds, "DurexBOL") Do While ds.Tables("DurexBOL").Select("WebSvc = 'No'") ds.Tables("DurexBOL").Rows(0)("WebSvc") = "Yes" da.Update(ds, "DurexBOL") Loop Console.WriteLine("City updated successfully") cn.Close() … | |
Dears Datagridview column1 has data as follows 21/12/09 22/12/09 23/12/09 I want to display it in this format 21-12-09 22-12-09 23-12-09 This is datetime data type comes from table1 What Should I do? | |
Hey guys, Just trying different little programs. I was looking though a book on Visual Basic .Net and came across a little password-protection program (A very simple one). Problem is, that this was written for VB6, not the 2008 version, so i did a little editing as shown below: [CODE] … | |
Not sure if anyone has experiance with Active Reports In vb6, i used acive reports 2.0 and used a simple ado connector with dsn - user - pass to connect to a database and pull the data needed. Active reports 6 seems to be different and i am having problems … | |
Site is working fine in mozilla and safari but not in Internet explorer. I am also trying to figure out how to put a picture next to the name on the other side. [B]Below is the css and the xhtml codes[/B] [B]CSS [/B][CODE]/* layoutstyles.css */ /* Background color of box … | |
Hi! I am planning to create a system for my case study wherein i can Add tags from images and search for it by [B]"tags"[/B] such as [B]photobucket. [/B] For example i open an image to my system, and it's file name was [B]"WhiteHouse.jpg"[/B] and i added or[B] tagged[/B] it … | |
I have to do my project in computing which requires extract data from excel to VB for further processes. I am a beginner. I know a little bit about VB and Pascal. Thank a lot | |
I have created a CustonControl (NOT a usercontrol) and defined a DependencyProperty as following: [CODE=vb] Public Shared ReadOnly HelpBrushProperty As DependencyProperty = DependencyProperty.Register("HelpBrush", GetType(String), GetType(ComboBox_with_helpBrush), New UIPropertyMetadata("Select..."), New ValidateValueCallback(AddressOf StringProp_Validate)) Public Property HelpBrush() As String Get Return DirectCast(GetValue(HelpBrushProperty), String) End Get Set(ByVal value As String) SetValue(HelpBrushProperty, value) RaiseEvent PropertyChanged(Me, New … | |
What is wrong in these codes, it do nothing Please help [CODE] Dim oExcel As Object Dim oBook As Object Dim osheet As Object oExcel = CreateObject("Excel.Application") oBook = oExcel.Workbooks.Add osheet = oBook.sheets("sheet1") 'Paste the data. Dim j As Integer For i = 0 To DataGridView1.RowCount - 2 For j … | |
[code] Dim Briggs As New Z_SCART_CREATE_SALES_ORDER Dim P1 As New Briggs_N_Stratton.Zvscartordhdrin Dim P2 As New Briggs_N_Stratton.Zvscartorditmin Dim P2arr(1) As Briggs_N_Stratton.Zvscartorditmin Dim P3 As New Briggs_N_Stratton.Zvscartorditmout Dim P3Arr(1) As Briggs_N_Stratton.Zvscartorditmout Dim P4 As New Briggs_N_Stratton.Zvscartordtxt Dim P4ARR(1) As Briggs_N_Stratton.Zvscartordtxt Dim p5 As New Briggs_N_Stratton.Zvscartordmsgs Dim p5Arr(1) As Briggs_N_Stratton.Zvscartordmsgs Dim P6 As … | |
Hi, I have been searching for a few days now for a solution to my problem. Please excuse any programming faux pas as I am very new to programming. I have created a textbox array based on the number of 'Channels' on another form. This number dictates how many textboxes … | |
Hi All, I'm a student who really need help in this problem...what I need to do is to call/run/execute a subroutine using a varaible name from a subroutine. [code] Public Sub Main(ByVal subName as String) Call subName ' subName may be contain the value AAA or BBB End Sub '=========================== … | |
Hi friends, I am making a project on cyber cafe and i want to generate username and password automatically on different clicks. I am using txtusername.text=cstr(int(rnd()*1000)) It gives random numbers but in a same sequence like whenever i run and click on generate button it shows 973 again click 950 … | |
Hello All, I need some help to convert the macro I recorded in Excel into a working Vb.Net application. It involves attaching a file into a Excel cell. The file is a Word document named "File.doc". Here's the recorded macro: Sub DemoAttachFile() Workbooks("Book1").Activate Sheets("Sheet1").Select Range("B2").Select ActiveSheet.OLEObjects.Add(Filename:= _ "C:\Documents and Settings\File.doc", … | |
Please help me. Now i'm using VB.NET to update my project. I have webcame but i don't code for capture Image from Webcam Please help me. |
The End.