prog freezes on unload event
:pthis is server for webcam freezes up on unload event anyway to fix this Code: Dim CamHwnd As Long Private m_Jpeg As cJpeg Private m_FileName As String Private m_Image As New...
View ArticleSQL Backup using Visual Basic
Hi I want to take SQL Backup using Visual Basic on the basis of no of days / no of transactions. I am using Sql Express 2005. Thanks
View ArticleDelete rows/multiple sheets
Hello, could you help me to finish my code please? I would like to delete all the rows except the header in multiple sheets. Somehow this code does not work It is added to a button, which should delete...
View Article[RESOLVED] Subscript out of Range
Hi I need to split data from a datagrid column say Brown John E & Jane P Code: VB6 Option Explicit Private sNamePart() As String 'array of strings Private s As String s = Brown John E & Jane P...
View ArticleExporting data to Excel
Hello all! And thanks in advance for your help. I am a rather new developer with VB6. I currently have a program that measures the current output from a meter every 3 seconds. I want to export the...
View ArticleFind next not working
I am creating a user form that searches one excel sheet and copies a row and pastes it into another sheet. It will find the first string but will not find the next string. Dim FindString As Date Dim...
View Articleto pass an array of bytes to string (but I want 8bits, and not to use unicode)
the function that I thought to use is StrConv, but it seems that the only option is to convert to unicode. StrConv(buffer(), vbUnicode), and I don't want the overhead and oversize converting it to...
View Articleproblem .. please help
iam working on a project i have this code Code: dbname = App.Path & "\hitech97.mdb" Set db = OpenDatabase(dbname, OpenTable) sq1 = "select* from products where product_id=" & Val(Text1) Set rs1...
View ArticleCentering Text Vertically in Label?
Is there any way to center text vertically in a text label?
View ArticleCounting variations using two dimensional array
Hi I need to count variations within a certain field from a text file which I read in. Basically, file is read. String is split based on the delimiter and read into an array String(2) is the element...
View ArticlePlease Wait Form Doesn't Work When Running Modules
Hello to everyone. I'm new to the forum, also new in programming with VB6. I have created a "please wait" form with a timer that adds dots after the "please wait" label. The thing is that i want this...
View ArticleHow do I load a private-key file in CAPICOM in VB6?
Using makecert I have now created key pair test.pvk and test.cer The command line for this was: Code: makecert -r -n "CN=test1" -sky exchange -sv test.pvk test.cer And I already know how to load in the...
View ArticleOpening pdf into pic box
I have a program, i've been developing for a couple weeks, and now what i'm trying to do is to pull a pdf into a pic box, it works somewhat, however when i end the program, the program freezes, and...
View ArticleProblem with update arabic text record into MS Access
Hai experts.. I'm using VB6,ADO and MS Access as database. In my VB6, when user check a checkbox, it will write data in MS Access field. Some of the data in Arabic font. In VB6 it's show the Arabic...
View ArticleGetting results from a command prompt into vb6
Hello, I have been trying to find a way to get the amount of all files on a hard drive. vb6 has no direct solution, so I thought that maybe there was a way for vb6 to communicate with a command prompt...
View ArticleWaitCommEvent Failing
Hi everyone, Here is a code snippet I'm having trouble with: Code: Select Case WaitCommEvent(hPort, commEvtMask, ComEvent) Case 0 'Error dwRet = Err.LastDllError...
View ArticleI get stuck in a never-ending loop.
Hi guys. My program is a complicated mathematical algorithm, that assigns traffic to a network. This assignment needs a travel demand function. Here is my problem. when I use a simple demand function...
View ArticleHow To: App2 kills App1, then App2 continues on
Here's my situation App1.exe is running. If user clicks on a button then App1.exe will Shell App2.exe. App2.exe kills App1.exe. After App1.exe has stopped running then App2.exe deletes its EXE name...
View Article[RESOLVED] making my cam server accept multi help please stuck!
server Code: Private Sub Form_Load() Winsock1.Close Winsock1.LocalPort = 1121 Winsock1.Listen End Sub Code: Private Sub Winsock1_ConnectionRequest(ByVal requestID As Long)...
View Article