[RESOLVED] Sending and Receiving Byte Data Using Winsock
I seem to be having a problem either sending byte data or receiving byte data or both using Winsock. When I get the data in DataArrival into a byte array it isn't correct; it's garbage. Here is my code...
View Articleerror runnning vb application .exe file on diff PCs
I have one vb application exe file which runs well on one of my PCs in the office but never runs on any other Pc. I copied the exe file on other Pc including the ms access database files, ocx and dll...
View ArticleAutonumbering based on cell input
This might seem like a simple request, but I'm still learning! :confused: I have an Excel 2003 spreadsheet that I would like to set up with an autogenerated autonumbering system. Column A is titled...
View ArticleCoding problem
Hi I am coding a decoding program to use in my school. The user can write a text into a text box. On the main form I have a labels 23 (columns) * 10 (rows). If the user wites : "Hello I am using Visual...
View ArticleVB6 Tabbed Web Browser
I have seen a lot of requests for a tab oriented Web Browser in VB6, but so far I have not found one that meets my requirements. It did not seem like a major problem, so I decided to embark on a...
View ArticleForm, Choose com port. VB6
I am Using VB6, 1. Would like to know how can i include com port box in the Form, so i can choose which. Or if there is option to check which comport is in use. So i can recieve NMEA data from my gps...
View ArticleFindWindow api problem
i have used FindWindow, GetWindow , GetClassName ,GetWindowTextLength , GetWindowText, PostMessage APIs to implement BM_CLICK (to click button of another exe and its working fine) But after closing...
View ArticleCan my project "DELETE" itself ?
Hello ! is it possible to make my project delete itself? I was thinking about SHELL, delete it using shell Something like Code: Command1--------------------------------------- Form.unload Shell...
View Article[RESOLVED] Loop through a listbox and copy the item to a label caption.
Hello there! I have a program that has a bunch of math questions in. The questions load into a listbox called GameList I also have an array of 75, 0-74 labels called GameNameLBL(0) all the way to 74....
View ArticleCreating File & Writing Data Causes a Permissions Error
I get a "permission denied" error while running the following code. vb6 Code: Public Function DeleteLines(ByVal from_name As String, ByVal to_name As String, ByVal target As String) As Long Dim...
View ArticlePicking up time from excel
I have a VB program which picks up time from an excel worksheet and populates in the table. Somehow some of data is getting picked up wrongly. e.g. 1:26:24 PM is getting picked up as 0.56. The rest of...
View Article[RESOLVED] What kind of Form do I need?
The Form cannot be resized but it can be minimized
View ArticleFaster Web SQL update?
I have a program which matches inventory from a local DB to my web SQL. Each record takes .3 seconds to update, and I have between 10K and 40K records. Is there a better/faster way to update the sql...
View Article[RESOLVED] How to detect repeated names in a string of names?
A typical string will look like this: "sam,larry,bill,mary,allen,jim,fred,joe,john" This string is correct in the sense that no names are repeated However, on occasions, the string could look like...
View Articlehow to stop paintpicture clipboard changng category scale in a scatter graph
I have a scatter mschart with fixed X scale and Y scale to max = 20, Min = -20, major division = 5 and minor division = 2. The code also sets Uniformaxes to false. I use the clipboard to print it with:...
View ArticleSaving an array to a textfile, with a small twist.
Hello there! I am working on a newer version of a game, and this newer version allows users to make their own custom games which will be saved into a simple textfile, but while I can save a textbox to...
View Articlehow to use winsock.DLL
hi all. i always have using winsock.ocx that installed by vb6 ! but currently a have to create one exe-file to send data without using winsock.ocx. the only way i found is winsock.DLL ,but i don't...
View Article[RESOLVED] REmoving the bottom item from a listbox
Hi there, I was wondering for testing purposes, say I have a listbox called list1, and I wanted to remove the last line from the listbox, would anyone know how I could do that. I can take the top away...
View Article[RESOLVED] Expected Expression. Optional Arguments
Hi, I hope someone can help me. I'm getting an error whenever I try to do this. Here is my code: Sub emp_filter(Optional ByVal cmbApprove As ComboBox = Nothing, Optional ByVal cmbDept As ComboBox =...
View Article