No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
48 Posted Topics
Re: VB5 and Access 97 - WOW. There are a few of ways to access the data bases (I've only worked in VB6, but I assume that it will work for 97 - I'm sure someone will correct me if I am wrong) The main options that you have available ADO … | |
Re: If I understand you correctly, you have a text box and you only want to have letters in there, and not numbers. How I would tackle the problem is to use the text1_change() and then get the last character that is entered and then use the isnumeric . If it … | |
Re: I've found it easyest to copy the dll to the system32 folder then run the below get a command prompt (start run cmd) type in regsvr32 dllname | |
Re: first you need to add the component Microsoft Internet controls. then you will need to add it to your form. This will add a mini IE into your program. Navigate to the page you want with Webbrowser1.navigate ("www.google.co.nz") then to read the data you use the following Text = WebBrowser1.Document.Body.InnerText | |
Re: have a look at [URL="http://www.aaroncake.net/electronics/vblpt.htm"]http://www.aaroncake.net/electronics/vblpt.htm[/URL] It looks a bit complicated at first, but it isn't really. try it in small steps and it will work | |
Hey y'all I'm making the first steps into java from VB. I'm reading a book about how java works and I'm only a few chapters in. Just so you know how 'fresh' I am, I managed to write 2 classes, one main and another one, I passed a int to … | |
Hey all, I have this problem that I can't work out why it is doing it. I've got a client - server program. The client sends an request to the Server, which in returns it queries an access database and save the output as a file. Which it will then … | |
I'm trying to find a way to embed a external program inside VB6. Can anyone point me to some information where I can lean how to do this? | |
Re: have a look here [URL="http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResults.asp?txtCriteria=winamp+module&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE&lngWId=1&B1=Quick+Search&optSort=Alphabetical"]http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResults.asp?txtCriteria=winamp+module&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE&lngWId=1&B1=Quick+Search&optSort=Alphabetical[/URL] | |
Re: I'm not sure on what you are after. Do you require 1.) the instructions on how to accept the inputs with the batch file Any arguments for the batch file are saved as % then a number. The first argument is always %1, the second is %2, the third is … | |
Re: how about a control array for the buttons, then a simple loop to move them about? | |
Re: *tries to read your mind for what part you are stuck on* Nope no joy, What part are you actually stuck on? doing work? or something more specific? | |
Re: just a thought, but what is the length of the directory name? Have you tried getting VB to display the directory name in msgbox as it might truncate it? | |
I've created a client/ server program and I'm not happy with some logic for the server. What I'm doing is Pulling it from the data base adding it to an array ' to help check for error Using the array to save to text file ' for preparation for sending … | |
Re: try using the ascii character map, ie chr(65) is A find the table below [URL="http://www.asciitable.com/"]http://www.asciitable.com/[/URL] then use then randomize, and then the rand command to be able to pick a random character between the range that you require. By memory it is rand(high-low)-low try the below. (there might be a … | |
Re: I don't know if this is very effective. My theory is that if the label detects a mouse_move event then it starts playing. when the mouse moves anywhere else on the form, then stops playing. So maybe add a mouse_move event on the form it self to stop the music … | |
Re: you can always see the name of the button by going to the properties of that button. then going into the debugger and looking for that name | |
Re: I would first start to connect to the database. There are several ways to connect, View this thread to read up [URL="http://www.daniweb.com/forums/thread41057.html"]http://www.daniweb.com/forums/thread41057.html[/URL] Then it's really up to you on how you want to display the information, graphs, in text, on screen etc, Any other questions just ask | |
Re: For reading from the magnetic card you dont need to write any code as its just a keyboard wedge. When placing your cursor and swipe the card in the reader will get the value from the card to the cursor location (textbox). To encode you need to get the algorithm … | |
Re: [QUOTE=mykar_88;639877]hi i used the following code to read data from web. this is my code Private Sub Command1_Click() Dim Text As Variant WebBrowser1.Navigate ("www.google.co.in") [U]Text = WebBrowser1.Document.Body.Innertext[/U] MsgBox Text For i = 1 To 1000 If Mid$(Text, i, 8) = "google" Then MsgBox ("String Found") End If Next i End … | |
Re: Welcome to Daniweb! I don't understand what you are wanting to do? do you want ideas? or particaular technical question | |
Re: why do you want to remove the first element and then add one to the end. maybe it would be better to keep the 5 elements and move the data inside them? so temp = A(0) A(0) = A(1) A(1) = A(2) A(2) = A(3) A(3) = A(4) A(4) = … | |
Re: are you meaning from one excel document to another or between sheets? | |
Re: I'm not sure if this will work or not but I see that it will be trying to run the code C:\Program Files\Google\Google Earth\googleearth.exeC:\Abhinav.kml - aka no spaces, what happens if you put in a space dtask=Shell(path & " " & File,vbNormalFocus) | |
Re: You can use MSchart as long as it is a simple type of graph that you are after. It will allow you to use a bar graph, I'm not sure about the pie graph tho There is alot of help about programming it, and even microsoft have some good information … | |
Re: What you want is called error trapping. use 'On error goto' The logic is that it will catch the errors then jump to the location you specific (in this case evilBadger) then run that code. To make the program jump back to the line that had the error you use … | |
Re: what is the particular problem here? your not sure how to do this, or you're getting a error message? If you are unsure, then there are lots of help on here, try searching ;) If you are getting an error message, what is it? What have you tried? | |
Re: so what problem are you having? Your not sure of the logic? Your not sure how to connect to the database? Can you provide more details, | |
Re: If you are looking at starting from scratch with VB 6 then use google. there are a thousands and ten tutorials out there. If you have a question then post away, the only thing I would suggest is google for the answer first, or even search here. If that still … | |
Re: If you need more help, search this forum. There have been lots of people wanting DB help. | |
Hi all, I have a file that I want to transfer. I read it from a database and save it to a file, then I open if from the file and put it into a an array I then open it again this time as binary and send the packets. … | |
Re: Try to the search function! It doesn't bite The post is an older one, and thus the newer posts come first | |
Re: I've never tried this, so I don't know if or how well it would work. but ... How about using a timer ?? | |
Re: are they always 2 characters? is the first one always the lower one? you can try LCASE(<string>) to change to lowercase or UCASE(<String>) to change to capitals, mix this with the left and right function. [CODE=VB] Changecase = "cz" Changecase = Lcase(Left(changecase,1)) & Ucase(Right(changecase,1)) [/CODE] If I'm on the wrong … | |
Re: Can you give us some more details about this? Do you want to load text boxes? do you want to move them around the screen? Did you want to have random questions in the labels and keep track of the answers to that questions? | |
Re: so you're trying to make a key logger program? | |
Re: have you tried google - "DSN database" | |
Re: I don't know anything about XML, but to change the case of a string you can use UCASE("Hello") - Change all to upper case OR LCASE("Hello") - Change all to lower case Hope this helps | |
Re: You need to make sure that you are acutally connected before trying to send. Try the following code [CODE=VB] Private Sub Text2_Keypress(keyascii As Integer) If keyascii = 13 Then keyascii = 0 List1.AddItem (Text2.Text) if winsock1.state = sckconnected then Winsock1.SendData Text2.Text else msgbox "Winsock is not connected" end if Combo1.SetFocus … | |
Hiya all, how do people send things over the winsock command. Say that you have a server that does two task (A and B), and the client tells the server to do each one. When I first started I tried sending an arrays and things like that, but could only … | |
Re: I assume that you are pulling the information from some sort of file or data base. so when you pull the information, you could add a if statment if len(txtTel) = 0 then txtTel.visable = false else txtTel.visable=true endif if your not pulling the information from a file or database, … | |
I'm creating a client-server style program. The two connect fine and I can send data from the client to the server, The server gets the information correctly However when I try and send data from the server to the client, the client receives empty packets. Upon closer inspection I've noticed … | |
Hey all. Can some please confirm some winsock items, I am starting to doubt my self about it now. The question is this: If you created a client server program, what port does the client winsock.localport actually connect? Is it the same port that you request it connect to, or … | |
Re: We're here to help, not do your school work! I'm more than happy to point you in the right direction, but you have to help your self What are : text1..text text2.text text3.text text4.text May I suggest a naming convention for example a text box, prefix the name with txt | |
Re: Make sure that you are actually connected. I find the following code helpful [CODE] Private Sub Text2_Keypress(keyascii As Integer) If keyascii = 13 Then keyascii = 0 List1.AddItem (Text2.Text) if winsock1.state = 7 then ' 7 means winsock is connected,could use sckconnected instead Winsock1.SendData Text2.Text else msgbox "Can't send message … | |
Re: A free tool is the MSCHART component, as long as you arn't wanting to do anything fancy, then this should do the trick. It's quite easy to program, and there is some reasonable MSDN help on it too | |
Re: API stands for Application Programming interface. Have a read here [URL="http://www.devarticles.com/c/a/Visual-Basic/Accessing-the-Windows-API-in-Visual-Basic/"]http://http://www.devarticles.com/c/a/Visual-Basic/Accessing-the-Windows-API-in-Visual-Basic/[/URL] |
The End.