309 Posted Topics
Re: [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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: [URL="http://www.vb6.us/"]You can Visit THis LInk[/URL] | |
Re: [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) … | |
Re: 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 … | |
Re: explain more clearly. if possible supply screenshots. | |
Re: [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 … | |
Re: 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 … | |
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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: [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 … | |
Re: [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 … | |
Re: 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. … | |
Re: 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 | |
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 … | |
Re: everything is possible just need some effort and patiene so show use what have u done so far to get answer to ur question. | |
Re: 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 … | |
Re: [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) | |
Re: [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 … | |
Re: try the following syntax [CODE] Data1.RecordSource = "SELECT * FROM waqf where cardno LIKE '*" & Trim(s) & "*'" [/CODE] regards Shouvik | |
Re: call the function from some other event expect form_load. try it inside of a command button click event. it will work. regards Shouvik | |
Re: 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 … | |
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. … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
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#? | |
Re: [URL="http://www.sofotex.com/AppFace-User-Interface-Development-Kits-download_L23924.html"]Visit This Link[/URL] | |
Re: 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. | |
Re: 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 … | |
Re: use [B]order by[/B] clause in your sql. like , select * from <table name> order by <field name> | |
Re: 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 … | |
Re: [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 | |
Re: 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. | |
Re: 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 … | |
Re: [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 … | |
Re: 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 | |
Re: [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 … | |
Re: use [B]TREEVIEW[/B] control for this purpose. | |
Re: 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 | |
Re: check your other thread. i have already been replied. regards Shouvik | |
Re: 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 | |
Re: just make the code looks like this :- If KeyCode = vbKeyF1 Then search_click delete_click If KeyCode = vbKeyF2 Then delete_click End If |
The End.