- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- Never fast enough ;-)
97 Posted Topics
| |
Re: That's excellent, I've wondered how that was done. (rep added) | |
Re: I remember a year or so ago I wasn't able to send/receive emails from Hotmail (couldn't tell you if Yahoo worked though), but the problem with my machine was an over-powering advert blocker which was blocking a link to one of the files which is apparently needed to create new … | |
Hi, I've got an XML file that I need to make changes to before creating an output XML file. I've got an XSLT Transform file which does part of the job fine, but I'm needing to go one step further which is where I'm struggling. In C# I'm using an … | |
Re: You may have been better opening a new thread rather than adding to an existing (and old one). It all depends how your barcode reader plugs into the computer. If it has a PS2 keyboard connector, you will be able to plug the keyboard into one end of the connector … | |
Re: [QUOTE=sameerkhan;331161]could you pls send me code to read a text in particular line. Fox example if i want to read 200th line of text file how can i do it.[/QUOTE] [QUOTE=cindrella_win05;664488] Anybody cud help me out in this???plz post the complete code for this...[/QUOTE] Comatose has provided an excellent example … | |
Re: As said in the past, if you can show how far you've got, you're more likely to get assistance. I have previously worked for a number of retail companies both as a technical support analyst and developer of in-store systems so have a lot of experience with EPoS systems. The … | |
Re: October 2001 is the newest MSDN for VB6 - you could search for it in certain places, but it would be wrong of me to condone such activity ;) As previous posts have said, the MSDN stuff is available on the web for free at microsoft.com so if you have … | |
Re: In the past when I've used a Datagrid, I've generated a recordset with data from the database first and used that as the RecordSource for the grid control. (this is of course based on the assumption that you are using a Datagrid :)) | |
Re: You could right click on the executable (or shortcut) and select "Run As Administrator". What is within the application which urgently needs administrative privileges though? Is there a way you could get around that rather than hoping to get around UAC? Maybe you could find an ActiveX component which is … | |
Re: Hi KSS, If you are connected to the same router, you'd use the router-defined IP. If you're connecting over the Internet, use the internet-defined IP instead. Note that the router must be forwarding the selected ports back to the destination PC for it to work (also ensure your application is … | |
Re: [QUOTE=jamesweeks;1180166]Will the vbmaximized work with the program running in XP, Vista, and Windows 7. Thanks for your help[/QUOTE] Yes, what vb5prgrmr has said will work for any Windows version. You can also set this as a property in the VB6 IDE (if you didn't want to define it in the … | |
Re: My favourite team is Liverpool (English Premiership), favourite player... hmm, probably Stevie Gerrard. | |
Re: Yahoo Messenger has changed its protocol quite a bit over recent years like MSN has, so you may find that any source that is available to use is in .NET rather than VB6 - you could maybe look at the .NET code (should be able to open the classes in … | |
Re: [QUOTE=jeffrey4u;1086159]when i try inserting this line 1. P = LoadPicture(App.Path & "\Smileys\8.bmp") under formload it gives me complie error (invalid use of property)[/QUOTE] Try the following instead: [code] Set P = LoadPicture(App.Path & "\Smileys\8.bmp") [/code] | |
Re: I'd try setting a breakpoint and stepping through the code to see where it is hanging. I'm sure you would be able to identify the line which causes the hanging quite easily that way. If it only hangs after it's been ran a few times, try cleaning up the code … | |
Re: If you are trying to make the title of a form appear as though someone has typed it in, then the easiest way would be to use a timer that will update the caption with one letter on each run. I'd say keep a module based integer variable which will … | |
Re: Could a firewall on the server be blocking the client from accessing the SQL Server? Sounds like a networking issue rather than a SQL server issue. I could be wrong though :) | |
Re: I replied to the post you made in my solved thread - I'll not bother repeating it here and will give a link to it instead - [url]http://www.daniweb.com/forums/post1054950.html#post1054950[/url] You can ignore the part about making a new thread, because you've already done that. The rest of it unfortunately still applies... | |
Hi, I've got a bit of a problem with an application I am writing at the moment. I know it has to be something small which I'm missing, but I can't figure out what it is. Basically, I have a Query (or Stored Procedure if you prefer) in an Access2000 … | |
Re: Firstly, make sure your VB6 is updated with service pack 6, and then go to Project > Components and tick "Microsoft Windows Common Controls (SP6)" This will add the slider into your toolbox :) Incase your VB is not updated to SP6, you can get it from here - [url]http://www.microsoft.com/Downloads/details.aspx?FamilyID=9ef9bf70-dfe1-42a1-a4c8-39718c7e381d&displaylang=en[/url] | |
Re: Try doing a search on the forums, there are plenty of similar threads about - some of which have responses. You haven't given us much information to go off really as there are different connection types (PS/2, USB, RS232 etc) which makes a big difference to how they are used. … | |
Re: I have seen loads of examples of this kinda thing around the Internet, and plenty of people asking for examples on how to do it too. Google is your friend on this one... if you're willing to put the effort in that is... | |
Re: Not all are the same. If they are a serial/rs232 connected scanner, they don't work in this way and will require either a device driver, or as ithelp said, some guidance from the vendor to know how to link with the device. | |
Re: I'll second what vb5prgmr has said about only having connections open when they are needed. Also, have you monitored to see how much free RAM your PC has remaining when it approaches the time where it hangs? The reason I ask is that 64Mb of RAM with WinXP and a … | |
Re: I'm not 100% that this is a VB related question... Can a mod move it to a more appropriate section on the forum? It might help the OP get a better answer. | |
Re: As far as I can tell you'd need to work out how to connect to the device first and then send a request to grab the SMS. If you were only coding it to have a program that does what you need, look at MyPhoneExplorer ([url]http://www.fjsoft.at/en/[/url]) - this does something … | |
Re: You can put a password on the database file so you can't just double click to open it. Then you would provide the password in your Connection string in VB6 (when connecting to the database) using PWD:flibble (if your password is flibble, that is...) | |
Re: You say you want to read from an Excel sheet to a text file, but your code shows you opening a text file for input. I don't know how you usually read from an Excel sheet, but I don't think you can open it like a text file as your … | |
Re: Do you mean if you have a VB application which was running, and is killed using task manager - you want that application to return an msgbox to the user saying it has ended? I don't think that works as the "End Process" button kills the application dead, so it … | |
Re: Is it a MySQL database? First you'd need to make sure your host allows connections from outside of their network (I mean this as in my friend's host SQL server only allows internal connections from his webspace or PHPMySQL Admin page - he can't use MySQL admin tools or anything … | |
Re: Does the client connect to the server OK first of all? If you cant connect, then its likely to be related to a networking issue (i.e. a firewall stopping the connection going through). Are you using TCP or UDP for the connection also? UDP would use the .Bind command (from … | |
Re: Object Browser within VB6 says: [quote]Sub Show([Modal], [OwnerForm]) Member of VB.Form Displays an MDIForm or Form object.[/quote] [quote]Event Load() Member of VB.Form Occurs when a form is loaded.[/quote] Say (for example's sake) I have a form called frmMainWindow. I want to open the form as it is and display it … | |
Re: I believe it stores DSN information in the registry, so you could try doing it that way. I don't know how you would do this (never done it before myself) - I'm just offering an idea on how to do what you are looking for. | |
Re: If you are using an ADO recordset to get the information from the database, you can put the data pretty much anywhere you like, so a flexgrid should work fine :) If you're unsure about ADO and VB6, take a look at Comatose's sticky thread in the VB4/5/6 forum section … | |
Re: Or... use the strReverse command [CODE] Private Sub PalindromeTest(ByVal sWord As String) Dim sReversedWord As String sReversedWord = StrReverse(sWord) If StrComp(sWord, sReversedWord, vbTextCompare) = 0 Then MsgBox "Palindrome!" Else MsgBox "Not a Palindrome!" End If End Sub [/CODE] You could change that to a function and return a boolean value … | |
Re: [QUOTE=Jx_Man;836414]just checked id entered with id on database. If same then display error message, if not same then add into database.[/QUOTE] This is what I would recommend also. You could perhaps have a method which adds the user to the database, and another method which updates the user if they … | |
Re: What brand is the EPOS equipment? What base operating system are you using on the till? | |
Re: You pretty much have it spot on in your first post swappy... I use this code to check the connection state: [code] If oConnection.State = adStateOpen Then oConnection.Close End If [/code] For info, oConnection was instantiated as ADODB.Connection beforehand. Enjoy! | |
Re: Nice post vb5prgrmr - wish I had though of that when I started using access with vb6 lol :) As for using Access, Comatose posted a sticky in the VB4/5/6 section about this very subject - [url]http://www.daniweb.com/forums/thread41057.html[/url] I think vb5prgrmr's idea would be easier if you're unsure what you're doing … | |
Re: Hi, sorry for the slow reply. Just looked in Object Explorer for the Outlook object. Try Mailobject.SentOn It is a property that returns the date the email was sent on. Alternatively, Mailobject.ReceivedTime appears to return the date of receipt. This is untested though as I don't use Outlook (despite it … | |
Re: I personally use a .mdb database (despite using Access 2007, I use an Access 2000 format database) and I use ADO to connect to the database without any problems. Unless there is any particular reason for using OLEDB (as in it gives you extra functionality that ADO won't), I'd recommend … | |
Re: It depends on the scanner type. If it is one which plugs in-line with your keyboard (scanner cable plugs into PS2 port on your PC, and keyboard plugs into the scanner cable), then it will just scan into any field you highlight in VB6. If it is a serial/rs232 scanner … | |
Re: [QUOTE=jarojasp;685270]The problem I have encountered is that on abrupt termination of my program, the socket rtemains open so that the next time I execute the program it will return an "Inavlid operation in actual state" error 40020.[/QUOTE] I got around my problems with Winsock by checking connection state before attempting … | |
Re: I love the inability of some people to try the Search functionality on this forum to find what they want. On page 3 of the VB6 section, there is a link to this... [url]http://www.daniweb.com/forums/thread138971.html[/url] | |
Re: That doesn't look like Classic VB (4/5/6) to me... Is it .NET? |
The End.