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

Winsock + VB6 + UNIX

Can someone help me in sending data to Unix using Winsock through VB6. I am able to connect but not able to send any commands to Unix. Any help is highly appreciated. Thanks in Advance Below is my code...

View Article


random numbers rnd randomize rng etc...

Hi, havent programmed in over 10 yrs... What im trying to accomplish is a random number with an actual % to roll... ie... If I have 100 entries or 1000 entries I want an actual 1% , 10%, 25% chance to...

View Article


Image may be NSFW.
Clik here to view.

How do I get rid of this Error Message for only one EXE forever!!

Hello I am writing an Application EXE File that uses two VB6 COM OCX Files and I wish to remove this type of Error Message, everytime I run my Application. The Error Message in question, is below in...

View Article

Image may be NSFW.
Clik here to view.

array function - > Redim preserve and array copy --variable used as...

I wanted to write some function in vb6 for 1D array like "linespace" that creat a 1D array and fill with values starting from x to y with increment n 2) and a 2D array function "zeros" that creat a 2D...

View Article

[RESOLVED] Clear Rich Edit content

Hi Guys! Code: Ā  Ā  SendMessage hWndRichEd, EM_SETSEL, -1, -1 Ā  Ā  SendMessage hWndRichEd, EM_GETSEL, VarPtr(lngSelStart), 0 Ā  Ā  strLine = "" Ā  Ā  SendMessage hWndRichEd, EM_REPLACESEL, 0, StrPtr(strLine)...

View Article


Create a barcode for an employee number like 'NLP-01-00001'?

It is easy to scan a barcode but I haven't tried creating or printing one. For example, we want to use a barcode and put it in our Identification Card, can we create a barcode for text like...

View Article

[RESOLVED] is it a issue with winsock

im making a program which will send sms with the api provided by the company to all the numbers present in my excel file.. im loading the excel file in msflexgrid.. the logic is to send sms to all the...

View Article

[RESOLVED] .frx/.frm to .bmp - urgent and stuck!

I am basically screwed at the moment... I was previously working on my VB6 project at work, and the company closed down 3 weeks ago. I thought I had backed up everything I needed, but it seems I missed...

View Article


Click on a textbox and clear it's contents.

Hi everyone. I am working on a student program, and basically I have a textbox called Text1 that says CLICK HERE TO ENTER ANSWER, but when the student clicks on it, I would like to clear the contents...

View Article


WebBrowser control in VB6 -shdocvw.dll not working in Windows 8

I am using WebBrowser control in VB6. when i develop this in a Windows XP machine and when i add Microsoft Internet Controls reference , shdocvw.dll gets added. And my application works fine in XP. If...

View Article

How can run java code in webbrowser

Hi , thanks for this site its very gd i have this code html in page Quote: <input class="avgvg_CSS apccpssvbCSS" onclick="CALL('df.a.vote');" type="submit" value=""> i want to run this code call...

View Article

how can i send spacebar by Alternative sendkeys ?

is there code Alternative sendkeys to send spacebar command ? ?? ? ??? ?? ? ?

View Article

How to send track in Web Browser

How to send track in Web Browser

View Article


Image may be NSFW.
Clik here to view.

Empty TextBox trapping Problem

Private Sub cmdSave_Click() Select Case TextBox Case "a" If txtMAdd.Text = "" Then MsgBox "No ADDRESS detected...try to fill all fields before saving.!.!.!.", vbExclamation, "Mechanic Manager...

View Article

how to prevent others to use my dll and ocx?

I was amazed when I tried to use an ocx and a dll from a program for capturing image from webcam. As I tried to use their ocx and dll in the reference of my project, I cannot add it as reference...

View Article


Most common word, code error "Run-time error '5': Invalid procedure call or...

Code: Dim brojac1 As Integer Dim myArray() As String Dim x As Integer, y As Integer Dim RijecPonavlja As String myArray = Split(sadrzajB, " ") For x = 0 To UBound(myArray) If Asc(Right(myArray(x), 1))...

View Article

[RESOLVED] How may I use more than 1 character as a red flag for removal?

Hello there. I have a list of items for a student game. I borrowed some older code from a bingo game that would let you take away numbers from the bingo list of numbers to be called. Now I am working...

View Article


Bad File Mode?

Hello there. I have had the chance to try out some really neat software at school that helps with students morning routines, such as signing in/attendance, etc. The program will load up a student...

View Article

[RESOLVED] Is something wrong with app.path?

Hi there! I am working a student attendance prog that saves the attendance to a txt file. The program uses this line to create and save the textfile. myFile = App.Path &...

View Article

[RESOLVED] text1 detect www.xxxxxx.jpg please read

hi ladies and gents em i have a text1 in form if text1.text = www.example.com/demo.jpg then text1 image link format ok Code: elseĀ  rest format notĀ  ok www.example.com/demo. or www.example.com or www....

View Article
Browsing all 21709 articles
Browse latest View live


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