12,155 Topics
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 …
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.
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 …
;) 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 …
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 …
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 …
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, …
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?
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?
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. …
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 ;)
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?
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 …
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 …
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: …
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
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
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 …
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.
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 …
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 …
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 …
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 …
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 …
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 …
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:
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 …
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 …
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 …
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} ? …
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 …
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 …
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.
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 …
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 …
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 …
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 …
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 …
Does anybody know of a website that has Visual Basic tutorials. Your help will be greatly appreciated.
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.
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: …
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?
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 …
I need to search the pc for all files with a particular extension. Can anyone point the way ?
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 …
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 …
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 …
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.
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 …
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() …
The End.