20,899 Topics
![]() | |
hi i guess the title pretty much states the question but i will give the senario to be more clear. i have a mousemove() event which i add in my program programmatically and i need a way for raising that event (again) programmatically too. raiseEvent control_mousemove() doesn't work as it … | |
I play a game called Hyperiums... long story short, the fleets cost money depending on your planets race, production and government type. And you can have it by how long it's going to take and what the fleet AvgP is going to be or see how much the upkeep will … | |
I need to return a class which inherits List(Of ) in a webservice. The consuming application simply views it as an array of the class, not a list. In fact, the Collection class is not even available to derive an object from. Class Definition: [CODE=VB.NET] Public Class TestResultCollection Inherits List(Of … | |
I've got a vb.net 2005 form that calls a stored proc to load a combobox with eligible sales reps. There are approximately 40k sales reps available...I know that's a lot, but that's what I'm dealing with. I'm trying to figure out why it's taking this form 15 seconds to load. … | |
im going to try and explain this as easy as possible, this is something i have never done with .net before there is a login form at [url]http://www.ritani.com/salespersons/login[/url] it uses the post method to login. i have a web browser control in vb.net that I want to have automatically log … | |
can someone tell me how to get the [U][B]icon[/B][/U] of a webpage. i can get the icon of a webpage and set it as an image but i want to take it and set it as the icon for my application. here is the code to get the icon and … | |
I'm having trouble trying to update or delete records from my database. Basically, I have a datagridview(DGV) in my form and the following is what I wanna do. The user could directly change/edit the values in the DGV and just click the update button to update the database. And the … | |
Hello all, This code works fine on my Win XP machine, but not on Win2k. I have tried overriding the webrequest function in Reference.vb with [code=vb.net]Protected Overrides Function GetWebRequest(ByVal uri As Uri) As System.Net.WebRequest Dim webRequest As System.Net.HttpWebRequest webRequest = CType(MyBase.GetWebRequest(uri), System.Net.HttpWebRequest) 'Setting KeepAlive to false webRequest.KeepAlive = False GetWebRequest … | |
Which datagrid should I use in vb.net? Which grid works like mshflexgrid? I have used mshflexgrid in my vb.net project as a result it shows error when I am trying to build my project! Please check my code & tell me which grid will support my code. Please add example … | |
I just want to know if is it possible to connect to a SQL server using a data link file in vb 2008? how will i create a valid data link file? How will i call the data link file in my program? please help me.. | |
I'm trying to figure out how to pass a parameter to a report in VB... [URL="http://screencast.com/t/MjBhYjYxOTM"]http://screencast.com/t/MjBhYjYxOTM[/URL] I've looked at the microsoft library on the report viewer class, but it's only slightly better than a boat anchor... does anyone have any other useful tips on how to figure this out? | |
I have visited [url]http://msdn.microsoft.com/en-us/library/k3bb4tfd(v=VS.71).aspx[/url]. I have learned many things. But it didnt make clear about those files what I have used there in my program. I know I can add additional files. Does it mean that I have to add those files there in additional file dialog box what I … | |
I'm trying to populate my textboxs with data from my database when the user name is selected but I'm having trouble getting the code right. Help Please! table users (there is a textbox for each of these fields) password lastname firstname Using upcmd As New SqlCommand("SELECT * FROM users WHERE … | |
I Have a PDF Folder containing pdf files with the names ( sp_1.pdf , sp_2.pdf etc.....) In my word files , I have the text : " and it was created under the rule sp_1 in order to acheive the level we are working for that is sp_2 " so … | |
hello guys..i have a question..Is it possible to make the time running in datagirdview? and also if it is possible to make the update of two form combine in 1 form for example you have a customer form that you save, update in database and another like for employee that … | |
In the past I have been able to simply read the physical pinouts on the: Games Port (DB15) (using PEEKS and POKES) . . . . . . . . . . . . . . . Parallel Port (DB25) (also using PEEK and POKES(888)) . . . . . … | |
in my problems, i want to use event keyboard press 'Enter' on textbox, i'm very confuse because in event property from textbox there was Enter, but after I double click and read statement in that, after i test my program, there was nothing , please help thanks before :) | |
Hi, i would like to share you my problem in order to get solution `cause i gonna be crazy :( Actualy when i do click to insert button in my form i get this error: [ATTACH]17077[/ATTACH] the strange is when i close this window and i do click again the … | |
I'm using Mastering Visual Basic 2010 <book and it tells me... In a button's Click event handler, declare two variables as follows: Dim a As Single, b As Double Then enter the following statements: a = 1 / 3 Debug.WriteLine(a) Run the application, and you should get the following result … | |
Hi all, I'm fairly new to VB. I'm working on a Windows forms app that will average a set of numbers, the only catch is that there are 10 textboxes(4 in the example for times sake), and not all of the textboxes could be filled with a number... I know … | |
[code] hi, i have been having an endless problem with the save button for some time and i am also new in here. Actually, here's how my problem defines: i was developing my own project in the university so what i am stack is to have save button which firstly … | |
Dear Mr or Ms: Nowadays, I have started to learn a programming and my subject that I have chosen is VB.NET. but I am very afraid whether I can learn it well or not. thus, I want to ask all of you that, How can I learn it well and … | |
hello...how can i make my post thread solve if it is already answer? | |
If there any solution on how to choose specific column..what is the code?? i'm using VB.Net [CODE] If e.Row.RowType = DataControlRowType.DataRow Then Dim CellValue As Decimal = Convert.ToDecimal(e.Row.Cells(4).Text) If CellValue < 5.0 Then e.Row.Cells(4).BackColor = Drawing.Color.Orange End If End If [/CODE] | |
So, this might be simple but I seem to be missing it. I am trying to figure out how to use variables to define which object to update. I could of course use a case statement to pick the object based on a variable, but it seems to me like … | |
i use a Button on tool strip menu any one can help me to write a code(function) so when i click it i get what i want i dont want to use the mouse | |
hello geeks, this is my first post, and my question is... i have some text files from which my app reads and process data, these text files are in hundreds and i am now providing them in a folder, but these should not be accessed by others, how i can … | |
i have a problem with saving data to access database this is my code [CODE] Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click If inc <> -1 Then Dim cb As New OleDb.OleDbCommandBuilder(da) Dim dsNewRow As DataRow dsNewRow = ds.Tables("Personnel").NewRow() dsNewRow.Item("PerID") = txtPersonnelID.Text dsNewRow.Item("FirstName") = txtFirstName.Text … | |
I want to know about the tool strip Control. Can i Use Tool strip button in all the Win form. Like, I put the delete button in all the window form, but I want to put only one button in the tool strip and remove buttons in all the window … | |
Hi, I am a almost thirtysomething, going back to school at night while working full time. I decided that it was time to get an education to enable me to break out of the Cable industry and into the programming scene. I am interested in Computer Science and web programming(maybe). … | |
anyone can help me to separate a database horizontally instead of potrait. as example... BEFORE: Quarter 1=20 Quarter 2=10 Quarter 3=15 Quarter 4=35 AFTER: Q1 Q2 Q3 Q4 20 10 15 35 | |
i want to implement this feature : if i have a following sentence : {my name is james vick and iam a {member|user|visitor} on this {forum|website|site} and iam loving it | iam admin and iam a {supervisor|admin|moderator} on this {forum|website|site} and iam loving it} on a click of button i … | |
i need help, i am making a web browser in vb 10 and i have a built in media player and i want to make a play list. i got it to work with a listbox but not anything else. For the menustrip [CODE] Private Sub PlaylistToolStripMenuItem_DropDownItemClicked(ByVal sender As System.Object, … | |
I am new to vb . Now i wan to create a standalone program to send datagrid data via email . izit any way to send the datagrid to email body ? below is my code. [CODE]Public Class Form1 Dim oLapp As Object Dim oItem As Object Private Sub Form1_Load(ByVal … | |
Hi, I'm trying to create multiple instances of a child form. This form has an event that feeds a string variable back to the parent so I'm declaring it with WithEvents which is declared outside of the Sub - meaning multiple clicks will not open multiple forms. Any idea on … | |
HI all, I'm Fresher. I need information regarding [U]Axmscomm control [/U]in vb.net.Please guide me how to use this tool? What are the Libraries i should use? please provide me some source.I strucked with control. I searched a lot for this.I'm doing windows application using vb.net. hoping for the best Thank … | |
I have this richtextbox and displayed various text from .xml database. I need to format the text. For example when ever my vb code find string like 'the' in an .xml line it should display in italic as well as in blue color and so on for some other specific … | |
I want to develop a software that can manage DVD's in a library. meaning it stores all DVD's in a database. and it checks for available and non available DVD's .the same application be able to keep track of when a particular DVD should be returned i really want a … | |
HI I am trying to write data to an access table from vb.net. The code all seems to run fine but no data is being sent to the db though! the code i have got is [code] Dim itemcount As Integer Dim MyCn As OleDbConnection Dim sql As String 'Dim … | |
I am very new to vb.net. I need to be able to see when a certain popup window appears in another application. The time time it takes to appear varies so I need to know when it appears and in some cases when it has closed. | |
Hi All, I am creating a MySQL Module for usage in all my applications, one of my functions writes all data from the MySQL Database to an array, although to make this as versatile as possible I want one of the paramaters to be used to choose which array the … | |
hi all, i am interest to make a control like outlook pane i search online there had a few example on codeProject site but i am new to vb.net not so understand about it so did any 1 have tutorial on how to do it? | |
hi guys, using a for loop i want to be able to pause it, display string in text box for 60 seconds then move to the next loop,change content of the string and display it again for 60 seconds.this should go on till end of count.i am currently using a … | |
hello friend s i am making the simple timer module which will display time in count down format as if user wnters 1 hour 3 mins and 30 sec so it will count in revers i have almost half code done but afer trying the all tricks and logic i … | |
i have a problem generating auto number. can someone help me to solve this? here is my code [CODE]Try If IsConnected() = True Then strSQL = "Select max(*) from Supplier" End If myCmd.CommandText = strSQL myCmd.Connection = myConn myDA.SelectCommand = myCmd myDR = myCmd.ExecuteReader() If myDR.HasRows Then Label5.Text = myDR.Item(0) … | |
Hey guys, I was wondering if anyone knows a good VB.net tutorial. I'm not a beginner programmer by any means, I have experiance in another .net language, C# but I have a course in VB.net next semester and wanted to get a head start. Any help you could give would … | |
Hello, I'm uneducated in programming and I'm starting off with Visual Basic since I can simply use the toolbox to add things. I have looked at variables and stuff. I am using Visual Studio 2010 and am using the form part of Visual Basic in it. I used the calendar … | |
Hi, please i need your help, i had error while i tried to insert into my data base, here is my code: [CODE]Try 'preparer les requetes Dim sqlQRY1 As String = "INSERT INTO AUDIO Values ('" + nomAudio + "')" Dim sqlQRY2 As String = "INSERT INTO IMAGE(Nom_Img) Values ('" … | |
Hi, Am currently creating an interactive dating sms service using vb.net.but when i get to the point for user to find requested matching records,am only able to get the first 3 records. i want it to be able to move to the next 3 and the following 3 and so … | |
Hello everyone! i need a bit of help... can you convert my picture drag and drop code so it drag and drops audio files? (.wav) My code: Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() InitializeComponent() End Sub Protected Overloads Overrides … |
The End.