20,285 Topics

Member Avatar for
Member Avatar for axman1000

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, …

0
96
Member Avatar for MaddTechwf

How would I write a recursive function to scan the Temp Files on a computer and list all the files & folders to a ListView?

Member Avatar for Unhnd_Exception
0
368
Member Avatar for tina_kt18

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 …

0
39
Member Avatar for adrianSigamoney

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 …

Member Avatar for adrianSigamoney
0
138
Member Avatar for anirudhrudr
Member Avatar for tim.newport
0
8K
Member Avatar for markdean.expres

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?

Member Avatar for markdean.expres
0
98
Member Avatar for ninjatalon

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 …

Member Avatar for ninjatalon
0
153
Member Avatar for ninjatalon

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

Member Avatar for ninjatalon
0
148
Member Avatar for tukky

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 …

0
66
Member Avatar for Amadman114

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 …

Member Avatar for Amadman114
0
959
Member Avatar for VB 2012

[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 …

Member Avatar for VB 2012
0
112
Member Avatar for Jake.20

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.

Member Avatar for Jake.20
0
118
Member Avatar for dejanc

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 …

0
67
Member Avatar for ninjaimp

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 …

0
68
Member Avatar for tshudyb

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 …

Member Avatar for AndreRet
0
269
Member Avatar for TMA

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 …

0
47
Member Avatar for msaranya

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 …

0
86
Member Avatar for guru_iyer

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 …

Member Avatar for guru_iyer
0
191
Member Avatar for like_bilal02

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 …

Member Avatar for like_bilal02
0
55
Member Avatar for newbee2392
Member Avatar for bettybarnes

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]

Member Avatar for bLuEmEzzy
0
239
Member Avatar for whin_lopez
Member Avatar for whin_lopez
0
96
Member Avatar for Dummi

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 …

Member Avatar for Dummi
0
756
Member Avatar for dorothy.v

[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 …

Member Avatar for Unhnd_Exception
0
193
Member Avatar for zerubbabel
Member Avatar for Netcode

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

Member Avatar for abhay1234
0
272
Member Avatar for battlex2010

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 …

Member Avatar for Unhnd_Exception
0
198
Member Avatar for arezz09

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, …

Member Avatar for arezz09
0
347
Member Avatar for ninjaimp

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 …

Member Avatar for ninjaimp
0
209
Member Avatar for bklynman01

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. …

Member Avatar for bklynman01
0
335
Member Avatar for cmgarnett

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 …

0
56
Member Avatar for axman1000

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 …

0
107
Member Avatar for Dheerajpro

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 …

0
39
Member Avatar for vn412

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(", *", …

0
72
Member Avatar for bettybarnes

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 …

Member Avatar for bettybarnes
0
97
Member Avatar for lielee

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 …

Member Avatar for lielee
0
234
Member Avatar for razree

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 …

Member Avatar for razree
0
290
Member Avatar for mhosny

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 …

Member Avatar for AndreRet
0
927
Member Avatar for prettytonyshort

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 …

Member Avatar for ndeniche
0
142
Member Avatar for FanionGolfer

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 …

Member Avatar for WaltP
0
336
Member Avatar for arjen

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 …

Member Avatar for arjen
0
210
Member Avatar for VIPER5646

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 …

0
60
Member Avatar for tukky

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 …

Member Avatar for tukky
0
261
Member Avatar for bettybarnes

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 …

Member Avatar for bettybarnes
0
204
Member Avatar for brynFlew

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 …

Member Avatar for brynFlew
1
1K
Member Avatar for mogaka

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?

Member Avatar for Luc001
0
70
Member Avatar for tempvbacct

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 …

0
63
Member Avatar for arezz09

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... …

Member Avatar for Jx_Man
0
108
Member Avatar for MUYAH

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. …

0
47
Member Avatar for markdean.expres
Member Avatar for codeorder
0
129

The End.