Different filename formats from Command$ function
I am using the Command$ function to obtain the path of a file when the user clicks on it. On my usual laptop, running Win XP, the path is given in the Long Filename format eg "C:\Program Files\Common...
View ArticleUsing Command Button to reset excel form
I am trying to create a button which will reset my excel sheet and highlight the cells which need to be selected/edited, whilst ignoring blank cells and formulated cells. At the moment the 1st part of...
View ArticleEvent driven applications
This is more of a curiosity question. For VB6 applications that are purely event-driven, where and what is the code that's executed while waiting for an "Event"? Also is the "DoEvents" function a hook...
View ArticleString formula to Double
Hi guys! Let's say I have this: Code: Private Sub Command1_Click() Dim a As String Dim b(2) As Double b(0) = Me.Text1.Text b(1) = Me.Text2.Text a = "b(0) + b(1)" b(2) = a Me.Text3.Text = b(2) End Sub...
View Articlehow save and retrieve image in mysql database
I would like to ask for vb6 sample on how save and retrieve image in mysql database. tnx
View ArticleHow to send Email without using MS Outlook?
Hi, I have a code for send/receive email using MS Outlook but the problem is some of my clients are not using MS Outlook so I can't use that code. I try to use CDO's and VBSendMail. CDO's - > It is...
View ArticleChallenge: Pass a NULL Long to a COM Method
I've found a wonky COM object in Windows that was poorly implemented (and I believe this is the reason the documentation suggests that it is not implemented at all). Basically it wants two Longs passed...
View Articlewhat the hell is this
i found this modulel alone in 1 of my folders and i ran the module the project didnt have no forms but this module only this is what happened it auto open picture editor and started to draw on its own...
View ArticleSub procedure wont call.
Writing a program for school and a sub-procedure won't call, the rest do, but when debugging it skips the sub procedure and continues with the next one, the names of the procedure are the same, so are...
View ArticleHi . I hope you can help with this . vb & crystal report issue
Hi all . I have already made a page with data control and dbgrid . moved to crystal report . and there is a formula that i cant even figure out how to solve . i have enclosed a picture of the report...
View Articleunloading popup menuitem error
when ever i try to unload a menu item from the popup menu item under combbox click event like this vb Code: For i = mnuTCategory.Count - 1 To 1 Step -1Â Â Â Â Unload mnuTCategory(i)Next I get this error...
View ArticleNevermind - Mods, plese delete
I found a new way that renders my problem moot, :thumb: As you was.
View ArticleSwitch between two Frames during Run-Time, customized in Design Mode
Hey all! I'm trying to switch back-and-form between frames/forms during run-time, and would like to design each frame/form in design mode. FYI: I've seen a lot of information about hiding/showing...
View ArticleHow do I use VB6 to do Asymmetric Encryption?
RSA or other similar algorithm that has a different encryption key than the encryption key then the decryption key, is known as Asymmetric Encryption. Has anyone created an OCX or DLL or BAS or CLS for...
View Article[RESOLVED] Is there a way to center a label caption vertically?
Hi there. I am working on an attendance program for students to sign into in the morning. I reworked it, so there are a lower number of students, the student names will get larger on the screen, and...
View ArticleLoading RichTextBox
What are the steps to get the richtextbox object to appear as one of the visual design elements on the list of controls so that it can be inserted into the VB6 project ? Thanks, Mips.
View Article[RESOLVED] adding RichTextBox without Reference or ActiveX
hello people, i was wondering if there was a way to add a richtextbox without reference or without (right click on toolbox) add a ActiveX Control PS. I did find a way to do it but i am wondering if...
View ArticleQuestion on regexp
I just started with regexp because I need it for a new application. But I got stuck with html like replacements. I have something like this: <SPAN class=day><A...
View ArticleDataReport with out data environment
Dear Expert, I would like to know how to use data report in vb6 with out data environment. Can it be use with access 2003 to retrieve particular row in a data report directly. Regards, Kiki
View Articlequestion about max connection list of sockets
winsock socket ssocket csocket ok not sure if you lot used them but what is the max connections on those
View Article