1,130 Posted Topics

Member Avatar for skateatvu

skateatvu, I'm sure that none of us would have a problem helping you with your problems in programming and I'm sure that you will recieve more than one reply at your email address that you have posted. But, I'm also betting that not all those replies will be for offering …

Member Avatar for vb5prgrmr
0
103
Member Avatar for manoj.dani

Check with the manufacture to see if they have some sort of SDK, if not, time to use your friends (yahoo, google, ask, answers, bing) for a search on vb6 comm communications, or vb6 rs232, or other various other keywords. Good Luck

Member Avatar for vb5prgrmr
0
68
Member Avatar for amadarohan

Time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 hill cypher. I used yahoo and found a couple of hits and one of them was in pascal... Good Luck

Member Avatar for vb5prgrmr
0
36
Member Avatar for Geek_Cyborg

In VB6.0, to easily create an array of command buttons, or any control for that matter, place a command button on the form, name it, and set whatever other properties you want. Then select the command button on the form in the design environment and just like you would copy …

Member Avatar for Geek_Cyborg
0
2K
Member Avatar for bg_ac_dziner

If the textbox has focus then you are done. The key presses should be translated directly to the textbox. If however, the buttons (0-9) are what you are talking about then it should be something like... [code] Text1.Text = Text1.Text & Command1.Caption [/code] Good Luck

Member Avatar for vb5prgrmr
0
545
Member Avatar for Lida_pink

Use the Mod Function to determine if input number is odd or not. If not, add 1 to number. Use for loop from 1 to 15 and a variable that is incremented by two with each iteration of the loop. Take the value from the variable and concatinate into a …

Member Avatar for Lida_pink
0
1K
Member Avatar for benze

This is one of those times you should have used your friends (yahoo, google, ask, answers, bing)... [url]http://search.yahoo.com/search?p=vb6+rs232&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-701[/url] [url]http://www.google.com/search?q=vb6+rs232&rls=com.microsoft:*&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1[/url] Good Luck

Member Avatar for vb5prgrmr
0
92
Member Avatar for invincible35

You need the development environment for windows CE or mobile for VB6. Here is a getting started guide you can download and check out the related resources and what others are downloading. [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=81460842-47cc-4ff2-9a19-4db96e212d32&displaylang=en[/url] Good Luck in finding the CE toolkit for VB...

Member Avatar for vb5prgrmr
0
85
Member Avatar for Geek_Cyborg

You will need a for loop from zero (0) to listcount-1 to retireve the strings from the list box. THen you will need a for loop from 1 to len of the string returned, and in this loop you will need to use the Isnumeric Function to test each character …

Member Avatar for vb5prgrmr
0
96
Member Avatar for gian10890
Re: VB 6

So you want to have it seem like you are pressing ALT+Q+7??? Or just 7? If just 7 then KeyCode = vbKey7 Good Luck

Member Avatar for vb5prgrmr
0
108
Member Avatar for ravmonster88

Okay, if you want to see if a file or directory exists, you can use the Dir Function (see vb's help files for full description). So, what you would do, is something like... [code] Dim ForLoopCounter As Integer For ForLoopCounter = 0 To Combo1.ListCount - 1 If Dir(App.Path & "\Ordinance\" …

Member Avatar for vb5prgrmr
0
80
Member Avatar for Dazpenn

Yes, you have code something like this... [code] Dim F As New Form1 F.Show [/code] somewhere in your code. Find it, change it to Form1.Show. Should fix it. Good Luck

Member Avatar for Dazpenn
-1
89
Member Avatar for venkatnams
Member Avatar for Lida_pink
Member Avatar for cabsjonel

If you are using ADO (not Data1 or ADODC1) then see [url]http://www.connectionstrings.com[/url] for you ODBC DSN Less connection string that you would use to connect to anything from text files to oracle, progress, SQL, and so on. Good Luck

Member Avatar for abu taher
0
151
Member Avatar for Geek_Cyborg

Look at the split function and dynamic arrays. Also, see the val function and the join function... [code] Dim MyDynamicArray() As String MyDynamicArray = Split(Text1.Text, " ") MyDynamicArray(1) = CStr(Val(MyDynamicArray(1)) + 1) Text2.Text = Join(MyDynamicArray, " ") [/code] You also may want to look at IsNumeric to make your code …

Member Avatar for vb5prgrmr
0
90
Member Avatar for pankaj.garg

Some simple calculations... 20 * 60 = 1200 * 60 = 72000 * 24 = 1728000 * 365 = 630720000 / 1024 = 615937.5Kb / 1000 = 615.9375Mb / 1000 = .6159375Gb 25 * 60 = 1500 * 60 = 90000 * 24 = 2160000 * 365 = 788400000 / …

Member Avatar for pankaj.garg
0
126
Member Avatar for neosonic

Putting a picture into memory or into a picture box is quite easy with the LoadPicture function. Reading each pixel is also easy, if not slow, by using the point method, which returns a long value that you can then break up into the RGB triplet by using some simple …

Member Avatar for neosonic
0
100
Member Avatar for coollife
Member Avatar for cwiggins

Couple of ways but the easiest would be... [code] FileToOpen = Format(Now, "yyyymmdd") & ".txt" [/code] Good Luck

Member Avatar for vb5prgrmr
0
37
Member Avatar for gogo2010

Green = True Yellow = True Red = False Who knows? How can we tell from the code you have provided? Oops, what code! In all seriousness, how are we to tell from what you have provided. Is this actually an RS232 interface you are trying to communicate with? Or …

Member Avatar for hero_1036
0
83
Member Avatar for aditi123

Look on the CD as there are several examples but I believe you will have to use ADO for the CR... Good Luck

Member Avatar for vb5prgrmr
0
77
Member Avatar for NIWANUT

Is the image temporialy saved to a picture box? If so Picture1.Print "My String". Also, take a look at the currentx/y properties so you can adjust where your text gets printed. Good Luck

Member Avatar for vb5prgrmr
0
1K
Member Avatar for pranavdesai1900
Re: Help

Well there was a thread around here somewhere (at least I thought) that had a bunch of different ideas but since I cannot find it here, I found another here [url]http://www.dreamincode.net/forums/showtopic78802.htm[/url] Good Luck

Member Avatar for abu taher
0
88
Member Avatar for nupoychan
Member Avatar for pytup
Member Avatar for vb5prgrmr
0
86
Member Avatar for aparnesh

There are a couple of really neat projects over at PSC (Planet-Source-Code.com) that "Skin" forms and here is one on "odd shaped forms" [url]http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5448&lngWId=1[/url] [url]http://search.yahoo.com/search?n=10&ei=UTF-8&va_vt=any&vo_vt=any&ve_vt=any&vp_vt=any&vd=all&vf=all&vm=p&fl=0&fr=yfp-t-701&p=vb6+skin+forms&vs=http%3A%2F%2Fwww.planet-source-code.com[/url] Good Luck

Member Avatar for vb5prgrmr
0
219
Member Avatar for betty_vaness

Well, we are not here to do your homework and so this means you will have to read your book and the help files to find out this information. First hint, start a new standard exe project, press F1, and on the index tab, type in "data types". Hit enter, …

Member Avatar for vb5prgrmr
0
139
Member Avatar for foehner

So then you have right clicked on the setup.exe and chosen runas admin and still having this problem.... Two possible solutions for you, Inno or Windows Installer 1.1 Good Luck

Member Avatar for vb5prgrmr
0
77
Member Avatar for MWillis09
Member Avatar for pankaj.garg

Time to see your friends (yahoo, google, ask, answers, bing)... [url]http://search.yahoo.com/search?p=vb6+rs485&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-701[/url] Good Luck

Member Avatar for vb5prgrmr
0
131
Member Avatar for wild_angel

I don't see where you set the cr to the database... Ahh there it is at the bottom. Try putting it higher in your code... Good Luck

Member Avatar for vb5prgrmr
0
2K
Member Avatar for meeny

No have not heard of this but a possible remedy might be to download and install the redistributable service pack. This is version SP5... [url]http://www.microsoft.com/downloads/details.aspx?familyid=BF9A24F9-B5C5-48F4-8EDD-CDF2D29A79D5&displaylang=en[/url] not sure if there is a SP6 as I have not seen one but hey it is an idea... Good Luck

Member Avatar for meeny
0
91
Member Avatar for emerituspundit

AND please post in the correct forum as this is for the "classic" visual basic 4/5/6

Member Avatar for vb5prgrmr
0
104
Member Avatar for foehner

Switch over to the FREE Windows Installer 1.1 or use the FREE Inno setup installers. Good Luck

Member Avatar for vb5prgrmr
0
144
Member Avatar for kunju87

>use some third party control to display popup message. A form or msgbox would do... Good Luck

Member Avatar for vb5prgrmr
0
141
Member Avatar for Lida_pink

Actually, you don't need to declare a variable. You can use the tag property for something like this... [code] Option Explicit Private Sub Command1_Click() Text1.Tag = Text2.Text Text2.Text = Text1.Text Text1.Text = Text1.Tag End Sub [/code] Read up on it... Good Luck

Member Avatar for vb5prgrmr
0
146
Member Avatar for Geek_Cyborg
Member Avatar for tihomir

Yes, it sounds like an adforwardonly flag was set since you did not set them when you opened the rs. Good Luck

Member Avatar for tihomir
0
91
Member Avatar for PinoyDev

A couple of different ways... Hooking like this example... [url]http://vbnet.mvps.org/index.html?code/subclass/aspectratio.htm[/url] which you would have to modify to fit your needs or like this example [url]http://vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/VB6_Minimum_Form_Size_Demonstration.asp[/url] and I though there was an example around the web using the SetWindowRgn API but I can't seem to find it now... And finally you …

Member Avatar for PinoyDev
0
150
Member Avatar for Lida_pink

While, I would suggest using a menu with a key combination shortcut, the suggestion by SCBWV does work... Start a new standard exe project and add in this order, text box (text1), label (label1), text box (text2). Now set the caption of the label to &Focus. You should see [u]F[/u]ocus …

Member Avatar for Lida_pink
0
172
Member Avatar for supriya mysore

By using ADO, a select column from table statement, a do while not rs.eof, and of course combo1.additem rs.fields("fieldname") Good Luck

Member Avatar for debasisdas
0
113
Member Avatar for randomized999

By hook and crook! Also, you inner loop will be processed 100 times as will your outer loop for a total of 10,000 iterations or printings. Are you sure you want 10,000 printings? Good Luck

Member Avatar for vb5prgrmr
0
168
Member Avatar for Mac Mac Gregor

Close the rs and if you open the rs as read only your following code would generate an error. PS. Next time you are not creating a snippet but asking a question... Good Luck

Member Avatar for Mac Mac Gregor
0
290
Member Avatar for Geek_Cyborg

Use a for loop to run through from one to count or 0 to count-1 (I forget) and use text1.text= text1.text & ... & vbnewline Good Luck

Member Avatar for vb5prgrmr
0
92
Member Avatar for venkatnams

That should be either 3.51 or 3.6. Try removing the 3.51, add the 3.6 (DAO) hit ok. Now go back and use the uparrow to make 3.6 the fifth entry... [code] Dim Db As DAO.Database Set Db = DBEngine.OpenDatabase("PathFileNameOfDatabaseToOpen") [/code] Good Luck

Member Avatar for vb5prgrmr
0
107
Member Avatar for danicam

Thanks for uploading your code but there seems to be a problem. Windows reports that it is unable to open the zip file because it is an invalid zip file. I looked at the header and it seems like it is okay (pkzip?) but I'm going from memory and could …

Member Avatar for vb5prgrmr
0
68
Member Avatar for bhaskaram

Please see... [url]http://www.vb6.us/tutorials/using-crystal-reports-vb6-tutorial[/url] Good Luck

Member Avatar for bhaskaram
0
78
Member Avatar for venkatnams

[code] Private Sub Command1_Click() 'use common dialog control to allow user the select an image file With Dlgs .Filter = "(*.bmp;*.jpg;*.gif;*.dat;*.pcx)| " & _ "*.bmp;*.jpg;*.gif;*.dat;*.pcx|(*.psd)|*.psd|(*.All " & _ "files)|*.*" .ShowOpen If .FileName = "" Then Exit Sub FN = .FileTitle 'Open File And Read as Binary (open the file selected …

Member Avatar for vb5prgrmr
0
114
Member Avatar for novicevbp

Place a breakpoint at the line and hover the mouse over the variable. Do you see if you actually have a full path and file name in the variable? Or goto the immediate window and type in ?gf_strDbPath and hit enter. Does the variable contain a fully qualified path and …

Member Avatar for vb5prgrmr
0
111

The End.