309 Posted Topics

Member Avatar for janvanderpeet

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]

Member Avatar for choudhuryshouvi
0
90
Member Avatar for kartik07

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]

Member Avatar for choudhuryshouvi
0
155
Member Avatar for selicon.valley

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

Member Avatar for choudhuryshouvi
0
96
Member Avatar for kartik07

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

Member Avatar for choudhuryshouvi
0
139
Member Avatar for dilip_singh3
Member Avatar for choudhuryshouvi
0
77
Member Avatar for kartik07

Check whether the attached code helps you to get your answer or not. Don't forget to post your feedback here. Regards Shouvik

Member Avatar for choudhuryshouvi
0
142
Member Avatar for hawisme000

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 …

Member Avatar for hawisme000
0
134
Member Avatar for kehar

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

Member Avatar for hkdani
0
157
Member Avatar for MCMdizajn

first of all clear one thing :- are u trying to recover password of your access database or your vb source files?

Member Avatar for SCBWV
0
143
Member Avatar for choudhuryshouvi

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 …

Member Avatar for choudhuryshouvi
0
137
Member Avatar for nuBudDy
Member Avatar for AjayKN

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 …

Member Avatar for hkdani
0
1K
Member Avatar for plusplus

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

Member Avatar for Burra8
0
100
Member Avatar for ashishprem

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 …

Member Avatar for choudhuryshouvi
1
4K
Member Avatar for ardsuggy

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 …

Member Avatar for choudhuryshouvi
0
87
Member Avatar for rajeshnrh74

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 …

Member Avatar for Jx_Man
0
114
Member Avatar for choudhuryshouvi

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?

Member Avatar for sandeep_chalke
0
70
Member Avatar for TOROOOLOLOOLO

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 …

Member Avatar for choudhuryshouvi
0
141
Member Avatar for mgorecki

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 …

Member Avatar for mgorecki
0
87
Member Avatar for dc_24l
Member Avatar for dc_24l
0
152
Member Avatar for SCBWV

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

Member Avatar for choudhuryshouvi
0
2K
Member Avatar for Rizza

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

Member Avatar for SCBWV
0
298
Member Avatar for Rizza

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 …

Member Avatar for choudhuryshouvi
0
82
Member Avatar for hawisme000

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

Member Avatar for hawisme000
0
110
Member Avatar for TOROOOLOLOOLO

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 …

Member Avatar for choudhuryshouvi
0
113
Member Avatar for bondbot

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]

Member Avatar for ithelp
0
82
Member Avatar for Fenerbahce

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

Member Avatar for choudhuryshouvi
0
99
Member Avatar for plusplus

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]

Member Avatar for choudhuryshouvi
0
58
Member Avatar for sai_kishor5
Member Avatar for ten

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...

Member Avatar for debasisdas
0
87
Member Avatar for RonR

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 …

Member Avatar for choudhuryshouvi
0
110
Member Avatar for locsin

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]

Member Avatar for choudhuryshouvi
0
120
Member Avatar for kehar

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 …

Member Avatar for choudhuryshouvi
0
91
Member Avatar for ashblynn02

u have posted the thread in the wrong forum. post it in the vb.net forum after that ur question will be answered.

Member Avatar for choudhuryshouvi
0
77
Member Avatar for madhura09

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?

Member Avatar for madhura09
0
289
Member Avatar for aj_anil

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.

Member Avatar for choudhuryshouvi
0
72
Member Avatar for APEOKUKU

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.

Member Avatar for binoj_daniel
0
99
Member Avatar for shahriar2403

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 …

Member Avatar for choudhuryshouvi
0
88
Member Avatar for francis0ng

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 …

Member Avatar for debasisdas
0
80
Member Avatar for Pareshja

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

Member Avatar for Cruize_Invades
0
92
Member Avatar for hawisme000
Member Avatar for choudhuryshouvi
0
76
Member Avatar for nuBudDy

so simple. jusy use the addition code two times. first add in the master table and then add to the child.

Member Avatar for nuBudDy
0
197
Member Avatar for aynn

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

Member Avatar for jbennet
0
133
Member Avatar for kehar

how could u run a sql statement using such field which has no connection with the database?

Member Avatar for kehar
0
92
Member Avatar for nuBudDy

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

Member Avatar for kehar
0
164
Member Avatar for louislam123

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

Member Avatar for choudhuryshouvi
0
115
Member Avatar for leovicAustria

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.

Member Avatar for choudhuryshouvi
0
121
Member Avatar for hawisme000

see the sample project. hope u will grab some idea from it. before running the code add some records to the database. regards Shouvik

Member Avatar for hawisme000
0
112
Member Avatar for me_j

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

Member Avatar for choudhuryshouvi
0
76
Member Avatar for fgarcia90

could not understand ur topic. will you plz explain it in detail? so that if u wish some one can help you.

Member Avatar for debasisdas
0
119

The End.