12,425 Topics

Member Avatar for
Member Avatar for bornwith

I am trying to catch the System.InvalidCastException error. If I put a number into the calculator the program runs ok. If the calculate button is pressed with nothing in the text boxes I get the casting error Conversion from string "" to type 'Decimal' is not valid. I understand why …

Member Avatar for bornwith
0
169
Member Avatar for cjoyce

guys can you please help me in displaying columns from my ms access table to a listview in vb.net.. i use oledb in connecting to ms access..

Member Avatar for Phasma
0
382
Member Avatar for kheijhei

hi there! guys can you help me how the form will automatically close in 5 or 10 seconds and so on? like a countdown timer, when the time runs out then it will close automatically? give me some specific codes. tnx! :|

Member Avatar for SpiritualMadMan
0
1K
Member Avatar for cigoL..:)

Greetings, i'm currently developing a web browser for my school project (i'm kinda new to advance visual basic)... it's 75% complete and the only problem i encountered is that when i enter items for the combo box it accepts duplicate .. for example i entered [url]www.daniweb.com[/url] and re-entered it again, …

Member Avatar for cigoL..:)
0
475
Member Avatar for kungfujam

The below bit of code is running very very slowly. I cant see why this should be but there seems to be almost a second delay when I'm using f8 to run through the code bit by bit when I get to the end if...any clues? [code] Sub firstResponse() Dim …

Member Avatar for SpiritualMadMan
0
216
Member Avatar for darkworker

How do I download transactions info from Paypal using VB.NET I want to create an app which when i press a button. It downloads each new Paypal transaction to a textfile. I would like information like purchase item name, item description. And price to be added to textfile. Does anyone …

Member Avatar for darkworker
0
178
Member Avatar for NetJunkie

Before I get started with this question I would like to point out that this is a small app I am creating to not only learn more C++ coding but also to choose who drives the fifth day in my carpool group for college. I am creating an application in …

Member Avatar for mrnutty
0
200
Member Avatar for Alexkid

Hi There, I have a datagrid table with 5 columns and as many rows as the user enters. Is there a simple way to export the contents of the table to a CSV file? The columns are named; a,b,c,d and e Im using VB 2005. Mant Thanks Alex

Member Avatar for Surendrasinh
0
998
Member Avatar for dwinn

Hi Everyone, I am writing a program in VBA (within Access 2010) that grabs a specific .txt file, split up the fields as per given specification and imports the values in to an Access table. So far, I can open the file and see what the program is seeing and …

Member Avatar for dwinn
0
3K
Member Avatar for mykar_88

hi pls help me to read data from a website. can it be done with VB? if yes pls guide me. thank u

Member Avatar for Ramesh Genwa
0
169
Member Avatar for vin24

Hi guys!.... My colleagues and I were developing a Library system. We want to make use of a client-server but I just want to know what are the basic prerequisite needed in making a system with client-server. Is it time consuming because our professor told us we have 1 month …

Member Avatar for hkdani
0
296
Member Avatar for neiljohnmanuel

Hello everyone i am a student who has very little knowledge about programming. I would like to know if there is a way to load list from a database to a combo box. there are two fields in my database namely: Age and Allowance. what i want is to load …

Member Avatar for hkdani
0
135
Member Avatar for Lek Plepi
0
66
Member Avatar for mitchney

hi there ...a pleasant day/evening...i am wrking for a code...wat i wnt to happen s dat in the combobox category when i click all, all d items dsplay but wen i click specific category somethng went wrong with my code..i cannot view all d items under with the choosen category...pls …

Member Avatar for dspnhn
0
134
Member Avatar for game4tress

I'm creating a new functionality for an already existing software, made with VB .Net. This new functionality consists of rendering 3D objects on a specific form, and be able to move/rotate/resize/change,... those objects. For this task i've used XNA. I've created a new XNA Windows project and, in the specific …

0
101
Member Avatar for sal21

I use the tipical function: .... Open file For Input As #1 ... ecc... to reading txt file line by line. But instead to init the redaing line by line... 1) I need to find, in position mid(line, 1,8), the string INIT0000 and strat the reading of lines from here …

Member Avatar for SpiritualMadMan
0
184
Member Avatar for aldeene

I am using this code [CODE] Public Function Get_Settings(filename As String) As Boolean Dim recordlength As Integer recordlength = LenB(Settings) On Error GoTo erroropeningsettingsfile Open filename For Random Access Read As #1 Len = recordlength Get #1, 1, Settings Close #1 Get_Settings = True Exit Function erroropeningsettingsfile: Get_Settings = False …

Member Avatar for SpiritualMadMan
0
213
Member Avatar for aldeene

why my vb6 crashes whenever I add a label? I tried uninstalling and re-install vb6 but it seems not to fix the problem. How can I remove all vb6 files and components?

Member Avatar for aldeene
0
121
Member Avatar for gawickham

Problem - Main - Clicking any Google Search result, results in redirect to random sites - NOT the site of the search result - search function not usable Secondary - computer has slowed to less than a crawl plus - recently, on boot-up, Avast reports that Microsoft Realplayer.exe is suspect …

Member Avatar for gawickham
0
601
Member Avatar for king_saqib
Member Avatar for Coco Chanel
0
73
Member Avatar for reiddwyer

Hi, I have to create this program for school to restart a bootcamped mac back onto mac from windows with an application made in visual basic. So I need my computer to restart which I have successfully completed. Now I just want to find out how to get the application …

Member Avatar for NetJunkie
0
104
Member Avatar for tgifgemini

[B][/B] Hi all, I am trying trying to make both the "Tab Key" behave as the "Enter" key. keys. In otherwords, both the Tab and Enter should acheive the same objective. I am using the code below but only the "Enter" key is working, but the "Tab" key is not …

Member Avatar for zebnoon
0
3K
Member Avatar for Timroden

I'm currently working with the NotifyIcon, and ContextMenus in the notify icon, and was wondering if it is possible to call an event when something is dropped onto the icon. For instance, if I had document.docx, and I dragged it from explorer onto the icon, it would then save it …

Member Avatar for hkdani
0
541
Member Avatar for coolsasuke

Hello , I would like to enquire if how could I put MYSQL Row to a TextBox ? Here is my code [CODE]Private Sub Form1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MySqlConnection = New MySqlConnection MySqlConnection.ConnectionString = "server=localhost;Port=3306; user id =root; password=****; database=visualbasic" MySqlConnection.Open() Dim Myadapter As …

Member Avatar for coolsasuke
0
205
Member Avatar for Shilpa Gonge

ust select SMTP control from Components ( under project menu (visual basic)) With SMTP 'name for control .Server = outgoingserver 'Outgoing server name or IP address .MailFrom = mailFrom 'Sender mail address .SendTo = mailto 'to whom you want to send mail .MessageSubject ='Subject of message .MessageText = mailtext 'mail …

Member Avatar for QVeen72
0
390
Member Avatar for mitchney

hello! i want to display all the transactions within a month...but an error occured says... data type mismatch in criteria expression...pls help me..here is my initial code... [CODE]If rs.State = adStateOpen Then rs.Close rs.Open "Select * from tblsupplier where date between '" & DTPicker1.Value & "' And '" & DTPicker2.Value …

Member Avatar for mitchney
0
128
Member Avatar for chabo

hey guys...i am doing a vb program that insert data into a notepad file....but i want these data without comma and without double quotes....so anyone can help me with my problem....plzz...and thak youuuuuuu

Member Avatar for SpiritualMadMan
0
500
Member Avatar for king_saqib
Member Avatar for SpiritualMadMan
0
83
Member Avatar for bbowsh54

Hello Everyone, New to VB.NET... Going through a bunch of tutorials currently. I need help checking if an application is open and then closing it if it is... For an example, I'll use paint or notepad... Does something like this work? [CODE]Dim myProcess As Process = New Process myProcess.StartInfo.FileName = …

Member Avatar for bbowsh54
0
431
Member Avatar for aman09

Hi, This is a very old post, But I am still positive that I will get some reply. :) Okay so I have a string like this 123 456 789 From 1 through 9 its one string. How can I remove the new line and the empty line from this …

Member Avatar for SpiritualMadMan
0
136
Member Avatar for king_saqib
Member Avatar for Timroden

I'm currently working with the NotifyIcon, and ContextMenus in the notify icon, and was wondering if it is possible to call an event when something is dropped onto the icon. For instance, if I had document.docx, and I dragged it from explorer onto the icon, it would then save it …

Member Avatar for Momerath
0
140
Member Avatar for kungfujam

Completely stumped as to why my code will no longer run. It definitely works as I can call it from another Sub but will not run on its own. When I am in the code editing window (in Excel) and I click the run button or f5 it asks me …

Member Avatar for kungfujam
0
111
Member Avatar for Man1919

hi, i bought a Programmable Message Board kit, this kit connects to the computer and i can send from the computer massages to the kit LCD screen. I got an sample file, that comes with that kit. My problem is that this sample file are an old Visual Basic 6 …

Member Avatar for Man1919
0
2K
Member Avatar for Cally_Law

Can anyone help on how to show a message box showing that existing record has been entered in database if i tried to enter the new record. However, if the input is new record (record added), the record is saved into the database. I'm using visual basic 2008 and Microsoft …

Member Avatar for ShahanDev
0
236
Member Avatar for jhoey4736

hi experts.. i made a visual basic program.. and i want to make an installer for this.. .can you help me?? please.. thanks..

Member Avatar for opspl_programme
0
173
Member Avatar for king_saqib

hi ti every one i am create the digital guitar by pressing the diffrent key it gives diffrent sound but how to set key

Member Avatar for WaltP
0
144
Member Avatar for KLL0203

Hello, A couple of days ago I was using Pandora and it suddenly said that my plugin had stopped working, Firefox froze, and my mouse (laptop) stopped working. I found that somehow the mouse had been turned off. The next day I tried using Pandora again, and once again the …

Member Avatar for jholland1964
0
340
Member Avatar for dougancil

I have an application that I'm trying to finish in VBA, and as I've never written in it, it's a bit challenging to me. I've written some in VB but the syntax isn't the same between the two for some things. Essentially, here's the logic (or lack of) that I'm …

Member Avatar for BitBlt
0
190
Member Avatar for king_saqib

[ICODE]if val(text1.text) <> "0" then or "" then c = val(text1.text) * 1 + c [/ICODE] but it show an error somebody help me

Member Avatar for Deepak Shitole
0
73
Member Avatar for rodge125blazer

I have a project.A shape game There are shapes and yours should be controlled by arrow keys.. you should crash with another to gain point. once you collide to a another shape, it should adopt the shape and the color. The problem is when i se,t for example, shape1 top …

Member Avatar for rodge125blazer
0
200
Member Avatar for SamY

I know how to print forms in vb but i wanted to change the page orientation to landscape but the code in the help file is [COLOR=red]:evil:form1.orientation=1 '1 for landscpe and 2 for prtrait:evil:[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=black]this doesn't work please help[/COLOR]

Member Avatar for agrothe
0
1K
Member Avatar for Roy&Carmi

I got an assignment to search in a certain excel worksheet which I'm using the Find & Replace dialog of excel all I want is to make a VB6 program that will going to load the excel data into VB6 flexgrid and search hundred of words in a one click …

Member Avatar for debasisdas
0
136
Member Avatar for kheijhei

hi, please help in my project in visual studio 2008 and connecting it to mySQL, I'm going to create a simple identification system, can you please help me with the codes? (Form1 - Log-in, Log-out) Here's my project proposal, I need to identify an ID number and a password. Like …

Member Avatar for GeekByChoiCe
0
468
Member Avatar for StevenSchaffner

Well i am using asp and VB.Net to make it to where people can check in and check out. I have gridview which has where it shows the data from my sql server that i put dummy data in. When i load my website the data shows up. I do …

Member Avatar for Atul Dhiman
0
241
Member Avatar for king_saqib
Member Avatar for WaltP
0
256
Member Avatar for lcfjoertoft

I have the following connection string in a Excel VBA project: oCon.ConnectionString = "Driver={SQL Native Client};Server=SQL;Database=D1; Trusted_Connection=yes;" On my laptop this works perfectly. But when I try it out on another computer I get an error: I get this error when oCon.Open on debugging: Run-time error '-2147467259(80004005)': Automation error Unspecified …

Member Avatar for lcfjoertoft
0
157
Member Avatar for wezel

Hello community, I wanted to see if the following scenario would be possible with VB. We have 13 different locations. What I want to do is open an access database. I want to open a table in access and sort it by a particular column by date. Once sorted I …

Member Avatar for wezel
0
170
Member Avatar for king_saqib
Member Avatar for arvin2006

Hi everyone, is it possible to add/edit/save picture in MS Access DB using ADO, I have this code If (MsgBox("Are you sure you entered correct data?" & vbNewLine & "Save now?", vbYesNo + vbQuestion, "Confirm Save") = vbYes) Then squery = "": squery = "SELECT * FROM tblEmp" Call ExecuteCommand …

Member Avatar for emond
0
3K

The End.