20,285 Topics
![]() | |
Hallo i'm Rinning an application with a sql database on pc1 it works fine but if i install the application on another pc i can't connect to the database i'm using SQL Server Management Studio Express 2 setup the connection but i cant find the 2nd pc where the data … | |
Newbie post. Please be kind. I am having terrible trouble creating a Audio VU meter user control in VB (Visual Studio 2008), and hoped somebody might be able to help. I need the simplest type of display - just a label on a user control where the width of the … | |
I'm stumped right now, I cannot figure out how to code something to get information from another form. This is what I'm trying to do: [code=VB] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "01" Then 'TextBox1 is in form 2. PictureBox1.Image = … | |
Hi all, it's my first time in this forum, I hope you can help. I've searched the web for a long time, couldn't find help, yet. I have a listview that displays a list of PDF files. When the user clicks on a row (in the "selectedIndexChanged" event), I display … | |
Hie guys.How do you write a vb function that returns the frequency of each word that appears in a given text file.e.g.if the word "the" appears twice,it would return "The word 'the' appears 2 times".This has to be done until the end of the file without searching for a particular … | |
I have some music files that are being played, in certain cases in my project. Where should I store those files? I created a folder "Musik" under my project and put it in there, the problem is, how do I get to these files, I don't know the path when … | |
Hi All, I want to know how to bind data to DataGridView Control. I have seen examples on google nd other sites. but all examples use DataBind() while in my program, it shows DataBindings() in intellisense. I cant find out how to do this. I have to bind data from … | |
Hi all i have checkboxlist populated from a table in database.now how can i store only checked items to database. | |
Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select ID from Customer where Company = ?" oledbcom.Connection = oledbcon Dim oledbparam As OleDb.OleDbParameter = _ oledbcom.Parameters.Add("@Company", OleDb.OleDbType.VarChar, 50) oledbparam.Value = frmNewCompany.txtCompName.Text.Trim Dim oledbreader As OleDb.OleDbDataReader = oledbcom.ExecuteReader Dim id As Integer While oledbreader.Read id = oledbreader.GetInt32(0) End While 'end of fetch … | |
hi, i'm creating application using visual basic 2008 express. It's great acctually, but I'm having problem creating report with it. Can anyone suggest reporting tools that can be used with VB 2008 express? I tried microsoft report viewer 2008, and it seems that vb 2008 express doesn't support report design … | |
When i insert jpg picture on the Form.two instance insert in the form Using Background image.Kindly help me .any help would be Greatly appreciated. Kindly find the attachment also. | |
Hi there I have the the following database structure: [B]Table Product[/B] Product_ID - Product_name - Product_issue_date [B]Table Sale[/B] Product_ID - amount - date Now i want to report the total of each product. The result should look like this: Product 1 - 5,000 Product 2 - 3,500 Product 3 - … | |
Hi. using the following code I am trying to read an xml stream [code] [code=vb.net] Do While (reader.Read()) Select Case reader.NodeType Case XmlNodeType.Element 'Display beginning of element. MsgBox("<" + reader.Name) Case XmlNodeType.Text 'Display the text in each element. MsgBox(reader.Value) Case XmlNodeType.EndElement 'Display end of element. MsgBox("</" + reader.Name + ">") … | |
hai friends, I dont know how to create database dynamically in vb.net.(if a button is clicked 4 databases in access or sql has to be created).similarly by clicking the delete button the specified database should be deleted.can you help me out with the coding. | |
Hello all, :) directly here is the issue: i want to choose the path to my database file for my DBdataset in a VB .net project during the runtime in the first form, and then i want to use that file in some other forms. the file could be on … | |
hello every1. i want the text box of form1 to be accessible in form 2 without declaring it as public. ive declared it as protected. but how do i inherit it in form 2. | |
Hi all, I am fairly new to programming, and I have two related Problems, 1, i need to capture keypresses globally eg. no matter what is selected if i press 'z' the program will end. the only way that i could do this so far is to have a handle … | |
Can somebody tell me the sites related to latest VB.net Interview Questions..Cz ui have interview on coming wednesday!!! I will be very helpfull. | |
Hi 1]Am new to VB.NET and m required to design the form for log in id and password connected to MS ACCESS 2003 containing the fields 1)user no 2)user id 3)type 4)password. Can you please provide me with the code for the same. 2]Secondly am required to make a splash … | |
ListView Properties- I set MultiSelect to False, LabelEdit to true,FullRowSelect to True. I have Listview with two columns. [B]1) [/B]When I select onw row in listview,On button click i want to get the index of selected row. I m getting it but using for loop,I want to know is there … | |
here is my code Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = ("INSERT INTO Customer Company, Address, Telephone values ?,?,?") oledbcom.Connection = oledbcon Dim oledbparam As OleDb.OleDbParameter = _ oledbcom.Parameters.Add("@Company", OleDb.OleDbType.VarChar, 30) oledbparam.Value = txtCompName.Text.Trim() oledbparam = oledbcom.Parameters.Add("@Address", OleDb.OleDbType.VarChar, 80) oledbparam.Value = txtAddress.Text.Trim oledbparam = oledbcom.Parameters.Add("@Telephone", OleDb.OleDbType.VarChar, 15) oledbparam.Value = txtContact.Text.Trim … | |
Hai, We are working in a project which handles lots of data. How many tables can we have in sql server 2000 so that it can be managed efficiently.Is there any rule for separating the tables. We store information like candidate details,interview process.... Thanking in advance | |
i have a problem in dropdown :suppose i select id from dropdown then i want name of the employee is displayed matched with that id is displayed in textbox : i have use the following code con = New SqlConnection(constr) adpt = New SqlDataAdapter("select * from reg where f_name='" + … | |
Hello I am coding an FTP program, the downloading/uploading happens in a seperate thread. The problem is now how to pause/resume the download (even on servers that don't support file resume), an easy/working way is to pause/resume the working thread with thread.suspend but it tells me that this function is … | |
hai, In my project, i have a task of uploading a photo attached to the application form to the form designed in vb.net.Can you suggest some ideas of how to work on this.Is web camera preferable. thanking you in advance. | |
I want to get image from the file..I m able to do it....But mine code do not close the file,after getting the image,I want to close the file.Cz after getting the image,I want to delete that file.....on Deleteing error is dere file is user by another process... Public Sub GetImagesContent(ByVal … | |
Sorry if my thread is place in incorrect forum. Hai All ... Could anybody help me? i'm praticing how to build the n'tier application. I have read some book tell about this, like "Building Client/Server Applications With VB.NET" by Jeff Levinson, beth massi video tutorial "building simple n-tier applications", and … | |
I'm designing chat application these days.. I tried several samples which i found from the web.. I designed Server and Client.. When i run client in my machine, server get it nicely.. but when server in my machine and client in other machine, server doesn't detect client.. I tried 5+ … | |
Hi all, I need a favor on SQL this time There are 4 tables as follows Employee(EmpID,EmpName,...........) Designation(Des_ID,Designation....) EmpProfInfo(EmpID,Des_ID,..........) Training(TrainingTypeID,EmpID,TrainingType,.......) When an employee allocated to a training their details will be inserted in to the Training Table I want to write a sql query so that I can select EmpID,EmpName,Designation … | |
Hi All, I am working on a windows application in vb.net. (School Management Project). My problem is that, when I am adding the Personal Details of a student,(which include enrolmentno(primary key in the database),name,class,section,etc), when I click the save button what I want is that the enrolmentno should appear on … | |
Well, can someone help me with regular expressions?? It's look, I need RE that block textBox empty. I tried everything, but I failed. So I did code something like this: This code below work very well. '''---------------------------------------------- Protected Sub editarNodeButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles editarNodeButton.Click Try … | |
Hi all, I want to run a dot net web application developed in C# (2003 ) in Apache. I have installed Apache 2.2.10.0 and also loaded the module mod_aspdotnet.so. But my problem is the ASP text box controls are not being displayed although the scripts within the <% %> tags … | |
I need help with my visual basic assignment! The program has to include an array with at least two strings. In the layout there should be one label which explains what the user has to do, for example "Write two strings" (or x strings) and one label that shows the … | |
Hi.. Could Everybody help me how to display preview image from scan image and set area size to scan and also convert to pdf when Acquire Image from scanner device I use vb.net to build this application thanx | |
| |
hi i am working in vb.net 2005 and sql 2005. i have developed backup and restore forms. in the backup form if i backup database, i need to list server dir and folders but i am working in client system. how to list server dir list? in my system connected … | |
if I want to send an animated GIF format picture, how do I save the picture in destination folder? I already using "System.Drawing.Imaging.ImageFormat.gif", but the GIF picture no longer animated, it become like JPEG format. another help please... | |
Hi Im new to Crystal Reports. Im using Visual Basic 2008 with Crystal Reports 8.5. For an Accounting program i would like to do some reports to show all totals, dates of trades, counterparty and so on. The Results should be shown in a table / spreadsheet. The data i … | |
I have a datagridview that tracks when employees clock in and out. I used the datetime data type in sql but I dont want the year to display. How would i go about doing this? Do i have to modify my select statement, or can I do it with vb … | |
I'm trying to display the number formate according to cultureinfo for that i enter the numbers in text box like 456,456.50 and select the culture english name as German(Germany) and click the button means it display the given number in the german format ie 456.456,50 but when i enter the … | |
Hi friends!! I want to get the callerid of the incoming call how do i do that using vb.net. does anyone has any idea, im using modem to which is attached to my pc. | |
Hi friends!! i have a small application where i want to receive incoming faxes and save them in a particular folder, how do i do that im using system dll to get the methods and functions for doing so, im using the dlls below 1) faxcom.dll 2) fxscom.dll 3) fxscomex.dll … | |
Hi Alls, I'm really need your's help... I develop console application as a engine to pull data from oracle to SQL...the connection to both database is ok..but when to insert got problem....somebody help me plz.... [CODE] 'Connection To Sql Dim sqlcn As SqlConnection Dim sqldr As SqlDataReader Dim sqlda As … | |
HI... I am new here... I am doing siple POS and I got a problem on printing... * How can print a continuous paper? The printer that I am using is Zonerich AB-220K. * On my code: I doing it with system.drawing namespace, and I already tried with crystal report … | |
I am having trouble inserting records into my database from a form with textboxs. Here is the code for the add button however data is not adding to the database. If inc <> -1 Then Dim cb As New OleDb.OleDbCommandBuilder(da) Dim dsNewRow As DataRow dsNewRow = ds.Tables("AddressBook").NewRow() dsNewRow.Item("FirstName") = txtfirstname.Text … | |
i have a smtp server on my dedicated domain. when sending an email from asp.net application it goes to spam folder in yahoo and gmail. to avoid this i create a SPF text record and add to my DNS domain records as text . but i can't get any solution … | |
I need to get the source code of webpage which is embeded with AJAX i.e. The web page is designed using PHP but the contents frame is designed using AJAX and the PHP pages is made to embed with this content page so we cant able to get the HTML … | |
Hi friends, Can u tell how can i connect to ms access table from a remote pc within LAN. I want to make a small programme for database manipulation on LAN. Whose database will be stored on a single pc and another can access that data from remote pc within … | |
Hi I want to update a database record using vb forms. Im using a button for this purpose...how can i do this.. is there any way like in oracle that just a commit statement save changes.. here i need to write all fields and assign their values in db... please … | |
i want to enable or diable some controls on another form depending on the action in the current form. how can i write the code for this in the current form |
The End.