1,130 Posted Topics

Member Avatar for ankush.mukherje

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

Member Avatar for ankush.mukherje
0
134
Member Avatar for andy999

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

Member Avatar for vb5prgrmr
0
144
Member Avatar for Civil Eng

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 …

Member Avatar for vb5prgrmr
0
99
Member Avatar for ramesh_natesan
Member Avatar for pankaj.garg

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 …

Member Avatar for pankaj.garg
0
2K
Member Avatar for 22MDS

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

Member Avatar for vb5prgrmr
0
82
Member Avatar for palcy

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

Member Avatar for QVeen72
0
122
Member Avatar for gvlral

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 …

Member Avatar for QVeen72
0
89
Member Avatar for pankaj.garg

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

Member Avatar for pankaj.garg
0
157
Member Avatar for olgar

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 …

Member Avatar for sidnei
0
75
Member Avatar for PinoyDev

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

Member Avatar for vb5prgrmr
0
2K
Member Avatar for bobnoby
Member Avatar for zawpai

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

Member Avatar for vb5prgrmr
0
247
Member Avatar for an_nurif83
Member Avatar for jeffrey4u

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

Member Avatar for jeffrey4u
0
103
Member Avatar for fajar_07201

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 …

Member Avatar for vb5prgrmr
0
68
Member Avatar for neosonic

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 …

Member Avatar for neosonic
0
2K
Member Avatar for pankaj.garg

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

Member Avatar for pankaj.garg
0
110
Member Avatar for Richy321

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

Member Avatar for vb5prgrmr
0
152
Member Avatar for cabsjonel

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 …

Member Avatar for phpbeginners
0
97
Member Avatar for JAVIER SOTELO
Member Avatar for phpbeginners
0
97
Member Avatar for marky-b

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

Member Avatar for marky-b
0
97
Member Avatar for jeffrey4u

See this thread... [url]http://www.vbforums.com/showthread.php?p=2131031[/url] Good Luck

Member Avatar for jeffrey4u
0
183
Member Avatar for suniljoseph
Member Avatar for vb5prgrmr
0
112
Member Avatar for sanmano

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 …

Member Avatar for vb5prgrmr
0
241
Member Avatar for raguapk

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 …

Member Avatar for debasisdas
0
139
Member Avatar for crackerjacker

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

Member Avatar for crackerjacker
0
120
Member Avatar for jagdish kasta

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

Member Avatar for vb5prgrmr
0
94
Member Avatar for ajay.malaotar

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 …

Member Avatar for vb5prgrmr
1
147
Member Avatar for cabsjonel

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

Member Avatar for abu taher
0
77
Member Avatar for Lida_pink

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 …

Member Avatar for abu taher
0
91
Member Avatar for ranjani_anu25

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 …

Member Avatar for vb5prgrmr
0
115
Member Avatar for alaa.chemical

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 …

Member Avatar for vb5prgrmr
0
113
Member Avatar for alaa.chemical

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 …

Member Avatar for vb5prgrmr
0
92
Member Avatar for VINOD_2553

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

Member Avatar for vb5prgrmr
0
105
Member Avatar for JohnKelly

Don't know as I have never tried but an API to look at for doing such a thing would be SetWindowPos... Good Luck

Member Avatar for ghimangi
0
145
Member Avatar for ivankenny

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 …

Member Avatar for vb5prgrmr
0
89
Member Avatar for stigmatized

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 …

Member Avatar for ithelp
0
72
Member Avatar for Shilparani

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 …

Member Avatar for ratheeshpranava
0
2K
Member Avatar for priscalyn

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 …

Member Avatar for abu taher
-1
96
Member Avatar for neosonic
Member Avatar for vb5prgrmr
0
121
Member Avatar for joe archer sr

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 …

Member Avatar for debasisdas
0
92
Member Avatar for Matt3144

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

Member Avatar for debasisdas
0
101
Member Avatar for Geek_Cyborg

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

Member Avatar for vb5prgrmr
0
53
Member Avatar for Nithya.S

Time to user your friends (yahoo, google, ask, answers, bing) and search for ADO tutorial... Good Luck

Member Avatar for vb5prgrmr
0
118
Member Avatar for saadsaidi

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 …

Member Avatar for vb5prgrmr
0
201
Member Avatar for johnGIS

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 …

Member Avatar for abu taher
0
93
Member Avatar for kavita patil

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

Member Avatar for vb5prgrmr
0
81
Member Avatar for Geek_Cyborg

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 …

Member Avatar for vb5prgrmr
0
105
Member Avatar for mcatest

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

Member Avatar for aka_amboy
0
162

The End.