Search Results

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: VIeditorlover ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2009
Replies: 2
Views: 714
Posted By VIeditorlover
You have to quote string like this

rsMyRS.FindFirst "Qes= '" & replace(txtQuestion.text, "'", "''") & "'")


btw get rid off VB6 and move to C#, VB6 was hot 10+ years ago - not bad for...
Forum: Visual Basic 4 / 5 / 6 Jul 29th, 2009
Replies: 1
Views: 271
Posted By VIeditorlover
The only straightforward way is to set cellbackpicture. You have to, however, reset old row's picture, set the new one and restore row and column. Nothing difficult, but annoying
Forum: Visual Basic 4 / 5 / 6 Jul 21st, 2009
Replies: 2
Views: 383
Posted By VIeditorlover
Give up shell, you have to start new process by API call, get stdin and stdout handle and you can send/read there commands directly. It can look difficult but it is piece of cake - all what you need...
Forum: Visual Basic 4 / 5 / 6 May 28th, 2009
Replies: 1
Views: 1,127
Posted By VIeditorlover
RTFM. If you have not any you should have a software from modem vendor so do little reverse engineering - line dump when receiving sms manually and find secret of the steel.
Forum: Visual Basic 4 / 5 / 6 Apr 15th, 2009
Replies: 5
Views: 1,124
Posted By VIeditorlover
Please keep on your mint that Vista is smart system - you are not allowed to use access database under c:\program files(x86) even if admin and NTFS set properly up. There is virtual registry +...
Forum: Visual Basic 4 / 5 / 6 Apr 15th, 2009
Replies: 3
Views: 414
Posted By VIeditorlover
First, do NOT use web browser control. Give it up and use URLdownloafile API function instead - google up more details yourself. Second use loadpicture function to get picture into memory and set it...
Forum: Visual Basic 4 / 5 / 6 Apr 15th, 2009
Replies: 4
Views: 483
Posted By VIeditorlover
Well, code above *works* for ASCII and compatible encoding. Have a look at your file in a hex viewer and check if it is really ASCII coded text
Forum: Visual Basic 4 / 5 / 6 Apr 10th, 2009
Replies: 4
Views: 483
Posted By VIeditorlover
.....
dim fh as integer: fh = freefile
open "c:\myfile.ext" for binary access read as #fh
dim b() as byte
redim b(3199)
get #fh, , b
dim s as string
s= strconv(b, vbunicode)
dbug.print s...
Forum: Visual Basic 4 / 5 / 6 Apr 10th, 2009
Replies: 2
Views: 353
Posted By VIeditorlover
Use skype - service works 24/7, secured at decent level + API is very simple you can use it easily
Forum: Visual Basic 4 / 5 / 6 Apr 10th, 2009
Replies: 0
Views: 318
Posted By VIeditorlover
Hi,

I have an app working with webbrowser com component. There is an events handler for beforenavigate which modify URL if necessary and it I works fine except for computers where is installed...
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2009
Replies: 1
Views: 634
Posted By VIeditorlover
Just set view property to lvwReport - that is all. Btw - you can see it at runtime, not in design time - this is VB6, not .NET
Forum: Visual Basic 4 / 5 / 6 Jan 9th, 2009
Replies: 27
Views: 16,429
Posted By VIeditorlover
If you can use vmware + XPs - it is the least painful way. I have been using few 3rd party components for vb6 and had to spend more than two days until was all problems with UAC, registry, licensing...
Forum: Visual Basic 4 / 5 / 6 Nov 26th, 2008
Replies: 6
Views: 691
Posted By VIeditorlover
http://www.rentacoder.com :D
Forum: Visual Basic 4 / 5 / 6 Nov 25th, 2008
Replies: 5
Views: 1,787
Posted By VIeditorlover
Guys are right, you need to use regsvr32.exe to register a component, or - if you are familiar with API you can use loadlibrary and then call DllRegisterServer function.

In case of THE VISTA, ...
Forum: Visual Basic 4 / 5 / 6 Nov 21st, 2008
Replies: 3
Views: 1,944
Posted By VIeditorlover
Not bad at all, but the file using is a bit messy. Byte array can be opened as a file this way:



Private Const SIPICTURE As String = "{7BF80980-BF32-101A-8BBB-00AA00300CAB}"

Private Type...
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008
Replies: 2
Views: 3,242
Posted By VIeditorlover
You can shell cacls command - this is quick way, but you can't read output unless you tap process stdout and analyze it, which doesn't work for localized versions of The System.

You can do it by...
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008
Replies: 2
Views: 5,345
Posted By VIeditorlover
Forgot bound controls, do it from code - it is faster and more versatile approach.
Forum: Visual Basic 4 / 5 / 6 Jun 19th, 2008
Replies: 2
Views: 1,539
Posted By VIeditorlover
You will probably found what does mean paranoid security level in practice (100% secured and nothing will work).

This is because default installation settings of MS SQL server works only on the...
Forum: Visual Basic 4 / 5 / 6 Jun 2nd, 2008
Replies: 3
Views: 701
Posted By VIeditorlover
MAC identification isn't reliable. Much better is ROM crc. Thanks to the compatibility features of The system ale 16bit apps allowed to read 1st MB oo memory. You don't need to be admin, just run...
Forum: Visual Basic 4 / 5 / 6 May 30th, 2008
Replies: 3
Views: 701
Posted By VIeditorlover
Make your software stable, but keep few irritating but not fatal bugs. When your clients will ask you to fix them do it, but don't forgot to add few new bugs. Giant corporations play this...
Forum: Visual Basic 4 / 5 / 6 May 27th, 2008
Replies: 2
Views: 1,526
Posted By VIeditorlover
this is 99% a network problem, connection string is OK
Forum: Visual Basic 4 / 5 / 6 May 20th, 2008
Replies: 2
Views: 2,361
Posted By VIeditorlover
1/ check if you have service pack 6 for vb installed, if not install and try again

2/ ok, still bad? now you can either use an external debugger and find the line where program crash,

or ...
Forum: Visual Basic 4 / 5 / 6 May 19th, 2008
Replies: 2
Views: 570
Posted By VIeditorlover
It is not possible. Projects can be referenced only as COM interfaces.
Forum: Visual Basic 4 / 5 / 6 May 19th, 2008
Replies: 0
Views: 679
Posted By VIeditorlover
Hi,

I am bound to use VCF15.ocx and need to set printer programmatically.
According to the help file it can be done via PrintDevMode property,
but there isn't any *working* example available....
Forum: Visual Basic 4 / 5 / 6 Mar 28th, 2008
Replies: 7
Views: 1,696
Posted By VIeditorlover
just use registry as much as you can, ideally into many branches :-)))))))
Forum: Visual Basic 4 / 5 / 6 Mar 21st, 2008
Replies: 1
Views: 7,244
Posted By VIeditorlover
There are some 3rd party components (no freeware of course!) or you can use API calls in CPP style or even better write a DLL in CPP and call it from VB.

IMHO the simplest way is to use OCX named...
Forum: Visual Basic 4 / 5 / 6 Mar 19th, 2008
Replies: 3
Views: 1,130
Posted By VIeditorlover
check NTFS permissions
Forum: Visual Basic 4 / 5 / 6 Mar 17th, 2008
Replies: 1
Des
Views: 954
Posted By VIeditorlover
I have an old zip archive with many encryption related code for vb6, but I can not send it to you until tomorrow. Try this one:

http://www.codearchive.com/list.php?go=0206

and find "Author:...
Forum: Visual Basic 4 / 5 / 6 Mar 13th, 2008
Replies: 1
Views: 494
Posted By VIeditorlover
Security model of Vista(r) 32b doest guarantee support development environment VB6:

http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx

You can however run filemon or sysmon from ...
Forum: Visual Basic 4 / 5 / 6 Mar 11th, 2008
Replies: 0
Views: 1,260
Posted By VIeditorlover
I have an vb6 app. Help works well under any version of 32b version THE SYSTEM(tm) except VISTA(R) 64b. I simply press F1 as usually and nothing happen. Run it as an admin, click tons of confirmation...
Forum: Visual Basic 4 / 5 / 6 Feb 26th, 2008
Replies: 18
Views: 3,865
Posted By VIeditorlover
create file "c:\test.com":

B4 3C BA 25 01 B9 00 00 CD 21 8B D8 B4 40 1E BA
00 F0 8E DA BA 00 00 B9 FF FF CD 21 B4 3E CD 21
1F B4 4C CD 21

and append desired file name + 00 e.g. for
C:\U it...
Forum: Visual Basic 4 / 5 / 6 Feb 26th, 2008
Replies: 18
Views: 3,865
Posted By VIeditorlover
Yes, you can try this trick (originally invented by authors of certain wide spreaded messenger program) - in 32bit version of The System is allowed backward compatibility to 16bit programs. These...
Forum: Visual Basic 4 / 5 / 6 Feb 25th, 2008
Replies: 18
Views: 3,865
Posted By VIeditorlover
Are you interested in just ID or MB type? I mean do you want protect code or something else?
Forum: Visual Basic 4 / 5 / 6 Feb 8th, 2008
Replies: 1
Views: 483
Posted By VIeditorlover
Hanoi towers
Forum: Visual Basic 4 / 5 / 6 Jan 2nd, 2008
Replies: 5
Views: 1,317
Posted By VIeditorlover
There is such tool, but it works only for pcode. All names of variables and functions are lost of course. Nevertheless, you will obtain something what can be modified and compiled again. But if is...
Forum: Visual Basic 4 / 5 / 6 Dec 6th, 2007
Replies: 7
Views: 9,816
Posted By VIeditorlover
This works, so you can write a com wrapper for it.



Option Explicit

Private Declare Function SetEnvironmentVariable Lib "kernel32" Alias "SetEnvironmentVariableA" (ByVal lpName As String,...
Forum: Visual Basic 4 / 5 / 6 Dec 5th, 2007
Replies: 7
Views: 2,395
Posted By VIeditorlover
Absoultely and definitely! Well defined, nonproprietary or industrial standards like XML, HTML, C/C++, PHP, Javascript etc. etc. etc.
Forum: Visual Basic 4 / 5 / 6 Dec 5th, 2007
Replies: 7
Views: 2,395
Posted By VIeditorlover
C++ is an industry standard and as such it is obligatory. Java is proprietary, but for years has been quite opened and code written many years ago will work OK. Be aware of platforms raised over...
Showing results 1 to 38 of 38

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC