Creating a transparent background in BMP or GIF images
I'm working on a program that creates images from AutoCAD drawings. I can create bmp images with a white background. However, I need to convert the images to gif, with a transparent background. I tried...
View ArticleA reference was created to embedded interop assembly
Code: Warning 1 A reference was created to embedded interop assembly 'MSDATASRC' because of an indirect reference to that assembly from assembly 'AxInterop.MSChart20Lib'. Consider...
View ArticleRoundDown Function
Code: Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load End Sub Public Function RoundDown(ByVal InputValue As Double) As Double Try...
View ArticlePictureBox Swap Out.
Hey guys and gals I have been trying to solve a problem with a program that I am creating for about 48 hours now and am Well "Stumped" I'm hoping that someone can share their logic on how to solve...
View ArticleGenerate Random Numbers
Is there an easy way of generating Random Numbers? Maybe just a one liner.
View ArticleVS 2010 [RESOLVED] Is a Serialized Object valid
I have Author objects saved to file. Before loading them into my application, I would like to check to see that they are correct Author objects. Here is my code: Code: Public Function...
View ArticleVS 2010 HELP in Making an Automatic Class Scheduling Application
Hey, I need help in creating my Class Scheduling Application which automatically assigns professor,subject,room for a specific year and section. any idea how to make this application? any reply would...
View ArticleVS 2010 mouse button
Hi, How can I send a click with my mouse in vb.net 2010? the old way in vb6 isnt working Code: Private Declare Sub mouse_event Lib "user32" (ByVal dwflags As Long, ByVal dx As Long, ByVal dy As...
View ArticleExtract refined tool list box
Good morning How can I extract refined line of tool ListBox Through certain boxes A text line separated by @ You divide the text by the @ And put each part into a variable Required to extract refined...
View ArticleVS 2010 ListView Selected column
Hi, I have a listview item with 6 columns. I want when clicking one of the six columns to get the index of the column or even the first entry of the column (if thats simple). I have searched and i...
View ArticleVS 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 ArticleDateTime.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 ArticleVS 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 ArticleVS 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 ArticleVS 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 ArticleVS 2010 [RESOLVED] 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 ArticlePassing 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 ArticleVS 2010 I am completely lost on this. How to organize queries?
I am attempting to populate a listbox with data in 3 separate tables, but it keeps just putting each entry on 1 line rather than creating new lines. These are the tables: Attachment 96993 This is what...
View Articlehow to save an image to mysql
guys can you teach me how to save image to mysql table? i have table called employee with a field of 'employeeid', 'employeename','address','gender','datehired' and 'image', i know now how to save all...
View ArticleVS 2005 How to control TabIndex with Enter Key and not with Tab Key
Hi. All my form controls are set to tabIndex from 0 to 9 lets say right. Meaning thereby that as i press the tab key so the control transfer to the next control on the form and then so on, right. I...
View Article