309 Posted Topics
Re: you can check this article also :- [URL="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=58026&lngWId=1"]http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=58026&lngWId=1[/URL] | |
Re: visit this link :- [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/edcf35a6-0508-4cf4-a9ae-6c2ab0c9a1c3.asp"]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/edcf35a6-0508-4cf4-a9ae-6c2ab0c9a1c3.asp[/URL] | |
Re: Try the code in the attachment. But I've used ListView instead of MS Hierarchical FlexGrid It is more easier to use lv than mshfg. If u wish you can change it by yourself. Hope this will help you. Plz know me your feedback. regards Shouvik | |
Re: visit this link :- [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/edcf35a6-0508-4cf4-a9ae-6c2ab0c9a1c3.asp"]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/edcf35a6-0508-4cf4-a9ae-6c2ab0c9a1c3.asp[/URL] regards Shouvik | |
Re: check your data before you try to save it. Length of your data should not exceed size of the field. | |
Re: Check whether the attached code helps you to get your answer or not. Don't forget to post your feedback here. Regards Shouvik | |
Re: check out this application logic. assuming that the database used by you is an access database. the db here used is [B]"employee"[/B], table [B]"details"[/B] with one field [B]"empname"[/B]. (the [COLOR="Green"]Green Lines[/COLOR] are comments) [CODE] Option Explicit Dim db As Database Dim rs As Recordset [COLOR="Green"]''performing the addition operation with the … | |
Re: [QUOTE=kehar;496302]Hi, I have completed my project in all respect but I would like to include all table and report of Access and Crystal Report respectively in my VB 6 project SETUP FILE. So. pl help me to include such file while creating SETUP file. If there is no way than … | |
Re: first of all clear one thing :- are u trying to recover password of your access database or your vb source files? | |
I've installed VS2005 in WinXp SP2. When i'm trying to run asp.net web application in my local machine i'm getting the following error:- [B][COLOR="Red"]"Unable to connect to visual studio's localhost web server."[/COLOR][/B] same type of thing is happening when i'm trying to open a windows form application. this time the … | |
Re: use the code in the attachment. hope it will help you. | |
Re: In vb6 the form is treated like an object. But if you use the .net platform of vb then this becomes a standalone class. when we refer [B]dim a as new form1[/B], means we actually create a new object of the class form1 and simultaneously allocating memory to it. if … | |
Re: [QUOTE=plusplus;472698]Can a form have a different shape than just square or rectangle[/QUOTE] check out this sample code in the attachment. hope it will give you some idea. | |
Re: to accomplish this in an easiest way you can use the listview control. but first clear me one thing. what did u mean by this :- [QUOTE] I need to color few items in a list box having [B]style as checkbox[/B] [/QUOTE] after this i can give u some code … | |
Re: use the following code. before use it take three textboxes(text1,trxt2,text3); one listbox(list1) ; one label(label1); and a commandbutton(command1) [CODE] Option Explicit Private Sub Command1_Click() Dim num As Integer num = 0 begin: num = InputBox("Enter exam marks. -1 to end", "Marks") If num > -1 Then List1.AddItem num GoTo begin … | |
Re: you have to set the [B]TAB INDEX[/B] property of the option buttons. select the desired control and press F4 to open its properties,scroll down and find the tab index property. there you put the value. this value becomes the sequence number after which the focus will be moved to the … | |
When I'm trying to update information in the database vb6 is fetching me the following error:- [B]"Row cannot be located for updating. Some values may have been changed since it was last read."[/B] what is the cause and remedies for the above error? | |
Re: hi TORO it's Shouvik again. i think that is my code which i posted to ur previous thread. here is the answer for ur question :- there is no error in the above code at all. all the syntaxes and calling procedures,functions are absolutely correct. the msgbox callout is also … | |
Re: if u wish to call the cmdswing_click event from another event just call it under it. like if u want to call it in form_load event the syntax will be :- private sub form_load() call cmdswing_click end sub or if u wish to call the same event from an outside … | |
Re: just write (in lst1_click() event) :- lst2.listindex=lst1.listindex | |
Re: [QUOTE=SCBWV;476862]I have a VB6 application that uses DAO to read and write MS Access files. Since the program uses Access files exclusives, it was written in DAO instead of ADO. The recordsets within the program are based on queries in the database. I need to add a field to the … | |
Re: what database are you using for your project??? if you wish to update ur database from diff. computers you have to use such a database which provides client-server architecture. make a try to use the oracle or sql server database. hope this helps regards Shouvik | |
Re: there is no networking facility available in this context. to update ur data in the main server from diff. computers use a database which can be used in client-server architecture. for example, u can use oracle db for this purpose. install a server copy in a centralized machine and then … | |
Re: if u r using windows media player :- the syntax is:- [CODE] mediaplayer1.filename=commondialog1.filename mediaplayer1.play [/CODE] if u r using microsoft multimedia control :- the syntax is :- [CODE] multimedia1.filename=commondialog1.filename multimedia1.command="open" multimedia1.command="play" [/CODE] hope this will help you. regards Shouvik | |
Re: try the following code. before u try to run it create an access db(employee.mdb) under the same folder as ur project exists. in the db create a table(details) with three fields(id,name,basic). in the form take the following objects :-(see the interface screenshot) [CODE] Option Explicit Dim db As Database Dim … | |
Re: what are the requirements for ur project? what is the subject of ur project? plz explain in detail. BTW what did u wish to meant by [B]"which software is the best to work on it"?[/B] | |
Re: try the following code :- take two labels(label1 and label2) and a textbox(Text1) here the database ->"aa.mdb" table ->"aa" fields ->"id" (long,autonumber) ; "name" (text) [CODE] Dim conn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim str As String str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\aa.mdb;Persist Security Info=False" … | |
Re: u need to use certain api function calls. do a search in google or visit [URL="http://www.planet-source-code.com"]http://www.planet-source-code.com[/URL] | |
Re: check out this sample project. | |
Re: have u meant to create a multiuser login application where each user can create their profile and login by using those like various website does? confirm it first... | |
Re: you can download the latest version of oracle(ora10g) from http://www.oracle.com(IT'S FREE) but be aware this could be of 2.0 gb in size(the downloadable file itself). just download and begin the installation process, the rest thing will be managed by the oracle installer itself. it will install the data provider which … | |
Re: this is not at all a related topic to this forum. do not post absurd materials here. though i'm answering to your question. try the following sites:- [url]http://www.mp3hungama.com[/url] [url]http://www.bollyextreme.com[/url] [url]http://www.smashhits.com[/url] [B]remember my words[/B] | |
Re: use the following code :- [CODE] dim rs as new adodb.connection dim str as string dim conn as new adodb.connection conn="<your db connection string>" ''the following becomes the query string to be passed to the recordset object str="select * from student where roll_no in(10,20,30)" rs.open str,conn,1,2 ''opening the recordset to … | |
Re: u have posted the thread in the wrong forum. post it in the vb.net forum after that ur question will be answered. | |
Re: post the code segment where u r getting the error. may be this error is occurring due to version confliction for the controls.r u using windows media player control 6.4(in xp) or installed the new version externally? | |
Re: have u copied the mscomctl.ocx file to ur system directory? if yes then pass the following command to register the above ocx :- if u use win9.x : regsvr32 %systemroot%\system\mscomctl.ocx if u use winxp : regsvr32 %systemroot%\system32\mscomctl.ocx then add the control from project->components it should work now. | |
Re: if ur intension is only to play the sound files, use windows media player control or windows multimedia control or in advance u can also use the "mcisendstring" api libraries. | |
Re: if u r using the DAO technique use the table recordset type at the time of opening the recordset. a sample is :- dim db as database,rs as recordset set db=opendatabase(app.path & "\mydb.mdb") set rs=db.openrecordset("table1",dbopentable) if rs.recordcount>0 then ''ur data showing code goes here endif otherwise u have to simultaneously … | |
Re: check out this sample code. this code intends to display all values of "name" field present in a table called "info" from an access database named "demo". [CODE] Dim db As Database Dim rs As Recordset Set db = OpenDatabase(App.Path & "\demo.mdb") Set rs = db.OpenRecordset("info", dbOpenTable) Combo1.Clear Combo1.AddItem "<Select … | |
Re: you have to install the sql server 2000 rdbms on the client machine along with your application. it is not possible to run your apps in the machine where sql is not installed as your apps will not access the databases and its associated tables. hope it will help you. … | |
Re: what syntax do you want to converted to ado? please clearly specify here. | |
Re: so simple. jusy use the addition code two times. first add in the master table and then add to the child. | |
Re: [quote=aynn;443601]hello. my problem is, after login username and password in one form, then a new form will be appear. how to create coding to insert username in a label at new form after login. i have tried this coding but still not appear. please help me. thanks..... Public Sub loadInfo() … | |
Re: how could u run a sql statement using such field which has no connection with the database? | |
Re: [quote=nuBudDy;443472]hi all, i have problem creating queries in access.this is because i do not know how to call the value from a variable in vb into the query in access. let say in vb i've created : [code] Public booking_date As Date Public fac_type As Integer . . . . … | |
Re: use this simple code. Private Sub Command1_Click() MsgBox Combo1.ListIndex + 1 & "*" & Combo2.ListIndex + 1 End Sub Private Sub Form_Load() With Combo1 .AddItem "a" .AddItem "b" .AddItem "c" End With With Combo2 .AddItem "welcome" .AddItem "to" .AddItem "vb" .AddItem "programming" End With End Sub | |
Re: thats because vb6 cannot directly access the databases in .mdb format other than the access95 version. u probably created the database using ms-access software. re-create the database using vb6's visual data manager. or u have to convert the database to an older version(access 97) using ms access's convert database utility. | |
Re: see the sample project. hope u will grab some idea from it. before running the code add some records to the database. regards Shouvik | |
Re: cmdsearch_click() dim str as string dim rs as new adodb.connection str=inputbox("enter month","search") if str<>"" then rs.open "select * from <tablename> where month='" & str & "'" if rs.recordcount>0 then <display data> else msgbox "no record found" endif else msgbox "input the month plz." endif end sub | |
Re: could not understand ur topic. will you plz explain it in detail? so that if u wish some one can help you. |
The End.