20,899 Topics
![]() | |
Hi All, I want to ask you a question. Can you tell me how can i record a call from my phone to my PC? What method should i adopt? Should my telephone is is connected to my PC through a wire? | |
This is my code to create textboxs with button. Now I need a button which to delete all the text box. What is the way of doing it ?? AND can I write the code below as a class and I just call the class in the button only?? [CODE] … | |
I'm creating a game here using a vb.net.....to make my project more interesting, i'll add a flash animation before the game begins to serve as the story of the game....but the problem is i don't know how to add it into a form....i didn't found anything in the toolbox that … | |
Hi i have a problem where i want to use 2 radio buttons to view sum data related to them. e.g. if i select DVD then all the dvd's listed in my database must display, and if select CD then all cd's will be displayed on my data grid(2 radio … | |
can u help me plz people with this problem? i have 2 checl boxes bol1 and bol2 and i stored a record after ticking one of them and now i want to make a function to retrive what i stored in the access data base in check boxs as well … | |
hi friends,,,,, i am doing an gaming project in vb.net 2008.. my problem is i wrote code to play the video in button click,, so codes after the video playing code in button click must stop for 5 seconds.... how to do it???? i cant use threading.thread.sleep(5000) if i use … | |
This is my matrix. I want to solve C,D and E <uploaded> Can anyone give me the sample codes to solve C, D and E in VB.Net? Answers are C=0.4857143, D=0.0000000 and E=-0.1428571 (manual calculation) Thanks! | |
iam reading scale values from a scale in vb.net. now iam getting values like 33333kg and 55555kg and I want to format it such that I get values like 33.333kg and 55.555kg | |
I was wondering if i would be able have the saved items as a way to "login" to my program. in the first form (form1) i have a masked textbox and a button. you type your "pin" into the masked textbox and click the button to enter. i would like … | |
i have a small sample seral comms sample project and its working great .however i want it to run such that it will run continually 24 hours a day and not stop. I do not want any unauthorised persons to close the system, or stop it in any way, any … | |
I build my project then I open the EXE file at the RELEASE FOLDER, when generating in a crystal report a error message pops up "LOAD REPORT FAILED". | |
Good Day!. I have a big problem. I have here a combobox1 in form1, combobox1 has a value of Mr.A and Mr.B. and the form2 has a evaluation question with 5 radiobuttons. I want that if i choose from that combobox1. The form2 will know who i choose, and when … | |
![]() | I am very new to VB.NET, I want to create a Forms Application to load a text file that has lets say 50 lines, some of the lines are identical and those are grouped together and some same format but different make up. Have it loads it into a text … ![]() |
Hello Everyone, I hope this is the right place i'm posting this, basically I need some help with Visual Basic 2008. We've been set a task to build a really basic web browser with one advanced function. I've done the web browser with the basic functionality, but this advanced feature … | |
Hi all, How can I make the items in a standard values collection identical to the items contained in a previously defined (dynamic) array of strings? Here's a snippet; [CODE] Public Class ElementList : Inherits StringConverter Public Overloads Overrides Function GetStandardValuesSupported(ByVal context As ITypeDescriptorContext) As Boolean Return True End Function … | |
My code is: [CODE]System.Data.OleDb Public Class Form1 Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data … | |
I'm using this encrypting function psoted by a member: [CODE]Public Function SimpleCrypt(ByVal Text As String) Dim strTempChar As String = "" Dim i As Integer For i = 1 To Text.Length If Asc(Mid$(Text, i, 1)) < 128 Then strTempChar = _ CType(Asc(Mid$(Text, i, 1)) + 128, String) ElseIf Asc(Mid$(Text, i, … | |
Hi all i have project that can creating watermarks for images but not hiding message like ( Steganography ) , I do not want Steganography .. i need ( hide a message in the watermark ) i hope to find solution , thanks :) | |
I want to create an xml file to disk on button click of a form.it takes in data from within the form and adds it to the respective fields in the xml file. my XML file contains the foll code [CODE]<?xml version="1.0"?> <database server="WELLFLOWGULF;" name="TRA" userid="sa" password="sdsds"> </database>[/CODE] on button … | |
Hello experts, I never used [B]"Dataset"[/B] in my project. But I know this is used for the set of tables. Can I use this to authenticate from more than one table? Tables in my Database are: Login, Student, Student Details, Fee, Teacher, Teacher Details. I want to use dataset in … | |
Hello My first post here. I'm trying to create a dynamic html page from vb.net. Here is my code. I get the error "'DataTable' is a type and cannot be used as an expression" Do you know how to solve this : [CODE]' Create a new XML document. Dim xmlDoc … | |
Hello. i will like to generate four numbers at random, that will total 100 and assign each to a textbox. thanks for your help. | |
Hi, i got a form with 10 button and i want to get the button name of the mouse click in a string variable i tried this: [CODE] private void Button_Click(object sender, RoutedEventArgs e) { string buttonName = ""; if (sender is Button) { buttonName = ((Button)sender).Name; MessageBox.Show(buttonName); } } … | |
Hey guys, Having a bit of a problem. I have loaded a list of values from a mysql database into a CheckedListBox and want to be able to select them to eb used in a query. The CheckedListBox shows the data as table_name.attribute_name, and when an item is selected I … | |
My wife and i own a contemporary pottery studio that offers what we call pottery perks program. Where in we offer a 20 gift certificate for every six times a person reaches a $20.00 limit. Having a lot of customers and keeping our little pottery perks information cards are starting … | |
i ve got two radiobuttons one labelled male and the other labelled female and a client is supposed to choose which gender they are and insert it into the other database along with other information. I want to know how I can insert the chosen value (male or female) into … | |
Hello Friends.... I have a patient registration form in my project...in which I have to browse the image of the patient save it in the database and when I need the details of the patient again the uploaded image should also be displayed.... Please help me in this... I have … | |
i have a combobox i want to show all the student name in it , i am using mssql database , and when we select student a textbox will show the rollno of that student , please help me | |
i need on how to draw a simple bar chat on my form like the picture below. for A B C D. Each time it draw at random. all % should be equal to 100%. | |
I have four crystal reports already created. I want to incorporate those reports into an application whereby when a user clicks on a menu item the report opens in a new tab providing that it is not opended already. i would be grateful if i can have some insight from … | |
Hi All, I want to build an application that will navigate a website that contains user login form and automatically logged to it and retrieve data from it's table. Is this possible? What would be my best approach here. Thanks in advance. -renzlo | |
I have a dynamic form, which contains an empty listbox and a button at first. When the button is clicked, an item is added to the listbox and a new PropertyGrid is created associated with that item. What I want to be able to do is change the name of … | |
i have a doubt i have created a application in which i have used a VLC (Video LAN player) and i have given in the property in the option MRL i gave the video address which should be played, when i executed then the video was playing and when i … | |
Hello Friends, I have got confused with one topic Scenario is such that.... I need to browse a file and copy the file from one location to another.... I am done with the file copying but I need to add the list of all files present under that folder in … | |
iam making a simple computation but iam having a problem with this [CODE] If btnAdd.Text = "&Add" Then cbleave.Enabled = True dtFrom.Enabled = True dtTo.Enabled = True dtApplied.Enabled = True clear() btnAdd.Text = "&Save" btnSearch.Enabled = True sql = "SELECT IFNULL(MAX(cnt),0) FROM tblleaveapp" NewDataSet(sql) Else If cbleave.Text = String.Empty Then … | |
Hey guys, I'm doing a project for university and i have hit a wall. I have a gridview that is connected to a database as shown below: [url]http://i40.tinypic.com/fys9i.jpg[/url] (menu is incomplete) I want a drop down box that is populated with the type of food such as (pizzas, burgers etc … | |
Well something is missing of me (again :P) and I need some help.. I am trying to get files for my database and load it into comboBox. But for some reason I get systax error.. As I mention into other post I am not familliar with VB so please check … | |
hello please i need help!! i have 7 forms in my windows application and the 7th form,only have a datagridview that has been populated from a bounded database. one of the columns in the datagridview contains date, so i need to check if the date in the column is today,then … | |
can anyone help me with this? im having trouble with renaming a file.. the last 2 digit of DT102T01 up to DT102T15 will count according to the number of files inside the Data_PRN folder. please help! any suggestion will be appreciated.. tnx '===== make directory & rename file . prn … | |
the given error is that this crdb_adplu.dll is missing or cannot be found in the path specified: file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' i already tried downloading it and adding it to the folder and editing the config file with : <startup useLegacyV2RuntimeActivationPolicy="true"> … | |
Hi everybody, its Leo again I'm having some problems calculating the values for two diferent fiels of the datatable. it return " [COLOR="Red"]Object reference not set to an instance of an object[/COLOR]" this is How I feed the datatable [CODE] Dim daProd As New SqlDataAdapter Dim conProd As New SqlConnection … | |
I have a problem in vb.net when i connect database to the vb it show me this massage for all tables that i have in the database "Could not retrieve schema information for table or view Attendance." when i press OK the fields do not show it looks like the … | |
i found this code but it record mic device only . [CODE]Imports System.Runtime.InteropServices Imports System.Text Public Class recordvb <DllImport("winmm.dll")> _ Private Shared Function mciSendString(ByVal command As String, ByVal buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hwndCallback As IntPtr) As Integer End Function Private Sub Button1_Click(ByVal sender As System.Object, ByVal … | |
Hi everyone; I am working on a windows form project on VB.NET and am required to take the user submitted text from the textboxes on the form, to a networked database. I am guessing using an SQL database, so how would I set this up and implement all of this? … | |
Hi all , May i know should I set an object to nothing even after implementing an IDisposable method to my custom class ? Correct me if i am wrong , if you set it to nothing you are just setting the object to its default value . As you … | |
Hi, I keep getting the error: Object reference not set to an instance of an object. When attempting to check if a database record is Null or not using the line: [CODE] If IsDBNull(dSet.Tables("Subscriptions").Rows(incr).Item(8)) = True Then addsub2() End If [/CODE] I'm sure that I have opened and closed the … | |
0 down vote favorite share [g+] share [fb] share [tw] I have a class in which i have a method name method() returning a String in the form of JSON string. The output is :: [CODE] [{"ID":1,"Names":"Shantanu"},{"ID":2,"Names":"Mayur"},{"ID":3,"Names":"Rohit"},{"ID":4,"Names":"Jasdeep"},{"ID":5,"Names":"Rakesh"}] [/CODE] Now this in the form of data that i want to Populate … | |
I want to add a new PropertyGrid control every time an item is added to a ListBox. I have a ListBox, with an "Add Item" button underneath (and also a "Remove Item" button). Every time an item is added to the list, I want to create a new PropertyGrid corresponding … | |
[code]Dim cmd As OleDbCommand = New OleDbCommand("SELECT username,password FROM tblUsers where username=? and password=?", conn) Dim usernameParam As New OleDbParameter("@username", Me.txtUsername.Text) Dim passwordParam As New OleDbParameter("@password", Me.txtPass.Text) cmd.Parameters.Add(usernameParam) cmd.Parameters.Add(passwordParam) Try connectDatabase() Dim read As OleDbDataReader = cmd.ExecuteReader() If read.HasRows Then read.Read() If txtUsername.Text = read.Item("username").ToString And txtPass.Text = read.Item("password").ToString Then … | |
Hello Friends, I have a patient register form in my project... When the patient details will be saved in the database it should also be saved in the text file... I am dynamically creating a folder with patientid and firstname in that folder I am creating a text file patientreg.txt … |
The End.