20,278 Topics
| |
Hi everyone, I have a problem with connecting vb.net to oracle database. At first I used VB.net 2010 express, but is does not support oracle so uninstalled it and replaced it with VB.net 2010 ultimate trial edition. Can you please give me some codes on how to properly connect vb.net … | |
hello, i have a project and im a beginner in this type of programming.. im using sqlcserver 2005 to connect into visual studio 2010.. may i ask what is the correct syntax connection string.. i have my code already but i can not connect because there is an error stating … | |
Hai Experts, I am having difficulty in saving/storing multiple values in a listbox. Briefly, I have a combobox to choose from, where the value selected will be added to a listbox. From the listbox(with multiple entries),I wanted to save it to a field in my SQL DB. I've been stuck … | |
Hello! I am making a software for school; a software will gather students data along with their term exams marks in database. And the it will generate Result and then print. but I could not understand how I can make this result, as i tried Visual Report Viewer (no use) … | |
Greetings! Is there a way to add a parser when you create a simple text editor? Thanks in advance. Best regards, glenndr_15 | |
I am aware that this is not strictly vb.net related but I couldn't think of a better place to put it. Is it at all possible with ClickOnce Deployment to on installation add custom folders where local resources for the application can copied to by clickonce to be accessed by … | |
Hi, In my game of Battleships, I am trying right now to randomly generate ship placement for the computer. I have made the program generate one particular spot in the grid using code like this: While CPlacementX > 5 GenerateCoords() End While For Each label In Me.Controls If label.Tag = … | |
Hello Community, I was wondering if there is a way to stick a cmd window/process that i called from my vb form to the bottom of the form like the picture: (below) ![form2](/attachments/large/3/form2.png "form2") And so where ever i move the form the cmd windows will also follow. Also is … | |
If I want to transfer var1 in form1 to form2 to be used in an alogrithm how do I do this? I have tried importing the form and then using the variable - no success. I have tried something to this effect form1.var1 - Get the error that var1 is … | |
I am coding something fairly simple and I've run into a few barriers. Keep in mind I don't have much experience in VB.NET. **1) I have created timer that is activated by the user with a user-defined time. But, when the "Start" button is clicked, the timer immedieatly sets off … | |
Hey guys, Im having a problem when trying to detect mouse clicks inside a function. Heres some code, and hopefully you can see what it's doing as its really confusing trying to explain. Sub ImageFollow(e As System.Windows.Forms.MouseEventArgs, myImage As System.Drawing.Image) Dim pBox As New PictureBox While TimerLeft pBox.Image = myImage … | |
hey, pls help me.. i need to check(compare) whether the value in the textbox (say textbox1) present in particular table(field).. | |
Hi, I have a XML file: <?xml version="1.0" encoding="ISO-8859-1"?> <Report> <config repstarttime="" rependtime=""></config> <cashdrops></cashdrops> <cashsheets></cashsheets> <cspdata></cspdata> <fdremdata> <fdrementry ENTRYID=""></fdrementry> </fdremdata> <SHIFTDATA> <SHIFT_CD_Index ShiftSystemIndex="1" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="2" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="3" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="4" Shift_CD_Used="1" ></SHIFT_CD_Index> </SHIFTDATA> <Order> <OrderHead filelocation="" filesuccess="TRUE" Attendant=""></OrderHead> <NFC1DATA nfc1count="0"></NFC1DATA> <PAYMENTDATA paymentcount="1"> <payentrydata id="1"></payentrydata> </PAYMENTDATA> … | |
Hello Community, I was wondering if there is a way to place CMD within a panel of a vb.net form. ![form1](/attachments/small/3/form1.png "align-left") Example: Please Help | |
I want 1 dialog box which is having a login username and Password field. ANd it must have 12 buttons. whenever i click on any button, it must open 1 Excel sheet associated with it. Just want 1 skeleton code. | |
Hello, I've been trying to find a place that explains how a pre-built 3D array is populated, but it seems like there is only help on how to declare it out there. Can anyone explain it? I know what data i want to put into the array, I just don't … | |
I got a few labels which show a entire week. It's displaying the long date like this LblCurrentDay.Text = Date.Now().ToString("D") LblCurrentDay1.Text = Date.Now().AddDays(1).ToString("D") LblCurrentDay2.Text = Date.Now().AddDays(2).ToString("D") LblCurrentDay3.Text = Date.Now().AddDays(3).ToString("D") LblCurrentDay4.Text = Date.Now().AddDays(4).ToString("D") LblCurrentDay5.Text = Date.Now().AddDays(5).ToString("D") LblCurrentDay6.Text = Date.Now().AddDays(6).ToString("D") The labels are all inside each of their own small panel. But … | |
Hey there! You guys have been extremely helpful, thank you. I have a question regarding the DataGridView. What I'm trying to do is take all the values from one column of a DataGridView and put that in either an array, textbox, anything. So far, I have only been able to … | |
Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = … | |
Hi all Greetings, Please give me some advice how can i call my existing report in vb.net any reference is appreciated. I am trying the importing crystal decision but i can't find it on the reference is it maybe because i am not using CR10? or there is something that … | |
I am writing a program for a company and would like to limit how many users can use this program at one time. IE if they have a 3 user licence when the 4th user tries to log in it wont let them. I have no idea how to accomplish … | |
hi, im a new comer in this forum. please anyone can help me for find string in large text file (filesize = 1mb to 5 mb) example: i have a text document file, filename is test.txt file test.txt contains serial number 000001 000002 000003 000004 000005 000006 000007 000008 000009 … | |
Hi iam trying to create a simple script for my macro that i want to copy two different screens to clipboard when paste function is called ,i am using ibm websphere hod please help me if u know how it could be done | |
Hey guys. I want to use this code: Imports System.Drawing Public Class frmBG Private Sub frmBG_Paint(sender As Object, e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim g As Graphics = e.Graphics Dim p1 As Point = Me.ClientRectangle.Location Dim p2 As Point = New Point(Me.ClientRectangle.Right, Me.ClientRectangle.Bottom) Using brsGradient As New System.Drawing.Drawing2D.LinearGradientBrush(p1, p2, Color.Red, … | |
hi,i want design a feature which allows the forms to be changed to any theme color during runtime based on user specification can help me.. | |
| Hello, I need a code for saving BackgroundImage from PictureBox1 with SaveFileDialog1. Please help me (I can't find the code) . |
Button1.DoDragDrop(BackgroundImage, DragDropEffects.None) Throws an error ' Object reference not set to an instance of an object. ' First time I've used DoDragDrop, and first time with 2012 :) | |
anyone please explain to me what is the diffrence of this two query select * from tbl_Booking where [Date of Pres] between 'October 11,2012' and 'September 17,2012' (this query can display the information) select * from tbl_booking where [Date of Pres] between 'September 17,2012' and 'October 11,2012' (while this query … | |
hi every one i have a datagridview that show my data in columns. what i'm trying to accomplish is that after choosing a row and pressing edit button a new form will open and split the row for the right text boxes to update the data. the datagridview row shows … | |
Quick question. I am in the process of creating an application that uses alot of images, its becoming quite unbearable having to look through them ect. I was wondering is it at all possible to programatically select an area of an image to display? That way I could group images … |
The End.