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 ArticleMsOf13 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 ArticleReturn 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 ArticleHow 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 ArticleFindFirstFile(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 ArticleHow 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 ArticleCell 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 ArticleConversion 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 ArticleRGB 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 ArticleLIKE 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 ArticleResource 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 ArticleAppending 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 ArticleB4J 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 ArticleEntity 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 ArticleEmbed 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 ArticleExceptional 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 ArticleUsing 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[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 ArticleListbox unique value
Insert Only unique value The original value will remain. Attached Images
View Article