12,425 Topics
![]() | |
hi guys once again i need some help with creating a loop in my game's animation so that when the stop button is pressed the set of blocks stop while a new row appears above them and repeats the animation. here's the code i have so far: Dim Block(2) As … | |
Hi i've created an animation for a game where a set of blocks moves from left to right across the screen automatically through the use of a timer. However when i set the interval of the timer below 150 the image starts to flicker as it's moving. I've read that … | |
Okay.. Lets say I have ten labels and I want a random number between one through ten in each label.. But in the labels I dont want to have duplicates so that way in labels 1 through 10 they will have an integer between 1 and 10.. But randomized.. | |
Hi, I open notepads and other applications using shell during runtime. But now I want to check out whether these applications are open or not. How am I supposed to do that? | |
Hi, I have created a project using MS Access db its working fine except one. A dialogue box opens up when running its exe, saying [B]"Please enter MS JET OLE DB initialization information."[/B] But I have provided all the DB connection information and other related information at runtime during initialization … | |
im trying to write a program to calculate BMI for practice. I have it working for the most part but im having trouble with 1 thing. I want to say if its any letter or not a number then display an error message. Here is the code that I need … | |
Dear All we have an application that reads data from standard Serial Ports. E.g GPS Receivers, Gyro Compasses and other devices. We have 3 serial ports on the PC. We need to create a simulator that will simulate data that this program can read. We only have 3 Comm Ports … | |
Hi, I want to disable to print in a virtual printer (Ex. Adobe PDF, etc.) I want to know if the default printer is not a real (paper) printer. Thanks in advanced B. | |
Hi, How to connect visual basic program with mysql database?I need a sample program of retrieving the data and also inserting the data into the table using mysql database..........I dont have any idea..... please help me ....... Regards, Santhanalakshmi. | |
I want to make a data report. I write a name (like: taher) in a text box then press a button and then (taher's) all data will show. how it possible? I want it many ways. like name, ID, date. I mean I write name or ID or date and … | |
what's the steps to install visual basic 2005 third edition? so I can be able to program? | |
:?: HI Guys...:'( can anyone of you knows how to make a quick qoutations.. By the way i'm mark a newbie in programming..and here's my problem.. i would like to create a quick quote for my project that can solve a simple mathematical quotations..like for example when you enter your … | |
Hi guys i'm currently creating a vb6 version of the arcade game "Stacker" [url]http://en.wikipedia.org/wiki/Stacker_(game[/url]) The above link will give a detailed version of what i'm trying to create however for those who just want a rundown here it is: There is a row of three cubes which move side to … | |
Can anyone tell me why i am getting The requestedmember of the Collection Does not exist.Runtime error '5941'.Any help would be Greately appreciated.Cursor go on the bold line. [code] Sub CreateMaterialsTable() ActiveDocument.Tables.Add Range:=Selection.Range, Numrows:=3, NumColumns:= _ 4, defaulttablebehavior:=wdWord9TableBehavior, AutoFitBehavior:= _ wdAutoFitFixed [COLOR="Red"]ActiveDocument.Tables(3).Select[/COLOR] 'selection is Application.selection object With ActiveDocument.Tables(3) If .Style … | |
I m reading the doc file in binary mode,Junk Characters are returning,Now i want to convert these junk characters(BYTE ARRAY) to string....But mine code is not converting... [code] Private Sub Form_Load() RaedOtherFile "D:\THIS IS S A TEST SCREENING.doc" End Sub Private sub RaedOtherFile(sFileName As String) Dim bytData() As Byte Dim … | |
Well i was looking in the paper the other day and they have this Word puzzle with a bunch of letters used to figure out what the quote of some famous guy was. Basically they take every letter of the alphabet and just change them and print it out and … | |
I've been able to design a front-end for a C DLL, calling the DLL functions from the VB program but I'm having trouble calling the VB functions from the C DLL. Maybe I should have put this in the C forum, but I don't know. If I have this in … | |
Hi, Im new here, im sorry if i am posting in a wrong forum, i have a piece of code that update a binary field in sql server 2000, im keeping this code a simple as possible, so this is working but only save the first character in the string … | |
I use a database connection string as below and my program work fine. Public Function initdb() Set ws = DBEngine.Workspaces(0) Set db = ws.OpenDatabase(App.Path & "\Masterfile.mdb") Set rs = db.OpenRecordset("Detail", dbOpenTable) max = rs.RecordCount Exit Function End Function *********************************** But now I lock the msaccess table ie. Masterfile.mdb with password … | |
I am using VB 4 and have some VB programs that I would like people to be able to download from my web page. The whole thing is a mystery to me..what do I have to do..In English would be appreciated | |
Hi I really need help It is a homework for just four days later. want someone to write two programs for me: 1-A program that converts a decimal number to hexadecimal 2-A program that generates the output below using loops: | |
can anybody tell me .why it is not working .any help would be greately appreciated.Bold line is not working.Kindly find the attachment also.it becomes red i am using ms office 2003. kindly help me. here is the code what i have written. [code] Sub AddTopHeader() Selection.TypeParagraph Selection.TypeParagraph With Selection .Font.Name … | |
How do you call passwords from a txt file to check with the entered password to allow access. I hope that makes sense. | |
Hi I have a checklist box and I am trying to Check and Uncheck the the Items with a single click. My code seams to be checking and uncheking if the Item is not selected. If I Click on an Item that is checked it will uncheck it or vice … | |
Hi, I have a function in VB6 like this: [CODE]tot = CLng(tot Xor Not lngdata)[/CODE] I'd like to do the same in c++, but I can't get the same results... I've tried like this: [CODE]tot = (int)((-1) * (tot ^ lngdata) ); [/CODE] But I don't get exactly the same … | |
Hello, I have the same problem as this poster [URL="http://www.daniweb.com/forums/thread89221.html"]http://www.daniweb.com/forums/thread89221.html[/URL] but to summarize: I have a VB6 project that worked fine until Sep. 2008. I have not worked on it since then so when I started working on it in the last month and got error messages I was very … | |
hiya! i need to provide a free business directory on my website.i am planning to make business directory as a webservice.users will b accessing from different domains. question 1: is it possible to implement my idea as a webservice in visual basic and will it be accessible from anywhere? question … | |
hello everyone. the package i made cant be uninstalled. th uninstallation process shows that it was successfully uninstalled but the system reamains in the computer. why is that? the user should manually delete the package found in c:\program files after the installation process was completed in order to completely delete … | |
Greetings fellow coders, I am using the Playsound() function for playing music or sounds in my console based C++ application. I have a few brief questions that I need answered before I can continue. 1. When using the Playsound() function, how do you set the volume level? 2. How do … | |
Hi i have been working on a project for my younger brother. A simple VB6 and MS Access/SQL server based client-server database. For that i recently started working on VB6 as i previously had only worked on Java and C++. I have been consulting the book "Using Visual Basic 6" … | |
so im trying 2 add data to my table in the database, done all the connection (OLEDB one) so this code adds to my database: [code] SQL = "Insert into Bookings(StaffID) values('" & stafid.Text & "')" DC1 = New OleDbCommand(SQL, cN) DC1.ExecuteNonQuery() MsgBox("Record Saved, Thank you!", MsgBoxStyle.OkOnly, "") [/code] this … | |
Hi, In the VB projects that use Access Databases, its found that the user is able to access the database directly (manually) ie by reaching the file and double clicking it open. But, what all can i do to prevent the user from directly accessing and using the database? What … | |
hi i am having some trouble with my pause and stop buttons. im using a Horizontal scroll bar and timer for the tracking bar insted of the usual media player controls in the bottom of the visitation. my pause button does not work at all and this is the code … | |
hello there, i have a network project for the school that i should give it in about a month from now. well basically we want to make a game with a chat window connected to the network without using internet (by lan). i want to make x/o game with a … | |
Hello I am sure this is well within most peoples capability on this site and am a little embarassed posting this but alas here goes. I am using Crystal reports and I have only just remembered I can use VB code in Crystal. I have a report based on 3 … | |
Hello, I need to autocomplete for a textbox. If i type 'a" in textbox means, it must show the dropdown list showing all words starting with a. Like that for all the alphabets. It must show the words based on the user typed words before. Suppose when the user first … | |
I am trying to edit information contained within an access database using vb6 on a client server book lending program. I am fairly new to vb so please excuse incorrect terminology etc. I have included the server code for adding a book as the edit code will have to follow … | |
well i am working on program which inputs : 1. student record (name , semester , class , branch , roll no ) 2. the various subjects on which the exam to be held 3. the date on which the subject s exam to be held the data which is … | |
Hey all, I have been working on this maze game for my introduction to programing class. I have run into a problem. I have my picture box which is the cursor start at location 32,32. When I click any of my buttons it moves the picture box to 0,0. from … | |
hello frendz.. im working on a small application wher i need to copy the data from excel sheet and paste it to the text file.im trying to create a macro for tht. the selected row should be in a specific format. like if ther r 3 colums then the text … | |
hi.. im writing a macro in Excel to copy a selected roe into a text file. i ve taken a button on a sheet and when user clicks on the button the selected row (only selected row) should b copied into a file on c: seperated with ","... ive written … | |
Any help is greatly appreciated!!!! I have already created a dialog box that holds the Combobox that contains the list of searchable terms but I am getting stuck on my search/go button. Here is a link to a copy of the DB Event Search form in question. [url]http://cheekeemonki.angelfire.com/Event_TESTER.accdb[/url] I have … | |
see the image of my listview... I want colorize each cells in rowset based the percentage in cells, how to? is possible? for example: if the percntage is 50% colorize half cell if the percentage is 25% colorize 1/4 of cell .... ecc i use this to insert percentage: ITM.SubItems(5) … | |
can anybody tell me why i am getting error object variable or with block variable not set .here is the code what i have written. any help would be greately appreciated. [code] Public Sub Addtolistview() 'Dim success As Boolean DataPath = GetSetting(Application.Name, "BasicSetup", "Database", "") 'StrQuotationStartID = GetSetting(Application.Name, "BasicSetup", "QuotationStartID", … | |
i was wondering, is their any way to do something, say msgbox, when an exe is ended via the end process in the task manager? thanks in advance! | |
Hello guys! I am a new member so if a make a mistake please don't shout at me :P I want to know how can i edit and delete a registry key in visual basic 2008 and also how to add a subfolder. I don't have any code so please … | |
Hi, I am brand new to the DaniWeb Forums. I'm also very new to VB, and I taking my first course on it. I nearly have a large project done, but I have one main issue that I have not been able to resolve on my own as of yet. … | |
Im trying to make a small game in visual basic 6. It requires the moving of a command button depending on the different key inputs. I have the code working when you push other command buttons that this one moves but I cant figure out how to detect when either … | |
Hi all, I have wrote VBA code by export data into excel. But when i run it in some machine, an error occured. Error message is below: "Run-time error '-2147024770 (8007007e)': Automation error The specified module could not be found." Error occured in some compters only, not all. Any one … | |
Hello, I am trying to make a Rock Paper Scissors Game. I hae a combo box which the player is supposed to choose one of the three options. I want when they choose one that a corresponding image is shown in the picture box. I cannot figure out how to … |
The End.