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

MsOf07 EXCEL Macros quit working: My Set EXCELWorkBook = Statement fails

Windows 7, MS Office 2007: Recently the EXCEL Macros I've been using for years quit working. I defined the working Objects as Globals: Global gobjEXCEL As Object Global gobjEXCELWorkBook As Object...

View Article


MsOf13 Problem with loop the VBA

Hi Everyone, I have a VBA to save the attachment from unread emails one by one on shared mailbox. but this VBA looping only 2 times. (It will check and save the attachments with 2 mails only). I want...

View Article


Return identity PK to a new table

Code: Insert into Accounts(Jd, xID) Output Inserted.ID Select Jd, xID from Temp where Jdx = 80 This output lists all the PKs of the newly inserted rows. Is there a way I could generate a new table...

View Article

How to display multiple lines?LightEdit.clt,Transparent text...

Excel Programmers and Microsoft SharePoint Consulting Company | Powervb http://powervb.com/ VB and COM https://www.cnblogs.com/Blessing/p/4212409.html

View Article

Image may be NSFW.
Clik here to view.

FindFirstFile(W) Unicode problem with the windows non-unicode settings

Dev-PC: Windows 7, VB6SP6 With my app i use the API FindFirstFileWide to enum files with unicode characters in the name from a folder. I get the correct unicode file names if the regional settings for...

View Article


[RESOLVED] Return identity PK to a new table

Code: Insert into Accounts(Jd, xID) Output Inserted.ID Select Jd, xID from Temp where Jdx = 80 This output lists all the PKs of the newly inserted rows. Is there a way I could generate a new table...

View Article

How do we can save information from multiple URLs?

Code: Imports System.Net         Public Class Form1                 Dim fileReader As String                 Dim t As String()                 Dim strami As String = ""                 Dim s, r As...

View Article

Cell Click Event

Hi, I have a datagridview and on cell click event, the following code is executed... Code: Private Sub DgTenantDetails_CellMouseClick(sender As System.Object, e As...

View Article


Conversion XNA.Framework.Color - System.Drawing.Color and viceversa

I need to convert colors from Xna.framework.color to System.Drawing.color and viceversa. So I tryed to code this 2 function(note that vs obmit the "Xna.framework." Code: Public Function...

View Article


RGB TO LONG,Long to rgb-vb6

Code: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Type LongType     longV As Long End Type Private Type RGBN...

View Article

LIKE Operator speed-up without additional references

Hello all, is there any faster way to compare multiple strings via regex-patterns than I did in the example code below? This code works very well, but becomes slow when executed multiple times in a...

View Article

Resource Folders

Resource files loaded into VS are all placed into the one location. Is it possible to have folders? If A then look for resources in folder A else look in folder B

View Article

Appending to an existing Excel spreadsheet, without Office or Excel installed

Hi, I'm using the Excel.Applications object in VBS, and everything is working perfectly. But I discovered that the server we will put the script on doesn't have Excel, and we're not allowed to install...

View Article


B4J Primes Benchmark

B4J Primes Benchmark Quote: Algorithm #1 B4J: 2.78 Java: 3.07 Java with the limit calculated before the loop (as in B4J): 2.91 C#: 2.69 Algorithm #2 - sieve The C# code was fixed to only return the...

View Article

Entity Framework Core for VB.NET

NuGet Install-Package EntityFrameworkCore.VisualBasic -Version 5.0.0-alpha.2 GitHub repository https://github.com/efcore/EFCore.VisualBasic

View Article


Image may be NSFW.
Clik here to view.

Embed type information from TLB into OCX?

In an ActiveX UserControl project (OCX) I added a type information thought a TLB file for an object that this component need to expose to the client project. Specifically, this type info is for the...

View Article

Exceptional Handler - Buffer cannot be null

Hi, I have a datagridview and on cellmouseclick the following code is called: Code: Private Sub DgTenantDetails_CellMouseClick(sender As System.Object, e As...

View Article


Using IsNumeric(string)

Hi, When I run the line of code;- ElseIf (IsNumeric(bstring) = True) Then where bstring = "(2)" I get True returned. How can I deal simply with this? Thanks

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Embed type information from TLB into OCX?

In an ActiveX UserControl project (OCX) I added a type information thought a TLB file for an object that this component need to expose to the client project. Specifically, this type info is for the...

View Article

Image may be NSFW.
Clik here to view.

Listbox unique value

Insert Only unique value The original value will remain. Attached Images  

View Article
Browsing all 15072 articles
Browse latest View live


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