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

Generic Method with BitConverter.GetBytes problem

I have a simple generic method. Code: private static byte[] GetBytes<T> (T valu)         {             var bytes = BitConverter.GetBytes(valu);             if (BitConverter.IsLittleEndian)...

View Article


VS 2013 Fastest way to convert report using (ttx) to using dataset (xsd)

Hi good day everyone, Currently my VB.Net project report is using crystal report with datasource using .ttx file, but my leader want me to convert it to using dataset. for now i am manually create...

View Article


[RESOLVED] Generic Method with BitConverter.GetBytes problem

I have a simple generic method. Code: private static byte[] GetBytes<T> (T valu)         {             var bytes = BitConverter.GetBytes(valu);             if (BitConverter.IsLittleEndian)...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Drag textbox Fails after .scale

Hello, Trying to do a simple drag OBJ scenario, which works fine on initial startup. However, the back Container (picture1.scale) is changed, then dragging becomes pretty much useless. Any ideas? 3...

View Article

Characters: Chr(-24147)

I'd like to know if Chinese characters Chr(-24147) can be displayed on an English computer. Thanks.

View Article


Image may be NSFW.
Clik here to view.

create database

Hello! hopefully I am posting this in the correct spot! I am using visual studio 2019 and making my projects using windows forms. So I am trying to learn as much as I can and play around with what I...

View Article

Image may be NSFW.
Clik here to view.

VB6 Flip Digit Style Clock from the 70's

Very simple clock code with the graphics that look similar to the flip digit clocks from the 70's . Added the date just for grins Attached Images   Attached Files FlipDigits Clock_Date.zip (8.5 KB)

View Article

About RC6.stdCall

I'm testing RC6.stdCall. When the program runs to the callback function, VB6-IDE will stop working. I don't know if my usage is correct, here is the test code: Code: Public Sub DoTest_Callback()...

View Article


Image may be NSFW.
Clik here to view.

VS 2015 multiple textboxes from 1 datagridview

Hello all, can you teach me how to code from 1 dgv to multiple textboxes like this picture, i wanna choose the first Master Card ID and the second Master Card ID using only 1 datagridview, here's my...

View Article


VS 2015 saving multiple data in datagrid to database

any one ca help me.. i need to save all the data in datagrid to database but every time i save only one data that save to database heres my code.. Private Function InsertAttendance() As Integer Dim sql...

View Article

[RESOLVED] About RC6.stdCall

I'm testing RC6.stdCall. When the program runs to the callback function, VB6-IDE will stop working. I don't know if my usage is correct, here is the test code: Code: Public Sub DoTest_Callback()...

View Article

Using boyer moore to look for angles sequences, bad idea?

I'm working with some binary files (like 10MB each one), with contains some patterns; I've a collection of theme but it not complete( and never be..); So I'm thinking to adapt the boyer moor function...

View Article

Allow editing code while running, or auto-pause

Is it possible to hack the VB6 IDE so that while I'm running my program I can alt+tab back to the IDE and just start editing code without having to PAUSE and RESUME, or at least to make it auto-pause...

View Article


VS 2019 [RESOLVED] LINQ is Missing Something, Or I Am

There is this example from MS documentation: Code: Dim queryResults = From cust In customers                   Group Join ord In orders On                     cust.CustomerID Equals ord.CustomerID...

View Article

First Attempt At dbFactory Based DAL

Hi Guys, Well I've finished my "first pass" at a dbFactory based DAL. I know it's not perfect and I'm sure I made a mistake or two (probably more). I would appreciate any thoughts you may have for...

View Article


Get Library Name by Com DLL with vb6

HOW to get Library Name by Com DLL with vb6? from : Library info.-VBForums https://www.vbforums.com/showthread....6-Library-info Library Excel c:\***\Office16\EXCEL.EXE Microsoft Excel 16.0 Object...

View Article

Accessing class in class library

I am trying to create a class for dynamic navigation buttons. I don't seem to get it work. At the moment I am not getting any errors, luckily, but I don't see my button on the form either. Can you help...

View Article


Copy file to clipboard

How to copy any files other than image files to clipboard. Clipboard.SetData ("File Path\filename") Clipboard.GetData ("File Path\filename") Above code works fine with image files but gives type...

View Article

Image may be NSFW.
Clik here to view.

Export items from Listview to textbox

Hello VbForums community I need to export items from listview to a multiline textbox in a special manner. When I click an item in listviw it goes to textbox but when it comes to the last line it will...

View Article

Google Earth in a VB6 project

Hi all , In Google Earth one can find distances in miles between way points . l wonder whether Google Earth can be displayed in a vb6 project , and possibly can do the same thing . Have been searching...

View Article
Browsing all 15129 articles
Browse latest View live