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

VS 2010 How to check duplicate records before inserting from one database to...

I am able to check duplicate entry but using "WHERE name = textbox.text " clause within a windows form. Now, in this case the checking of duplicate entries is from one database to another. I want to...

View Article


VS 2010 Pause and/or stop code inside a loop with a button click

In VB6 the DoEvents would allow the loop to pause so other things could happen. In VB.Net the rules have changed and I can't figure out how to get the code to pause execution inside a loop. I am trying...

View Article


UK Lotto Generator

hi, This is a small lotto generator I made it simple it makes 59 numbers stores them into a array and then suffle the array and then I pick the first 6 numbers. There is more than likey a better way of...

View Article

Sintax Problem with a Function

Hi Guys, I'm new with dev in vbscript and I'm studying but risking to understand some scripts already ready and modify them for my use on the day. I have a problem with the script below that I adapted...

View Article

VS 2019 Exception thrown: 'System.InvalidCastException' in...

Hi guys I'm writing a console (command line) based cross assembler and it's all but complete. This is a rewrite of an earlier attempt which had turned into a bit of a mess as I didn't know about Option...

View Article


VS 2010 Big failure when trying to put a .pdf in the outbox tray of outlook

Hello, I have to start by saying that I have a Microsoft Office 365 subscription. In an app I am developing, I coded to put a pdf file in the Outbox tray of OutLook, but this task was a complete...

View Article

VS 2010 [RESOLVED] Invalid Update Command

I get the following message when executing the code below. "Update requires a valid Update Command when passed DataRow collection with modified rows" [CODE] Dim accessadapter As New...

View Article

which tag is use to add author and copyright information.?

which tag is use to add author and copyright information.?

View Article


4.0 can't go to breakpoints in VS2019 community

I have a Solution with two projects. The 1st one is dll project, another is a demo project using this dll. In demo project, I go to reference-Add reference-Projects and check on the dll project...

View Article


VS 2015 Change View Mode to "Details" on external Windows Explorer session

Hi there, My application gets the file list from the actual folder Windows Explorer is pointed to. It is working well. I just need to programmatically change the Windows Explorer View Mode to...

View Article

Migrating from Win xp x32 to Win Server 2012 R2

Hello, I am attempting to decommission a Win xp x32 system but it runs a exe file from VB 6 that I need to move to a Win Server 2012 R2 system. I have tried to run the exe file but i keep getting the...

View Article

Rotate Text Using GDI+

Hello, A while back dilettante and Schmidt helped me with precise positioning of text on a baseline. http://www.vbforums.com/showthread.p...ing&highlight= The text is positioned on a marker ┴, and...

View Article

[RESOLVED] Center Popup Menu in Screen

When I mouse click on an object a popup menu appears but I want it to show centered in the screen area. I tried the following: Code:   '   ' MenuX = (Screen.Width - 127) MenuY = (Screen.Height - 101)...

View Article


How to get a list of values from a property in an object list

Suppose I have a class Dog with a property of ID as integer and Name as String and I create a list of Dog objects called Dogs. Is there a way to access the column of ID like one would a list of...

View Article

Class with collection of classes

First time I have ever posted here so please bear with me. I have a class with a collection of classes in it; Code: Public Class clsTViewActions     'created 28/05/2020     Public valTViewActions As...

View Article


LIST DAYS based month and year

How to list the days of month based year? for xample: VarYear=2020 VarMonth =12 (December)

View Article

VS 2019 CefSharp Download Handler

I am trying to get the download handler working in CefSharp. I think i am missing something obvious. In the following example, the browser works, the download handler does not fire when clicking on a...

View Article


[RESOLVED] VISUAL STUDIO 2017 trying to use iTextSharp with foreign language...

hey im trying to create a sample invoice in the memory using iTextSharp convert it to html and send it to email. in the html when i write in foreign language the output shows a empty string. this is...

View Article

How to use multiple submit button?

Hello Everyone, how to create three submit buttons like Save, Save For Later, Save and Publish.

View Article

VS 2019 Copy Values From column From Many Excel Files in a Folder and paste...

Dear All I want to copy values from column "S" in Many excel workbooks in a folder to another sheet in another workbook, example : open the 1st workbook .xls or xlsx and activate worksheet named...

View Article
Browsing all 15571 articles
Browse latest View live


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