2,155 Posted Topics
Re: Yes you can. When the install screen appear, install it as administrator only. (Right click, select 'Run As Administrator') As soon as the installation is finished, upgrade to the newest service pack and all should be fine. The biggest culprit in developing an application in Vista is to use the … | |
Re: Try and use the following. Change the message boxes to what you need to do with the file. It opens a file, save a file, compare 2 files. Just play around until it suits your needs. [CODE]Option Explicit 'Description: Calls the "Open File Dialog" without need for an OCX Private … | |
Re: You still have to start somewhere... I have found the following sample for you with a chess engine, try it out. The link to the app is also posted. [URL="http://www.freevbcode.com/ShowCode.asp?ID=4980"]http://www.freevbcode.com/ShowCode.asp?ID=4980[/URL] Let me know if this helped, or post MORE of what YOU did so we can help. | |
Re: This is a function I am using. You will need to play around a bit to get all the results you wanted above, but by using APR, PVal, FvAl etc, you can basically calculate any repayment option. Let me know if this helped. - Add the function to a module … | |
Re: Chetana, you will need a main page, a page to add inventory, a page to sell inventory, a page to show/search for inventory, a page for your suppliers, a page for your clients. From here you can add a login screen, an employee screen etc. It all depends on what … | |
Re: You have one of your declerations as an integer and not a string. VB6 tries to devide the result by 2 according to your code above, which means the result is 0/2, resulting in an error. If precision is null, write some error code as in - [CODE]If precision = … | |
Re: Wereever, I have asked the moderators to move your post to the .Net section. I am sure someone there will be able to help you over there. You have posted in VB6 unfortunately. Good luck in finding your solution. | |
Re: xirosen, the code below will shorten your code a lot, just manipulate it to suit your needs. I have also attached a sample of copying using winsock control. The speed of copying however is not in your code, but in your system hardware i.e. RAM, CPU, LAN speed of 10 … | |
Re: I am a little confused here. Do you want to save the layout of the form or the form itself? In other words, the control positions if maximised etc. Give us a little bit more information please. Secondly, please open another post of your own. You have used a post … | |
Re: [QUOTE]Dim dReader As MySqlDataReader = mycmd.ExecuteReader()[/QUOTE] It seems that your reader is from a class module. It is either not open in the context you have shown, so it can not execute any operations. Post us the code under the MySqlDataReader. This might show us why there is no connection. | |
Re: shallot, please read our posting rules. This thread has been opened in 2007! Please post your own question if you have any. On your new post, please tell us what you have so far as coding is concerned. Have you started yet? If so, was there any errors? | |
Re: Abu, you have to exit the sub before you can go to err: - [QUOTE]MsgBox " Back up sucessfully complete. ", vbInformation err:[/QUOTE] Should be - [CODE]MsgBox " Back up sucessfully complete. ", vbInformation Exit sub err:[/CODE] krab-man, you can put this code under a command button, timer etc. Use … | |
Re: Send me a zip file with your form, flexgrid and code. I think I might have a better understanding of what you need to fix. | |
Re: It all depends if you send it via LAN or online. It then depends on your LAN speed, 10 or 100 Mbps, or if online the connection speed you have. Then of course it all depends on your system resources, RAM, CPU etc and how many applications is running whilst … | |
Re: As Kinwang pointed out, the cursor will go to text1 if its setfocus property is invoked. Be carefull though of errors, if text1 is not visible you will receive an error, if the setfocus is invoked with another object i.e 'Text1.SetFocus, Text2.SetFocus, an error will be raised, if text1 forms … | |
Re: Firstly, where does your error occur? What kind of error are you receiving? What database are you using, Access, MySql, Sql Server etc? | |
Re: Sheina, Please do not leave your personal contact details on the web. There are some nasty people out there that will use this information to your detriment or harm. If you are using a data control use the following - [CODE]Data1.Recordset.FindFirst "YourFieldNameToSearchFrom ='" & txtSearch.Text & "'" If Data1.Recordset.NoMatch Then … | |
Re: OsheRono, if I understand the question correctly, use the 'ORDER BY' as part of your SELECT statement. After ORDER BY, add at which order you would like the records to be displayed. | |
Re: Under the checkbox do the following - [CODE]Dim xRecCount As Integer xRecCount = rsData.RecordCount xRecData = xRecData + 1[/CODE] | |
Re: Udaraps, it seems that you have raised the dead by posting a question to a thread that was posted in 2008. Please read our posting rules, and create your own post. As far as your question is concerned, once you click the list, populate the data into the grid. Make … | |
Re: Deepak, first of all, I have noticed that you are using the default names for your controls. When designing a big application you are almost gaurenteed to run into confusion. Try and use your own name sets as in 'Text1' maybe to 'txtName', 'adodc2' to maybe 'adodcMembers' etc. To answer … | |
Re: Raising the dead brrrr! I thought necromancing was only in movies and games.... Soulcandra, please start your own thread and we will gladly help. Also show us what you have done as far as coding is concerned so we can help you from there. | |
Re: Change your 'While' statement and 'Wend' to - [CODE]Do While d.EOF = False 'Polpulate Listview here 'Remove the following, unnecessary code For I = 0 To d.RecordCount ' Do nothing, but wait ' To show up the progress bar proceeding Next I ProgressBar1.Value = ProgressBar1.Value + 1 lblPercent.Caption = Int(ProgressBar1.Value … | |
Re: In a module add the following - [CODE]Public Sub UnlockTextBoxes(frm As Form) 'frm is the Form you are referring to... Dim Control As Control For Each Control In frm.Controls If TypeOf Control Is TextBox Then If Control.Name = "MyTextBox" Then Control.Locked = False End If End If Next Control End … | |
Re: It_Girl, I would gladly help, but we do have rules to abide by. What have you designed thus far? Are you stuck on a particular problem? Reply to above and I will gladly give you some sample code. | |
Re: If I understand this correctly, you will give a caption to Label1 depending on the link provided? [CODE]Select Case Text1.Text Case Is = " http://www.youtube.com/watch?v=Bj7_W...eature=related " Label1.Caption = "Me, Myself and Irene" Case Is = ".........." Label1.Caption = "Only Dots" End Select[/CODE] | |
Re: I have attached a sample VB6, Access and excell app. This is only a guide to what you need, you still need to adapt it to work for you. Let us know if this helped. | |
Re: When you code the connection path to the database, make sure that the database IS in the path specified. Your error is raised because the DAO wnats to connect to accno.dbf in a file called database on your F: drive. The database does however not exist in that path. Either … | |
Re: Bob, the closest I can get to your question is something done a while ago. You will need the BitBlt API. This only copies a piece of a picture and paste it into another picturebox. I'm sure if you play with this you can create an exploding effect. I am … | |
Re: This is something written by Elucid Soft which covers all API's, download speed, pause, resume etc. It is free for distribution, so enjoy. | |
Re: You can either use the 'Do Events' statement or personally I would break down the function into smaller functions, when 1 .bat file is read, load the following function and so on. | |
Re: Did you check your SQL error log file on the server? This will give you an exact error code on which we can then respond. I have not worked on SQL 2008 for some time now, but I always used to us ethe following links, which gives quite a good … | |
Re: Error 424 is normally raised when an object is missing while reference has been given to it.. Your sub routine seems fine. I think your problem at the form open event is raised because you are putting a reference to an object that was NOT loaded. Try to reload all … | |
Re: I will repost your app tomorrow Fourty, this will handle delete as well. | |
Re: Something small containing Login (Daniweb), access and VB6. Play with this and THEN ask us for help if you receive any errors... | |
Re: Fourty, First things first, Please add your code into code brackets. You just need to click on the (CODE) icon in the reply post toolbar. Second, your declarations in Variant form will use much more resources than proper declarations as in Date etc. Thirdly. your problem above lies with your … | |
Re: Fourty, you need to be quite cluded up on API's, coordinations etc. This is something I got from the web a few years back when I wanted to get involved in 3D. Never really tickled my fancy though, so I left it alone. The first has a lot of German … | |
Re: Well, for starters you will have to design your database first with tables and fields. Then populate the tables with some data and then start your search. If you say "fix a search function", does that mean that you have done the above and get errors when searching? | |
Re: Unfortunately this is the crux of an image control. a Picturebox tends to keep its aspect ratios much better, so try a picturebox and see if it helps. Below is some code to fit a picture to a picturebox, which gives it the same property as the stretch in an … | |
Re: You need to break down the ascii into usable references. Test in Ascii is as follow - T=84, e=101, s=115, t=116. Once you have that you can convert the ascii to a string "Test". Below is a list of the ascii characters. [URL="http://www.easycalculation.com/ascii-hex.php"]http://www.easycalculation.com/ascii-hex.php[/URL] Your code would be something like - … | |
Re: I would gues it was the reference to the "x" at your listindex whixh was not properly declared. It is quite easy to rectify - [CODE]Dim x As Integer For x = 0 To List1.ListCount 'Code Here Next x[/CODE] | |
Re: This is something I did for another user on Daniweb a while ago. | |
Re: I would suggest that you use the InStr function every time that you change anything to the Word document. This will compare text from the document to text in the database and you can then add code to change the database accordingly. Just google InStr, plenty of tutorials and code … | |
Re: Lovi, Please read my reply on the other OLD post. Thank you for creating your own. Right, what do you have a problem with? Referencing controls on another form, just switch between forms, not sure what you need help on? If forms then something like - [CODE]Unload Me 'Will unload … | |
Re: I think your problem is because you are declaring the number as string and not Integer. Try to change it to Currency, Integer, Number. | |
Re: Ryan, two things. 1 - Have a look at your option button values at the top, you will get an error in the returned value on Option1, because you have given "a" two different values - [CODE]If Option1.Value = True Then a = 3 End If If Option2.Value = True … | |
Re: All you need to do is to reference the .Dll file under references in your application. You then have access to the control. Click on Project on your toolbar, select References and search for the .Dll file from there. If you can not see the dll in the list, click … | |
Re: Sophie, are you using vb6? Would you also want to code the path or file location, or select it from an opened file dialog using the common dialog control? You also mentioned saved as a vb file. I'm not sure what you ar reffering to here? Please give us some … | |
Re: [QUOTE=pritesh2010;1180757]hello everyone. i have a problem with MDI parent.in my project there is parent form and child form. in my MDi parent form i had created fix layout panel where i want to show the other child form . but i dot no how to call child form on that … | |
Re: Hi Lovi, Please read our rules on posting. You have asked a question on a 3 year old post! Please close this post and create your own new thread with your question AND what you have designed thus far, what problem you have, where are the errors occurring etc. Please … |
The End.