309 Posted Topics

Member Avatar for msantosh18

[QUOTE=msantosh18;576908]can any one help me in the following problem i have created a exe file in visual basic. in my application if i click a command box a excel file will open. the excel file is accessible in my system. but if the exe file is executed in any other …

Member Avatar for choudhuryshouvi
0
95
Member Avatar for sonia sardana

go to the following site :- [URL="http://www.vbexplorer.com"]http://www.vbexplorer.com[/URL] you will get enormous information. or check out for a link even inside this thread. on top of the page.

Member Avatar for ladyjade
0
82
Member Avatar for Yogesh Sharma

the menu items that you create for your form can be visible in run mode only. when you right click on your form in the designer you will show vb6's system submenus. as far as i know combination of menu items is not possible. in order to show the items …

Member Avatar for choudhuryshouvi
0
206
Member Avatar for mike4

it might be. but using ms-access directly to create ur db may raise a version confliction problem when you will be trying to connect it from your vb application. for your kind information, your vb application is unable to access data from any db created in ms-access rather than version …

Member Avatar for choudhuryshouvi
0
114
Member Avatar for sonia sardana

see the answers in inline... [QUOTE=sonia sardana;578473] Function return type by default is integer in C. & if we do the same prog in C,it returns 3 not 3.333333....But in VB the function return type is Variant????[B][COLOR="Red"]Right or Wrong?[/COLOR][/B] [/QUOTE] yes its right [QUOTE=sonia sardana;578473] variant is data type which …

Member Avatar for choudhuryshouvi
0
86
Member Avatar for zawpai
Member Avatar for dnk

[QUOTE=dnk;578380]i wanna to get size of file. help me how to get this. anyone know how to do this. any help will be appreciated :)[/QUOTE] this is a simple but efficient code.. [CODE] Dim fln,result Dim fname as String fname="c:\windows\regedit.exe" fln = FileLen(trim(fname)) result = CInt((fln / 1024) / 1024) …

Member Avatar for Jx_Man
0
143
Member Avatar for buzincarl

why don't you guys see the replies that already given and post the same question again n again? plz solve the existing thread, look there whether you got a proper response or not, if not then start a new thread. but before doing so atleast visit the thread once. if …

Member Avatar for choudhuryshouvi
0
88
Member Avatar for dks1383
Member Avatar for Jade_me

[QUOTE=Jade_me;577960]Hi... i want to make flash window... after program completed something task then that window will flash. i ask my friend and he said to use api function. but i don't have an idea to do this. please help me masters... any help will be appreciated. best regard Jade[/QUOTE] here …

Member Avatar for Jx_Man
0
159
Member Avatar for Sawamura

what have you meant by printer properties? plz explain in detail. or you can try this :- add the component [B]Microsoft Common Dialog Control 6.0[/B] from Project->Components. make an instance of it on your form. now take a comman button and place this code, [CODE] Private Sub Command1_Click() [B]CommonDialog1.ShowPrinter[/B] End …

Member Avatar for Jx_Man
0
457
Member Avatar for choudhuryshouvi

i have a database called [B]"BILLING_SYSTEM"[/B] in sql server 7.0 and I'm using sql server authentication mode to connect to the database with my [B]username[/B] [B]"BS"[/B] and [B]password "BS"[/B]. where my front-end is a VB6.0 application. [B]now I want to create this security login "BS/BS" from vb6.0 code without opening …

Member Avatar for choudhuryshouvi
0
221
Member Avatar for Yogesh Sharma

you can use the debug window to check whether an expression or any operation for which you have written code is working or not. whether you are getting correct result which supposed to be or not. make sure you have created some breakpoints in your code before trying this. regards …

Member Avatar for cometburn
0
92
Member Avatar for lostandfound

VB.Net is the newer enhancements for the visual basic language. the main vb language came in 1994 and it was included as a member of a software toolkit named "Microsoft Visual Studio 6.0". this version of visual studio also had some other languages like "Visual Foxpro", "Visual Interdev" which are …

Member Avatar for lostandfound
0
189
Member Avatar for dragonheart

first of all there is no crystal report control available with crystal report 11 library. you have to use the new one [B]crystal report viewer[/B] to fire up your reports from your vb6 application. to use the crystal report viewer in your project, you need to make a full installation …

Member Avatar for dragonheart
0
276
Member Avatar for ITech

[QUOTE=ITech;566694]the problem is when i add data into the database it throws me this error at times [B]Run-time error `-2147217887(80040e21)` multiple-step operation generated errors.check each status value[/B] [/QUOTE] do you know the meaning of this error message ? you will face this error when you try to store value in …

Member Avatar for QVeen72
0
96
Member Avatar for dinilkarun
Member Avatar for INFANT

[QUOTE=INFANT;573895]How to design using crystal report with a particular record and the coding in vb[/QUOTE] that's a very big issue. try searching for some crystal report tutorials in google. now if you got some problems when you design the report or firing it up from vb6 , then post it …

Member Avatar for apollo13suicide
0
76
Member Avatar for afan_ell

one thing you can do here. save the event logs from your hyperterminal client. use file->save as option. it will create a session file. probably like a text file. then use file manipulation functions in vb to read data from this session file and send it right to the database. …

Member Avatar for choudhuryshouvi
0
83
Member Avatar for andy999

If I was not wrong the term should be "Download" instead of "Upload". Check out this sample code, There you will find some syntax on how to add data from msflexgrid to database. regards Shouvik

Member Avatar for choudhuryshouvi
0
576
Member Avatar for choudhuryshouvi

Can anyone tell me where can I found the bootable files for installing windows xp professional (without service pack) as a standalone os? all I have is a boot disk for windows 98 second edition. so the problem arises when i try to install winxp pro. before installing it i …

Member Avatar for choudhuryshouvi
0
251
Member Avatar for fujilec

everything is possible just need some effort and patiene so show use what have u done so far to get answer to ur question.

Member Avatar for choudhuryshouvi
0
70
Member Avatar for chipo

are you editing your primary key data also in your form along with other values and sending them as updated to the database? if yes then avoid using that. here your studentID is a primary key as well as autonumber field. so you can't update a primary key field as …

Member Avatar for choudhuryshouvi
0
82
Member Avatar for LadyFinger

[QUOTE=nasir1149;572912] My problem is that how to convert date picker date(which is in text box) and save to database [/QUOTE] use Convert.DateTime(Textbox1.text) or CDate(Textbox1.text)

Member Avatar for nasir1149
0
306
Member Avatar for festigeo

[QUOTE=festigeo;571157]hey im real sorry about this but none of the forums ive looked at help me much. basicly ive created a database for usernames and passwords and i want to make vb check the database for passwords and usernames. im usine vb6.0 if any one could just tell me the …

Member Avatar for debasisdas
0
85
Member Avatar for nemag

try the following syntax [CODE] Data1.RecordSource = "SELECT * FROM waqf where cardno LIKE '*" & Trim(s) & "*'" [/CODE] regards Shouvik

Member Avatar for debasisdas
0
107
Member Avatar for octavia

call the function from some other event expect form_load. try it inside of a command button click event. it will work. regards Shouvik

Member Avatar for choudhuryshouvi
0
371
Member Avatar for blantry

this is a sample code here for you. try it. just place a button and a textbox (with default names) on your form for testing. just to make sure the following references are included in your project :- 1. Microsoft Word <version no.> object library 2. Microsoft Activex Data Objects …

Member Avatar for choudhuryshouvi
0
150
Member Avatar for choudhuryshouvi

Hello all, If I posted in wrong forum point me to the correct direction. I have installed Visual Studio 2005 (.Net 2.0) in my Windows Xp Service Pack 2 operating system. When the setup had finished the wizard displayed me the following message :- [B][COLOR="Green"]"Success Visual Studio Setup is complete. …

Member Avatar for majestic0110
0
103
Member Avatar for Kishan Agrawal

here is a code snippet for you. try this. here a listview control is used to display values from some selected columns. here conn is the connection object. replace used ones with your object names [CODE] Dim str as string Dim rs as New ADODB.Recordset Dim li as ListItem str="select …

Member Avatar for choudhuryshouvi
0
69
Member Avatar for janel98

the above code won't work with crpt10. it is limited to version 8.5 only as their is no crystal report control available with versions 9 and above. all there is crystal report viewer. and its syntax is completely different. make some googling.

Member Avatar for choudhuryshouvi
0
173
Member Avatar for Java-Newbie

though this is not the correct forum to describe on this matter but anyways here is your answer. you are attempting implicit datatype conversions or more frankly type casting which is invalid in this context. coz you can't store a text or string value directly to an numeric variable. before …

Member Avatar for Java-Newbie
0
67
Member Avatar for choudhuryshouvi

Hi folks my question is how can I determine the size of an array in runtime dynamically. Like in VB we do this :- [CODE] Dim x() as Integer,i as Integer i=5 Redim Preserve x(i) [/CODE] so what is the equivalent syntax for this in C#?

Member Avatar for Ramy Mahrous
0
125
Member Avatar for LBor

[URL="http://www.sofotex.com/AppFace-User-Interface-Development-Kits-download_L23924.html"]Visit This Link[/URL]

Member Avatar for choudhuryshouvi
0
101
Member Avatar for swatirao

hello swatirao, from where did u download crystal report 8.5? plz let me know. i've been searching for it since a very long time. plz reply soon.

Member Avatar for jaytheguru
0
911
Member Avatar for jhai_salvador

to set password for your access database(from ms-access) :- Tools->Security->Set Database Password to configure the ADODC control :- right click (on control)>-properties-> In general tab select use connection string->click build->select Microsoft Jet 4.0 OLEDB provider->next->click ... to locate ur db->now uncheck blank password and mention ur db pwd->username always be …

Member Avatar for choudhuryshouvi
0
230
Member Avatar for sammy_eyison

use [B]order by[/B] clause in your sql. like , select * from <table name> order by <field name>

Member Avatar for sammy_eyison
0
160
Member Avatar for shahriar2403

try this code. hope this will help you......... [CODE] Dim db As Database Dim rs As Recordset Dim tot As Double Set db = OpenDatabase(App.Path & "\rate.mdb") Set rs = db.OpenRecordset("report", dbOpenTable) tot = 0 If rs.RecordCount > 0 Then rs.MoveFirst While Not rs.EOF() tot = tot + rs!basic_pay rs.MoveNext …

Member Avatar for choudhuryshouvi
0
1K
Member Avatar for crazymanzach

[QUOTE=crazymanzach;554765]can you please suggest other good VB websites and/or books?[/QUOTE] you can refer these four sites (really great and intended to beginner programmers) :- [B][URL="http://www.planet-source-code.com/"]http://www.planet-source-code.com/[/URL][/B] [B][URL="http://www.vbexplorer.com"]http://www.vbexplorer.com[/URL][/B] [B][URL="http://www.vbcode.com"]http://www.vbcode.com[/URL][/B] [B][URL="http://www.a1vbcode.com"]http://www.a1vbcode.com[/URL][/B] and from the coding respect give me two days. i'll attach the code here. till then bye. regards Shouvik

Member Avatar for choudhuryshouvi
0
235
Member Avatar for SPereira

you don't need to get the ascii code of TAB to trap the key. just put your code inside the VALIDATE or LOSTFOCUS event of ur textbox. whenever you press the tab key the code will be automatically fired.

Member Avatar for choudhuryshouvi
0
552
Member Avatar for shinoske
Member Avatar for prachi malpure

you need to use microsoft agent control/editor and voice recognition engine components. these should be installed as add-ons onto your target machine. the first one is used for sending & displaying diff. characters/agents to show diff. custom msgs and the later on is used to make the agents capable to …

Member Avatar for Jx_Man
0
228
Member Avatar for SubProf

[QUOTE=SubProf;554709]Hello, I have a combobox on my form that I need to be populated with data from a table in MS Access. I am new to coding in Visual c# and would appreciate any help I can get with this. Thanks in advance, SubProf[/QUOTE] Though this is not the right …

Member Avatar for SubProf
0
88
Member Avatar for bashir matovu

use anyone of the followings :- [CODE] if rsord.state=adstateopen then rsord.close rsord.open "select * from order",cnnord,1,2 rsord.addnew rsord!orderid=txtoid.Text rsord!DateOrdered=txtod.Text rsord!CustomerId=txtcid.Text rsord!QuatityOrdered=txtqo.Text rsord!ProductTitle=txtPt.Text rsord!PurchasedUnitPrice=txtpup.Text rsord.update if rsord.state=adstateopen then rsord.close set rsord=nothing [/CODE] [B]OR[/B] [CODE] INSERT ORDER (OrderId,DateOrdered,CustomerId,QuatityOrdered,ProductTitle,PurchasedUnitPrice) VALUES(txtoid.Text,FORMAT(txtod.Text,"dd-MMM-yyyy"),txtcid.Text,VAL(txtqo.Text),txtPt.Text, VAL(txtpup.Text)) [/CODE] hope this helps. regards Shouvik

Member Avatar for cometburn
0
89
Member Avatar for hawisme000

[QUOTE=hawisme000;555222] Dim TaskID As Long TaskID = Shell(App.Path \ CAIsetup.exe, vbNormalFocus) ===================== what extension shall i used???[/QUOTE] there is no problem with the extension. your setup package is of course an self-executable file and like other exes' it also has an extension .exe . there is a mistake in your …

Member Avatar for cometburn
0
148
Member Avatar for crazymanzach
Member Avatar for regalla

just clear this out first. will the values from both textboxes update the same field or u need to update two separate fields with these two values simultaneously? if i wrong judged this then plz make me correct

Member Avatar for choudhuryshouvi
0
93
Member Avatar for bashir matovu
Member Avatar for choudhuryshouvi
0
78
Member Avatar for Estella

as debasisdas said, [CODE] dim ctlcontrol as object dim fn as string,fsize as integer fn="comic sans ms" fsize=10 on error goto font_mistake for each ctlcontrol in form1.controls ctlcontrol.font=fn ctlcontrol.fontsize=fsize next exit sub font_mistake: err.clear resume next [/CODE] hope u'll grab some idea. regards Shouvik

Member Avatar for Jx_Man
1
173
Member Avatar for nirvana999

just make the code looks like this :- If KeyCode = vbKeyF1 Then search_click delete_click If KeyCode = vbKeyF2 Then delete_click End If

Member Avatar for debasisdas
0
73

The End.