20,284 Topics
| |
Hi, I am trying to create a function that will take a fixed value, and increment another cell. It does this until another cell using a formula equals the fixed value. You can see what I have below, but this is my first VBA programming ever so I dont know … | |
[code]Public Sub PasteFile() For Each Me.lItem In leftListView.Items If lItem.Selected = True Then If File.Exists(lItem.Text) Then lItem.ToString() fSource = leftCBselect.Text & lItem.Text Me.fTarget = rightCBselect.Text & lItem.Text FileCopy(fSource, Me.fTarget) rightListView.Items.Add(lItem.Clone) 'MsgBox("You have copied " & lItem.Text & " succesfully!", MsgBoxStyle.Information, "Information") ElseIf Directory.Exists(lItem.Text) Then fSource = leftCBselect.Text & lItem.Text Me.fTarget … | |
Can anyone help me how to insert date into firebird?....i get the date value from other field then need to insert it into other database...but the problem is when the column is null the n it cannot insert it..anyone get idea?...tq | |
Hi Please tell vb.net equivalent of following method: [B]C# Syntax[/B] [CODE] public class RecentPosts : Control { static RecentPosts() { BuildPostList(); Post.Saved += new EventHandler<SavedEventArgs>(Post_Saved); Post.CommentAdded += delegate { BuildPostList(); }; Post.CommentRemoved += delegate { BuildPostList(); }; Post.Rated += delegate { BuildPostList(); }; BlogSettings.Changed += delegate { BuildPostList(); }; } … | |
Okay so I have a datagrid view I am trying to build (here is the code so far) [CODE] public partial class employeeAlterForm4 : Form { static readInFileDel2 readInFileCall = new readInFileDel2(readInFileClass2.readInFile2); static Employee [] employeeTempArray; ToolTip tooltip1 = new ToolTip(); Panel panel1 = new Panel(); //-------------------------------------------------------------------------------------- public employeeAlterForm4() { … | |
I am attempting to execute some code when a second form is closed, and have been at this for some time with no luck as of yet except to know this is my obsticle after some testing. I had thought it may be in the reference of the second form … | |
I need to know how can I use app path? I have a added Shockwave Flash Object control there in my program. However I have added AxShockwaveFlash1(swfla1) there in my form. I have written code there in Form_Load event so that swfla1 will get flash file(.swf) to play. Form_Load event … | |
[code] Private Sub Form_Load() Dim n, Average As Integer Do For x = 1 To 10 n = InputBox("Enter a number" & x) Average = Average + n / 10 lblNumbers.Caption = Str(n) + " " + lblNumbers.Caption Next x Loop Until n = n lblAverage.Caption = Average End Sub … | |
Hi all, Can anybody tell me that how can i import a Excel sheet Data into my oracle10g Database using vb.net coading.. | |
I thought I had the command correct, but I wanted to make sure since I fail to connect in my app. Here is the connection command I use: New SqlConnection("Server=TestServer;Database=MasterDB;Integrated Security=SSPI") I have verified the server name, DB name, and that the server is using windows authentication. Any help would … | |
Hi Everyone, I Need a simple project which is developed in Microsoft Visual Studio 2005 in VB.net the project features are 1. I have to send multiple SMS from a mobile device connected through a USB. 2. I have to receive SMS from a mobile device and parse it and … | |
Hello Everyone, I have designing a desktop application using VB.NET 2008 & SQL Server 2005. In my Application i have a frmUserRegistration to add a user & frmLogin to login to my application. i can add the user details in the database but my password seems to be in characters. … | |
hi guys.im new here at the community. im marco a computer science student. guys/sir/madam is it ok for you if ill ask a help from your expertise. right now im doing a project a bout a home security system its a simple anti burglar system, its kinda weird but it … | |
I have a problem in getting data in a textbox from a query, actually its like getting Item_code from Inventory table and the corresponding Unit_Price from related table Inventory_Price If i write a constant value of Item_Price in the query, the textbox shows the corresponding Unit_Price... Code: [code] sql = … | |
I have a program that adds controls on the fly to an auto-scroll panel. When the panel is scrolled (viewing the bottom of the panel for example) and a control is added, it looks like it is added assuming the top left corner of the panel is still at 0,0 … | |
hi, this is my problems: i have a text file contains " staff id, male/female, first name+surname", which look like this: 11111,M,John Ford 22222,F,May Gray 33333,M,Jo Sun etc. i have 2 problems: 1: i dont know how to display a error message if the text file is not found. (i … | |
Hi, I'm having some trouble with trouble with an If statement in my program. It's a series of wind speed brackets to select the category from the Saffir Simpson Scale of hurricane classification. The problem I'm having is that it won't select the correct category based on the wind speed … | |
Hi everyone I'm really exhausted with this error I'm using visual studio and I'm trying to build a contact form And all the information should be saved in contact table in the database Would you please help me with this error? I tried a lot to figure what's wrong, but … | |
hello I am using vb.net 2005 and sql server 2005. i am having problem with datagridview data manipulation. Actually, in master-detail i am displaying data of Master in textboxes and Detail in datagridview. i am using binding source for it. The main problem is that i have to directly enter … | |
[CODE] Dim Customer As DataSet1TableAdapters.Customer1TableAdapter = New DataSet1TableAdapters.Customer1TableAdapter Dim Dt1 As New DataSet1.Customer1DataTable Dim TA1 As New DataSet1TableAdapters.Customer1TableAdapter Dim DR1 As DataSet1.Customer1Row Try Customer.InsertQuery(TxtCust.Text, MaskedPhone.Text, TxtAddress.Text, MaskedIC.Text, MaskedDL.Text) MsgBox("data entered") DR1 = Dt1.NewRow Dt1.Rows.Add() Customer.Update(Dt1) Dt1.AcceptChanges() Catch ex As Exception MsgBox(ex.Message) End Try[/CODE] i need help in this, i've searched … | |
okay I have been looking all over the web trying certain pieces of code and I have had no luck. I am tired and I really am at a lost right now. I am trying to make it so that when the user mouses over a select set of cells … | |
Hi i am using vb to make a hospital system which works with a access database i am having an issue with the updatign function to the database this time round instead of hard codding the connection i used the connection/data source wizard in microsoft visual studio 2008 and there … | |
I am working on a web browser for fun and to get a little more acquainted with VB. I felt lost during school this past year and wanted to do something that sounded like fun. Ok, enough of that. When I put in my code to just press enter after … | |
I have memebrship system with mysql database. In the table I have comumns named Username, password, information... I have to found the row with the username who have logged in and put the text from information column in textbox... | |
hi! i am a final year student could you tell me which topics i can make a project on | |
Here is my problem. I'm creating a program for my workplace which stores hours worked, calculates pay and all that stuff. Problem being, the database will be accessed through the network and i want to be able to select the database from an openfile dialog on first use to locate … | |
Hello all, I'm somewhat new to programming but I had a quick question. I have created a program to take a text file and convert it into a datatable. Unfortunately, however, I seem unable to attach this file to a database. I am getting an invalid object error stating that … | |
Hi everyone! I am a junior database programmer. I need to know how can I save image in SQL SERVER 2000 by VB.NET? I made a table in SQL SERVER with two fields. One is Id[nvarchar] & another pic[nvarchar]. I got two forms there in VB.NET project. In the first … | |
hi i am very new here i doing a window app using vs2005 to download file using FTP to my c drive it have no error when i run it in window xp but when i test it in vista i facing a problem stating access to path "c:\program file\...." … | |
I have a project where I need to add TabPages to a TabControl. I have a Panel with 10 checkboxes on it and I want to replicate that onto each TabPage as it is added. What I get is it is added to the first page, then when I add … |
The End.