20,284 Topics
| |
Hi everyone. I got tuday an exercise: Write a program to calculate the average of three exam marks. The input and output should be done by subprograms GetMarks and DisplayAverage respectively. the calculation should be done by a function, CalcAverage. This is my code: [code]Private Sub btnCalculate_Click(ByVal sender As System.Object, … | |
I switch from vb6 to vb.net.. and it's not that easy to familiarize .net syntax :) here's what i want.. 1 webbrowser1 1 button1 ( multiline ) 1 textbox1 how can i view the webbrowser1 source code in the textbox1 by click the button? -------------- this can be done in … | |
hi...can anyony help me how to access a existing textbox using threading..i need it for auto complete functionality...... plz S.O.S....... | |
Here's my submission to sort a string of characters in numeric, then lowercase, then uppercase. It may be useful, it may be not. [code] Function SortStringUpperLower(ByVal strString As String) As String Try Dim arrString() As Char = Nothing Dim strReturn As String = String.Empty Dim chrPrevious As Char = CChar(String.Empty) … | |
I have two tables 1) tblRequests and 2.) tblMainTags. The Fields in tblRequests are Tag_Request_No, Employee_ID , Accepted, Accepted_Date, and Accepted_Time. The Fields in tblMaintags are Tag_Request_No, Tag_ID, Completed, ... The fields 'Accepted' and 'Completed' are set to YES/NO. I want to display in a datagridview the two tables joined … | |
i need a screen short for vb.net sql sever connection | |
hi! I am quite puzzled here. I have a program inwhich when the user clicks on the command button, a random line should appear but only once. I am storing each line with different variables. Right now i have the random line coming up but it is repeating itself. For … | |
hi i have a problem when connecting my application with sql server installed in a different server i am placing my connection string in this way : Public Const strConnection = "Server=SERVER\QTMLSQLSERVER;User Id=sa; Password=sa; Database=QTML_DB but its not working. | |
In my code I want to upload a file to my project(named Musiker), under the folder music. Here is what I did so far, it's not working. 'to get the path where to upload it, I did the following Dim strpath As String = Application.StartupPath Dim num As Integer = … | |
How can i retrieve the information from Ms Access and put it into a VB.net 2D Array? Urgently need help in this | |
hi i m working on Student Database Management system, I have used button s for insertion, deletion, and update. Insert and delete button is working but update's click gives syntax error: Pls help as soon as possible: [code] Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "update … | |
Hi everyone, I'm creating a database installer where I have some code to create database, tables, stored procedures, etc. I don't have problems when creating the database, tables and inserting required data. My problem is when my code gets to the stored procedures section. Here is what I do: I … | |
Hi, I'm current working on a project that allows the user to store customer and job details. At the min, I have a form to view and add customer records, but also edit/delete etc. customer records. I also have a form to add a particular job type. I'm working on … | |
hello i'm newbie here. i'm finish to develop a registration system using vb 2008 exp edition. so, i want to connect my standalone system with LAN network. i want to access database from other computer and be use in my system. i'm use crosscable to connect with 2 computer. before … | |
I am able to have checked menu items show the variables that I need to show, but they don't uncheck themselves unless I go back and click them. I want to have only one checkmark on a country at a time...is there any way? I've tried if...elseif , but that … | |
Hello, I'm very new to VB, I have a small problem. I'm simply trying to allow the user to change the ForeColor of some calculated totals that appear in Read-only text boxes using the Color Dialog box. I'm not sure what I'm doing wrong, any help would be appreciated. [CODE]Private … | |
hey guys.am working on a program. i have a timer and want it to countdown to zero when the button is clicked any ideas i'd appreciate.cheers. | |
hey im in the middle of creating a little program that allows a user to search and if in admin mode can delete and add a new record to the database i have my search part working fine i have made the query using the dataset.xsd query builder i used … | |
dear all I am trying to send a mail using Web.Mail in vb.net. It is working fine but when I try to attach the file using Upload File Control of asp.net, event is not getting fired on which the function is getting called to send mail.. sending the code too. … | |
I am trying to consume a web service using VS2008. The code below works in VS2005 but not VS2008 I, suspecting it's to do with WCF. Please can someone help me to solve the puzzle? 'Old code that works [CODE] Dim o As New MyWebService.Name Dim pr As New System.Net.WebProxy("100.0.1.1", … | |
Hello there. im pretty much new to mobile applications and i wanna know whether we can create mobile applications for nokia (N series) and install them in the phone using vb.net.. i have gone through the smart Device option available in .net and it seems to be valid only for … | |
plz send a solution for this [code=text] "update login SET password=@password,username=@username where username=@user" [/code] while executing i got the error"syntax error in update statement " plz reply me how can i solve the error | |
My brain hurts again. I want to take a collection of PointF objects and crate a path that is the outer perimiter of the collection, so that I don't get a criss-cross problem. I'm assuming no wierd shapes with undercuts; just a collection of 'border' points. The best I could … | |
Hi i'm creating my Data Access Layer and I want to return my object but not all the fields so this is the code i'm using [CODE] Public Function BasicSearchProposals(ByVal searchvalue As String) As IEnumerable(Of DCProposal) Dim dc As New PPDataContext() Dim proposals = From p In dc.DCProposals _ Where … | |
hi out there; when i use an array to pass as argument between an encapsulated class to a form1 through property get. when i start using this array on form1 i get the error "late binding not allowed" how can i solve this problem??? Thanks in advance | |
I wanted to delete all of the TextBoxes that I put on a form that start with "tbx". The below code only deleted some of them. [CODE] For Each ctl As Control In Panel1.Controls If ctl.Name.StartsWith("tbx") Then ctl.Dispose() End If Next [/CODE] So, I took it a step further in … | |
[b]Split from - [url]http://www.daniweb.com/forums/thread91396.html[/url] [/b] im having the same problem with this right now, ive been able to add it into myown form but not been able to create new database items such as names and things like that. ive tried using the same style of SQL statements but nojoy … | |
Yeah I was stupid and pressed (X) on all of the bars to the left you know the "Solution Explorer" I think and alot of more, how do I re-enable them? | |
hello everyone... i`m totally new to vb actually.now using vb express 2008.i`m currently trying to create log in function.basically, i`m already create database (database in vb 2008 itself) for login,which the login table contain 3 columns, Username, Password and Designation.example : [B][U]Username[/U][/B] -- [B][U]Password[/U][/B] -- [B][U]Designation[/U][/B] jack -- 123abc -- … | |
Can anyone tell my why the code... [CODE=vb] Form1.Controls.Remove(myCustomControl) [/CODE] ...does not remove the control. Because whenever I remove a control and add it again, it does not Load but rather just changes its visibility from false to true and all the variables are not reloaded. I tried to use … |
The End.