Quantcast
Channel: VBForums
Browsing all 15705 articles
Browse latest View live
↧

VS 2010 Remotely Stop a VB.net app

From everything read so far, this seemingly simple task may well be above my paygrade. I have a vb2010 app that runs on a network of 2 computers and 1 printer.. Computer "A" is the host and holds all...

View Article


Attemping to pull in lines from a DT

I am trying to populate 2 fields on a VB form based on a return of the SQL. The SQL brings back exactly what I want. I cannot get passed the 1st state before I get a Index out of bounds. I normally do...

View Article


Using oleexp.tlb by fafalone

I'm using this is to remove internet zone id from files, after adding the Reference. Code: Public Sub RemoveFileSecurityZone(sFile As String)     Dim pZI As PersistentZoneIdentifier     Set pZI = New...

View Article

Why am I getting this specific VB error message when running my VB codes?

Hi all, I am new to VB and I have the following VB codes which are throwing the following error message when run: "Unhandled Exception: System.IO.IOException: Bad file name or number." Code: Module...

View Article

[RESOLVED] Excel8.olb Redistributable?

I was working an old project created on an xP machine from a number of years ago and whe I put it to the IDE it asked for the reference to EXCEL8.OLB ( and also th4e MSCACC8.OLB . Is that/those .OLB(s)...

View Article


Windows 7 and Windows 10 compile differences.

I have noticed that if I compile my project in Windows 10, some people are reporting strange bugs with my game. like items vanish, crashes (when attempting to open a text that doesnt exist in the list)...

View Article

Zooming a picture in a picture box

I have a picture in picture box named Picture1. This picture uses scalemode=user. I now need to copy this picture from Picture1 to Picture2, but it must be zoomed in Picture2 in the sense that the two...

View Article

SIMPLE RegEx ***?!

VB.NET Code: Const KeyWordPattern = "\[.+?]"  Dim matches = New Regex(KeyWordPattern).Matches(value, RegexOptions.IgnoreCase) In this case, value="[MULT]" and matches = 0. What am I missing here??...

View Article


VS 2019 Problem with reference to Excel library - different office versions?

Hi I'm working on some code in conjunction with a colleague that requires a reference adding to the Excel library in order to open an Excel file and run a macro. I've added a COM reference to Microsoft...

View Article


Image may be NSFW.
Clik here to view.

Binary Converter-Very simple

Looking for a simple binary converter. It doesnt get any simpler than this one. Attached Images   Attached Files Binary.zip (3.2 KB)

View Article

Form, grid and control twips do no match in size

Windows 10 problem. I have a form with an mshflexgrid on it. When I place another control on top of the grid, the height and width of the two do not agree. The two controls are placed on different...

View Article

Image may be NSFW.
Clik here to view.

Apply Ranking

Hi. Wish to apply ranking method to the attached table. 1st Ranking I want to apply in Column K Apply a ranking (1 being the oldest) to each individual on Overdue status (Column F) For example Property...

View Article

return information from form to calling macro

I currently have a VBA macro that calls a Form with Code: UserForm2.Show in userform2 there is a text box (and button) which data can be entered. The user can press either enter, the 'ok' button or the...

View Article


[RESOLVED] I need SHA256 hashing code (not WinAPI based)

Hi, I need SHA256 calculation code, that is working on Windows XP SP3 (even those not fully updated). Requirement: - portability (no additional dll) XP has: - no bcrypt.dll - no MS_ENH_RSA_AES_PROV...

View Article

Cloud Computing Books

In a recent email from the Forum, there were these links: * (NEW) Comprehensive Guide to Cloud Computing - https://goo.gl/wcAfvU * Storing and Accessing Data in the Cloud - http://goo.gl/lnVSFh I would...

View Article


Microsoft Edge in Kiosk Mode - Please help

This is my first ever vb.script and I'm having trouble making Microsoft Edge open in Kiosk mode could someone please help me modify the line of code. Here is my code set shell =...

View Article

Use of React in Mobile App

Please share the information

View Article


Image may be NSFW.
Clik here to view.

Simple VB code for date comparison and formatting

Hi all, I would like to do some VB coding where a relative simple date comparison leads to a formatting result. In the screenshot below there are 6 project represented on the A column. In the columns D...

View Article

VISUAL STUID 2017 scrooling image keeps moving

long time since ive been here im trying to move a picture from down to top and when it reaches the top to do the same thing. some how it keeps going up. any idea what im missing? this is the code Code:...

View Article

RLE compression question(s)

Hey everyone! I have an indexed image format that I'd like to write an RLE compression algorithm for, but I'm suck on how to identify a run / sentinel to mark the byte as having multiple instances. The...

View Article
Browsing all 15705 articles
Browse latest View live