10,989 Topics

Member Avatar for
Member Avatar for hasmiza

i'm using adodc. i want to empty all the text box when form load i already use to reset all that but it cannot work private sub form_load txtname.Text = " " txtIc.Text = " " cboroom.Text = "<choose room type>" cbocheckin.Text = "<choose>" cbocheckout.Text = "<choose>" cbomonth.Text = "<choose>" …

Member Avatar for choudhuryshouvi
0
101
Member Avatar for leedsy7

hey Really strugling with Access today so i could do with some help :) I'm attempting to add items to a list box. The Sources are 2 text boxes which have been fed to from a querey. So first I tried... lstReorder.AddItem (ITEM_NUMBER.Text) lstReorder.AddItem (ITEM_DESCRIPTION_1.Text) Which brought up the error …

Member Avatar for leedsy7
0
248
Member Avatar for SpnIslander

Hi All, pls help i'm new in programming and trying to make one could you pls help me to correct my code below? What s/b my code if i want to display the value of txtPrice to lblVal and txtQty > txtPrice but if not it will multiply? Private Sub …

Member Avatar for cometburn
0
261
Member Avatar for laoballer

I have a dataset that contains data for a blinking light bulb as a function of time, another for a different light bulb which turns on for a duration of time and at percentage of intensity. What I would like to do is graph a scatter plot of the blinking …

0
65
Member Avatar for Tekito

At one point in my program, if there is an error I need to show a customized form that allows the user to make necessary changes to some data. The code needs to be paused until the user is finished and closes the form. In Access, it is very easy …

Member Avatar for QVeen72
0
72
Member Avatar for dee2020

Hello I have a module that consist of Ms Chart show out all five month sales amount. Then I can show out the chart either in 2D bar or Pie chart. The problem is each time eg the first time I show the Pie chart, the amount of % of …

0
85
Member Avatar for sandip250382

Friends, I am facing a strange problem with Visual Studio 2005 for few days. While I am surfing online for more than 15 minutes or so, an pop up message shows "An unhelded win32 exception occured in svchost.exe[808]",an error generated by Just in time Debugger,though I disabled Just in Time …

Member Avatar for Jx_Man
0
76
Member Avatar for bornok15

Where can i find in the registry the value of the savesetting function of vb6? im getting the value using GetSetting("Project", "Options", "Auth").. anyone who has an idea on how to find this value in the registry?

Member Avatar for choudhuryshouvi
0
286
Member Avatar for shahriar2403

Is there any way to indicate row number of a datagrid? I mean list1.listindex = 1 means 2nd item of that list box, how can i indicate such type in datagrid? I want to select a row from datagrid and with my given criteria depending on the row number or …

Member Avatar for ritstu
0
83
Member Avatar for jwagman

I am porting an app over from an XP to a 2003 server which has the same version of VB6 installed. However, when I try to compile, I get errors on both the "left" keyword and the icFTP in the following code:frmMain.Inet1.Protocol = icFTP. It is missing the msxml5 library, …

0
45
Member Avatar for kharri5

Hello again, I posted before about reading values from a delimited text file into a class with string properties, and then jamming that class into a dynamic array. It turns out that reading from the text file (which will be updated and contain about 500 lines to start) is a …

Member Avatar for yarfangor
0
542
Member Avatar for radhakrizz

hey ppl i'm using postgresql for backend.. once i connect it to the sever it should disconnect and all the update ,edit should be done offline and others should not edit the data in which im working.. for this i can use FOR update clause,, ???? can some one suggest …

0
63
Member Avatar for alrjr79

I'm trying to create a simple macro that changes header name. Example: header name: vcom#, run macro will change to itemnumber. I want the macro to check the first row for vcom# and change it. The header vcom# will never be in the same cell, it will vary worksheet to …

Member Avatar for alrjr79
0
285
Member Avatar for SpnIslander

Hi All, Pls help to correct my code below. how the Else statement work? i can't get the correct answer it's alway the IF statement is evaluated.tks. Private Sub txtPrice_Change() Dim intVal As Integer If Val(txtQty.Text) >= 0 Then lblVal.Caption = Val(txtPrice.Text) Else lblVal.Caption = Val(txtQty.Text) * Val(txtPrice.Text) End If …

Member Avatar for venkatramasamy
0
95
Member Avatar for msantosh18

can any help me how to create a database and its table in the run time of an application. i need to create new tables also and also specified columns in the table with some record. the application should ask the user to specify the file path also.. help needed …

Member Avatar for QVeen72
0
533
Member Avatar for andyx181x

hello there, i need some help as my teacher gave us a very vague example on random number code and i'm stuck on doing my assigned homework. the assignment is to have three text boxes, generate random numbers between 1-10, and afterwards both automatically added together. so one text displays …

Member Avatar for Jx_Man
0
138
Member Avatar for ThursdaysChild

Could someone plz help? I am trying to do age conversion Enter DOB and find out if the age is 21 or not (date should be mm/dd/yyyy) I'm sure I have something in here I don't really need But, Here goes Dim BirthDate As Integer Dim Answer As Integer Dim …

Member Avatar for Jx_Man
0
93
Member Avatar for Quintillus

I've just started trying to learn how to implement Windows API calls in VB, as the graphics in VB themselves seem to respond rather slowly no matter what computer I run them on, but ran into a couple problems. The graphics at first wouldn't appear until I went over each …

Member Avatar for Quintillus
0
130
Member Avatar for leroi green

Hey all, I am trying to display a message asking if the user is sure that they want to close just before closing. Here's what I've got...and it's only telling me that there's something wrong with the word "Message" after the MessageBox.Show part [code] Private Sub xExitButton_Click(ByVal sender As System.Object, …

Member Avatar for Jx_Man
0
78
Member Avatar for pparker

Hi, Have a quick couple of questions. I have been assigned a project that involves modifying a MS Excel 2003 VBA app so that it gets data from SQL Server 2005 instead of a MS Access database. I'm unfamiliar with Visual Basic in general, and will have to learn about …

0
58
Member Avatar for Yogesh Sharma

In Vb we can connect to all the databases like SQL 2000/SQL 2005,Oracle,Access. Out of the given databses we can connect to which databases. Secondly,told me dat if I want to connect to SQL-any version(2000/2005), To connect to the database i go to Control Panel-->Admintrative Tools-->Data sources(ODBC)-->ODBC Data source Administrator …

Member Avatar for choudhuryshouvi
0
142
Member Avatar for sonia sardana

Dim i as integer=10 dim j as integer=20 In the above two statements, y the error is coming...How can we initilase the values to the variables???

Member Avatar for choudhuryshouvi
0
210
Member Avatar for kartouss

Hello, I am calling a c++ dll in vb... Everything is working fine.. Just i am unable to write the vb code in order to perform the require action... Code for calling the c++ dll in vb [code=visual basic 6]Private Declare Function do_encrypt Lib "AES.dll" (ByVal text As String, ByVal …

Member Avatar for kartouss
0
158
Member Avatar for leroi green

hey guys, i'm working on this assignment in where I have to take a For...Next Loop and turn it into a Do While Loop. I think I've kinda got the coding down but when I try to calculate the rates the program freezes up. I got the code here, any …

Member Avatar for leroi green
0
132
Member Avatar for sonia sardana

To Create a toolbar we drag the pricturebox & then the image. Suppose I want that the text is there in place of image ,Is it possible ??

Member Avatar for sonia sardana
0
192
Member Avatar for Abhijnan

Hi, Can any one help me out with a code which will take data from a CSV file and form a XML?

Member Avatar for choudhuryshouvi
0
130
Member Avatar for rajeshkhanna_in

HI all, Durig my development of a software I require a OLE field in MS Acess table, which is supposed to have MS Word documents stored in it. Can anybody help me in telling how to display, edit, save and retrieve the OLE Field in MS Access from within VB …

Member Avatar for rajeshkhanna_in
0
136
Member Avatar for pratap89

:( Experts I am a civil Engineer trying develop a project in VB-6 for irigation management.Please help me to run a fortan77 program in VB6 environment using data file from user in runtime. Minimum Give me real steps and code .Kindly help me. Pratap

Member Avatar for Ancient Dragon
0
90
Member Avatar for Mr.Wobbles

I am writing a program that will take input from the user in the form of a tree-view and create a form and a database based on the tree-view. I have everything working except the group-box control for the boolean expression. I will give a sample code of the text …

Member Avatar for Mr.Wobbles
0
143
Member Avatar for kalodakilla

i don't know if i should post it here or in C++ , but please help me, i came into Assertion failure during running this program, and i really don't know why, hope you guys can help, thanks a lot ^:)^ The program is to copy a linked list from …

Member Avatar for Jx_Man
0
86

The End.