Quantcast
Channel: VBForums
Browsing all 15634 articles
Browse latest View live

Adding Api for my desktop application

I made desktop application for my client and he asked to make him API, I am new to the programming world my question is it is possible to make api for desktop made using vb, the second question if I...

View Article


Image may be NSFW.
Clik here to view.

VS 2017 Importing CSV Strings as numbers

Hello, I'm having trouble reading in certain CSV's. When I have an alphanumeric field, It's been read in as a number. Anyone know why and how to fix? Code:             DialogName =...

View Article


DOW: Least-Used VB6 Feature?

This site has been around for a long time, but searches turn up very little on the VB6 Data Object Wizard. This has been around since 1998 of course, but it seems to hardly be used by anyone. I...

View Article

CoTaskMemFree vs ILFree

Is anyone else having problems with CoTaskMemFree() crashing the IDE recently when trying to free ITEMIDLIST's? I have code that i have been using for years is all of a sudden not working on updated...

View Article

need 2 decimal places

I have a program that calculates cubic inch requirements for choosing an electrical box size based on entries on my box sizing form. Problem is the form calculates but does not go to 2 decimal places...

View Article


VS 2012 How to discrete a string with "," or ";" and placing txts/vals in...

Hello everyone! Sorry, this topic may be repetitious but I'm stuck deeply when I need to close a project the most. Here's the thing. Consider a long string in a notepad.txt file as shown below: "Last...

View Article

Image may be NSFW.
Clik here to view.

vb6.exe crashes with VC++ runtime error R6025 'pure virtual function call'

My VB6 IDE started to crash frequently when I launch my projects. It throwing the error message from Microsoft Visual C++ Runtime Library reporting the runtime error R6025 'pure virtual function call':...

View Article

How to copy many sheets in excel workbook to another sheet in another workbook?

Dear All I am trying to copy a specific range from many sheets in excel workbook to another sheet in another workbook the problem it gives the data of the last sheet only Here is my code: Code: Sub...

View Article


VS 2017 Limit forms to current screen

Hi, when i open a certain window on a multi-screen-computer, it opens across the different screens. Can i prevent this it opens only on one screen? Regards Erwin

View Article


Process not exiting on error or displaying an error

I wrote some code below to open a command prompt and initiate a VPN connection as a process. If I pass in the correct credentials, it works great as is. If I pass in bad credentials, it processes all...

View Article

Image may be NSFW.
Clik here to view.

How to prevent the "Not Secure" from showing on Browser?

Please see the attached image. The screen shot is from Google Chrome. How do you prevent this from appearing? I'm building a simple site and I'm not sure how to avoid that "Not Secure" issue! Thanks,...

View Article

VS 2017 Converting List Collection & String

I am trying to configure a export settings option in my program. I have everything completed except for the my.settings that are list collections. I converted them to a string prior to exporting them...

View Article

Image may be NSFW.
Clik here to view.

Calculations not calculating? VBS 2015

I am writing a program for class and I have everything done correctly except for the calculate charges button. When I enter data in the text boxes and press the button , nothing happens. My clear and...

View Article


Image may be NSFW.
Clik here to view.

VS 2015 Calculations not calculating? VBS 2015

Hello everyone, I'm writing a program for class and I cannot get the Calculate Charges button to function. It's supposed to fill out the text boxes on the bottom once the user inputs their data. When I...

View Article

Delete the last item in listview

Hello VbForums I want to delete items from a listview and database in Listview ItemCheck event. But I want to start deleting from the last item. I want to prevent the user from deleting an item from...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] How to prevent the "Not Secure" from showing on Browser?

Please see the attached image. The screen shot is from Google Chrome. How do you prevent this from appearing? I'm building a simple site and I'm not sure how to avoid that "Not Secure" issue! Thanks,...

View Article

[RESOLVED] Delete the last item in listview

Hello VbForums I want to delete items from a listview and database in Listview ItemCheck event. But I want to start deleting from the last item. I want to prevent the user from deleting an item from...

View Article


Same navbar on multiple pages.

I have Index.html , about.html contact.html using bootstrap I have created a navbar on Index.html but I want the same navbar on all the pages. Do i have to copy the same code on every page or is there...

View Article

[help] VB6, How to search/replace a pattern in the byte array?

Used the code below to read a binary file into byte array. Code: Private Sub cmdTest_Click()     Dim fileNum As Integer     Dim bytes() As Byte     fileNum = FreeFile     Open...

View Article

WebBrowser not loading the page correctly

Hello! I do have a problem with the webbrowser, when I open a page with the IE shows me correctly, but as I open it in the app with WebBrowser, its wrong. Image: https://imgur.com/a/6XfzAwF

View Article
Browsing all 15634 articles
Browse latest View live


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