11,868 Topics
![]() | |
The Title says it all - I don't really need the exact code, but a point in the right direction would be appreciated. | |
after i put earch code in my project : Private Sub cmdSearch_Click() Dim search search = InputBox("please enter card no", , "") Data1.RecordSource = "SELECT * FROM waqf WHERE cardno LIKE (""" & "*" & search & "*" & """)" Data1.Refresh End Sub ------------- the search working but appear problem … | |
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>" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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??? | |
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 … | |
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 … | |
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 ?? | |
Hi, Can any one help me out with a code which will take data from a CSV file and form a XML? | |
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 … | |
:( 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 | |
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 … | |
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 … | |
It is always possible to create a Vb program and Hide its Visibility or make it not to appear on the task bar. But what is eating up my mind is how to make it not be seen with the taskmanager!! | |
Hi All I'm a rookie VB developer. I have to read some data from the Database which happens to be in Japanese language. I have to get this data and put it into another DB on my local machine. I run english version of Win OS.While i try to read … | |
I am developing an excel solution and so need a little help with VBA. I have developed 2 macros that run on the spreadsheet "Sheet1" and have linked them to buttons on the "Menu" Sheet. The macros run with no errors on the "sheet1" sheet however have no effect if … | |
Hi All I'm fetching lot of records from a central DB and i have to insert/ update these records in my local Access DB. Right now, i'm opening and closing 1 connection per record i insert/update in Access. I know this is wrong. In Java(which i'm more used to) i … | |
can i open passward protect mbd file from vb 6 with shell commad or any othe commad i tried with opencurentdatabase but my aceess window dose not maximize autometicaly any help plz...... | |
okay, i'm making a kind of role playing game just for fun, on powerpoint, i'm not very good at visual basic, so i thought it would also help me to learn. anyway, i'm trying to make a counter for money and this is what i've got so far: [code] Dim … | |
Private Sub Command1_Click() Dim a, b As Integer a = 10 b = 20 sum1(a,b) End Sub Private Sub sum1(a, b) Dim c As Integer c = a + b Print c End Sub i have called the procedure bu simply the procedure name & arguments within the parentheses as … | |
Hi I need some information about working with memory by vb6: 1-How can I directly read a byte with special address in memery? 2-How can I find the start address of an exe file (that run) in memory? Thanks. | |
Hi Can someone please help me. I have created a crystal report in visual studio 2005 crysatl reports. I create a dateset with all my necessary fields and parameter from a stored procedure. I create the report using the wizard. It add all my field, but it does not add … | |
Hi all, I'm developing a software in vb 6.0 with MS Access as backend. This software requires to save the text files in the table. Now the problem is the text will be formatted (Bold, Underline, it may even have MS Word Tables). I have on the form a RTF … | |
hello..please help me i need to edit data using form(user fill in details)..but after editing the record in database.nothing changes happen otherwise it create new row of date [ICODE][/ICODE] databook.Recordset.Edit databook.Recordset("name") = txtname.Text databook.Recordset("ic_num") = txtIc.Text databook.Recordset("room_type") = cboroom.Text databook.Recordset("check_in") = cbocheckin.Text databook.Recordset("check_out") = cbocheckout.Text databook.Recordset("Month") = cbomonth.Text databook.Recordset("Year") = … | |
Are there several ways to call from a VB program a VB subroutine in another file? Of course I can open and read any data file and interpret its contents, but I'd like to find some more elegant approach, the commands in the called file being interpreted directly by VB … | |
Hi all I would like to know how i can obtain the address from intent radio staion for download music. The program RadioTracker do it, but what is the base for to do that?, first to have the web address where is the file (mp3, wmv, ...) and second according … | |
hello ..this problem i am posting 3rd time still not resolved i aam trying to develop a project using vb and access i have got a problem i have 3 tables in access 1.Cust info table(fields are listed below) cust id,name,age,sex,country...etcxc(primary key cust id) 2,indate(fields are listed below) custid ,packageid,date,intime,outime(no … | |
HI, I am having a few problems, I want to make a simple login that will read a text file where the "username","password" will be, it will be displayed like this: "username1","password1" "username2","password2" etc, I would like it so that the login form will read the data, if a user … | |
I do not find Commnon Dialog Control in the toolbox,Can somebody plz tell me from where to drag the control? I have just General Tab in my toolbox???? | |
I have a bunch of print statements in a SP that tell me exactly what went wrong in the SP (if anything), but I cannot figure out how to capture the text in the [code=sql]PRINT 'Receiver and Customer don''t match'[/code] statements... I pretty much want to get the info with … | |
any one help me to create datarepeater with combo and text field like sub-form in access |
The End.