12,425 Topics

Member Avatar for
Member Avatar for w00dy

The object here is to open a selected Word file and Copy&Paste its contents into a text file. The problem seems to be with the Sendkeys commands having no effect. The project freezes, apparently because Notepad has not been closed (by Sendkeys "%FX"). Can anyone tell me what's wrong? :confused:

Member Avatar for Comatose
0
965
Member Avatar for student2005

Hi everyone, I have a question about Visual Basics......... When do the following events occur with a form object: Load, Unload, Activate, Deactivate, GotFocus, LostFocus?

Member Avatar for Yomet
0
169
Member Avatar for tekiguy74

Hi i am trying to port a vb application from 98 to xp i am getting the errors in the code mentioned below. Can anyone tell me what this code does? Sub KillFiles(ByVal FileSpec) Dim count As Integer Dim files() As String Dim i As Integer Dim ThisFile As New …

Member Avatar for Comatose
0
141
Member Avatar for biglou_85

I have a working model of Visual Basic 6.0 that came with my textbook that I have from ITT Tech. Im trying to install it but i keep getting a window that reads: 16 bit Windows Subsystem C:\WINDOWS\SYSTEM32\AUTOEXEC.NT The system file is not suitable for running MS-DOS and Microsoft Windows …

Member Avatar for mrmike
1
217
Member Avatar for srikanthvja

Hi friends, i have 2 issues 1. how can we write code from text file to vb6.0 form/module/class code window programatically. 2. how can i replace Existing IIF in MS acces query with equalent SQLSERVER QUERY. First 1 : present senario: i am preparing with one TOOL so, that we …

Member Avatar for jtymo
0
144
Member Avatar for esdesign

How can I control the "enable/disable" network connections from the control panel through visual basic? Or what params do I pass to svchosts.exe to control this, or what is the actual service name of "Network Connections" in services.msc so I can use "NET STOP {SERVICE} | NET START {SERVICE} ? …

Member Avatar for esdesign
0
442
Member Avatar for bang2711

hello guy, i need to random up the whole Sentences with detection on spacing. then each word will be place into a label. example; " i`m loving it" "i`m" will be in labelA 1 "loving" will be in labelA 2 "it" will be in labelA 3 then the 3 labelA …

Member Avatar for Yomet
0
184
Member Avatar for prav

hi there i have a cell [11] which contains "admingroup,update,viewonly" and it is a variable length. So one user can be in different user groups. i'm using an array to split the cell, however i'm only getting the first data (admingroup). here is the code i'm using. thank you in …

Member Avatar for Comatose
0
163
Member Avatar for venukarimilla

Hi dudes, This is my first post to this forum and expecting good response. I have problem with data reports. I want to display report fields dynamically without presetting "datafield" property. I dont know how many fields i get through query. So i want to add all this fields to …

0
53
Member Avatar for cornflakesuk

Hey let me begin with stating i am a complete beginner at visual basics. im creating a CAL package for my A level coursework and was wondering if any1 could help. im creating a package to help primary school children learn spanish, so i need help with code that will …

0
68
Member Avatar for spinnetje

Hi, i'm a bit of a VB-virgin in destress :) I've wrote some vb6 to manipulate words in a text-box. It has some bugs but it does the main job. I like to compare it with a real VB-expert solution. Does any of you can show me a small program …

Member Avatar for spinnetje
0
196
Member Avatar for DanH

Okay, I finally got my external program to open but how do I actually get it to run??? What I am trying to do is open a syncsort file called mjwsorter.srt (I can finally get it to open). Next, however, I want the program to execute... which is done by …

Member Avatar for DanH
0
233
Member Avatar for student101

Hey e1, I went out of the way to make my project fool-proof. U can c the pic below, I have 2 input textboxes and 1 output text box. Im trying to get my code to where if you enter a [U]Character[/U] i.e. "abc" , then A mSGBox will tell …

Member Avatar for student101
0
155
Member Avatar for Croft .L

Does anybody know of a website that has Visual Basic tutorials. Your help will be greatly appreciated.

Member Avatar for w00dy
0
96
Member Avatar for Stibbeh

Hello, Is it possible to edit the target of an exe and then once the new target line is executed, it returns to its normal self or something along the same lines as this, using VB? If it is, any help or ideas would be appreciated. Thanks.

Member Avatar for Comatose
0
139
Member Avatar for corinne1985

I am taking a complex exam for school and I have different programming questions I need help with. Any help will be appreciated. Thanks! Here they are: 1) A company with limited cash needs to bring up a Web server. Which OS/Web server combination has the lowest initial cost? A. …

Member Avatar for corinne1985
0
166
Member Avatar for w00dy

During the program, Word is opened and displays a document. When Word is closed by clicking X or selecting File>Exit, the program must detect the event and reset controls. How is that done, anyone?

Member Avatar for w00dy
0
155
Member Avatar for Jon182

hey guys, I know that in VB data can be taken from an access database then displayed in a flexigrid and I was just wondering is it possible to display the same data in a series of labels rather than a flexigrid as I was thinking about doing this for …

Member Avatar for Jon182
0
165
Member Avatar for w00dy

I need to search the pc for all files with a particular extension. Can anyone point the way ?

Member Avatar for w00dy
0
408
Member Avatar for maylim26

i m develop a system related car in/out records. I got data fields like date, time in, time out, car numbers...... My problem is How to count the repeat records base on repeat car numbers on a certain date?( my purpose is count how many times a car in/out on …

Member Avatar for Yomet
0
245
Member Avatar for Yomet

Hi, I am programming an app that I will use to launch different applications depending on the file type specified. I have found, and know how to use, ShellExecute from VB and all I now need to know is how to get the default action specified by the user when …

Member Avatar for Yomet
0
268
Member Avatar for Jon182

Hey guys, I am thinking about creating a sudoku game in VB in order to improve my programming skills and as I am quite new to VB I was wondering would it be best to try this task using labels and text boxes or a felxigrid? Thanks in advance.

Member Avatar for Jon182
0
171
Member Avatar for R.McCarty9793

I need to create a field in Access that included both text and the autonumber feature. We are a non-profit hospital organization and we have multiple locations so we want to create an ID field that is unique by location and still uses the auto numbering feature to generate the …

Member Avatar for Yomet
0
162
Member Avatar for student101

Just finishing up this assignment.. I need a code for the "Highest and Lowest" cmd button that will display the name and score in text boxes for the golfers with the highest and lowest from the golfer.txt file. Here is my GUI & code so far..... [IMG]http://www.geocities.com/rc_og/vb1.jpg[/IMG] Private Sub cmdDisplay_Click() …

Member Avatar for Yomet
0
205
Member Avatar for stackOverflow
Member Avatar for Kegtapper
0
219
Member Avatar for olayb

hi, im a newbie in making database program using vb and access as database..i have problems on how to run my search query correctly, actually i have two tables that i'd like to connect with, attached hereqith is my sample program.. could somebody pls help me...

Member Avatar for Yomet
0
79
Member Avatar for grandfilth

I've been trying to create a macro which closes excel without the save pop-up coming up, anyone got any ideas? I don't want it to save, this is because i don't want anyone who uses it to muck it up!

Member Avatar for Comatose
0
234
Member Avatar for grandfilth

Can someone help please? Is there a way that I can make everything on the screen disappear except for my program when it loads?Any help would be much appreciated...

Member Avatar for Comatose
0
82
Member Avatar for jwenting

[url]http://www.hacknot.info/hacknot/action/showEntry?eid=76[/url] has an excellent rant about the problems of visual editors (aka GUI builders). While he talks specifically about Java, the same holds true for all of them. And yes, that means Visual BASIC and Delphi as well, languages which traditionally are seen as almost purely visual. I've done several …

Member Avatar for jwenting
0
542
Member Avatar for bang2711

hi , i need to know how to split up and place in diff label.? and randon up the labels i attach a sample program of wat i need. can anyone please help me..

Member Avatar for Comatose
0
124
Member Avatar for selot

I have got some problems with making a cd player. But I do not know what it is. the code is as follows: Private Sub cmdSpill_Click() mmcSpiller.Command = "play" End Sub Private Sub Form_Load() mmcSpiller.Notify = True mmcSpiller.Wait = True mmcSpiller.Shareable = False mmcSpiller.DeviceType = "cdaudio" End Sub Private Sub …

0
103
Member Avatar for grandfilth

I'd like excel to write the time when one of my macros tells it to copy and paste some cells into another workbook. I'd like it to paste the time into the other workbook. Any help would be much appreciated.

Member Avatar for grandfilth
0
134
Member Avatar for Kamikazi23xl

At my school we put our work onto VHS and DV tapes to store them but when we use them too many times it fries them. I was curious if a video demagnitizer would work for erasing them. Thanks :>

Member Avatar for Kegtapper
0
74
Member Avatar for bang2711

hi guys, i doing a program on how to drag and drop from 1st label to another label, then do a compare whether is it correct. i need to random up the whole Sentences with detection on spacing. then each word will be put into a labelA. example. " i`m …

Member Avatar for bang2711
0
92
Member Avatar for billyb

Hi all, New to this site asd VB6 AAAAAAA i'm trying my best. Anyway here goes need to store names and numbers names in lstbox number in an array. select the name from the lstbox and display the number in a lbl. here's the code so far can someone please …

Member Avatar for billyb
0
144
Member Avatar for Stevon
Member Avatar for jto

i am also getting the error " the instruction at 0X77fcca36" refernced memory at "0X00004d52" the memory couldnot be written " click on ok to termiante the program click on cancle to debug the program " why i am getting such massage at the time of loading my project which …

Member Avatar for Gargol
0
69
Member Avatar for cancer10

hello, here is a working code for a bandwidth meter. Can someone plz tell me how to reset the bandwidth meter with a click of a button. *Download the attachment. Thanx

Member Avatar for Comatose
0
41
Member Avatar for bang2711

i have some problem here. i dont know how to explain in words of wat i wan. i have attach the file in i dont know how to create new checkBox in picture Box by using coding? :rolleyes: when ever i click. the button wont go over to the new …

Member Avatar for bang2711
0
477
Member Avatar for abhay_fgr
Member Avatar for shashikanth
0
460
Member Avatar for jto

i had built a simple project in vb6 and ACCESS for simply update the database and fatching the required data from existing data base. previously it was working , but when i formatted my pc and again run the project it was showing so many error massage at the time …

Member Avatar for macka007
0
180
Member Avatar for bops

Hi, i am making a blackjack program in Visual Basic for a college project, in order to generate a random card each time, i need to make a random number, after numerous failures to do this using VB, i have made a small program in C++ that generates a random …

Member Avatar for bops
0
143
Member Avatar for Tarabaz

Hi. I need a way to show all my ODBC Connection in a ComboBox :?: thanks. :cry: P.S.: Exuse my English. lol

Member Avatar for Tarabaz
0
78
Member Avatar for cx323

is there anyway i can make this go faster? [CODE] Private Function strCoordinates(ImageURL As String, Referer As String) As String Dim img() As Byte Dim Pet As StdPicture Dim ct As Integer Dim ctx As Long Dim cty As Long Dim x As Long Dim y As Long Dim Value …

Member Avatar for noebody
0
217
Member Avatar for tachoink

hello everyone, i think im going to ask a very silly and noobie question but here it goes. im using Visual Basic 6.0 and im trying to create a program that would detect keypresses over another program. then automatically press something else for me say if i press f12 it …

Member Avatar for macka007
0
125
Member Avatar for wwolfman

I am using an application (Qxpress) that I believe uses VB or Access as their Database. I would like my invoice to return just the day of the month but if date falls between 1 and 9 I would like to add a zero to it. this is what i …

Member Avatar for wwolfman
0
99
Member Avatar for user777

HI, Dear Friends, Could anyone of you write code for my attached project plz. What I need all is: 1. Balance Amount should be updated whenever a new cheque amount entered 2. Search button should be able to search the dates either it is a invoice date or a cheque …

Member Avatar for mnemtsas
0
177
Member Avatar for Raza

Hello e/one, im getting error no. 9 "subscript out of range" in following situation. - i have a data grid on page on which i place a query to select data from SQL SERVER 2000 database just like that "select size_number, product_size, type_number from product_size" -Below this grid i have …

Member Avatar for Raza
0
289
Member Avatar for Y2A

Hey, I was reffered here by a friend and said that you solved his problem. I am in High School and im doing SDD. I have been asked to design a washing machine user interface. I have pretty muched finished. I have a timer, which has diffrent times for diffrent …

Member Avatar for w00dy
0
183
Member Avatar for msme

hi everybody I beg to say that I have three numbers. but i want to know that which number is random these are number 1 73163474394643734240 number 2 42651524357702920737 number 3 24965462478679919220

Member Avatar for Stibbeh
0
95

The End.