2,155 Posted Topics

Member Avatar for anlmember437

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 …

Member Avatar for AndreRet
0
258
Member Avatar for 3d0army

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 …

Member Avatar for 3d0army
0
207
Member Avatar for hueberting

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.

Member Avatar for hueberting
1
187
Member Avatar for depash

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 …

Member Avatar for depash
-1
2K
Member Avatar for cak

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 …

Member Avatar for abu taher
0
87
Member Avatar for afireinside

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 = …

Member Avatar for AndreRet
0
120
Member Avatar for WareveR

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.

Member Avatar for WareveR
0
141
Member Avatar for xirosen

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 …

Member Avatar for AndreRet
0
147
Member Avatar for pinus-strobus

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 …

Member Avatar for AndreRet
-1
99
Member Avatar for lanitooot

[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.

Member Avatar for AndreRet
0
255
Member Avatar for ebbumiya

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?

Member Avatar for AndreRet
0
97
Member Avatar for krab-man

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 …

Member Avatar for AndreRet
0
83
Member Avatar for smart_virus87

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.

Member Avatar for AndreRet
0
75
Member Avatar for xirosen

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 …

Member Avatar for AndreRet
0
242
Member Avatar for FPinget

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 …

Member Avatar for AndreRet
0
69
Member Avatar for venkatnams

Firstly, where does your error occur? What kind of error are you receiving? What database are you using, Access, MySql, Sql Server etc?

Member Avatar for AndreRet
0
205
Member Avatar for Sheina_m

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 …

Member Avatar for AndreRet
0
109
Member Avatar for OsheRono

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.

Member Avatar for AndreRet
0
129
Member Avatar for snairsumith

Under the checkbox do the following - [CODE]Dim xRecCount As Integer xRecCount = rsData.RecordCount xRecData = xRecData + 1[/CODE]

Member Avatar for AndreRet
0
390
Member Avatar for javorocks

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 …

Member Avatar for AndreRet
0
99
Member Avatar for deepak2008

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 …

Member Avatar for AndreRet
0
105
Member Avatar for locsin

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.

Member Avatar for AndreRet
0
1K
Member Avatar for SkyVValker

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 …

Member Avatar for AndreRet
0
230
Member Avatar for Talguy

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 …

Member Avatar for AndreRet
0
135
Member Avatar for it_girl

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.

Member Avatar for kinwang2009
-1
210
Member Avatar for camelCase

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]

Member Avatar for AndreRet
0
131
Member Avatar for ZER09

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.

Member Avatar for AndreRet
0
331
Member Avatar for foxyuva

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 …

Member Avatar for AndreRet
0
197
Member Avatar for Bob Jacobs

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 …

Member Avatar for AndreRet
0
108
Member Avatar for jjemphoung

This is something written by Elucid Soft which covers all API's, download speed, pause, resume etc. It is free for distribution, so enjoy.

Member Avatar for AndreRet
0
103
Member Avatar for Panicbutton

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.

Member Avatar for AndreRet
0
110
Member Avatar for cptspock

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 …

Member Avatar for cptspock
0
186
Member Avatar for Talguy

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 …

Member Avatar for AndreRet
0
204
Member Avatar for fourty
Member Avatar for AndreRet
0
62
Member Avatar for nandhini.m

Something small containing Login (Daniweb), access and VB6. Play with this and THEN ask us for help if you receive any errors...

Member Avatar for AndreRet
0
37
Member Avatar for fourty

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 …

Member Avatar for fourty
0
132
Member Avatar for fourty
Re: 3D

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 …

Member Avatar for vb5prgrmr
0
106
Member Avatar for gurupts

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?

Member Avatar for fourty
0
246
Member Avatar for lazylearner

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 …

Member Avatar for vb5prgrmr
0
544
Member Avatar for andy_aphale

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 - …

Member Avatar for vb5prgrmr
0
221
Member Avatar for InfrequentCoder

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]

Member Avatar for vb5prgrmr
0
261
Member Avatar for Baz_Singh
Member Avatar for Plec

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 …

Member Avatar for AndreRet
0
112
Member Avatar for Lovi Aggarwal

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 …

Member Avatar for AndreRet
0
147
Member Avatar for java_programmer

I think your problem is because you are declaring the number as string and not Integer. Try to change it to Currency, Integer, Number.

Member Avatar for AndreRet
0
95
Member Avatar for ryan311

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 …

Member Avatar for labq5
0
182
Member Avatar for viruprateem

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 …

Member Avatar for AndreRet
0
89
Member Avatar for sophie_kiu

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 …

Member Avatar for AndreRet
0
121
Member Avatar for pritesh2010

[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 …

Member Avatar for labq5
0
1K
Member Avatar for abhinav_blue87

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 …

Member Avatar for AndreRet
0
170

The End.