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

[RESOLVED] Hex value to Byte of Hex value

Hello, Can someone please help me with this: I have the Hex value as &H6021FA64 (Note: I don't want to declare my hex value as a string) and I need them as a byte of hex value Dim frame(3) as byte...

View Article


[RESOLVED] Minimum Top and left movements restricted to 1?

Thanks to Arnoutdv, I was able to replace my Shape Control with a User Control created by Eduardo. As I move this User Control on my screen via timers, I attempted to make the control SLOWLY progress...

View Article


[RESOLVED] UserControl not working when compiled to OCX?

So I was trying to distribute my ShellTree and ShellBrowser controls as OCX files, and ran into a problem... the ShellTree control works perfectly as a .ctl UserControl, and works in IDE design mode,...

View Article

How to turn ActiveX Controls in XHTML documents being viewed by current web...

Dear VBFormers, I am looking to use my website on any web browser. but then came across Microsoft Whitepapers on how to turn on ActiveX in Edge. it's far too hard for me to work with. Can someone help...

View Article

Run specific version of excel from VB.NET

Hi, I have an application that starts excel and performs some operations on a number of workbooks. For performance and security reasons, this needs to be done in an older version, ie 2003. Now, the...

View Article


Looking for good, free INDEX.HTML templates that have SEO capability

Anyone know of a good source for free INDEX.HTML templates that have nice boilerplate SEO capability? TIA! Steve

View Article

appsettings.json for Windows Forms

In the .NET Framework prior to .NET Core application settings were in app.config file. All settings e.g. database connection, email setting etc in one file along with each setting are strings which...

View Article

Sorting Array

Hi, I’m new to VB, and trying to sort an array. The array populates properly within the program, but gets a 424 error when I try to sort. There are no typos. Also, I have to use SYSTEM.ARRAY.SORT(array...

View Article


Can someone check my algorithms? (cubic mean and power mean)

I'm working on an averages app. I have some algorithms, that i haven't found any online calculators to test with Cubic mean Code: Dim sum As Decimal For x As Integer = 0 To...

View Article


A VB6 Game "Dark Year" 2021

This whole game runs with DMA/DIBs, Bytes(*) for the sprites and screen. Right now, I have autoredraw off and Im using SetDIBitsToDevice in the paint event to refresh the screen. Does anyone know a...

View Article

ActiveX exe MDI thread for each child window

Hello Group, I was hoping to hear from anyone that may have successfully been able to create a MDI application with each child form running it is own thread using activex exe. My thought was to create...

View Article

Can someone convert this small python code to vb.net

Pip install python-socketio Access token generation: import base64 sample_string = 'your_consumer_key:your_consumer_secret' sample_string_bytes = sample_string.encode("ascii") base64_bytes =...

View Article

Control Array

I want to create image control Array for my point of sale software how can I create it and load pictures dynamically ?

View Article


How to tell whether Range is inside a Frame

Hi all, I'm stepping through my document paragraph by paragraph, performing certain actions depending on its contents, position, etc. I need to know whether the paragraph in question is with a frame...

View Article

[VB6] In memory convert to JPEG using WIC

This uses Windows Imaging Component to convert a bitmap (a 32-bit DIB) to a JPEG stream purely in memory. Paste the following code in a .bas module: Code: Option Explicit Private Declare Function...

View Article


Image may be NSFW.
Clik here to view.

VB6 fail to start on Win10 20H2 - Can't find file 'DAO350.DLL'

I just tried to start VB6 IDE on Windows10 and got this unpleasant surprise and after clicking OK VB6 just dies. I have no idea why it wants DAO350.DLL as I certainly don't use it or any DAO in any of...

View Article

auto incremental registration number not working php codeigniter framwork

I followed youtube tutorial but my codes are not working I want to auto increase registration number this is what I tried in model code PHP Code: public function auto() {     $regNO = "reg";     $query...

View Article


Woozle Effect in Programming?

We often see a lot of programming by rote that clings to absolute principles that attempt to simplify the process. For example "never do" and "always do" myths that arose from things that almost always...

View Article

How to find a control in a TableLayoutPanel

Hi All, Can someone please explain to me why the second DIM statement in this code doesn't work (and what is the correct syntax)? It errors out with a message that says "Unable to cast object of type...

View Article

Image may be NSFW.
Clik here to view.

Super easy question I am sure

Hi all. I have a silly app, and I just want to change the picture in a picturebox with a click event. I'm attaching the screen shot, but there are really only important details (I mean, I haven't done...

View Article
Browsing all 15038 articles
Browse latest View live