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

[RESOLVED] [VB6] upload file to Dropbox

Hi. How can I upload a file to my Dropbox public folder (https)? I can download perfectly with Inet and this function: Code: Public Sub DownloadFile(strURL As String, strDestination As String)...

View Article


Replace 1 line with 4 lines of code

I'm using Visual Studio 6.0 Enterprise edition. I'm working on a task to improve error handing, hence need to replace one line with 4 new lines of code. Doing manual is very boring. Possible to have...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Wrapping Text in a listbox

I have a MultiSelect listbox in an application. I retrieve information from an Access (JET) DB to populate it, line by line (as shown above). I have found no way to WRAP TEXT IN A LISTBOX, and I do...

View Article

Searching with ADODC error

hi i'm currently working on project to search in access db but i always get error said method or data member not found here is my code Code: Private Sub DataGrid1_RowColChange(LastRow As Variant, ByVal...

View Article

[RESOLVED] String -> hex string -> string problem with vbCrLf

:) Hello, I am writing a note program, and it saves the note contents into a file. I use these 2 subs (ECString to convert the string to hex string and DCString to convert it back into a human readable...

View Article


Multiple selections of an MSFlexGrid

Thanks to ColinE66 and si_the-geek, I was able to use a word-wrapped MSFlexgrid in my project vice a non-word-wrapped textbox. The FIRST issue I have having now, is that I want to select multiple rows...

View Article

Need Scrollbar or Slider than can go all the way to 65535

Nevermind, I had an error in my code. The Slider control can go all the way to 65535, and even higher.

View Article

Using Fonts Embedded in a Resource?

Hi again! I'm wondering if it's possible to apply a font embedded in Resource file (within your project) and without extracting or saving it to a temp folder. I have looked everywhere and could only...

View Article


Editing the whole listview row contents from textbox

Thanks for checking my thread, anyway, heres the my problem I have a listview, that contains items that are based from a search, the listview's structure looks something like... ItemCode -----------...

View Article


Crystal Report error --- 20599 Cannot open SQL server.

Environment Windows7 + Vb6+sqlserver express edition + Crystal Report 8.5 Dear all, Following is the code by which I am trying to open a crystal report. Here mdiajmer ais my mdifile and crptfirm =...

View Article

[RESOLVED] Using Fonts Embedded in a Resource?

Hi again! I'm wondering if it's possible to apply a font embedded in Resource file (within your project) and without extracting or saving it to a temp folder. I have looked everywhere and could only...

View Article

Automatic function using RFID & VB6.

Hello There.. I wanna make some improvement using RFID and VB6, so the main purpose is how can i submit the code that i got from scanning it through the reader, to the database, and trigger another...

View Article

ADODB Connection using DataEnvironment losing properties on Windows 7 SP1

Hello, I'm using a Data Environment Connection to connect a Database, but the properties is populated dinamically. On Windows XP, the code works. But in Windows 7 SP1, it's losing properties when I...

View Article


Barcode Printing

Hi everyone, I wrote an app in VB6 that prints a label with the model #, date, shift, indexing serial # and a letter for a the companies ID. I modified the label to include the barcode 128 and the...

View Article

Simple Write Registry with VB6

I want to write a simple registry as below. How can I do that in a simple and short way ? Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]...

View Article


Check if file extension exists in folder using wildcard and retrieve file name?

Hi There, I use a quick boolean test to see if certain file extensions exist in a certain directory (i.e., are there any *.txt files in this directory yields either True or False). But what would be...

View Article

How to add Schedule Tasks to run a batch file with admin privileges

Please , how to create a new Schedule Tasks with VB6 , which is to run a batch file with admin privileges Thanks a lot

View Article


Selecting DLL's at runtime

Hi, Here's what I'm faced with. A DLL provided by a card manufacturer, now has 3 versions in service. I have all 3 versions, the dates as well as the sizes are different, however the names are the...

View Article

sendkeys

what is the sendkeys for select all ?

View Article

item could not be found in the collection corresponding to the requested name...

why do i get this error if my fields are correct? Code: Dim EmpNo As String Dim stat As String Sub Verify_Account() stat = 0 strSQL = "SELECT * FROM Users"   With rs     .MoveFirst     While Not .EOF...

View Article
Browsing all 21266 articles
Browse latest View live


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