20,285 Topics
![]() | |
I have a list of values extracted from a datareader in a list. Is it possible for me to run a query to extract another set of values using a datareader and then use the individual values in the list and the values in the datareader to perform some calculation, … | |
How would I write a recursive function to scan the Temp Files on a computer and list all the files & folders to a ListView? ![]() | |
Hi I m working on a project where in i have to change the EXCEL workbook settings at runtime as per the regional setting of the user. Although i know abt the Localization option available in vb.net, but it is only working for forms not for EXCEL. Need ur help … | |
Hope I can get help. Each time I write an Update query I have a habit of forgetting to add the where clause. I have destroyed my test records many many times. Therefore is there a way to count the number of rows that will be updated so I can … | |
I am trying to display only year in datetimepicker in vb.net Can anybody help me out. please | |
What data type could I use in my access database that can hold very long texts. By default, each cell in Access tables can only contain up to 255 characters. Is there any way to extend this to any length I want? | |
I have a checkbox X1 that if checked it will check a column of checkboxes. What i'm trying to do is if the user unchecks at least one checkbox from the column it will uncheck checkbox X1. But I don't want it to run the event from checkbox X1 again … | |
What is the right way to declare an array [CODE]Dim lblname As Label() = New Label(get_num_of_children()) {} Dim mealcheck As Integer() = New Integer(get_num_of_children()) {}[/CODE] or [CODE]Dim lblname() As Label = New Label(get_num_of_children()) {} Dim mealcheck() As Integer = New Integer(get_num_of_children()) {}[/CODE] Thanks for your help | |
I have a listview that has order for certain computer parts such as a mother board etc. aswell as that i have several textboxes that contain customer information. I have a "Checkout" button and i was wondering if it was possible to create a 'professional' looking invoice which has the … | |
Hi, I want to move a shape (label) when I press WASD around a maze. I got what I have so far off the net, but I cant figure out whats wrong with it. [URL="http://www.programmersheaven.com/mb/VBasic/223364/223860/re-basic-key-press-question-answered/"]Original code[/URL] [CODE] Public x 1 'This is whats wrong - it says "End of statement … | |
[CODE]myCoolFile = chosefolder.SelectedPath & "\" & NameofUal.Text & ".Ual" Try Dim myCoolWriter As New IO.StreamWriter(myCoolFile, False , [U][I][B][COLOR="Green"]????[/COLOR][/B][/I][/U]) <-<-<- For i As Integer = 0 To Mainfrm.ShellProgramslis.Items.Count - 1 myCoolWriter.WriteLine(Mainfrm.ShellProgramslis.Items(i).ToString & "~" & Mainfrm.myArrayList(i)) Next myCoolWriter.Close() Catch Erroronwrite As Exception End Try[/CODE] [U][B]Ive got some problems how do i say … | |
I have some problem with my report. I don't know how to update my report. Every time i enter any data, the report did not show the added data. Please guys i need help. Thank you in advance, God bless. | |
Hello, I have below code for form login using validation from access database. In database I have now three columns, for user, for password, and new one for department. Can someone show me how can I add also a deparment for login validation? Maybe to adda combobox under password and … | |
Hi I am trying to list all users logged into a speceific server but am getting nowhere. Im using the below code which i have formulated from various resources but it always returns 'not logged in'. when drilling into the oReturn object it says on alot of the items that … | |
I am trying to calculate the 'Profit' field based on the current record's 'ProjectTotalBillingEstimate' field and the 'ProjectActualCost' field. I want the 'Profit' text field to be calculated every time a record is changed, either via the navigation toolbar or the Project ID drop down box. I tried performing the … | |
I have a Windows application written in vb.NET 2.0. I recently upgraded it to framework 3.5. For some reason it started to change ‘,’ into ‘.’ in numbers and change the date format, on some of the client computers where it is used. But only in this specific application. I'm … | |
Hi, I am trying to include a commented threaded system for my webpage. I have the db design ready... Comments Table Comment Id Parent ID (will be zero for the base comment) Comment Description Submitted by Submitted on I am able to store comments inside the table.I need to display … | |
Problem is based on C#, ADO.NET, using Access Database. I am trying to filter the results from the database and display them in DataGridView on click of 'button1' button. But the datagridview shows empty results when there are actually 3 records with matching conditions. According to what I know, the … | |
Dear Freinds I face a problem that if i make a datattype in sql server of Integer and then use it in linq to sql query it give error of "specific cast not valid" and when i change datatype into varchar the linq to sql query work fine one more … | |
don't have any code yet | |
hi anyone who can help me how do i declare date-time format in vb.net from sql server 2005? i dont know where to put this line [CODE]CONVERT(VARCHAR(10), GETDATE(), 1) AS [MM/DD/YYYY][/CODE] | |
Hi please herlp me on How pass values from datagridview to listview thanks a lot guys :) | |
Hi, I've seen sample vb project. It's a console application. There's a code there like [B]Dim q() As String = Environment.GetCommandLineArgs()[/B] First I try to check it by using message box to print it out: the index-0 of q contain a path project vshost --> q(0)="D:\TestService\sample1.vshost.exe" and the index-1 of … | |
[CODE]If p1at.Text >= 0 Then If p2at.Text >= 0 Then If p3at.Text >= 0 Then If p4at.Text >= 0 Then If p5at.Text >= 0 Then If p1at.Text <= p2at.Text And p1at.Text <= p3at.Text And p1at.Text <= p4at.Text And p1at.Text <= p5at.Text Then If p1at.Text = 0 Then p1ts = p1at.Text … ![]() | |
Please help me on this i really need this badly... tnx | |
I have a datagridview control on my form. i use this to display data including images. Please how can i set the row height of the datagridview control so the picture can be well displayed? Thanks | |
i have the following code for getting the number of files on a drive: [CODE] Dim num As Integer = 0 Dim drive As String = "C:" For Each File In System.IO.Directory.GetFiles(drive,"*",System.IO.SearchOption.AllDirectories) Try num += 1 Label5.Text = String.Format("Files found: {0}", num) If num > 50 Then RaiseEvent start() End … ![]() | |
i have create 2 form , 1 database 1 textbox and 1 button reset in form 1 = "fill current username" = textbox1, button = reset.... 3 text and 1 button on form 2...new username = textbox 3,new password = textbox4,confirmpass = textbox5 and 1 button "sign up"..i just wondering, … | |
hi I thought this was simple so i guess i am doing something wrong. I want to read the value of an item in the registry. the value im after is the centralprofile key which im trying to get by passing the SID and looking up the subkey but it … | |
I have a section of code that builds a table as the user enters information. I'm having trouble figuring out how to navigate through this table. There is a NEXT button and a BACK button. When they hit NEXT, either the next row loads, or the textboxes are emptied out. … | |
I have just opened an old application with VS 2010 and it has converted it to .Net 4 but after it suggested that I use the ReplyToList property rather then the old ReplyTo property, I cannot get the application to build. It keeps telling me that "'ReplyToList' is not a … | |
I have a task. I will be receiving anywhere between 1 and 4 files daily from one single email id. I would like to extract these attachments, save it to my local drive, and then, extract the data from there into a database. I do not/will not be using Outlook … | |
hello frnd i hav created crystal report my database name is schools and its giving exception ,,,,,,,,, exception in form loading my coding is <crystal report> Imports CrystalDecisions.CrystalReports.Engine Imports System.Data.SqlClient Public Class CRSTECHERS Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click End Sub Private Sub CRSTECHERS_Load(ByVal … | |
Hi, I am generating table with Microsoft.Office.Interop.Word In my table cell values i get is: 7, 11, 13, 14, 15, 18, 28, 29, *25,26,28 Now my prob is i want to replace ,* with new line in word. i have written this code [CODE] tbl.Cell(i, 4).Range.Text = tbl.Cell(i, 4).Range.Text.Replace(", *", … | |
Hi guys,, im having problem with my stored procedure. i dont know how to make it show..when i click on a particular record on my datagridview it should display another form with its corresponding laboratory records, radiology records and so on.. here is my code [CODE]ALTER PROCEDURE dbo.ViewAllLabRecords ( @lab_Record_ID … | |
Hello. I'm doing project using richtextbox and want to save the contents in Access. But my contents is a list and when I saved it, the list become one line, with a square to space it. Can it actually be done? I set the column with memo type. Here's my … | |
Hi all I want to be able to calculate the difference between two dates, written in SQL db. The difference must be in days/hours format. This is my code: [CODE] Dim SQLConn As New SqlConnection() Dim SQLCmd As New SqlCommand() Dim dr As SqlDataReader Dim arrival As Date Dim departure … | |
Hi, What I want to know is how can I get Internet Explorer address bar information (URL)? When i`m type into address bar e.g. [url]http://www.google.com[/url], i want to get message with the same URL e.g. Welcome to [url]http://www.google.com[/url] How to get this? Note: I will add a button for my … | |
This is a homework assignment. I have the hardest time with arrays and I believe that is what is being a pain in my butt currently. I'm getting an argument null exception, which I believe is translating to "Tony you messed up another array." A jumping off point would be … | |
Hey Im just wondering if anyone could help me with this timer project Im working on... The purpose of this project is to keep tract of the time a classroom of students is working, not working and then total time of the class. So far I have only the seconds … | |
hello guys, I have a problem wiht my vb studio 2008 .When I reformat my laptop to window 7 64bit the problem is that my program "internet cafe" on first run there is so could vshost.exe not working problem then when i cancel it show another warning about the program … | |
Hi all I would like to do a Calender with tasks in VB but I can't seam to find a calender that I would be able to choose the size of the Cells. I was able to use Month Calender but I can not resize it. If there is such … | |
Im working on a project for college. The form im working on allows the user to edit the details of a customer. I have the following code attached to the EDIT button [CODE] EditCustomerTable.Clear() EditCustomerConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=QuickQuotes.mdb" EditCustomerConnection.Open() EditCustomerAdapter = New OleDb.OleDbDataAdapter Dim SQL As String = "UPDATE Customers … | |
hi guys, uhm this question of mine is just a simple one hmm how do i concatinate this? i have a textbox with 2 radiobuttons namely: AM and PM when i put time (e.g. 4:15) and check am the text AM should be concatinated in the textbox my code is … | |
Hello, im trying to convert an old vb project from 2008 to 2010. Ive tried using vb 2010's convert wizard aswell as changing the .sln file manually. When i try to convert the project automatically using the wizard it gives me an error saying that the project type is not … | |
am developing an application using vb.net 2005.i want the application top read what has been recorded by an electronic balance and display it on a textbox. communication between the balance and the computer/PDA is through a bluetooth. can somebody help please? | |
I need to figure out a piece of code to use to complete my project. I have attached a screenshot of the form and I labeled the important components to what I'm trying to accomplish. The form allows to user to add/remove books to a shopping cart which is the … | |
first.. i hve create combobox & text box and add database source to my project... i know how to binding data or load data to combobox using SELECT query.. but can i change SELECT to INSERT query cz i wont when i type data into textbox,data will be in database... … | |
Hi guys. Is me MUYAH, for the first time to this forum. I am underway to develop a VB.Net compiler using visual studio 2005, but so far I am not aware on how to go about, regarding to what are the key requirements or skills required for developing a compiler. … | |
Guys, is it possible to change the default text of the button of msgboxes? How? |
The End.