10,987 Topics

Member Avatar for
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
181
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
210
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
114
Member Avatar for king_saqib
Member Avatar for Coco Chanel
0
70
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
518
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
202
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
385
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
124
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
497
Member Avatar for king_saqib
Member Avatar for SpiritualMadMan
0
81
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
426
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
133
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
138
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
107
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
168
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
142
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
189
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
70
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
196
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
133
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
458
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
239
Member Avatar for king_saqib
Member Avatar for WaltP
0
246
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
154
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
166
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.