20,899 Topics
![]() | |
hi everybody, I'm looking everywhere to find out a way to access a specific column and row of a datagrid generated by a sql-query in visual basic. The datagrid looks, simplified, like this: column1 column2 data1 data2 now I would need a function, that reads data2 out in visual basic … | |
Hi dear, I want to pass two dates from crystal report and want to get result between these two dates but it returns result only from one date here is my code any suggestion: [CODE]If TextBox1.Text = "" Or TextBox2.Text = "" Then MessageBox.Show("Please enter Date!", "ALI ENTERPRISES", MessageBoxButtons.OK, MessageBoxIcon.Information) … | |
Dear All, I am designing a crystal report in VB.NET I have designed a crystal report i want to pass parameter from a textbox but when i pass parameter or without passing parameter run the report it pulls all the records from the database please help my code is as … | |
| |
[CODE] Dim Files As String() = Directory.GetFiles(StrTempFolderPath) Dim Filename As String Dim File_name As String = "" Dim File_name1 As String = "" For Each Filename In Files File_name = Filename.Substring(Filename.LastIndexOf("\")) File_name1 = File_name.Remove(0, 1) objBaseClass.FileMove(Filename, strPICKDIRpath & "\" & File_name) objBaseClass.Execute_Batch_file(File_name1) Windows.Forms.Application.DoEvents() Public Function Execute_Batch_file(ByVal filename As String) As … | |
hi, well i have posted this on two other forums without success, hoprfuly you guys can help me ! the scenario - i have a native c++ dll that creates and initializes a string, which is a char array. [CODE] char pRet[1024]; memset(pRet, 0, 1024); strcpy(pRet, "change me!"); [/CODE] the … | |
Hello: I have an unbound datagrid and I'm trying to save it's contents to my access database. here's my code thus far: [CODE] Dim dt As New DataTable() Dim dr As DataRow = Nothing For j As Integer = 0 To (Me.DataGridView1.RowCount - 1) - 1 dr = dt.NewRow() If … | |
Hi, I made a simple Form1, with Text.Box1 (starting value=1) and Text.Box2 (starting value = 100000), as shown in the attachment : I wanted that, when the Form loads,value of Text.Box1 keeps on increasing by 2 and value of Text.Box2 keeps on decreasing by 3. I wanted to achieve this … | |
Hi How To Make This Faster [CODE] Private Sub MonMove() For A = 0 To (Cnt - 1) MyControlArray(A).Location = New Point(MyControlArray(A).Left _ - 1,MyControlArray(A).Top) Next End Sub[/CODE] first i make A Hundred of PictureBox Later I use Array How To Make it Faster ,When It Appear More than 20 … | |
Someone please help me before I smash my computer. Every time I try to update a database using my data adapters update method I get the following error.....[B]Object variable or With block variable not set.[/B] I can't for the life of me figure out why this is happening. Here's the … | |
Hi Guys! Lately starting to make a project which involving calculations in it, Unfortunately I got some trouble because the calculation which is displayed out is wrong. The main idea is that I set a event where you pay 5 "Gcoins" to play the "paper scissors stone" game against the … | |
wat is the problem here [CODE]cmd1 = New OleDbCommand("Update tblParking SET status = 'Available' Where exp_date <='" & Date.Today & "'", cn)[/CODE] i want update the field status to "Available" when exp_date is less then todays date.. wat do i need to do. | |
Hi Guys! I coded my textbox to be only type in numeric numbers. But the backspace doesn't work when I run the program anymore, Can't delete what has typed in the textbox. Anyone can help me? Here is my code [CODE]Private Sub AmountTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) … | |
Ii it possible to have a list-box that adds shortcuts of programs and runs them :-/ | |
Hi there, I have a question regarding excel in C#. I have a datagridview and in that I have a datagridview cell button to open an excel file and make it visible, and another to upload to save the file to a folder in a project folder, I add the … | |
Hello, I'm new to this forum. Right now I'm developing a software based on Genetic Algorithms. I really have almost none experience, and I have a question. First of, this software is a prototype, a template. So the user can choose between a lot of choices (types of crossing and … | |
Hi all, Can some one tell me why my crystal reports asks for user name and password at run time when i install then from setup please please help me. Thnaks in advance. | |
Hello All, I have a datagridview that has a datetimepicker column. Currently I can click it once to get the current date. How can I click it once and have the entire calander appear? Thanks in advance! jim | |
good morning guys I have a question that am hoping someone can answer for me I am using vs 2008, and have put the sql database into a program that is being built. the database fields all work fine...I am able to make entries, save it, close it out and … | |
Hello. I am having a problem. I am attempting to gather a group of file names from a directory. I am able to do this. I tested the code by having the list populate into a listbox and all desired items were added to the list. Here is my code: … | |
This is my first attempt at a report in VB.net As a simple start I have form1 with a button to call the report I defined the Dataset for the report using a stored procedure with no parameters although idealy the next stage would be a parameter in the stored … | |
I'm using the streamreader to read in a text file and using the function EndOfStream to detect the end of the text file. The problem i facing is that i'm getting this weird error message -- > [B]System Error &H80131c25&[/B] Does anyone know what this means and how to solve … | |
I need help with a program. It’s suppose to keep track of motel reservations. A guest’s name is entered and then assigned to a room. The motel has three floors and 40 rooms (numbered 1 to 40). The program is suppose to reserve a room, cancel a reservation, and display … | |
I am using VB to query a MySQl database and populate an Excel spreadsheet. All is working well, but now I would like to start distributing the spreadsheet shroughout the company and cannot protect it. If I protect the spreadsheet the VB cannot add the MySQL data, so I added … | |
i made SMALL PROJECT IN VB.NET ( USING TABLE, GRIDS) ON MY FRIENDS LAPTOP NOW I M UNABLE TO USE IT ON MY LAPTOP...FORMS ARE NOT WORKING ON MY LAPTOP..M NEW IN VB.NET PLZ HELP ME (WANT DEATAIL EXPLANATION ) THANXXXX :-) | |
Hi friends, Plz anybody can tell me, How to retrieve only date from DateTime in vb.net in dd/MM/yyyy format and I have a field in table in access 2007 which has date/time datatype. Data is stored in datetime format.(04/08/2010 12:01:07 AM) I want to retrive only dates which are in … | |
Hi, I have just started using VB.NET 2005 after a long break. My question is that I retrieved data from access table and showed them on to ListView. Now some of the data has been changed. How can I update the data into database again. I hope my question is … | |
Ok, well I am new to VB, but have a general idea of it, and im trying to make a program that does the following (and it fairly simple) button 1 = Open button 2 = search and replace textbox = text to search for replace = a given, non … | |
I have used flash(.swf) animation & high quality graphical image there in my vb.net application. But problem is that sometimes when I click on menu it shows small line under it & take time to load it. It shows line under menu when load another forms though there is no … | |
Hi, i'm developing a project on employees. I have added a list box and now i need help to display the data about my employees in the list box. How am i supposed to do that, do we have to put in codes or need to use that small arrow … | |
Hey, I was working on a ListView that was supposed to look something like the OpenFileDialog except with some differences. Up until now I've used my own images to represent each type of extension that is added to my listview (well, only two images are used, Directory and File, to … | |
Hey frns I want to record the time that the application takes. I want that when i click on Start Button in label time starts from 00:00:00, & when we click on cancel button time resets to zero. I include system.diagnostics.stopwatch I just know start,stop & Reset methods are there.But … | |
hello i have project for billing and codeing. i work in team, when i start create database i totally forget about naming convention and i choose my name. now i need to change that database name according to my team member's database name. should i able to change my database … | |
I am building a program using VS 2010. It needs to be a set of forms that allows a manager to log in so that data entry people can enter in data based on another form. I also need to create a hot key set up that pulls up another … | |
I am creating a login page using Vb.net ... i have written coding but it shows some Error .. Here is mine coding .. .. Dim DataClass As New DataClassesDataContext Dim l = From Users In DataClass.Users _ Where (Function(x) x.UserName = txtUserName.Text And x.Password = txtPassword.Text).ToList If l.Count = … | |
Is it necessary to install .net on client system to run .net application? | |
Hi , [COLOR="Green"]In my [B]winform [/B]application , am uploading documents on a [B]server[/B](within a directory). I have a grid that showing list of documents that uploaded on server. Now I want to view a document with [B]a specified document viewer[/B]( or default viewer) as soon as I click on that … | |
Dear All, When i make Setup of my project then my crystal reports keeps old database path how can i resolve it please help me. | |
hi every body i build login page in visual web developer using vb with standard create user control which have username,password,email,security question and its answer the question is how to customize create user control so i need only from it email and password without security question and security answer and … | |
I have a program in which a user enters a sentence in English into a text box, then the sentence is translated into French and German based on words in an array of structures that gets its values from a text file. I have almost all of the program written, … | |
Hi all, I'm writing an application that imports and tidy up address data into a cleaned, deduped excel workbook ordered in rows with each column as an address field. One of the issues I've ran into is that we sometimes get a workbook where the multiple address fields are held … | |
I am using VB.net 2008 express edition I have figured out how to use some of the code snippets for the open xml sdk to create a drop down list of all the sheets in an excel file. I can also use the code snippet to get the value of … | |
I have a .NET winforms app that automates Excel and checks for a worksheet password. The requirements are to be able to detect 1) that the protection is turned off 2) that the password is removed (protected but there is no password) 3) that the password matches the correct password … | |
I am writing a program that sends an email with attachments. I need to send it as HTML but I can not find any reference as to how to do this. My code follows: [ Private Sub sendMail(ByRef Message) Dim Attach As Attachment Attach = New Attachment("c:\Project\Articles1\Article.txt") 'create the mail … | |
Hi all, Been a while since I've been around, and I have a question... Firstly, if this is possible, and secondly, if it is, how I'd go about doing it. The idea/problem.... I'm working on a desktop replacement project and was wondering if it possible to have a form which … | |
hello! i use VS 2005 ,so it use ,net framework 2.0 ,so if i look to ,net framework that i have in my computer i see 1.0 1.1 2.0 3.0 and 3.5 so my question is is VS 2005 automatically use the latest version of framework in my pc or … | |
hello! i create a programme that's used my hotmail account so i send e-mail to another account so it's worked but on another computers it's doesn't work and i don't know why in my laptop the programme work and in another laptops or desktops the programme don't do anything. so … | |
Dear All, I have a problem i have made setup of my project when i install it and run the program it asks for the complete path of database like this "C:\Paymentsystem\PaymentSystem\bin\Debug" is there any way i want to change the path i mean i want to place database in … | |
Hello, What is the right way to delete an object I do not need to use anymore ? is the next line right only in VB6 ? myObj = nothing thank you | |
Hi friends, Plz anybody can tell me, How to retrieve only date from DateTime in vb.net in dd/MM/yyyy format and I have a field in table in access 2007 which has date/time datatype. Data is stored in datetime format.(04/08/2010 12:01:07 AM) I want to retrive only dates which are in … |
The End.