Unable to cast object of type to type IEnumerable
Hi folks, I am buidling this app where I use deserialization to obtain a List of the object "Contact", so far so good. When I try to retrieve the first element from this obtained list (which I sorted...
View ArticleVB6: what is the diference between HBitmap, GDI, and Bitmap GDIPLUS?
on GDI we use HBitmap, but the type is long... on GDIPLUS we use Bitmap, but long too... what is the diference between HBitmap and Bitmap? or both can we use with GDI and GDIPLUS functions?
View ArticleRich text box
I have developed hospital management software. I designed userform in excel vb and then transported to vb6. I have fields in patient discharge card which involves tables, bold letters, etc. So I need...
View Articlevb code to open user home drive folder (created on AD) by supplying credentials
I am new in VB. We have a situation in which PC is on Domain but there is local account created on PC through which any user can login. I need user to click a button on a form and user need to put...
View Articlemouse_move event on image
How to check if the mouse is on red icon and on blue icon? The image is in picturebox1 picture1 Attached Images Â
View ArticleAgain about Olaf's SQLiteServerMode
Hello Olaf Hello vbForums community I'm struggling to establish a chat system over Lan based on UDP DataGram. I'm progressing quite well. My question: Is there a way to check if the client is connected...
View ArticleASP.NET MVC Using RepoDB ORM
Gents, This tutorial ASP.NET MVC Web Application CRUD Using RepoDB ORM integrates a promising ORM called RepoDB into an ASP.NET MVC Project. This hybrid ORM library is an alternative to Dapper and...
View ArticleWhat has gone wrong with my designer now !
Hi, Just started a new project, first thing in the design section, set the font size for Form1. In properties, select Font, set the Units to Pixel (As I usually do) then try to set 25px, tap '2'......
View ArticleUsing websockets for htlm/javascript user interface for vb6 app
Hello Group, I apologize if this topic has been discussed but I could not find it by searching. I recently researched websockets from a suggestion of a fellow dev( I know I am a 9 years late). From my...
View ArticleCan't quite wrap my head around this....
I'm reading a text file with entries like this: Code: (1) 228 162 85 190 181 (2) 228 166 87 332 227 116 221 85 (3) 207 122 98 (4) 14 (5) 209 331 (6) 207 124 24 I read in each line and call the sub...
View ArticleResizing a window + client area
Hi all, I am using SetWindowPos to resize a MsgBox. The MsgBox window is resized in the WM_NCCALCSIZE msg and looks something like this : As you can see, the msgbox zise is increased but the client...
View ArticleVB6: how get the pixels array from a HDC?
using the GetObject(), i can get the HBITMAP... but i need more.... for create the pixel array from a HDC. using the GetObject(), can i get the HDC actual hDib and the lBits? maybe i need combine the...
View ArticleVS 2010 Make self-destruction app
It is possible to make self-destruction app? I mean - app will terminate and then deletes itself i.e. no file.
View ArticleVS 2017 Fill DataGridView Columns from SQL Database
I want to generate a Crystal Report from a SQL database that has two columns - Time & Data but break the data in columns by hour. 00:00______| 01:00______| 02:00 00:21 - 181.4 01:18 - 194.2 02:12 -...
View ArticleFormating a cell after successful validation
I have an app with a DataGridView where various cells can be updated. One column has to be validated to "In Process", "Completed" or "Cancelled". The customer wants the flexibility to enter "completed"...
View ArticleMS access database and tables
Hi, I am trying to make a card collecting app.. so, you would have a splash screen and then a main form with general stats.. but in the top menu, you will have drop down menus... so like the main menu...
View Article[RESOLVED] Media Player in Studio 2019
I am using Visual Studio community 2019 (16.8.3) in Windows 7 and am trying to add Media Player to my toolbar when I try to add it using CHOOSE ITEMS - COM Components I get a message "The following...
View ArticleVB6 WebSocket-PushServer-Demo
This Demo shows, how one can "connect a Browser-GUI" to an existing Desktop-App ("Desktop-App-remoting" - e.g. from any given mobile-device via WLAN-IPs in the URL of their mobile-Browsers) It depends...
View Articlevs2010 OR vs2019 Community
Now I am looking at upgarding a pc to Windows 10, which means that I will relaod all the sofrware, (alwase liek a clean install rather than upgrade). For someone who only uses VS on an adhoc basis, and...
View Article.NET versus .NET Framework
I am new to Studio 2019 and am having issues. When I first started my project I chose to target .NET (not .NET Framework). I developed for a few days and now realize I likely made a mistake because I...
View Article