10,987 Topics

Member Avatar for
Member Avatar for icedece

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 …

0
68
Member Avatar for firoz.raj

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 …

Member Avatar for cguan_77
0
156
Member Avatar for sonia sardana

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 …

0
64
Member Avatar for winrawr

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 …

Member Avatar for winrawr
0
229
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
276
Member Avatar for zela

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 …

Member Avatar for zela
0
140
Member Avatar for Bob Jacobs

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

Member Avatar for vb5prgrmr
0
85
Member Avatar for massivefermion

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:

Member Avatar for Ancient Dragon
0
148
Member Avatar for firoz.raj

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 …

Member Avatar for cguan_77
0
88
Member Avatar for bennyp

How do you call passwords from a txt file to check with the entered password to allow access. I hope that makes sense.

Member Avatar for HNgoc
0
330
Member Avatar for VIPER5646

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 …

Member Avatar for VIPER5646
0
137
Member Avatar for kiske

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 …

Member Avatar for ArkM
0
242
Member Avatar for Yomet

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 …

Member Avatar for jdn
0
2K
Member Avatar for hannahwill

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 …

0
47
Member Avatar for gr3en39

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 …

0
41
Member Avatar for ProgrammerX

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" …

Member Avatar for QVeen72
0
309
Member Avatar for kn2790

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 …

Member Avatar for QVeen72
0
107
Member Avatar for RahulV

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 …

Member Avatar for zela
0
245
Member Avatar for clueless02246

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 …

0
40
Member Avatar for arasten

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 …

Member Avatar for arasten
0
97
Member Avatar for luko

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 …

Member Avatar for luko
0
82
Member Avatar for bharanidharanit

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 …

Member Avatar for vb5prgrmr
0
115
Member Avatar for AngelSanchez

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 …

Member Avatar for vb5prgrmr
0
104
Member Avatar for rahul8590

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 …

Member Avatar for rm_daniweb
0
98
Member Avatar for DZSlasher

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 …

Member Avatar for QVeen72
0
285
Member Avatar for love_dude1984

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 …

Member Avatar for love_dude1984
0
189
Member Avatar for love_dude1984

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 …

Member Avatar for love_dude1984
0
106
Member Avatar for cheekeemonki

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 …

Member Avatar for cheekeemonki
0
80
Member Avatar for sal21

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) …

0
85
Member Avatar for firoz.raj

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", …

0
41

The End.