20,284 Topics
| |
I am using vb6 to do my project. When i define an initialize a variable i get the compile time error as "Expected:End of statement". The code is : Dim i as integer=1 | |
Ok, after I posted my last result, it came to my attention that I did the wrong assignment. Now I am really in need of help. THis is also a double arry assignment and I need help from anyone asap..please..The instructions are as follow: I am to make modifications to … | |
Hello Community, I need to shortern a really long string then when it's in my program the string will expand back to it's normal length ready to be used in the program. I don't care what kind of method i need to use. Please help... | |
Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.GiveFeedbackEventArgs'. This is an Error while loading a page . Page loading Contains functions for filling combobox and grid . I can't able to Traise where the error occurs.Please help | |
Hi All, I have a problem with a treeview class in my windows form. Specifically I'm try to detect when a user has expanded or contracted a node verses if they have clicked/selected the actual node. When the user clicks on the node, I want to expand / contract the … | |
how to give image to a particular cell in datagrid view in vb.net I want to add rows in to a grid while running. I added new rows by enabling add property of gridview In that row one of the cell is an image .if i am adding one cell … | |
I am designing a software with front-end **VB.NET 2010** and back-end **MySQL**. Please assist me i want to deploy this application as an executable file with the MYSQL database embedded. How can i do this. if anyone with step by step procedure i will be grateful. im a newbie. | |
Group, I'm trying to change the "sa" password to my SQL Server Database via the 2008 SQL Server Manager Express. I have followed every instruction dillegently and can't seem to "complete" the change. Each time when trying to login with the SQL Server Authentication, I get the error message that … | |
Hi, I would like to know how to view shutdowntime from another IP address. I only know how to view it from my localmachine. This is my code: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = GetLastSystemShutdown().ToString() End Sub Public Shared Function GetLastSystemShutdown() As … | |
Problem: How many times must I will I need to throw two dice to get three 2’s, three 3’s, three 4’s, three 5’s, three 6’s, three 7’s, three 8’s, three 9’s, three 10’s, three 11’s and three 12’s. Write a program that will roll two dice over and over until … | |
I try to export my tables to excel in multiple sheets but i'm having an error state that object variable or with block variable not set. Hope anyone can help me. Here's my code. Private Sub exportexcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles exportexcel.Click Dim del_cmd As New … | |
Saving data in ms access database from software on 32-bit platform runs perfectly well..But when I try to save data using same software on 64-bit application throws below error: **System.Runtime.InteropServices.ComException. Datatype mismatch in criteria expresssion. ** I have declared some variables as SHORT in my application and in database those … | |
Hi, I have a combobox, textbox, listbox, and a save button. Combobox is filled with illness names stored from database. Every illness that will be selected from the combobox, its symptoms will be listed in the listbox. When a symptom is typed in the textbox and save button is clicked, … | |
Hello Group, I'm beginning to understand the connections required to return information from your database. I'm now trying to return multiple lines from the database that have the same "prefix" within the part number. As my example, I have two records within my database that both start with "AO0025". I … | |
I've done some searching, but just can't find a solution to this seemingly simple problem. Maybe I'm going about it the wrong way. I simply want to highlight the row that the mouse pointer is over in a Listview (using the Details view). I know you can use the HoverSelection … | |
im trying to convert my date from MySQL to a textbox.text and its giving the msg unable to convert MySQL date/time value to system.datetime dim tempdate as date TempDate = dr.Item("dob").ToString txtDate.Text = TempDate.ToString someone please help | |
Okay, here is my problem. The instructions are I would have to store the minimum points and grades in a five row two column array. The procedure should display the grade corresponding to the number of points entered by the user. Minimum Points Maximum Points Grades 0 299 F 300 … | |
Hi guys can you help me out. i want to display the item in my textbox but how can i do that i tried to search tru web but nothings working for me. it is something like this "SELECT Department FROM Table1 WHERE Department = " & .Textbox1.Text & "" … | |
I have limited knowledge in coding. can anyone tell me what is worng with my code? the firstrow result in the database is not updated, but it is updated in datagridview. For i As Integer = 0 To DataGridView1.RowCount - 1 DataGridView1.Rows(i).Cells(11).Value = "true" Next SmsdDataSet.AcceptChanges() | |
I'm trying to build an user interface based on keywords from a text file. My search can now determine the index of each key word I apply. What I'd like to be able to do is then pull those indexes in numerical order from the textbox I saved them to. … | |
At the moment I am making a simple pong game in my tenth grade high school class. It is already much more advanced than any of the other projects that people are working on and I will get an A no matter what, but I still have a problem that … | |
I have an access database which I am using with .net, I can search tables and maker very specific searches no problem, trouble is that I can't work out how to make global searches. IE search entire databse for "fred" or search a single table for "fred". Anyone know what … | |
i have a datetimepicker and a textbox i code inside in the datetimepicker Private Sub DateTimePicker2_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker2.ValueChanged TextBox1.Text = DateTimePicker2.Value.ToString ''7/16/2015 9:03:03'' PM is the output i my textbox, how i will remove the time when i input a date from the … | |
I have a problem with retrieving data from access databse. I make the connection and retrieve the data no problem. But when the data changes from another use of the database, I cannot get the new changed data without reloading the complete programme. Even repeating the load functions does not … | |
Hi, I am trying to store individual lines of a .txt file in a ComboBox, here is my code: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim FILE_NAME As String = "history.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim Line As String = … | |
Gentlemen, I have found a very nice tooltip control on the following link http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6967&lngWId=10 I tried to convert it to vb.net , and the solution works , but with some error . I beleive it is related to the namespace issue. Please check attached file for the C# source code … | |
Hello I'm new here and have been searching for a while but haven't came up with any results that satisfies my question. Basaically I'm making a tool that is sort of an account manager and needs to read some usernames from sample text file for example Sample.txt: username1:password1 Username2:password2 I … | |
Hi, in vb 6.0 the listview had a view property, if you set that property to Icons you could move the ítems wherever you wanted but now i don't see anything like that, the behaviour i want to have is like the Windows desktop where you can move the ícons … | |
hello everyone. i need to check if random number generated each time button clicked have not been generated before. i'm saving random number to array each time button clicked then i need to check if after second click of the button numbers are different if not then generate new random … | |
I'm trying to read and return info from an SQL database. To ensure you have the details, here's the basic info: The database is called "DataDesignSolution" The table is called "INVENTORY" I'm trying to read the columns "INV-PART-NUMBER" and "INV-DESCRIPTION". I've written the following code hoping to SEARCH through the … |
The End.