19,728 Topics

Member Avatar for
Member Avatar for uchendu korie

Please how can i make a Label control to have the present day an time value and also make the time tick as in a normal digital watch.i would be glad if anyone could help with a good idea and clear illustration with codes.Thanks and God bless

Member Avatar for Luc001
0
180
Member Avatar for get connected

Hi Guru's I would like to be able to run code from a text file - is that possible. Ideally multiple applications will read this file and all behave according to the code inside the file. rather than having to keep rebuilding and distributing new versions./ I can't think of …

Member Avatar for get connected
0
113
Member Avatar for zanie

Dear Experts, I explain first the scenario. In one vb form, I have 2 tables connected through ID(relationship from MS Access).In the first table the fields are NameID, Company, Name, Grade and on the second table the fields are ExamID, NameID, Date, Score1, Score2, Score3, and Average. Now, I want …

0
73
Member Avatar for razree

Hi all I have a simple program which calculates some values for me. Let's say I receive some money in advance, go to a trip and spend some money there (not necessary in the same currency that I received advance in. Now if I spent more money then advanced, I …

0
107
Member Avatar for sarifah n

Hi based on the title, I want my textfile created can save at any location folder . Please help me.

Member Avatar for sarifah n
0
1K
Member Avatar for bLuEmEzzy

any idea how to use autocomplete in the textbox getting the records from database? i tried using the properties of textbox. But if the table is updated then autocompleteCustomSource is not updated... please guide me.. thank u.

Member Avatar for bLuEmEzzy
0
1K
Member Avatar for littlelou

What i'm using; VB2008 express, Access 2003 DB, Objective to clear the datagrid view after updating. This should happen when the user clicks the OK button "which confirms the update". Below is what I have. I see in some forums they use the .Clear and some other options so what …

Member Avatar for littlelou
0
772
Member Avatar for Mike Bishop

i have a private sub that reads 4 lines of data from a text file, and then uses whats read and stores them in varibles. see below [CODE] Dim FileName As String = configfileV Dim TextFromTheFile As String ' Whole text Dim Lines() As String ' File splitted to lines …

Member Avatar for dxider
0
255
Member Avatar for bluehangook629

I am trying to write a code which will combine these values and format it in the following format to be used as control/validation ID. I have written a line of code that will merge these values together into a long string but I can't get the zeros to fill …

Member Avatar for bluehangook629
0
119
Member Avatar for MikeTackett

I'm looking for any thoughts on how I am currently doing error handling in my VB.NET programs. Basically I put code in a try/catch, then call an error handling sub passing the exception and a string. The error handling sub gives an error message and writes to a text file: …

Member Avatar for Pgmer
0
151
Member Avatar for twigan1015

I don’t know if this is really possible, the program can not use a mouse or anything that requires the use of the tab key (this would be considered a use of the mouse), is there a way to still add input into textboxes and hit buttons, kinda like the …

Member Avatar for MikeTackett
0
131
Member Avatar for crazycat503

I am trying to connect to SQL SERVER 2008 from vb.net but failed with Error 40. If I try to connecton to server\sqlexpress, error 26 is raised. step by step guide or tip would be helpful.

Member Avatar for debasisdas
0
70
Member Avatar for raffy3

How could you, update the fields on database if its data type is Y/N, and the method of updating is a checkbox??

Member Avatar for Jx_Man
0
75
Member Avatar for akamini

I feel guilty about posting again but I need help again and I have tried other sources of help e.g google and asking someone who is familiar with vb.net but still can't find the solution to it. It must be another simple fix but I cant find any reference to …

Member Avatar for raffy3
0
334
Member Avatar for ryan311

[CODE] Private Sub AddIngoing_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load loadprodin() End Sub Private Sub loadprodin() Dim i As Integer objCon = New SqlConnection(conStr) Try objCon.Open() obj = objCon.CreateCommand() str = "Select * from product ORDER BY p_code" obj.CommandText = str sda.SelectCommand = obj sda.Fill(ds, "product") dt …

Member Avatar for Jx_Man
0
167
Member Avatar for tstory28

I am quite sure I am gonna feel real dumb when I found where I am screwing up but I am ALMOST done with a fraction calculator (part of a complete algebraic calculator I am making) and am stuck when trying to reduce my fraction because when I hit the …

Member Avatar for tstory28
0
184
Member Avatar for DiracDelta

I have a fun family app dealing with the odds of winning the lottery. Seems simple, right? I'm having a problem with the following (I'm sure a simple solution is evident but all help appreciated): 12 variables, 6 user chosen and 6 random generated, all integers. Want to perform comparisons …

Member Avatar for codeorder
0
95
Member Avatar for gravikiran

I AM A NEWBIE TO VB.NET. RECENTLY I HAVE STARTED PROGRAMING AN APPLICATION CALLED "OFFICE-MANAGER". THIS IS A PROGRAM WHICH DEALS WITH ACCESS 2003 DATABASE. I HAVE A VARIETY OF OPTIONS LIKE FILE MANAGER, MAIL MANAGER, ETC. I AM STILL AT THE STARTING LEVEL. BASIC USER INTERFACE IS READY AND …

Member Avatar for IrshadIkhlas
0
257
Member Avatar for man924

the code is below. the system said me that the insert into sql syntax error any solutions? [CODE] Dim dbProvider As String Dim dbSource As String Dim constr As New OleDb.OleDbConnection Dim sql As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter form load code: dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" …

Member Avatar for IrshadIkhlas
0
274
Member Avatar for hafizurahman

i use ms access as database and i dont know why my code not working.. here some of code [CODE]Private Sub btnSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim conAccess As OleDb.OleDbConnection conAccess = New OleDb.OleDbConnection conAccess.ConnectionString = "Provider=Microsoft.Jet.OleDb.4.0;Data Source=" & Application.StartupPath & "\kptm.mdb" conAccess.Open() If txtNamaP.Text …

Member Avatar for IrshadIkhlas
0
137
Member Avatar for tstory28

I am starting to feel completely dumb when it comes to VB.Net coding. I am using Visual Studio 2010 and am trying to compare the numbers in 2 listboxes. If an item from list A matches an item from list B, I want it to add that item to List …

Member Avatar for Unhnd_Exception
0
345
Member Avatar for Joshua Kidd

Hey, I am Creating an Application that has one button and a listbox, and I am using the FSX SDK. The button has Code that Extracts Data from the FSX game and Adds the Items to a ListBox. But When I click the Button and Am in game, it gives …

0
65
Member Avatar for aljiro

Hi, Anyone know how to access the contents of a password protected zip file via VB.Net? Like read, write, modify the contents as if its a regular folder. I have absolutely no clue how to the above. Its the final missing piece from my program. Any help would be very …

0
98
Member Avatar for diana_j86

How to fill a combobox with a data stored in a table in sql server?.... Can we use stored procedure to do so? I tryed this code but it keeps giving an error message: "An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll" What does that mean???? My code: Private …

Member Avatar for kazekagerandy
0
782
Member Avatar for jamshed ahmed

Hellow and hi i have one filed that makes total sum of bill and there is parameter serverice charges of type number now when i am creating formula like this {#total}+{?servervicecharges} then i get error that result of the formula can not be an array how to do this thx …

0
64
Member Avatar for vb2learn

Well, i really don't know, maybe the title would be in appropriate. Here's my problem: Textbox1.text = [CODE]abcd sadsadasdas dsad as das d 1234[/CODE] After parsing between [TEX]abc[/TEX] and [TEX]1234[/TEX] It shows [TEX]sadsadasdasdsadasdasd[/TEX] However it should also contain spaces. Here's my piece of code: [CODE] Dim daniweb As String = …

Member Avatar for Smith5646
0
93
Member Avatar for pratibhamohanty

Hi, can anyone out there help! I have a default form and a button. On click of that button I want to export a particular crystal report(without actually displaying it) to pdf format and store it in a folder named as temp. Is it possible? Thanks in advance,

Member Avatar for Ronln
0
3K
Member Avatar for Shantanu88d

Hi, I have a web form. On it I am generating a gridview through a stored procedure. Now it has it's DataSource set to dataset object ds. After generating this gridview. I want to generate an xls file. The code for that is correct. But since I am calling a …

Member Avatar for crishlay
0
372
Member Avatar for rustyone

I am using vb.net visual studio 2010 I have two comboboxes in the datagrid - one for Country and the other for State Province. Obviously the Country combo box controls what state/provinces to display. The trouble for rows with different countries - when the user is changing the state for …

Member Avatar for richardd
0
315
Member Avatar for shilp

I am using VB.NET using Visual Stduio 2005. From a Windows application, how to execute another form? Thanks for your help.

Member Avatar for tomato.pgn
0
189

The End.