vba x 200

12,155 Topics

Member Avatar for
Member Avatar for blahbleh

hey. I have a book called Programming Games with Microsoft Visual Basic 6.0 and no matter what I try to do with the hangman game, I can't get the code to work. It's all messed up. Can someone supply me with the whole code for the game so I can …

0
65
Member Avatar for abstrait

Is it possible to allow people to input information and then when the click submit, have the information sent to my email account? If so, how would I go about doing this? I'm using VB6.

Member Avatar for Member #53442
0
159
Member Avatar for williamrojas78

Hi I am developing this application where i have to create a report in excel; in other words i am writing to an excel file from VB. The application writes the contents of a grid into the excel file. The first time I run it it works fine, but the …

Member Avatar for williamrojas78
0
447
Member Avatar for LiquidICE

;) Greetings fellow beings! I am LiquidICE(water), i was brought into existence on the 25th of June 1987 at aprox 08:23. I am of the male counterpart. My hobbies colligate programming(visual basic(want to learn c++)), hardware(fooling around with wires and other harmful material), extreme sports(trampoline, biking, potato guns, ect) and …

0
31
Member Avatar for barryhuizenga

Hi Thanks in advance for any assistance with this side project of mine. The hospital I work for wants to improve patient interaction with a laboratory blood draw station by taking them from a crowded cooridor to a more comfortable waiting room. The idea is to hire a greeter who …

Member Avatar for barryhuizenga
0
202
Member Avatar for Maged

Hello All, I have 2 problems I think related to same problem I use VB6 pro edition with SP6 The first I use thr function RmDir to delete a directory when cancel button is clicked, it works on 98,ME but in XP I get "File Acsess error" message. I stop …

Member Avatar for Member #53442
0
194
Member Avatar for complete

In Visual Basic 6 I have written a program to read and write to a file. It works fine. Now I have to do the same for binary data since the information I write to the file has [i]end-of-line[/i] and [i]return[/i] characters. For instance, when I write to the file, …

Member Avatar for Comatose
0
164
Member Avatar for complete

Is it difficult to write to the system clipboard? Also, once that is done, how about launching Notpad from VB and dynamically doing a paste (I guess via DDE) from VB code?

Member Avatar for Member #42369
0
221
Member Avatar for twins

I need to help me by giving me a new simple idea for developing any of office programs such as powerpoint OR any idea for developing a program for developers with new thing?

Member Avatar for Slavrix
0
118
Member Avatar for solway

hi all, ive just started learning VB6 and have come across a problem or two. can you guys help. i am trying to create a countdown timer, i have made one with a timer and textboxs (5 textboxs, mmm:ss). but i have seen some examples using pictures as the numbers. …

Member Avatar for solway
0
152
Member Avatar for twins

I need any idea support my senior project where my teacher asked me to develope a program for developers not for the user or develope an existing program with new idea. can any one help me? thank you ;)

Member Avatar for loup
0
110
Member Avatar for complete

How does one create the process where a user can open (select) a file to read from? In C++ there are already classes to inherit from. Do I have to make a file open form from scratch in VB?

Member Avatar for chopaface
0
235
Member Avatar for DotNetUser

In Visual Basic 6.0, all the available events for an object (ex. Button) are displayed in the Procedure box of the Code window for the developer to choose from. But in VS .NET, the events are hidden. Is there a way to expose them or find out all the available …

Member Avatar for salamkottayam
0
185
Member Avatar for ccoleman

Ok I have an excell sheet that I have set up to email out and to add an all day event to an outlook calender. There are two problems I'm having, one is that I can't get it to update the calender unless I already have outlook open. I'm using …

Member Avatar for Kegtapper
0
120
Member Avatar for Member #55575

ive made a program that links into an access 2000db. ive written the code for the find button as [CODE]Private Sub cmdFind_Click() Dim x As String x = InputBox("Input the first few characters of the Company Name ", "Find on Name") Data1.Recordset.FindFirst "Name like '%" & x & "%'" cmdFind_ok: …

Member Avatar for Kegtapper
0
425
Member Avatar for Slavrix

umm can some one pls teach me how to publish my work in VB6 pls. thx, i got it to work once but it took me 30 ties and 40 days. so all help isuse ful . thx

0
74
Member Avatar for cindynicole

Hi all, I need a fresh set of eyes :eek: . Can anyone see what is wrong w/the sql statement? Dim sql As String = "INSERT INTO order " & "VALUES ('" & itemId & "', '" & description & "', " & oNum & ")" Danka, Cindy

Member Avatar for cindynicole
0
180
Member Avatar for Duckman

Hi, I am not much of a programmer, so I was wondering if someone could help me write a VBA function that will go through all the cells of an excel sheet, and if a function exists in that cell, output that function to a text file? After having the …

Member Avatar for Member #53442
0
204
Member Avatar for hopkins1878

Hi there, I am not the bet in Access, I will admit. But need a function to open up a MS Outlook template (.oft file) within Access. Anyone help with quick steps on how to do this, It would be greatly apprciated.

Member Avatar for Kegtapper
0
606
Member Avatar for jto

i have different sige of photo files which was scanned through a scaner and save as *.jpg file , now i want to use all this files in a form made in vb6 where i want to link all these files trough data base so that i can see each …

Member Avatar for Kegtapper
0
323
Member Avatar for Gunapriya

Hi all, I want to display certain messages depending upon the option selected in the combo box. As soon as the option is selected i want the corresponding messages to be displayed. That is I dont want to use submit button. Please let me know how this could be done …

Member Avatar for william_stam
0
156
Member Avatar for jacobi

Hi, I'm new here. I program card and board games in VB6 Prof in Windows XP Home with SP2. For cards I use the freeware QCard32dll obtainable from www3.telus.net. I have a problem with AdjustCardBlocked hWnd, nCard in that the top offset of 16 pixels seems to be unblockable with …

0
66
Member Avatar for awaw

Hi EVERY BODY I am working now in the large project. I used in some pages visual basic .net language and some C# language. How I can gather the two languages in one solution. I am using visual stido.net program. Note I could change any of them to other language …

0
76
Member Avatar for lallous

Forgive me for my questions but i am still an extreme beginner with VB I'm just practicing some programming so i decided to code a simple program which will help users convert between different units of measurement. I started with Temperature conversion and what do u know i got stuck …

Member Avatar for Comatose
0
144
Member Avatar for Member #2466

Hi all, I'm importing external data into Microsoft Excel XP from a database. Not wanting to query all 70 databases we have I'm thinking a macro or some visual basic would work nicely to automate this. However, I'm stuck because everything I read tells me that one cannot query multiple …

0
165
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
1K
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
147
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
238
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
154
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
470
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 Member #53442
0
192
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
177
Member Avatar for hopkins1878

Hi there, I am not the bet in Access, I will admit. But need a function to open up a MS Outlook template (.oft file) within Access. Anyone help with quick steps on how to do this, It would be greatly apprciated.

0
78
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
59
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
71
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
206
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
247
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
184
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
101
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
156
Member Avatar for aarya

i m trying to send fax from my site bit i m getting the error as -1003. the code is Set objSoap = Server.CreateObject("MSSOAP.SOAPClient") 'Create the SoapClient object objSoap.ClientProperty("ServerHTTPRequest") = True objSoap.mssoapinit("http://ws.interfax.net/dfs.asmx?wsdl") SendFaxResult = objSoap.SendCharFax("user", "pass", "+1 801 6852718", "This is a sample Fax", "txt") Response.Write "Fax submitted. Transaction ID: …

Member Avatar for aarya
0
300
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
187
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
176
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
435
Member Avatar for goldeagle2005

Hi all, here's a bit of code for a registration page im working on. <%@ Language="VBScript" %> <%reg=Request("reg")%> <% if reg <> 0 then %> <SCRIPT LANGUAGE="JavaScript"> alert("Confirmed. The information has been entered.") </SCRIPT> <% End If Set Con = Server.CreateObject ("ADODB.Connection") Set rs = server.CreateObject ("ADODB.Recordset") Con.Provider="Microsoft.Jet.OLEDB.4.0" Con.Open(Server.MapPath("cesa.mdb")) sql …

Member Avatar for msaqib
0
147
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 Member #53442
0
263
Member Avatar for Member #53442

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 Member #53442
0
286
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
186
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 Member #53442
0
209
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 Member #53442
0
226

The End.