Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27349 articles
Browse latest View live
↧

insert row in datagridview

i have a vb.net app with a datagridview that is filled by a view with an underlying table. now i want to insert rows in the datagridview like in excel (under the selected row). i have been working with...

View Article


Castrophic error for Design

I tried to place a background worker in my design, but it crashed the design. Now I have the following errors. I had 4 messages but I deleted 3 of the backgroundworker = new backgroundworker items from...

View Article


[RESOLVED] Compatible method for InternetExplorerMedium

I'm porting code from VBA to VB. VB does not seem to recognize InternetExplorerMedium. What is the correct code to use in place of InternetExplorerMedium? Below is my browser code. Code: Public...

View Article

[RESOLVED] Can the numbers on the left side be used as error reporting...

Can the numbers on the left side of the screen be used in error reporting? This would make locating errors much easier. It was not possible, easily, in VBA.

View Article

[RESOLVED] Castrophic error for Design

I tried to place a background worker in my design, but it crashed the design. Now I have the following errors. I had 4 messages but I deleted 3 of the backgroundworker = new backgroundworker items from...

View Article


Change screen resolution FAO J. Mcilhinney

Hi John, In October 2023 I posted a question with regard to changing the screen resolution, to which you replied: Quote: Re: Change screen resolution There's nothing built into .NET to set the screen...

View Article

[RESOLVED] Passing data between two programs - what is too much?

I'm guessing before I ask, the answer is "It depends"... I'm modifying an existing VB 6.0 to set up printing images from the VB 6.0 application to a .NET application. I plan on just sending the keys to...

View Article

[RESOLVED] Difference between Windows Forms App and Windows Forms App (Net)?

Hi, I'm generating a new program, tried windows frame first time, but wondering what is the difference between Windows Forms App and Windows Forms App (Net)? NEVER MIND, I found the answer. Thanks for...

View Article


[RESOLVED] Where is VB Net Startup code so I can initialze items on the GUI?

I don't see any place, or file, which has a location for me to place any initialization code for my GUI/Program. The only files available are as seen in the screenshot. So what file did I not get from...

View Article


[RESOLVED] Adding multiple Dialog box frames in vb project

Let me see if I can clarify what I'm wanting. In VBA one can create Forms and have them utilized throughout the program at any time. For example: I have a total of 4 extra dialog frames in my current...

View Article

[RESOLVED] Couple of questions

Question 1: I have created a Dialog (Splash Screen) but once I closed the Design file then I'm not able to reopen the created DLG. I see the files in MyProject, so it's not that they are not there, but...

View Article

[RESOLVED] Class to Class visibility

I have several classes which the compiler does not see it seems and does not compile them. These other, non-compiled, classes would generate errors as they are ported VBA code which has yet to be...

View Article

Init Class/Destroy Class

First thanks to everyone for you help. Much appreciated. I have nearly all my issues worked out for the conversion from VBA to VB. Question: I need to initiate/destroy my classes, but I'm not sure...

View Article


VS 2022 Custom Controls with Default Behaviours

Hi, For various parts of my UI I use Labels and even Panels as a clickable object to trigger something. For those Labels and Panels I have the Cursor and Backcolor change on MouseEnter/Leave. Rather...

View Article

VS 2022 Value Stream Mapping Code

Hi everyone, currently I am working on standardising this metodology (Value Stream Mapping) and Visio is avery good tool to develop it. Somebody have any code in Visual Basics to make this kind of...

View Article


Why does the exact method not work in another app. ?

Hi, This code works very well in at least two of my previous app's. However when I try it in a new app it doesn't seem to work, at least it doesn't update the 'Time and Date > Last successful sync'...

View Article

[RESOLVED] Correct values to use to change form forcolor

Hi. I have the code below where I'm trying to change the forcolor of text but the compiler is telling me that integer cannot be converted to color. I tried RGB(xxx,xxx,xxx) but got the same results....

View Article


Modifying Excel workbooks, any good code available?

I am looking for some code that can allow me to manipulate an Excel book the way you can in VBA. I know the most common answer will be write it, but if there is some code available this would reduce...

View Article

Image may be NSFW.
Clik here to view.

Playing .ogg, .mp3 and .wav files.

I'm creating an app which has a section in which the user can load and play up to 8 overlapping audio files. At the moment I'm using the Windows Media Player .dll and everything works perfectly....

View Article

function to capture keyboard events. Where do I find that?

I have a Form project with several combobox's on it. I need to catch the <ENTER> key. How do I get the function generated, or do I need to create that myself? EDIT: In VBA you could select the...

View Article
Browsing all 27349 articles
Browse latest View live


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