1,130 Posted Topics
Re: A list box with its multiselect property set to 1 - Simple or 2 - Extended will do fine, so no need to learn about a new control just yet, but it does raise the question, why a list box and not check boxes? Since you only have three options, … | |
Re: Okay, if I understand you right. The program of yours is the source of the text that is pasted into notepad. If this is true, then there are several ways in which to solve this. First, you could write the text directly to a text file by using the following... … | |
Re: Usually when something is in a plural form, it is a collection of objects and there should be a singular form that can reference a specific object from the collection. However, to enumerate through that collection you would do something like... [code] Dim MyCharts As Object, AChart As Object Set … | |
Re: Is that actual size or size on disk? | |
Re: First off, you have not instantiated a new picture box in itself, just a reference to a picturebox and to make things easier, I'll skip what that means and say this... Put a picturebox on the form, change its index to zero (0), add a command button, add the following … | |
Re: Now you have not used bb code tags correctly, see [url]http://www.daniweb.com/forums/misc.php?do=bbcode[/url] and you have also posted in the wrong forum because that is not classic vb code. Close, is that .NET??? Good Luck | |
Re: That first Rs.Update may need to be Rs.Edit or just removed like manoshailu already said. Also, it should be Rs.Fields("FieldName").Value = newvalue for readability and maintainability. Good Luck | |
Re: Well without seeing your code it is hard to tell, but generally an Exit For is used to speed up a procedure by exiting the for loop as soon as some condition is met... pseudo code... [code] For LoopCounter = SomeStartValue To SomeEndValue Step SomePositiveOrNegativeValue 'defalut is + 1 If … | |
Re: Well for somthing that happens only once a day and only after midnight, you could increase the interval to its max, 65535, which is just over a minute... Good Luck | |
Re: Okay, First, let me explain the Name property for you. The Name property is the name of the control. Second, ListBox1 tells me that you are using VBA controls like the ones found in access, excel, word, which means this is a VBA question and not a VB question. Now … | |
Re: [QUOTE=blocker;814543]Good day.! What a frustration drives me just this day.! Last night we got power lost. Just this day when i open my vb project, ive got an error message says that project1 cannot be loaded. When i try to open one form on that project it also returned, form1 … | |
Re: See... [url]http://www.shrinkwrapvb.com/[/url] Good Luck | |
Re: Okay, did you move your project.dll into the same folder as your new project that wants to call it or did you move the project dll to the \windows\system32\ directory? Did you register the dll? Good Luck | |
Re: see [url]http://www.connectionstrings.com[/url] Good Luck | |
Re: Are you talking about the animation of the image? Meaning, are they animated gifs? If so, there are a lot of free software out there for making an animated gif and all you need to do is to use your friends (yahoo, google, ask, answers, bing) to search for it. … | |
Re: 1) Carefully!!! :) VB might be able to read the code but it will not be able to interpret it. It will just think it is a string. Then depending upon how you coded it in excel and what you coded in excel, you might be able to just cut-n-paste … | |
Re: scalemode the same for all? because this works (as a test) [code] Picture2.PaintPicture Picture1.Picture, 0, 0, Picture2.ScaleWidth, Picture2.ScaleHeight, 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight [/code] and picture2 is set at double the size of picture1... Properties changed at design time AutoRedraw ScaleMode = vbPixels Picture1.AutoSize = True 'while picture2.autosize = false Good … | |
Re: Sounds like you want to create a modified paint program. Meaning, besides line and circle you have predefined shapes like square, rectangle, rhombus, trapaziod, a graphic for computer, server, router, and hub, etc... here are some possible solutions for you... [url]http://www.planetsourcecode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?chkCode3rdPartyReview=on&cmSearch=Search&optSort=Alphabetical&chkCodeTypeZip=on&chkCodeTypeText=on&chkCodeTypeArticle=on&chkCodeDifficulty=1%2C+2%2C+3%2C+4&blnResetAllVariables=TRUE&txtMaxNumberOfEntriesPerPage=10&txtCriteria=diagram&lngWId=1[/url] and if they don't inspire you, please come back... … | |
Re: I don't think so... but with that said, you can group them by their names... i.e. formInvOrd formInvRec formInvTrans BUT, if you do find a way, I would surely like to know. As for tools that you might find handy, check out MZTools... Good Luck | |
Re: It is real simple to call a function and once you see how you will slap your own head and make the homer simpson sound of DOH! Consider the following function... Public Function MyStringFunction() As String MyString = "This Is A Test!" End Function Now, this function placed in a … | |
Re: Huh? [url]http://support.microsoft.com/kb/191212[/url] Good Luck | |
Re: Well first off, how would you tell if this program is done? If you know the answer to that, switch your code to ShellExecute API and WaitForSingleObject API... Good Luck | |
Re: See this thread... [url]http://www.vbforums.com/showthread.php?p=2131031[/url] Good Luck | |
Re: Also see... [url]http://www.connectionstrings.com[/url] for connection information... Good Luck | |
Re: See... [url]http://www.wisegeek.com/what-is-a-neural-network.htm[/url] for a definition of a neural network. As for Visual Basic 6.0 or even .Net to attempt such a thing is a momentous task that just might be out of reach of MS technologies but if you really want to give it a try... well then you are … | |
Re: The scanner should have a configuration utility and with this utility you can specify characters appended to the string. In this case, the software is sending a tab character. You should be able to specify no character or another key press like enter if you are wanting to allow multiple … | |
Re: API time... FindWindow to get the handle to the window, and SetWindowPos... If you search the web you should be able to find at least a few examples. Good Luck | |
Re: Okay, not sure about any of the grid controls that come with vb as I don't use them that often, BUT, I believe this custom control will do what you want.... [url]http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/S_Grid_2/article.asp[/url] Good Luck | |
Re: Ahhh!!!! IT'S A NECROPHILIAC! A NECROMONGER! A NECROMANCER! And with a name like ihcur, you know it just got to be evil. I mean look at it! It raises the dead!!! Ahhh RUN!!! RUN FOR YOU LIVES!!!! AHHH!!! All kidding aside ihcur, welcome to the forum! :) Please, in the … | |
Re: Time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 loan calculator. You should find many examples out there. Good Luck | |
Re: One way would be to use a for loop from 7 to 1 step -2 and inside of that loop you would need to use the Space Function, to set the number of spaces you will need to pad to the left, and the Left Function to grab x number … | |
Re: Easy way would be to use the ADODC (Activex Data Object Data Control) and bind the data grid to it but if you wanted more flexibility you could always use the ADODB (Activex Data Objects DataBase), which you will find under references and bind the datagrid to it. Then of … | |
Re: Ah once again... Okay, you will need to use a couple of loops, for loops exactly. The first from 1 to 7 Step 2 and inside that loop you will need to use the Space Function and String Function along with some simple math so you know how many spaces … | |
Re: Well lets see... First off you should know that there are several ways in which to do this. One way would be to use loops. Two of them as a matter of fact, and to be more precise, for loops. Now from your example it seems you will need a … | |
Re: Well I hope you catch your quary but as far as queries go, see this example... [code] strSQL = "SELECT * FROM table WHERE field1 = '" & somestringvalue & "' AND field2 = " & somenumericvalue [/code] Good Luck | |
Re: Don't know as I have never tried but an API to look at for doing such a thing would be SetWindowPos... Good Luck | |
Re: What kind of errors? Are the errors hardware or software? If software, is it returning errors to you? And if it is returning errors to you what are the err.number and err.description? Or is it a system error that is popping up? What is its message? Because telling us that … | |
Re: Yes, we probably could but we will not make it for you, but here are some hints to get started. Step #1 Get out the old Mark I recording device and jot down your ideas. Those ideas being how you want the program to work, what fields or data will … | |
Re: ratheeshpranava, It is not nice to raise the dead... You might be labeled a necrophiliac, necromonger, or a necromancer... As for your question the button will need to have its style set to graphical and then you can use command1.picture = loadpicture(pathtopic) to load your graphic (you might need to … | |
Re: How much are you willing to pay? I ask this because you must think that those that visit here just hand out code all willy-nilly like they have nothing better to do. Where is your effort? What have you tried? Where is your code and what problems are you having … | |
Re: (hint) The small picture box has the same events as the large picture box... Good Luck | |
Re: You might be able to use the following API's in conjunction with your access code. FindWindow (to find outlook's hwnd) EnumChildWindows (to find outlooks dialog and to find the ok buttons hwnd) SendMessage with a WM_BUTTONDOW/WM_BUTTONUP messages to click the button... There are a few examples out there on all … | |
Re: Well there is the Microsoft Chart Control and if you search the web with your friends (yahoo, google, ask, answers, bing) you should be able to find more than one tutorial out there. Good Luck | |
Re: Okay, you can use the split function to split apart the contents of the multiline textbox on vbnewline, and since it will create a zero based array you would need to set the simple textbox to the second indexed element of the array... Good Luck | |
Re: Time to user your friends (yahoo, google, ask, answers, bing) and search for ADO tutorial... Good Luck | |
Re: ansar.vb, Welcome to the forums. Just so you know and so you are not labeled a necrophiliac, necromonger, or a necromancer. It is not polite to raise the dead. If you need to reference an old thread like this, please copy its url into your new thread posting. As for … | |
Re: Most any tutorial for visual basic 6 could also work for visual basic 5.0 but I'm betting that you are actually talking about visual basic.net version 2005, and if so you are in the wrong forum but don't fear as MS and may other sites out there have tutorials. You … | |
Re: The only way in which to accomplish this is a self deleting install program, of which, does not exist at the moment. So good luck in creating it and in the future, you are not posting a code snippet, you are posting a question.... Good Luck | |
Re: Do you know how to read and write to a text file? If not please look up the following in VB's help files... FreeFile Function Open Statement Input Function Line Input Function Print Statement Close Statement Okay, once you know how to read and write to a text file then … | |
Re: Simple way would be to set a timer controls interval property to 60000 milliseconds (1 minute), use a variable to either increment from zero to forty or decrement from forty to zero and when condition is reached, msgbox time. Good Luck |
The End.