12,425 Topics

Member Avatar for
Member Avatar for vin24

Hi guys! I would like to ask you a question about on how to save data on a text file using visual basic. I have a hard time getting the right code for this function. Does anybody of you know a simple code that you can share to me. I …

Member Avatar for faroukmuhammad
0
191
Member Avatar for PinoyDev

Hi! Are there any commercial or GPL grid for vb6 that is capable of handling bindings? Just like what quickbooks datagrid do. It can bind combo box, datepicker, and can calculate basic mathematical operation on a certain cell?. Or where did quickbooks get the grid? did they create it themselves …

Member Avatar for debasisdas
0
94
Member Avatar for androidz

hello everyone i want to know if there is any way or possible to make msflexgrid to be clickable?like if i want to copy a certain data inside the row of the grid and paste it into notepad or excel..im pulling my hair with this one..need your help..thanks

Member Avatar for androidz
0
186
Member Avatar for PM312
Member Avatar for PM312
0
97
Member Avatar for mitchney

hi there....i am developing a user registration form...i dnt know the code for the search command for adodc database...and i dnt knw the code on how to increment the id number using thesame database....anybody can help me?...i appreciate it truly...tnx...

Member Avatar for debasisdas
0
53
Member Avatar for PinoyDev

Good day! How to detect if ctrl + c or copy keyboard action in a combo box and put the text in that combo box to clipboard..and then ctrl + v to second combo box then paste the text from clipboard that waste copied. Thank you!

Member Avatar for PinoyDev
0
863
Member Avatar for nahidbigboss

hello i made a soft,now i want to create a server so that i can sell that soft(i mean i want to lock that server), i know a little bit that its create with msinet.ocx .. anyone know how to create server lock project??? [url]http://www.daniweb.com/forums/attachment.php?attachmentid=21632&stc=1&d=1310693244[/url]

Member Avatar for debasisdas
0
120
Member Avatar for Jaseem Ahmed

i have a project connected with sql server 2000... i want to generate the some reports, for that user should itself enter the dates or codes for reports.. i have created a data environment, called the tables. now in general tab, i have selected SQL Statement to filter my data …

Member Avatar for aktharshaik
-1
1K
Member Avatar for atrueresistance

So, I'm using ASP with a VB code behind. I have text boxes that are supposed to appear one by one only if the there is a location number in the preceding text box. I had that function working perfectly, but I needed to add a MaskedEditExtender in the place, …

0
221
Member Avatar for yasirfarid

I want to show record list in Datacombo through coding , using SQL Server 2000,VB6. Following are the coding. ******************************** Private Sub Form_Load() Dim CNN As New ADODB.Connection Dim RST As New ADODB.Recordset Set CNN = New ADODB.Connection CNN.Provider = "SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Maintenance;Data Source=YASIR" CNN.Open Set RST = …

Member Avatar for Rajeev3010
0
367
Member Avatar for jemz

Hi, Hello can you help me please how can i make a refresh button so that i will never close the program if there is update in the data to be made in other computer... example if two computers or more..have installed the program and if one computer is making …

Member Avatar for PinoyDev
0
283
Member Avatar for kosay

Hi all how can I find all sub files and list them in VB 6.0 ???? if I want to list all sub files for exambel C:\Folder1\fplder2\file.txt and I want to find all files in drive C ??? thank you

Member Avatar for debasisdas
0
97
Member Avatar for alfredo11

Hi guys! I need help in putting Google Sketch up .3ds file to Microsoft Visual Basic 2008. How can I put .3ds file to VB 2008? I have searched in google but it only says VB C# and I got nothing. Please someone can share me a link for a …

Member Avatar for bluehangook629
0
52
Member Avatar for pardeep3dec

Dear Experts, I need a syntax for reading text from command prompt. i got idea like [COLOR="Green"]Shell "Dir C:\*.* > " & app.path & "\test.txt"[/COLOR] but there is an error RUN TIME ERROR 53 FILE NOT FOUND. I already created test.txt file but same result.

Member Avatar for ChrisPadgham
0
60
Member Avatar for divakar.it

Hi, My requirement is to delete a selected row in the datagrid from SQL server. If no row is selected then nothing should happen. Below is my code [CODE] Private Sub BT_Remove_Click() On Error GoTo ErDsc: Dim MyConn As ADODB.Connection Dim MyRecSet1 As New ADODB.Recordset Set MyConn = New ADODB.Connection …

Member Avatar for divakar.it
0
1K
Member Avatar for choudhuryshouvi

Hello all, I have created the setup/installer for my application using the PDwizard. The installation is working all good (as its expected). For uninstallation, I have used a custom program (created by me) instead of directly calling the st6unst.exe. This program is called from both programs shortcut menu as well …

Member Avatar for faroukmuhammad
0
125
Member Avatar for zebnoon

Hye again , I have problem to get Backup file .my code is bellow [CODE]Dim strB As String 'On Error Resume Next strB = "D:\backup\db" & Date$ & ".mdb" FileCopy "C:\Database\MyDb.mdb", strB MsgBox "Backup Complete!!"[/CODE] I always receive Run-time error '70' "Permission denied" please help me

Member Avatar for faroukmuhammad
0
283
Member Avatar for harius

[code] While dr.Read() //read from access database Dim tb1 As New TextBox() tb1.ID = "tb" + i.ToString() WallDiv.InnerHtml += dr(0) WallDiv.InnerHtml += "<br>" WallDiv.InnerHtml += dr(1) WallDiv.InnerHtml += "<br>" WallDiv.InnerHtml += dr(2) 'Create TextBox under each Comment WallDiv.Controls.Add(tb1) i = i + 1 End While [/code] Problem is that :-Loop …

Member Avatar for hericles
0
72
Member Avatar for jaasaria

Hi everyone, goodday. Right now im planing to setup 5databases for each store(5 loan branch). Each branch encode customer and loan account. Also hold each db for the branch inventory. For single branch the database works perfectly (encode transaction and produce reports). Now my problem is.. I want to centralize …

Member Avatar for ChrisPadgham
0
221
Member Avatar for nitguit

Hi, My Access database has one column named 'Term' and the Table name is 'ATG'. I require to populate my listbox with data in the 'Term' columns. I'm unable to do that using this code. Can anyone tell me what's wrong with this (it displays numbers from 1 to 10 …

Member Avatar for adam_k
0
579
Member Avatar for eniine

Hello . I have a toolbar in my application . IT display image and text in english. Now i want to change the font family of the font. For example the font is ARIAL and i want to convert it to a new font(ex HINDU) that i have installed in …

Member Avatar for BitBlt
0
288
Member Avatar for shelexelex

please i am new to this vb programming but i have a challenge before me.. I need to make a program that will compare the date in the database with the system date and if they are equal, it pops up a notification on the icon tray. Your help will …

Member Avatar for shelexelex
0
313
Member Avatar for neosonic

I have this little problem (at least I hope it is little). My vb6 program behaves differently when I execute it with the execute button in vb6 and when I execute it by using the compiled .exe file. I have a huge 2 picture boxes which loads 2 x 5 …

Member Avatar for neosonic
0
367
Member Avatar for vinothmca

When i was entered into login page the code is here [code] Private Sub txt_Password_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then If UCase(txt_Password) = UCase(txt_dbPassword) Then Unload Me Modification_Main.Enabled = True 'unlock database here Else MsgBox "Invalid password.", vbExclamation txt_Password.SetFocus SendKeys "{home}" & "+{end}" counter = counter + 1 …

Member Avatar for ChrisPadgham
0
143
Member Avatar for vinothmca
Member Avatar for vishal31

I need to create a program which calculates the bonus points for the books read. This program need to obtain reader name and bonus point earned. Number of books read Points is as bellow; First three books 10 points each Next three books 15 points each All books over six …

Member Avatar for ChrisPadgham
0
99
Member Avatar for denine

hi good day, im a beginner of VB using DAO. Right now im doing my first sales system. My problem is I want to delete something from my database. my code is this. With DTPicker1 Dbase.Execute(Delete * from SalesTable where eDate = ' " & DTPicker1.Value & " ' ") …

Member Avatar for ChrisPadgham
0
120
Member Avatar for Evesy

Hi, I recently got a wireless printer which is downstairs and I want to make a program that turns the printer on/off. If anyone knows how I can do this, that would be great. I may be able to do this in C# if necessary. I will post more details …

Member Avatar for debasisdas
0
212
Member Avatar for kosay

Hi how I search text box for a specific word and if text box contain words msgbox shown (text founded) or (text not founded) ???? for exambel I have text and I want to search if this text contain ([url]www.daniweb.com[/url] for visual basic and web development) if text is \ …

Member Avatar for codeorder
-1
75
Member Avatar for androidz

im making a program and my problem is i want to make the textbox behave like a search engine whenever the user input certain word in the textbox all similar keywords will display like search engine does.sorry i dont know what is the name of that control and im not …

Member Avatar for aquamarine_kath
0
88
Member Avatar for jemz

Hello, Hi, can you help me please I have problem in my program,I used MsAccess as my database... how can i make my textbox just like in google that when you type a certain word it will have drop down list... ex...the user will type this word "how to make" …

Member Avatar for WaltP
0
255
Member Avatar for Skrollan30

Hi, I hope some one have time to help a new hobby programme. I have a Word doc with is a report over an inspection, with is linked to VBA. First history When you are open the doc you will have a pop up window (with is create in VBA) …

0
42
Member Avatar for heavy.is.happy

Hi. I got two questions about wxPython! 1. Can python use Internet explorer 6 as webkit? Like Visual Basic.NET do. 2. Has python a webbrowserfunction who pause the program untill the page is 100% loaded? When continue.

Member Avatar for richieking
0
66
Member Avatar for masterjiraya

I have a form called Form1. wherein Form1 has a split panel container. on the right side of Form1 is a web browser window. the right side are the buttons. one button there is calling another form. but there's a problem on this Form called Form2. I have google earth …

Member Avatar for adam_k
0
213
Member Avatar for masterjiraya

I have 2 forms right now Form1 and Form2 the default setting start up is Form2. Inside Form 2 there was a button that will release the Form1 button using Form1.Show(). I have now the problem. What I want to do now is to close the Form2 without closing the …

Member Avatar for Mitja Bonca
0
201
Member Avatar for y2kshane

i have a XML file that temporary stored data from the DB. i have DataSet that reads from the XML file and fill the DataSet. i want to set this Dataset as data source to ReportViewer in runtime

Member Avatar for y2kshane
0
84
Member Avatar for kiswah03

Hi, I have created a program to play videos in VB6. But it cant play FLV files. Can anyone please suggest how to play FLV files in VB6.

Member Avatar for kiswah03
0
92
Member Avatar for AndreRet

I have followed every step in the My Sql forum posted - [URL="http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html."]http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html.[/URL] I have no problem in saving the picture file to MySql. The problem arises in retrieving the picture. I am using code as follow: - [CODE]Private Sub DataLoadPicture() On Error GoTo ErrFailed Dim cnPhoto As New ADODB.Connection …

Member Avatar for GTA_doum
0
322
Member Avatar for erum

i have following code [CODE]<div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <%-- <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> --%> <asp:TextBox ID="txt_checkin" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender1" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkin" Format="dddd, MMMM dd, yyyy"> <%--<input runat=server type="text" id="txt_checkin">--%> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender2" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkout" Format="dddd, …

Member Avatar for DeadSoul
0
635
Member Avatar for sdr001

Hello, I am almost done with writing the program below. My problem is when I go to get the next line in the file, the first line works great. I am writing it in autoit and I heard it is similar to Basic so hopefully someone could help. I am …

0
92
Member Avatar for joaep2

Hey guys, I want to write code that does something like this: If option = 1 Then Create one Button and display it Else If option = 2 Then Create two Buttons and display them End If To do this, can I simply do: [CODE]If option = 1 Then Dim …

Member Avatar for aquamarine_kath
0
125
Member Avatar for twsmale

I'm relatively new to VBA, and I'm trying to automate some macros for a datasheet. I need it to look at the value known as rackRack.Text (I know, not the best var name) and split it. The original value would look like: "B-04". I want it to split and select …

Member Avatar for twsmale
0
228
Member Avatar for divakar.it

Hi, Please find my requirement - The Datetimepicker should display the current month - It should disable the 1st day of the month (i.e mindate should be 2nd day of the month) - It should disable all dates > current date (i.e maxdate should be current system date) So that …

Member Avatar for debasisdas
0
86
Member Avatar for PinoyDev

How to get the difference of the month from the date specified. Example: [code=vb] date1.value="5/1/2010" date2.vale ="5/31/2011" [/code] it should give a result of 12. thank you for helping.!

Member Avatar for PinoyDev
0
108
Member Avatar for mnewsome

Have gone through the basic microsoft tutorials but have yet to see how one goes beyond this to actually create something. Have downloaded visual studio express and XNA. My goal is to at least create a venue for a game idea and admit that I do not have a clue …

Member Avatar for roswell1329
0
119
Member Avatar for heavy.is.happy

Hello! My first post here. I have a problem. I want to make a Windows form that it's exist a button, and if you click that button, then the mouse cursor will move to a choosen X and Y coordinates and after that the cursor will click left or right. …

Member Avatar for heavy.is.happy
-1
4K
Member Avatar for dre-logics

I use Visual Basic 2008 I use bound Datagridview I use mysql database If i run this code, everything on the screen ( in the datagridview) [COLOR="Green"]neatly Updated[/COLOR]. But when I look at records in the table [COLOR="Green"]"stock"[/COLOR] always the first row (0) of the DataGridView [COLOR="red"]not updated [/COLOR]in the …

Member Avatar for vishalrane
0
262
Member Avatar for y2kshane

i want to detect if listview has been updated eg: there are listview1,listview2 and a button1 .u can send items to listview2 from listview1 .if the listview2 has an item button1 will enable if the listview2 is empty button1 will disable what is the suitable event for this?? (there is …

Member Avatar for Unhnd_Exception
-1
2K
Member Avatar for Lygris

So I've been trying to convert CSV files to XLS. However, this line of code keeps giving me problems: [CODE] oExcel.SaveAs FileName:=FilePath_XLS(TableName), FileFormat:=xlNormal[/CODE] The FilePath_XLS returns correctly... I just can't figure out what's going wrong but it will not execute..

Member Avatar for Lygris
0
62
Member Avatar for MAnders09

Hi everyone! i have a question if someone know how can i check with a VB application if another programs window is minimized or maximized? example i would make a simple VB app that could while running check with a timer if "MS Paint" for example was maximized and check …

Member Avatar for MAnders09
0
310

The End.