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

SQL Query Builder for C# or VB.NET

I came across an article at Code Project developed in C# which allows a developer to create dynamic where SQL clauses easily. The source code when downloaded is one class project for core functionality...

View Article


Image may be NSFW.
Clik here to view.

VB6 - AllRGB

This is a program I've been working on to convert a source image(currently it must be 2048x2048 pixels and file type: JPG, GIF, BMP(suggested)) to a 4096x4096(16777216 pixels/colors) AllRGB image....

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

VBA - Macro to create/update documents in Lotus Notes database

Hi, I need a macro/code that creates an document in a Lotus Notes Database or that update an existing one. I have a VBA code that generates another spreadsheets and send those excel files via e-mail...

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


CMS: How to Keep A User Logged In

I created a CMS using PHP/mySQL. My login page is a simple form: username and password. If a user is not logged in and tries to visit an admin page, then he/she is automatically directed to the login...

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 multiple oledbadaptor

Good Evening, im new and wondering if anyone was able to shed some light. i have a form that contains one textbox and three datagrids. what im trying to do is search the textbox field to an access...

View Article

VS 2005 Setting Up SQL Connetion at Run-time

Hello guys! Is it possible to change SQL Connection at runtime? Because I already did it with MS Access and My.Settings. The user will just change the Data Source in the connection string which will be...

View Article

VS 2010 How to show mysql timestamp as a string in the textbox

here is my code Code: Dim connStr As String = "Database=telcos;" & "Data Source=localhost;" & "User Id=root;Password=;" & "Allow Zero Datetime=True"         TextBox1.Text =...

View Article


Passing variables from form to form

I've been searching hours to figure this out. I need to pass the value of a textbox (FirstNametextbox) to a variable then use this variable in another form. I used to be able to do a Textbox1.text =...

View Article

Javascript focus not working in firefox

Hi guys, want to know why is this happening, basically i have this javascript code function that will focus on a next specified object. Code: function nextFocus(e,object) {     var key = window.event ?...

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


Image may be NSFW.
Clik here to view.

[RESOLVED] help: update table

Code: Private Sub Command1_Click()     Dim loadrs As ADODB.Recordset     Dim loadcn As ADODB.Connection         Dim loaddbcon As New DLLConnectionFunction     Set loaddbcon = New DLLConnectionFunction...

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 42340 articles
Browse latest View live