20,899 Topics

Member Avatar for
Member Avatar for georges-louis

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 …

Member Avatar for georges-louis
0
112
Member Avatar for Naveed_786

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) …

0
354
Member Avatar for Naveed_786

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 …

Member Avatar for Oxiegen
0
207
Member Avatar for deepeshgavel86
Member Avatar for ravindra_kolhe

[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 …

Member Avatar for ravindra_kolhe
0
139
Member Avatar for unclepauly

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 …

0
101
Member Avatar for Proctor

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 …

Member Avatar for Tarang Raval
0
144
Member Avatar for siddhc

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 …

Member Avatar for GeekByChoiCe
0
153
Member Avatar for trpsjt2008

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 …

Member Avatar for trpsjt2008
0
119
Member Avatar for SethR

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 …

Member Avatar for reenez
0
442
Member Avatar for TrueVb.NetNoob

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 …

Member Avatar for TrueVb.NetNoob
0
129
Member Avatar for muhamin

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.

Member Avatar for crapulency
0
174
Member Avatar for TrueVb.NetNoob

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) …

Member Avatar for TrueVb.NetNoob
0
200
Member Avatar for VB 2012

Ii it possible to have a list-box that adds shortcuts of programs and runs them :-/

Member Avatar for VB 2012
0
94
Member Avatar for judithSampathwa

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 …

0
79
Member Avatar for Pundia

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 …

Member Avatar for Oxiegen
0
219
Member Avatar for Naveed_786

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.

0
48
Member Avatar for jcb1269

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

0
38
Member Avatar for Dcurvez

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 …

Member Avatar for Dcurvez
0
106
Member Avatar for starlight849

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: …

Member Avatar for starlight849
0
162
Member Avatar for barrievans

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 …

Member Avatar for barrievans
0
79
Member Avatar for Reg74

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 …

Member Avatar for ibennz
0
805
Member Avatar for scottjo

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 …

Member Avatar for leahrose87
0
167
Member Avatar for muppet

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 …

Member Avatar for Oxiegen
0
214
Member Avatar for kiranjotmakkar

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 :-)

Member Avatar for finito
0
67
Member Avatar for Maya Pawar

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 …

Member Avatar for crapulency
0
96
Member Avatar for usman6062

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 …

Member Avatar for usman6062
0
53
Member Avatar for xZombeast

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 …

Member Avatar for Oxiegen
0
124
Member Avatar for Kingcoder210

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 …

Member Avatar for Oxiegen
0
135
Member Avatar for Jollyyy100

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 …

Member Avatar for Naushad Malik
-1
146
Member Avatar for ShadowScripter

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 …

0
67
Member Avatar for Yogesh Sharma

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 …

Member Avatar for Naushad Malik
0
129
Member Avatar for johny1980

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 …

0
43
Member Avatar for dfw214

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 …

Member Avatar for dataobjx
0
67
Member Avatar for kevin025

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 = …

Member Avatar for kevin025
0
114
Member Avatar for techdaya

Is it necessary to install .net on client system to run .net application?

Member Avatar for GeekByChoiCe
0
38
Member Avatar for Nitin Daphale

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 …

Member Avatar for Geekitygeek
0
91
Member Avatar for Naveed_786

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.

Member Avatar for Naveed_786
0
76
Member Avatar for kingofnothing

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 …

Member Avatar for GeekByChoiCe
0
150
Member Avatar for CarlMartin10

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, …

Member Avatar for jleonardo
0
637
Member Avatar for G_Waddell

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 …

Member Avatar for Baldur Levesque
0
255
Member Avatar for watergeek

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 …

Member Avatar for David Sanchez
0
1K
Member Avatar for sdmcnitt

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 …

Member Avatar for nancyli148541
0
768
Member Avatar for jonniebl

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 …

Member Avatar for jonniebl
0
187
Member Avatar for TheMightySpud

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 …

Member Avatar for TheMightySpud
0
96
Member Avatar for cocoll

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 …

Member Avatar for trpsjt2008
0
65
Member Avatar for cocoll

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 …

Member Avatar for cocoll
0
93
Member Avatar for Naveed_786

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 …

Member Avatar for Naveed_786
0
92
Member Avatar for sw22

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

Member Avatar for rkmasternet
0
56
Member Avatar for Maya Pawar

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 …

Member Avatar for raj_developer
0
110

The End.