309 Posted Topics
Re: you can use the odbc approach to connect with your server. for this you have to make a security login or user for your own sql server database. you can create the user using sql server enterprise manager. here are the steps :- 1. launch sql server enterprise manager 2. … | |
Re: modify your code as follows :- [CODE]Sub reprintlabel(Byval Eqnum As String) Dim cn As [B]New[/B] ADODB.Connection Dim rs As [B]New[/B] ADODB.Recordset [B]Dim str as String[/B] str="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=[B]c:\DATACHECK.MDB[/B];Persist Security Info=False" [B]cn.ConnectionString=str cn.Open[/B] [B]rs.CursorLocation = adUseClient rs.CursorType = adOpenDynamic rs.LockType = adLockOptimistic[/B] str = [B]"SELECT <YOUR FIELD NAMES> FROM <YOUR TABLE NAME> … | |
Hello folks, i'm in urgency to build a windows application using c# which can send sms. So anyone here can tell me or show me some resources to help me out on this problem --> [B]"how to create an application that can send sms through webservice to indian cell phone … | |
Hello Folks, I'm trying to write a program though which I can access my system registry. Both reading and writing actions have been encapsulated. Among these I have successfully done with reading a key value from my registry. But the storm arises when I make my move to write to … | |
Re: hello chrisdent1986, its look like you are working in .NET.......isn't it? if you are working in .NET platform then you have to implement the ADO.Net classes.......for better replies post your questions to [URL="http://www.daniweb.com/forums/forum58.html"]The VB.NET Forum[/URL]. now if you wish to continue to work in vb6 then you can use ADO … | |
Re: why .dat or .txt file? whats wrong in storing the login info in database? after all they are sensitive info and storing them in a normal file in textual format can lead other users to easily view or modify them. even storing the passwords in registry can be a good … | |
Re: here is a sample search snippet just only for you..... check this out..... btw how are you making your connections? this code uses Microsoft ADO. make sure you have added the followings before try this code :- [B]Microsoft Activex Data Objects <Version No.> Library[/B] (from Project-->References) [B]Microsoft Windows Common Controls … | |
Re: first of all clear these things out..... num1.text --> refers to the textbox where user supposed to enter total wins num2.text --> refers to the textbox where user supposed to enter total draws num3.text --> refers to the textbox where user supposed to enter total loses am I right or … | |
Re: [QUOTE][B][COLOR="Red"]1)[/COLOR][/B] Single Line Textbox can have a horizontal scrollbar-i READ FROM D BUK. But no scrollbar is going to attached with single line textbox. Can a single line textBOX HAVE hor. scrollbar.[/QUOTE] In normal condition -->[B]NO[/B]. but can be implemented using API functions. [QUOTE] [B][COLOR="Red"]2)Selstart and SelLength[/COLOR][/B] Private Sub Command1_Click() … | |
Re: [QUOTE=mansi sharma;590632]I want to copy the selected items from listbox1 to listbox2. I know how to copy all the items but not selected. [B]Private Sub Command3_Click() For i = 1 To List1.ListCount List2.AddItem i Next End Sub[/B] Above Code will copy all the items,But I want to copy selected items.[/QUOTE] … | |
Re: [B]Printer.Print lstReOrder.text[/B] | |
Re: [QUOTE=ITech;564640]can any one give me lv button.ocx[/QUOTE] Here it is. regards Shouvik | |
Re: D2K refers to [B]Developer 2000[/B]. it is a visual IDE like Visual Basic 6 and it works only with Oracle databases. developers can write dynamic sql queries which is known as PL/SQL (Procedural Language/Structure Query Language) using this development tool. this tool can be integrated with oracle database codes only. … | |
Re: [QUOTE=old_mustang888;585823]Hi, Plz help me... My project is Sales system using DAO I need the code for: Password code System (to generate the Item code) Item Entry code, Item Inquiry by description, Item Inquiry by quantity on hand Item Inquiry by unit of measure Item Inquiry by unit price Custumer Entry … | |
Re: [QUOTE=addi;586733]hello... i' m doing registration license system... i need source code that can search due date by their month... and i want to list their date with companies name.. [/QUOTE] what do you want actually......select a month from a combo and search all records thats matches the selected month name? … | |
Re: [QUOTE=lostandfound;586376] Can somebody tell me if and how I can introduce a variable[/QUOTE] what does it mean? do you wish to declare a variable here, assign a value to it and then pass it as a parameter for adding to the combo list? of course you can declare variables at … | |
Re: [QUOTE=lostandfound;586336]Secondly, in the SQL statement and AddItem statements where I have used column name 'res' , ideally I will want to use column names which are numbers eg 7609.[/QUOTE] why do you need to do that? what is the problem if the column name remains alphabetically? | |
Re: [QUOTE]riched limit of the product[/QUOTE] what does it sense? | |
Re: the steps you followed for creating the DSN are absolutely correct. but there is no need to create that. it is always recommended that you use a DSN-Less connection. It becomes more faster. ok...here is a sample connection snippet for you. please note that this code uses DSN-Less connection. just … | |
Re: [QUOTE=wrichardson530;586373] i am having an error with the password.[/QUOTE] what problem are you facing with your password? what is the error? plz explain... | |
Re: what have you used as a container for your phonebook entries? is it a <select> tag in HTML (means listbox)??? if its so then I think there is an attribute called "Sorted" . make its value to True like this :- [B]<select sorted name="phonelist" size=10>[/B] | |
Re: ok....try this code... hope this works [CODE] Private Sub cmdSearch_Click() Dim search As String search = InputBox("Enter card no :", "Filter Data") [B]Data1.RecordSource = "select * from waqf where cardno like '*" & Trim(search) & "*' order by cardno"[/B] Data1.Refresh End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\waqf.mdb" … | |
Re: this is a sample one too..... [CODE] Private Sub Form_Load() txtname.Text = " " txtIc.Text = " " with cboroom .AddItem "<choose room type>" .AddItem "Single Bedded AC" .AddItem "Double Bedded AC" end with cboroom.ListIndex=0 with cbocheckin .AddItem <Choose>" .AddItem "Check in at morning" .AddItem "Check in at night" end … | |
Re: [QUOTE=SpnIslander;581254] I want to put the value of txtPrice to lblVal if the value in txtQty>txtPrice. what shall be my code?[/QUOTE] [CODE] [COLOR="Green"]just place it inside proper textbox change event. lostfocus or validate event can also be applied. choice is yours.[/COLOR] [B]Private Sub txtPrice_Change() if val(trim(txtQty))>val(trim(txtPrice)) then lblval.caption=trim(txtPrice) end if … | |
Re: this is not at all related to either visual basic or vb.net . this is a system issue regarding your operating system. post this question in [URL="http://www.daniweb.com/forums/forum92.html"]Microsoft Windows Software Forum (Tech Talk->Microsoft Windows)[/URL] | |
Re: [QUOTE=bornok15;584926]i want to find the exact location of the registry entry that the savesetting function is saving in my computer..[/QUOTE] This is the path :- [B]My Computer\HKEY_CURRENT_USER\Software\VB and VBA Program Settings[/B] as you are saving the value in [B]"Project", "Options", "Auth"[/B] , now expand the node [B]VB and VBA Program … | |
Re: I think you are a new poster here. so there is something that i want to tell you and you should know this too. 1. before posting any thread please refer to the forum rules. 2. after posting a thread wait for some time to let someone to give you … | |
Re: you can also use a variable without declaring the same. but for this you must turn off [B]"Required Variable Declaration"[/B] option. it is always recommended that you use variables after explicitly declaring them. this will help boosting up your program process by preventing memory wastage. one more thing, you can … | |
Re: must be some syntax errors. rectify like this :- [B]Text3.text=do_encrypt(Text1.text,Text2.text)[/B] regards Shouvik |
The End.