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

Vb.net Linq query add where clause

Hi I created this query which work 100% fine in vb.net light switch {See Code below} I wanting to add a where clause to say where GrnDetails.GrnNo.Id for the insert dunno how to add a where clause in...

View Article


VS 2008 DataGridView Update Problem

Good Evening All I recently received some help on here from some of the guys in regards to updating a datagridview & saving the changes back to my database & they sorted the problem straight...

View Article


VS 2010 Prevent command button being selected?

Hi there, I have a form that runs code on a arrow keys keydown event so that a label is moved around a container. This has been working perfectly until I added my first command button. Now, the arrow...

View Article

VS 2010 [RESOLVED] Linq updating datatable weird

Hello I have a .net page where I am pulling a report from the database, altering the data slightly, and then emailing it out. The report from the database takes a bit to run, so I built the page to...

View Article

Oracle query

I have a table that keep information by date. So sometime I will need certain by date on a daily base. So how can I do a query that lookup by previous date? My query is below SELECT (PROATE)as...

View Article


VS 2010 [RESOLVED] Display text in listbox, but via query method?

I'm well aware of the traditional method to display text in a listbox: Code: lstOutput.Items.Add("Some text.") However, I need that same type of function to occur via a query: Code:...

View Article

Image may be NSFW.
Clik here to view.

DateTime.Now timestamp not changing

Writing a simple program to ping a PC, return a time stamp and status, and write it to a log file. My output from the below code has the same exact timestamp for every entry. (pic) Attachment 96987...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Query results not fully populating

I have a query that checks to see if the quantity of an order exceeds the on-hand inventory. If so, the listbox should show the item, description, and the amount needed to order to meet the needs of...

View Article


VS 2010 Put Picturebox behind others

I'm making a "game", and I'm using pictureboxes. I would like to use a background image, but I used the 'Refresh()' command multiple times, and it glitches out if I put a background image on the form....

View Article


VS 2008 Convert

Hi all , I've been facing an annoying issue using compression and convertion. There is my full code : Quote: Public Class Form1 Dim str As String Private Sub Form1_Load(ByVal sender As System.Object,...

View Article

Editing page header/footer

We have a lot (thousands) of documents that need re-formatting. It includes (but not limited to) amendment to headers and footers. In the scenario I'm currently dealing with as a test document - I have...

View Article

Image may be NSFW.
Clik here to view.

List Veiw Printing Help

I have a list view that I print out but if the list is longer than one page it ust cuts off. No additional pages print. Also I cant seem to get it to resize the width to fit on one page in portrait...

View Article

VS 2010 Subscripts

How do I format the numbers so that they are subscripts? I get an output of X1Y1 + X2Y2 +…, but ideally I would like it to be X1Y1 + X2Y2 +… so that it is easier to read. Code: Public Class Form1...

View Article


[RESOLVED] Multithreading causes Hang

Hi Guys, I've just started learning the multithreading in vb.net; Needless to say I'm facing issues. Please check the code written below as its not giving any output, it just hangs. Code: Public Class...

View Article

Image may be NSFW.
Clik here to view.

Print specified worksheet using VBA

Hello! Good Day! I am new in excel Vba. i want to use excel vba to print worksheets. I have "View" sheet w/c my userform located, Form1 and Form2 sheets w/c to be printed. My userform is: txtCopy - no...

View Article


Database not foudn after publishing

Hi all, i am creating an application in VS 2010 (VB) that uses a local Compact SQL (.sdf) database. I have configured my connection as per below and it works perfectly in the F5/Run command of teh VS...

View Article

add data for selected item in a listbox

Hello, I've got difficulties in adding data for a listbox selected item. Here is my code: Code: Public Class Form1     Private mPatients As Dictionary(Of String, Patient)     Private mCurrentPatient As...

View Article


FindWindowEx isn't working

Hi all, how can I retrieve hadle of child window" ? I have parent window -> child window with buttons ... Code: Quote: Private Declare Auto Function FindWindow Lib "user32" _ (ByVal ClassName As...

View Article

c++ to vb.net

how can i do this code in vb.net? Code: unsigned char tempstr[15],totstr[8],coin1[10],coin5[10],coin10[10];

View Article

[RESOLVED] Any event that triggers when items in a listbox changes?

I want to report the number of items in a listbox in a label. I though I could just use Code: lblItemCount.text = lbxMyList.items.count.tostring whenever the contents of the listbox changes, but I...

View Article
Browsing all 27368 articles
Browse latest View live


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