Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21741 articles
Browse latest View live

[RESOLVED] Split data with 2 different delimiters

Hello guys This is my first post here. I have a problem with my code. I try to generate data (phone numbers and names) within Listview (that has 2 columns) The data looks like: Code: 123456 George...

View Article


[RESOLVED] Split question

Let's say there is data with one delimiter vbCrlf : Code: Jack Jhon James George it's easy to split this data using code like this: Code: entry= Split(data, , vbCrLf, vbBinaryCompare) But, how i can I...

View Article


Alternative for this API

Hello everybody, i'm doing my program and i use this api on it: Code: Declare Function CallWindowProcA Lib "USER32" (ByVal lpCode As Long, Optional ByVal lParam1 As Long, Optional ByVal lParam2 As...

View Article

Information Formating

Now that I have gathered all of the information from the various files what would you suggest as the best method to format the acquired data? Currently I am trying to use html code written into the...

View Article

[RESOLVED] Keyboard ShortCut not working?

Hi there all! I am working on a alphabet bingo game for students, and I am trying to rig it up so if a user presses the C button their keyboard it would call a a sub. Like this. Private Sub...

View Article


working with webbrowser + tags auto detect

i have a webbrowser as chat window and when i enter img tags inside webbrowser it only shows the tags and url to the image , its not auto detecting the tags and inserting the image auto , is there a...

View Article

Getting unicode text from Internet Explorer_Server class

Hi, I am trying to get text from a 3rd party application. It has a "Internet Explorer_Server" class. I can get the text by getting the hwnd and using HTMLDocument objDoc As HTMLDocument...

View Article

VBA: Format textboxes for all Forms

Hi Guys! I am a very new member and hello to everyone. I am a rookie in VB but I was an apprantice in Excel VBA. I used to use a module in one of my projects to format textboxes for all userforms in an...

View Article


Crystal Report Viewer 8.0/SQL 2012 Errors "Error Detected by database DLL"

Hi all, I have a client running a healthcare program called QuickCap. It runs in a SQL database. Crystal Report 8.0 is embedded in the program. When trying to print, an error titled 'Crystal Report...

View Article


detect app not responding

Under task manager, if the application freezes, it says not responding. Is there a way or an API that can detect which process name that is not responding?

View Article

working with Winsock

i m making a software for my self which sends sms using simple http api's given by the provider im loading the csv file which has my customer phone number data in vsflexgrid and then when i hit send...

View Article

Problem with file download in IE 9 and IE 10 using vbMHWB.dll

We have been using vbMHWB.dll (1.2.1.6) in our vb6 code to download files from website. But in ‘windows 7 – Internet explorer 9’ and ‘windows 8 – Internet explorer 10’ we have encountered some problem...

View Article

Breaking String

Hi I have a weather sensor that gives output on serial port in the following format: $SMWSD,06.9,257,06.4,265,A,R,07.0,267,06.4,275,V,T*45 $SMTHP,+27.0,A,T,80.6,A,H,0998.7,A,P*42...

View Article


general question

1: i have loaded a control name anigif , anigif.ocx, i wonder if i can load image by hitting the command button 2: when i click anigif can i insert the tag into text1 , like normally you will do for...

View Article

[RESOLVED] HELP, this is killing me! Language issue? VB6's fault?

I can't believe this. I had this huge error and I couldn't find the cause. Then I went step by step and I found the cause of problems is this: Code: Debug.Print TextContr(10).Visible 'It says: False...

View Article


[RESOLVED] If .... Then ...... Else Select Case behaviour incorrect ?

Apologies if I am being stupid but I can't understand why both the Then and Else clauses get processed in the following code :- If MyRs1![MorningRank] = 1 Then G = 1 Else Select Case MyRs1![PP_Places]...

View Article

Can't get ByRef to work in VB 6.0

I am trying to run this very simple application ( a form and one button ): Public Sub Modify(ByRef b As Integer) b = 167 MsgBox (b) End Sub Private Sub Command1_Click() Dim a As Integer a = 12 Modify...

View Article


Textbox Question

I would like to use a Textbox for messages but I do not want users clicking on it or manipulating the text in the textbox. I know I can use Lock = True but user can still drag mouse over text and it...

View Article

LoadPicture says Not Found

I use this: Picture10.Picture = LoadPicture(App.Path & "\XXX.bmp") XXX.bmp does exist in the app.path but LoadPicture says file not found

View Article

CreateProcessWithLogon Stopped Working

So without warning I started receiving an error on all my machines running code that elevates rights and runs an application. The error is access denied. It is an application that runs at startup. If I...

View Article
Browsing all 21741 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>