20,897 Topics

Member Avatar for
Member Avatar for jamshed ahmed

hi and hello is it possible to make images visibale =true or false in crystal report suppose there is crystalReportViewr Form and this form there is textbox if value in textbox is 1 then image box visible =true if txtbox =0 then image box visible=false please help me out is …

0
60
Member Avatar for uchendu korie

Please how can i make a Label control to have the present day an time value and also make the time tick as in a normal digital watch.i would be glad if anyone could help with a good idea and clear illustration with codes.Thanks and God bless

Member Avatar for Luc001
0
184
Member Avatar for get connected

Hi Guru's I would like to be able to run code from a text file - is that possible. Ideally multiple applications will read this file and all behave according to the code inside the file. rather than having to keep rebuilding and distributing new versions./ I can't think of …

Member Avatar for get connected
0
118
Member Avatar for zanie

Dear Experts, I explain first the scenario. In one vb form, I have 2 tables connected through ID(relationship from MS Access).In the first table the fields are NameID, Company, Name, Grade and on the second table the fields are ExamID, NameID, Date, Score1, Score2, Score3, and Average. Now, I want …

0
74
Member Avatar for razree

Hi all I have a simple program which calculates some values for me. Let's say I receive some money in advance, go to a trip and spend some money there (not necessary in the same currency that I received advance in. Now if I spent more money then advanced, I …

0
120
Member Avatar for sarifah n

Hi based on the title, I want my textfile created can save at any location folder . Please help me.

Member Avatar for sarifah n
0
1K
Member Avatar for bLuEmEzzy

any idea how to use autocomplete in the textbox getting the records from database? i tried using the properties of textbox. But if the table is updated then autocompleteCustomSource is not updated... please guide me.. thank u.

Member Avatar for bLuEmEzzy
0
1K
Member Avatar for littlelou

What i'm using; VB2008 express, Access 2003 DB, Objective to clear the datagrid view after updating. This should happen when the user clicks the OK button "which confirms the update". Below is what I have. I see in some forums they use the .Clear and some other options so what …

Member Avatar for littlelou
0
773
Member Avatar for Mike Bishop

i have a private sub that reads 4 lines of data from a text file, and then uses whats read and stores them in varibles. see below [CODE] Dim FileName As String = configfileV Dim TextFromTheFile As String ' Whole text Dim Lines() As String ' File splitted to lines …

Member Avatar for dxider
0
259
Member Avatar for bluehangook629

I am trying to write a code which will combine these values and format it in the following format to be used as control/validation ID. I have written a line of code that will merge these values together into a long string but I can't get the zeros to fill …

Member Avatar for bluehangook629
0
129
Member Avatar for MikeTackett

I'm looking for any thoughts on how I am currently doing error handling in my VB.NET programs. Basically I put code in a try/catch, then call an error handling sub passing the exception and a string. The error handling sub gives an error message and writes to a text file: …

Member Avatar for Pgmer
0
155
Member Avatar for twigan1015

I don’t know if this is really possible, the program can not use a mouse or anything that requires the use of the tab key (this would be considered a use of the mouse), is there a way to still add input into textboxes and hit buttons, kinda like the …

Member Avatar for MikeTackett
0
131
Member Avatar for crazycat503

I am trying to connect to SQL SERVER 2008 from vb.net but failed with Error 40. If I try to connecton to server\sqlexpress, error 26 is raised. step by step guide or tip would be helpful.

Member Avatar for debasisdas
0
73
Member Avatar for raffy3

How could you, update the fields on database if its data type is Y/N, and the method of updating is a checkbox??

Member Avatar for Jx_Man
0
77
Member Avatar for akamini

I feel guilty about posting again but I need help again and I have tried other sources of help e.g google and asking someone who is familiar with vb.net but still can't find the solution to it. It must be another simple fix but I cant find any reference to …

Member Avatar for raffy3
0
346
Member Avatar for ryan311

[CODE] Private Sub AddIngoing_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load loadprodin() End Sub Private Sub loadprodin() Dim i As Integer objCon = New SqlConnection(conStr) Try objCon.Open() obj = objCon.CreateCommand() str = "Select * from product ORDER BY p_code" obj.CommandText = str sda.SelectCommand = obj sda.Fill(ds, "product") dt …

Member Avatar for Jx_Man
0
169
Member Avatar for tstory28

I am quite sure I am gonna feel real dumb when I found where I am screwing up but I am ALMOST done with a fraction calculator (part of a complete algebraic calculator I am making) and am stuck when trying to reduce my fraction because when I hit the …

Member Avatar for tstory28
0
189
Member Avatar for DiracDelta

I have a fun family app dealing with the odds of winning the lottery. Seems simple, right? I'm having a problem with the following (I'm sure a simple solution is evident but all help appreciated): 12 variables, 6 user chosen and 6 random generated, all integers. Want to perform comparisons …

Member Avatar for codeorder
0
97
Member Avatar for gravikiran

I AM A NEWBIE TO VB.NET. RECENTLY I HAVE STARTED PROGRAMING AN APPLICATION CALLED "OFFICE-MANAGER". THIS IS A PROGRAM WHICH DEALS WITH ACCESS 2003 DATABASE. I HAVE A VARIETY OF OPTIONS LIKE FILE MANAGER, MAIL MANAGER, ETC. I AM STILL AT THE STARTING LEVEL. BASIC USER INTERFACE IS READY AND …

Member Avatar for IrshadIkhlas
0
262
Member Avatar for man924

the code is below. the system said me that the insert into sql syntax error any solutions? [CODE] Dim dbProvider As String Dim dbSource As String Dim constr As New OleDb.OleDbConnection Dim sql As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter form load code: dbProvider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;" …

Member Avatar for IrshadIkhlas
0
277
Member Avatar for hafizurahman

i use ms access as database and i dont know why my code not working.. here some of code [CODE]Private Sub btnSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim conAccess As OleDb.OleDbConnection conAccess = New OleDb.OleDbConnection conAccess.ConnectionString = "Provider=Microsoft.Jet.OleDb.4.0;Data Source=" & Application.StartupPath & "\kptm.mdb" conAccess.Open() If txtNamaP.Text …

Member Avatar for IrshadIkhlas
0
145
Member Avatar for tstory28

I am starting to feel completely dumb when it comes to VB.Net coding. I am using Visual Studio 2010 and am trying to compare the numbers in 2 listboxes. If an item from list A matches an item from list B, I want it to add that item to List …

Member Avatar for Unhnd_Exception
0
362
Member Avatar for Joshua Kidd

Hey, I am Creating an Application that has one button and a listbox, and I am using the FSX SDK. The button has Code that Extracts Data from the FSX game and Adds the Items to a ListBox. But When I click the Button and Am in game, it gives …

0
68
Member Avatar for aljiro

Hi, Anyone know how to access the contents of a password protected zip file via VB.Net? Like read, write, modify the contents as if its a regular folder. I have absolutely no clue how to the above. Its the final missing piece from my program. Any help would be very …

0
101
Member Avatar for diana_j86

How to fill a combobox with a data stored in a table in sql server?.... Can we use stored procedure to do so? I tryed this code but it keeps giving an error message: "An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll" What does that mean???? My code: Private …

Member Avatar for kazekagerandy
0
787
Member Avatar for jamshed ahmed

Hellow and hi i have one filed that makes total sum of bill and there is parameter serverice charges of type number now when i am creating formula like this {#total}+{?servervicecharges} then i get error that result of the formula can not be an array how to do this thx …

0
67
Member Avatar for vb2learn

Well, i really don't know, maybe the title would be in appropriate. Here's my problem: Textbox1.text = [CODE]abcd sadsadasdas dsad as das d 1234[/CODE] After parsing between [TEX]abc[/TEX] and [TEX]1234[/TEX] It shows [TEX]sadsadasdasdsadasdasd[/TEX] However it should also contain spaces. Here's my piece of code: [CODE] Dim daniweb As String = …

Member Avatar for Smith5646
0
97
Member Avatar for pratibhamohanty

Hi, can anyone out there help! I have a default form and a button. On click of that button I want to export a particular crystal report(without actually displaying it) to pdf format and store it in a folder named as temp. Is it possible? Thanks in advance,

Member Avatar for Ronln
0
3K
Member Avatar for Shantanu88d

Hi, I have a web form. On it I am generating a gridview through a stored procedure. Now it has it's DataSource set to dataset object ds. After generating this gridview. I want to generate an xls file. The code for that is correct. But since I am calling a …

Member Avatar for crishlay
0
377
Member Avatar for rustyone

I am using vb.net visual studio 2010 I have two comboboxes in the datagrid - one for Country and the other for State Province. Obviously the Country combo box controls what state/provinces to display. The trouble for rows with different countries - when the user is changing the state for …

Member Avatar for richardd
0
318
Member Avatar for shilp

I am using VB.NET using Visual Stduio 2005. From a Windows application, how to execute another form? Thanks for your help.

Member Avatar for tomato.pgn
0
192
Member Avatar for msqueen082

hello I wrote this code using classes and it keeps giving me the error message : a nullreference exception was unhandeled/Object reference not set to an instance of an object. I am trying to add stock code and stock shares to the list of transactions using a currClient As Client …

Member Avatar for msqueen082
0
120
Member Avatar for Trle94

As Title say i need help to make code to i get in application listview if Recyclebin has some files in it their name if not then there is no listview... Do you have any idea guys? Tnx

0
65
Member Avatar for baldandwild

Having problem make last if an statement work in the code. the variables in the if statment are doubles but the ide keep telling i need a proceeding if statement. but is already there it is in the last if statement of the code [CODE]Public Class Form1 Dim Totals As …

Member Avatar for baldandwild
0
215
Member Avatar for eldaerys

Can anyone show me how to get an Iamge from file. I tried using `image.fromfile"x.jpg"` but it didn't work when I used it in an array. Anyone have any suggestions on how to do it?

Member Avatar for Luc001
0
64
Member Avatar for battlex2010

Is there any way i can pause a file download in my vb program?? I have tried both the http method and the my.computer.net method with no luck. I have also tried pausing the background worker by this method:[URL="http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/"]http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/[/URL] But even if the bgworker is paused the download goes on..... …

Member Avatar for battlex2010
0
280
Member Avatar for code07

a. Create a database named “techdb” and create a table as “Personal” with Employee No, Name , Age & Salary b. Insert 2 records to the table c. Design a form in VB.NET e to Add, delete and Update records

Member Avatar for Luc001
-3
135
Member Avatar for visweswaran28

Hi, I am having datagridview in that I have datagridview combobox column and noraml textfield. I want to know that how can I load selected value in that combox box when I am loading all entered details in data grid view.

0
63
Member Avatar for shawn130c

Hello, I need help saving data into an access 2007 database from a program created in vb 2008. I am making a basic "game" that allows you to move a "robot" up,down,left, right and will save the movements/positions into an access 2007 database. I already have the basic movement created …

Member Avatar for shawn130c
0
230
Member Avatar for msqueen082

Hello In my code I am trying to come up with the following messages using a try/catch Unhandled exception has occurred in your application. If you click continue, the application will ignore this error adn attemp to continue. If you click Quit, the application will close immediately. conversion from string …

Member Avatar for msqueen082
0
160
Member Avatar for code07

1. In a bank fixed deposit rates are given below. Period Rate 6 months 8% 12 months 10% 24 months 12% a. Design Suitable user interface in windows application in VB.NET to calculate interest at maturity. Use Radio buttons for period. b. Calculate interest at maturity. c. Calculate total amount …

Member Avatar for code07
0
323
Member Avatar for sachahutton

Hi, i'm working with a sql (2005) database and using visual studio 2010. I've created a system where one of the forms is a find/search form. A user can enter in for example, a customerID and once they click on "find/search" the customerID will be searched in the database and …

Member Avatar for sachahutton
0
347
Member Avatar for twigan1015

I have a few orders with UPC codes, names , and prices this is an example UPC Item Price 0921115120 Dark chocolate 13.75 2222100051 Mint meltaways 14.10 What im suppose to do is allow to user to enter the products items sold and then view batch reports on how many …

Member Avatar for codeorder
0
107
Member Avatar for Dragon840215

Hey guys I need to store a single string into Memory for later use on different pages to be able to create a log file for my app. so on my 1st form(Login Form) i need to pass the Username to Memory and then read it from the memory later …

Member Avatar for kvprajapati
0
154
Member Avatar for matthewskyle

Im trying to create a webform that is a representation of a paper questionnaire that has 14 questions with yes/no answers. If an answer is no, then you must provide information as to why in 3 separate textboxes and store the information only when a user clicks no. I also …

Member Avatar for Luc001
0
206
Member Avatar for margaretna

hi i would like to ask some question regarding status strip control. i am currently doing my school project that need status strip progress bar, which indicating the loading of the image in the picture box. however i have no idea how to make this two corespond to each other. …

Member Avatar for debasisdas
0
74
Member Avatar for swathys

hi, I have made a web services app which i have install it in server. This web services is to check datetime form the server.....if the server time and my pc time is match it will proceed further to next step....i have set it to 5 min different...it is going …

Member Avatar for jlego
0
101
Member Avatar for vaq

Here's the DLL I've compiled in VB6: [code]'--------------------------------------------------------------------------------------- ' Module : cNtPEL ' DateTime : 30/06/2009 06:32 ' Author : Cobein ' Mail : cobein27@hotmail.com ' WebPage : http://www.advancevb.com.ar (updated =D) ' Purpose : Inject Exe ' Usage : At your own risk ' Requirements: None ' Distribution: You can …

Member Avatar for t3rmin4t0r
0
695
Member Avatar for rookanga

Im trying to load a text file from a specific location. What I need to do is find a way to allow my code to open a textfile from specific folder, basically what im trying to do it make it open to the desktop then assignment1 folder and thats it( …

Member Avatar for debasisdas
0
240
Member Avatar for mogaka

i hav created an application using odbc as data source. the connection to the database uses the following code: dim myconnection as new odbc.odbcConnection("server=192.168.100.84";dsn=cleaners) myconnection.open .. .. the above code does well when i change the ip address to 127.0.0.1 i.e to localhost.but when i use it on a computer …

Member Avatar for debasisdas
0
124

The End.