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

VS Code Crystal Report in VB.net

I am learning crystal report for my vb project and i want to apply it in my project where it shows the data for a transactions from a sql table. I need report should how me the data as per location i...

View Article


VS Code Crystal Report sql conn in VB.net

report is asking for sql db password everytime it opens. Anyone who can sort this out.

View Article


VS 2019 Return statement not returning correct value

Here is the code (within a class): Code: Function GCD(Num1 As Integer, Num2 As Integer) As Integer         'Debug.Print("1st " & Num1 & " 2nd " & Num2)         ' use Euclid's algorithm...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Error installing VB 6.0 - Couldn't find Acme setup

I've install VB 6.0 many times and never experienced this error. I'm trying to install on a Windows 7 32 bit machine. Has anyone seen this? The internet was not much help to me. Attached Images  

View Article

Return the Index value of a datatable, by searching the Datatable

Hi everyone, i'm ok with VB but some things are beyond me, and i don't know how to do the following. I have a datagridview that displays a short filtered list from my datatable. my datatable is...

View Article


MsOf365 Word - Fill Image in Mail Merge

I have a word document that I use to send out mailers. The document uses normal mail merge fields to fill out their information such as name and address, but what I'd like to be able to do is store the...

View Article

Check if Date is greater than todays date

Hello: VBA Excel (very old school insanity). I have this very simple line: Code:         If (Format(rs.Fields("ShipDate"), "yyyy-mm-dd") > Format(Now(), "yyyy-mm-dd")) = True Then On these dates:...

View Article

convert vb6 program to vb.net

hi , everyone keeping well? i hope this is a reasonable question , i have a vb6 program , no more than 1500 lines , i want it converted to vb.net, and i am hoping someone will suggest a rough estimate...

View Article


Synchronous processing?

Hi All, New to this forum but so pleased to have found it. I'm more than twice the age of VB and detest VB.Net... so maybe I'm just a grumpy ol' coder. Anyway I've never really got my head around...

View Article


Can I view contents of a recordset?

I have an application that reads a SQL database record into an ADODB.Recordset. I don't know the schema of the table, is there any way to view column names and contents using the VB6 IDE? Thanks.

View Article

VS 2017 calender

hi just wondering if anyone knows how to add a a reminder to a calendar

View Article

VBScipt to print multiple excel files with multiple tabs within a folder

I currently have a working file to print a single excel file with multiple tabs. I need to modify it to print multiple excel files within the single folder. My folder contains 5 excel files with .xlsx...

View Article

Issues with connecting to SQL Server from VB.Net using SQLOLEDB connection...

Hi! Hope you are well. I want to use ADO recordsets against a SQL Server database. I am trying to connect to a Sql Server database using the connnection string "Provider=SQLOLEDB;Data...

View Article


How to keep focus on textbox when opening a browser or another app from an...

Hi. We have an app (in VB .net) where a user uses Dragon to enter text (voice to text) in a specific textbox. The problem is that we have a button that has the action to open a browser window and the...

View Article

Truncate the Array

Hello: I have read about 47 posts on this today. Nothing makes sense. I gave the following 2d array (110,2). I have been able to sort it, but I would just like to truncate it for the blank values....

View Article


System Timer and DataBinding

Hi All, If I have a class that implements INotifyPropertyChanged, and I have a property in that class that is bound to a label on a form, how do I avoid a Cross-threaded exception if I set the property...

View Article

I opened chrome using shell, how can I close all instances of open Chrome...

Is there a way to close all instances of Chrome that are open on my computer?

View Article


Dates...

Hello: How can I get the date to show up as just the date? Code:                 EstDate = DateAdd("d", Days, Now)                 EstDate = Format(EstDate, "m d yyyy") Shows: Code: 10/23/2020...

View Article

VB6 Webbrowser - Highlight text

I have an application with a web browser (webbrowser1) and I would like to have a button that will search the page and highlight a specified text or multiple text from a list. Say I navigate to...

View Article

Correct use CreateDirectory API

Good day! I have a problem using CreateDirectory API. I have the code: Code: Option explicit Private Type SECURITY_ATTRIBUTES     nLength As Long     lpSecurityDescriptor As Long     bInheritHandle As...

View Article
Browsing all 15480 articles
Browse latest View live