comp.lang.basic.visual.misc
http://groups-beta.google.com/group/comp.lang.basic.visual.misc

Today's most active topics:

* Protecting an application with a License Key - 14 new
  
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/8bad82e5dd7d1bfd

* Convert VB code to C code. - 13 new
  
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a12d4a4f10e5ab75

* Recurse controls in a form - 12 new
  
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ac823338e23c0eac

* VB6 and ADO - 11 new
  
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/78affaf48759c70

* mod - 11 new
  
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/833ec7a54422abca

 
Active Topics
=============

preventing right click in common dialog - 2 new
----------------------------------
I there a way? Only a clue? SK ... -   Mon,  Nov 8 2004 12:29 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fc9fda3cb12bca3

SB_THUMBTRACK IS NOT RESPONDING - all new
----------------------------------
... ... You also seem to be having a problem with your Caps Lock key. Mike .
.. -   Mon,  Nov 8 2004 2:09 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c51b45997ec056e6

Type mismatch error. - 5 new
----------------------------------
Hi, I copied this code form a test project I did some time ago and I'm sure (
i could be wrong) that it worked. I've updated my computer since but that 
shouldn't really make any difference. I'm calling this code from a form Dim 
result() result = DBReadALL("Data", "Cat") If result(0) = "Error" Then MsgBox
"Error Reading Database", vbCritical Exit Sub End If and the module is this 
Function DBReadALL(dbName As String, tableName As String) As Variant On Error 
GoTo err 'connect to db and open relevant table Dim Database As String... -   
Mon,  Nov 8 2004 2:23 am
5 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/dfe4f14d56790c6a

Just some code - 2 new
----------------------------------
Thank you very nmuch, but it still doesn't work out. I tried several things. 
Look at the following code: <HTML> <HEAD> <SCRIPT LANGUAGE=VBScript> Option 
Explicit Function OpenExplorer1(tst) Set Sh = CreateObject("WScript.
Shell") Sh.Run "C:\Windows" End Function Function OpenExplorer2(tst) 
Set Shl = CreateObject("Shell.Application") Shl.Explore "C:\Windows"End 
Function Function OpenDoc(strLocation) Dim objWord Set objWord = 
CreateObject("Word.Application") objWord.Visible = true objWord.
Documents.Open strLocation... -   Mon,  Nov 8 2004 2:56 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1457b0dd405153e0

Making a Sub call based on a Data Member - 5 new
----------------------------------
... Using CallByName, you can call a Sub, Function, Property Let or Property 
Get by name. For a Sub, use something like: CallByName Me, "MySubsName", 
VbMethod, parm1, parm2 HTH ... -   Mon,  Nov 8 2004 3:25 am
5 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/81dd59b1b1fb96e0

Browse for folder - 4 new
----------------------------------
Searched the web and I only found examples, in which the browse for folder 
appears outside (over the form) in which you use it an with extra margin with 
extra text. I would like to make a dropdown combo with browse for folder. Is 
this posible? Could you post some sample code or links to relevant sites? SK .
.. -   Mon,  Nov 8 2004 4:40 am
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fdb36d03e271a053

sequential files - all new
----------------------------------
... Thanks for the advice, I did end up using freefile and ended up splitting 
the string into an array and filling the textboxes that way,,, not too painful.
.. ... -   Mon,  Nov 8 2004 6:40 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/744e7d354e4a0472

Finding Workstation NTID's - all new
----------------------------------
Hello - I have already developed a database that can identify the workstation 
ID of users logged into a specific database. I would additionally like to 
know the workstation users NTID (login name). How is this possible, if at all?
 Thanks in advance, David ... -   Mon,  Nov 8 2004 8:01 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/232b936d02d2098

PrinterProperties - 9 new
----------------------------------
My VB6 application calls the function PrinterProperties when the user hits a 
suitable button. My call is: OpenPrinter psel.text, ppp, 0& 
PrinterProperties hwnd, ppp and so it worked for a long time. But now I see 
that under WinXP, the printer properites dialogue comes only with a subset of
its tabs. For example, when selecting the Canon BJC-6200, it shows only the 
maintenance dialogue, but no printer quality settings. Is there any 
workaround? ... -   Mon,  Nov 8 2004 8:09 am
9 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1aeac237c0648484

SQL with ADO - all new
----------------------------------
... end with ... ... ... -   Mon,  Nov 8 2004 10:34 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5a5ec9abf04739ce

pop3 download message problem - all new
----------------------------------
I am having some problems in programming a pop3 client program to download the
messages to the hard drive, client can connect and will give you a list of 
the email messages on the server but i cannot seem to save them to a folder on
the hardrive. I have searched the net looking for info on the subject but 
alas have not found anything to help me. Any help anyone can give me would be 
greatly appreciated. Thanks in advance Bruce [EMAIL PROTECTED] ... -   
Mon,  Nov 8 2004 11:04 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2e057adced9e1fd9

Edit Menu - all new
----------------------------------
Big Big Thanks to you. The solution you give (with MAXBUFFER) is one of those
I though today. I think I will define a collection of a personal structure 
wich will record the actions in my controls, and remember their state before 
the user action. Doing that, I will be able to undo any change on the form, 
even checks on checkboxes and so on... You confirm that my idea is a good one :
-) Thank you ! "Frank Adam"  a écrit dans le message de news:dv4uo05
[EMAIL PROTECTED] -   Mon,  Nov 8 2004 11:58 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/8393e8cf073b45ac

Dependncy problem.... - 2 new
----------------------------------
Hi all, I would really like the help for this problem, please!!! In my XL 
macro, I am referncing another XL file to get some macros from it. The problem
is that one of these macros closes the XL file that contains it. I could not 
modify this macro to prevent it from doing that. The problem is that I am 
getting an error which says that the file could not be closed because it is 
being by other files (which is my macro). How can I solve this issue!? How 
can I call a macro from another file, which closes the XL file that contains 
it... -   Mon,  Nov 8 2004 1:49 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c618953c0d5ecee7

Position in currently playing MP3 file - 3 new
----------------------------------
Is it possible to store the current position of an mp3 as it plays and later 
replay from that position? ... -   Mon,  Nov 8 2004 2:32 pm
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f954024dc4c17095

Math Library - 3 new
----------------------------------
Any know of a math library for doing faster math on arrays of data? I have 
arrays of data having types of long and double. I want a faster way to 
process that data. At present I am considering writing a C DLL to do it. I 
would like to use SSE2 if possible but I don't know it that well. Any 
libraries available? Thanks! Matthew Hanna ... -   Mon,  Nov 8 2004 2:51 pm
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d62ebb91b3b3b8eb

Protecting an application with a License Key - 14 new
----------------------------------
Given that there is no security that cannot be broken.... can anyone recommend
a simple effective method of protecting an application. The main objective of
which is to ensure that users need to register it, and if at all possible, 
also pay for it. I have looked at using things like 'MAC address' and 'hard 
drive serial nunbers' but I need to find something better. Are there any 
reasonable solutions available? Thanks CharlesW ... -   Mon,  Nov 8 
2004 3:31 pm
14 messages, 8 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/8bad82e5dd7d1bfd

Overflow Error - all new
----------------------------------
You are right. I used a FOR loop to read the file contents. The loop control 
variable was type Integer. I changed it to Long & the problem went away. 
Thanks for your help. ... -   Mon,  Nov 8 2004 4:27 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/61735bc222a1ecd4

Recurse controls in a form - 12 new
----------------------------------
Hello, Does someone have somewhere on its hard disk a little sub that can 
recursively parse all the controls in a form. I need this to call, for EACH 
control in the form, a sub that will make some work on it regarding to its 
name. The only one I found on the net is like : sub main() parse (Form1.
controls) end sub sub parse (ctl as controlcollection) for each ctl as 
control in theForm.Controls ... end sub But this doesn't work. On the first 
control (a Tab Control), it crashes... Invalid cast. ... -   Mon,  Nov 8 
2004 4:37 pm
12 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ac823338e23c0eac

Change comma to dot and vise virsa - 2 new
----------------------------------
On Sun, 7 Nov 2004 13:46:18 -0800, "Steve Gerrard" ... <snip> ... Fortunately
I've had to write very few Locale Switchable systems, but I firmly believe 
that one should make the App itself configurable, so that one can run an App 
using whichever decimal and date configuration the user selects, regardless of
the Locale of the machine. For a start, it makes testing much easier I don't
particularly object to Locale aware Apps, but I do object to it being built 
into the language, especially when its implementation... -   Mon,  Nov 8 
2004 11:48 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e79d0c816c2d91fa

Disconnected dataset - What could be wrong!? - all new
----------------------------------
... I couldn't get your VB6 code to work, so I gave up on the "translation" to
an ASP version. It just so happens that I've spent the last week writing 
similar stuff, ie VB6 code talking to ASP code via TCP/IP using XMLHTTP, ADO 
recordsets, Streams, etc. I don't know why you're using Streams, when a 
disconnected recordset can Open and Save to an XML file quite happily, all on 
its own. What are you really trying to achieve? ... -   Tues,  Nov 9 
2004 4:20 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3888597045dfa322

Convert VB code to C code. - 13 new
----------------------------------
... _Null_ character, please. Case is important. NULL is a macro expanding to 
a null pointer constant, not a character. (void *)0 is hardly a good string 
terminator, let alone '(void *)0'. Richard ... -   Tues,  Nov 9 2004 5:54 
am
13 messages, 10 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a12d4a4f10e5ab75

Can I resize my form - newbie question - 3 new
----------------------------------
 I have just started learning VB6. I have made a form which has lots of 
command buttons, text boxes, scroll bars etc etc on it. Unfortunatley when I 
run the form the window is now too large for my screen (1280 x 1024). ie I 
loose the bottom 15% of my window. (I display my window maximised). Is there 
a way to automatically force the form to display such that everything is 
scaled so that it just fills the screen and no more. Or do I have to go back 
to make everything on the form smaller manually? thank for any pointers/help..
.. -   Tues,  Nov 9 2004 5:14 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/236329e9e3155019

Win NT4 Workstation - unable to load control - 9 new
----------------------------------
Hi all, I've got an app that uses a user control within the EXE project. 
Most users are fine Win 98, XP, 2000 etc but am having problems with a NT4 
workstation. It comes back with an error stating 'unable to load control' 
Does anyone know what to do? I've tried reinstalling etc but nothing works. 
The user control uses the following: Private Declare Function 
InternetGetConnectedState Lib "wininet" (lpdwFlags As Long, ByVal dwReserved 
As Long) As Boolean If that's of any help. Cheers David ... -   Tues,  
Nov 9 2004 9:04 am
9 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/253297d7b465d57d

VB6 & ADO - 2 new
----------------------------------
Below is code for opening a new ADO connection. How do I rewrite the db.Open
code to db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=App.Path & "/hr5.
mdb"" such that it works? I don't know the directory where the hr5.mdb will 
be stored. So I want to use the App.path command. The above won't work. Dim
db As Connection Set db = New Connection db.CursorLocation = adUseClient 
db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\
Microsoft Visual Studio\VB6\Puddles Files\Humpy\Version2.45\hr5.mdb;"... -   
Tues,  Nov 9 2004 11:04 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d638b238f92dc09a

Win NT4 Workstation - 2 new
----------------------------------
When running vb5-6 on NT4. Service Pack 5 must be installed. But I dont know, 
if this cure your problem. ... -   Tues,  Nov 9 2004 11:18 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ef7f2bee21075e9

Connection String - 2 new
----------------------------------
Have you ever had this problem where a connection string will work in the 
ADODC component but not in a ADODB.Connection ?? for example the following 
string : Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=
False;Initial Catalog=DNO0ENT1;Data Source=fdsddev2\dev2_informa will work 
perfectly in a adodc component but in the same application if used this way : 
ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist 
Security Info=False;Initial Catalog=DNO0ENT1;Data Source=fdsddev2\dev2_
informa"... -   Tues,  Nov 9 2004 12:06 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5c507e941f9bb640

XP SP2 problem - all new
----------------------------------
The user control was designed by me to allow multiple system tray icons 
utilising a user controls indexing and events to control callback messages. 
This allows icons to be added at run-time. Obviously, this uses a module to 
recieve callback messages and pass them on to the appropriate instance of the
user control that has the icon. I have since converted the user control to a 
class module which has eliminated the problem. But I would like to know what 
happened to the user control. The control was nicer to work with. I ... -   
Tues,  Nov 9 2004 1:23 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9875c20b431b0c1c

WMP10 play simultaneous - 2 new
----------------------------------
Hello I have for a time used wmp 6.4 ocx in my vb6 music project. I now want 
to upgrade to wmp10, but met a problem. I want to play two mp3 files 
simultaneously (fadeout/fadein) but it won't work. Player 2 seems to hang 
when player1 plays. This was not a problem when using wmp 6.4... Can anybody 
help me out here? Thanks in advance! mvh Bjørnar Nilsen ... -   Tues,  
Nov 9 2004 2:18 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7d99dc763ac2a7d9

How read status line of shell prg - 2 new
----------------------------------
Hi, Opening an application through shell command. The program has a status 
line(bar) like in Excel. Q: Ist it possible to read the status line(bar) of 
this shell command like you can read the window name of that program? s ..
. -   Tues,  Nov 9 2004 2:20 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d84a7c729fda16a8

Remove endOfStr marker? - 10 new
----------------------------------
I am not very good at VB but I have a WIN32_FIND_DATA structure wherefrom I 
try to print the cFilename part like this. msgBox(myfileInfo.cFilename & "More
text") cFilename is of type String * 260 This only prints the actuall 
filename, not 260 characters nore the "More text" part so I assume that there
is some kind of "end of string" character embeded in the cFilename. len(
myfileInfo.cFilename) returns 260 Is there a function I could use to just 
copy the characters up until the end of string marker? Or is there another 
way... -   Tues,  Nov 9 2004 3:25 pm
10 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/672103b45d0fc95d

VB6 and ADO - 11 new
----------------------------------
I have a VB6 project using the ADO. The Connection String wants an exact 
location for the database. I don't know which directory the user may install 
the software. Below are the Name, ConnectionString, and RecordSource for the 
ADO from the Properties Table. How do I write the code such that the ADO will
work with the DB in the directory as the executable? At the bottom is what I 
tried and it bombed. Could someone why it won't work? I want to put the code
in Form Load. Name datPrimaryRS The connection string is... -   Tues,  
Nov 9 2004 4:14 pm
11 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/78affaf48759c70

Multithreading + ADO - 5 new
----------------------------------
Multithreading + ADO does anybody know if it works? any example.. because my 
thread doesn't work :( ... -   Tues,  Nov 9 2004 4:37 pm
5 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1bb7575b7c52841c

Barcodes and Scanners - all new
----------------------------------
... Randy, No, Zip, Nada! Needed no Winsock (Thank you, Lord). The icc 
comes with configuration software and you assign an available port. IP addies 
not necessary. Then assign port to MsComm control and wala! You in business! 
Thank you, one and all for all the great input. Dave Programmer and barcode 
guy now! ... -   Tues,  Nov 9 2004 8:21 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/67ee21fd279da841

GPIB Card operation using VB6 - 3 new
----------------------------------
 ... Thanks Mike, I'll chase some of that up. I am almost certain it is an NI 
card. Steve ... -   Wed,  Nov 10 2004 1:48 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f3ec86f7329d4a5

Asynchronous Calls to a DCOM object in VB6 - all new
----------------------------------
Does anyone have a simple set of code for making an asynchronous call in VB6 
to a COM object. Is this doable? What I would like to accomplish is to take 
a long running job on a single machine and parce it out to 4 or 5 machines. 
Thanks for your help. Craig ... -   Wed,  Nov 10 2004 10:00 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4cceb60f1f9604f6

A Question - 4 new
----------------------------------
I have a string variable that will hold a path and a filename. I want to trim
out all but the filename and extension. I am pretty sure you can do this via 
amid or something like that. Look for the last occurrence of the "\" and then
pull all that is left to be the filename. But I am drawing a blank on how to 
code such. Please help strTempFilename = ????? ... -   Wed,  Nov 10 
2004 2:20 pm
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5332aeb9d773a45

Registry Keys - 2 new
----------------------------------
Hi, how can i make registry keys / string-keys and DWORD keys in the system 
registry? I need to add my programm on the Services list, so i had to change 
come regs. Thanks, bye ... -   Wed,  Nov 10 2004 3:07 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c6773814f96e3fb

Icons for data files - all new
----------------------------------
 ... ... You are typically going to create the keys once, for one file type. 
Word registers the .doc file type. Excel registers the .xls file type. You 
register the (fill in the blank) file type. Therefore, you can do it in your 
program's start up code, either Sub Main or the Load event of the main form. 
It won't hurt to reset it everytime the program runs. ... You need to use the
Resource Editor. Go to the Add Ins menu, Add Ins Manager command. Find the 
Resource Editor in the list of possible add ins, and select it. Check the "
Loaded" check... -   Wed,  Nov 10 2004 9:52 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c441bb25fcedf48a

terminating process - 3 new
----------------------------------
 Hello everybody! I am having problems with terminating process. Postmessage 
does not terminate the process (my application) on local computer. What am I 
doing wrong. The code is attached: Const WM_QUIT = &H12 Private Declare 
Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, 
ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long 
Private Sub Command1_Click() ListProcess End Sub Sub ListProcess() List1.
Clear Dim objWMIService, colProcesses, objProcess Set objWMIService = 
GetObject("winmgmts:")... -   Wed,  Nov 10 2004 11:29 pm
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e038759efccc47e0

mod - 11 new
----------------------------------
Say I have a deck of 52 cards. I get rank by ..rank = cardno mod 13 + 2 This 
gives rank from 2 to 14 ie 2 to Ace. Next I get suit by ...suit = cardno mod 
4 This gives suits 0,1,2,3 ie spades,clubs,diamonds,hearts So now the card is 
fully defined from the cardno. How can I reverse this with a general formula?
Say Jack of Diamonds ie rank =11: suit = 3 And we need to convert this back to
a cardno? Is there a formula that will stand up for all reversals? TIA Mick .
.. -   Thurs,  Nov 11 2004 2:52 am
11 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/833ec7a54422abca

SQL-server and DAO (dont laugh!) - 2 new
----------------------------------
Hello, Is it possible to edit data from a connected SQL-server using DAO? I 
can create snapshot recordsets, even perform action queries. But every time 
I try to edit/update a recordset, it tells me the database is readonly. I 
tried to work in the SQL-Server directly and via linked tables. Result is the
same. But I can edit the data in the linked tabled using Access. I know that 
DAO is outdated, and maybe I should use ADO instead, but I prefer DAO. Any 
help will be appreciated very much! Arjen Koster ... -   Thurs,  Nov 11 
2004 6:27 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fcd421f13614bed7

Read DLL Version - 2 new
----------------------------------
... Take a look at: Public Declare Function GetFileVersionInfo _ Lib "version.
dll" Alias "GetFileVersionInfoA" ( _ ByVal lptstrFilename As String, _ 
ByVal dwHandle As Long, _ ByVal dwLen As Long, _ lpData As Any _ ) As 
Long Public Declare Function GetFileVersionInfoSize _ Lib "version.dll" Alias
"GetFileVersionInfoSizeA" ( _ ByVal lptstrFilename As String, _ 
lpdwHandle As Long _ ) As Long and how to use them at http://www.mentalis.org/
apilist/g.shtml ... -   Thurs,  Nov 11 2004 3:16 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/cc03ec38f627a706

Applicazionei Client Server vb6 - 2 new
----------------------------------
In message , Francesco  writes ... From Babelfish ... buttons that launch me
of the proigrammi separates to you, and that these do not return to the menu'
before to have been finishes to you! Solution exists... ... Regards... -   
Thurs,  Nov 11 2004 3:45 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6c42a5dc9518fc18

OT:::: Sorry for the rant(s) - 5 new
----------------------------------
Hi all, Well, I have a new super whizz bang computer... And I'm getting the 
feeling I screwed up...LOL Winders 2000 is the OS... I need some help from 
those who know... YOU ALL... :=) First off... I have been trying, without luck,
 in turning off the little sir echo that keeps popping up telling me I need 
this and that update... I was able to kill, partially I think, windows update 
but I still get that dang nag screen... grrrrr... I have tried to down load 
and install some programs but it wouldn't happen... ie: MS Messenger for one...
... -   Thurs,  Nov 11 2004 6:09 pm
5 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/684f34d2cfae5848

Interfacing Visual Basic with C DLL - all new
----------------------------------
... You're being passed a pointer to a copy of the original variable, one in 
which the string characters have been converted to Ansi. On return, the 
original will be updated with any changes you make to the copy. Try the same 
thing with purely numeric variables and you'll see no change in address. Tip:
byte arrays are numeric... ... -   Fri,  Nov 12 2004 3:47 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f1ef81117424f383

VB6 & MSChart1 - 10 new
----------------------------------
I have a VB6 project which uses the MSChart extensively. At one moment I draw
a graph with one line, the next moment a two line graph, and sometimes a 3 
line graph. I want the 3rd line to be drawn on the secondary Y Axis (Y2). 
Will the code below work? Dim serX As Series For Each serX In MSChart1.Plot.
SeriesCollection If serX.Position.Order < 3 Then ... serX.GuideLinePen.
Style = VtPenStyleSolid serX.Pen.Style = VtPenStyleSolid Next serX ... -  
Fri,  Nov 12 2004 10:09 am
10 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/8793b697c9457835

referencing fields in usertype array - 4 new
----------------------------------
Hello, I am trying to address a user defined field in my array. I do not know
how to reference that field. I defined a UserType type MyType Field_One 
as string Field_Two as string Field_Three as string end type I then 
defined an array: Dim SuperArr (1 to 100) as MyType Now I want a sorting 
routing, where I can define how the Array is sorted by, e.g. by Field_Two 
Call Sort("Field_Two") Sub Sort(FieldName) Dim MyArray(1 to 100) as 
String, z& for z = 1 to 100 -> myArray(z) = superarr(z).what?... -
  Fri,  Nov 12 2004 12:37 pm
4 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/191f0f3712cb0f5f

MS Word Macro: Find and replace (regex and symbol) - all new
----------------------------------
Hi All, I hope this is appropriate to this group. Objective: To write a VB 
macro in word to replace a regular expression with part of the origional and 
replace one character with a symbol. e.g. To replace "1c", "2c", "3c" ... "7c
" with "1<Club Symbol>", "2<Club Symbol>" and so on. After doing a search, 
I've found the following code (which may be the route to take to solve this) 
If nothing else, you may have a laugh at the my VB. Thanks, James. Sub 
ReplaceSymbols() 'Call the main "ReplaceAllSymbols" macro (below),... -   
Thurs,  Nov 11 2004 7:02 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/b689548cc1f80b66

update program - best method - 4 new
----------------------------------
Hi: I need help with a simple problem. I want to have a menu item (Help - 
Update) that when selected will update my program on the users machine (over 
the net) such that a new menu item is added (e.g. Tools - New Tool). How do 
I do that? thanks, russ ... -   Fri,  Nov 12 2004 1:09 pm
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/913e996a4b874197

Richtextbox and undo feature - 6 new
----------------------------------
Hi, Do you know that TextBoxes and RichTextBoxes have an Undo Method ? Yes, 
but it is disabled by default on RichtextBoxes (CanUndo always return false). 
I found the following code on the net to activate it. But it is said to be in 
C# Can someone knows how to convert it to Visual Basic .Net ? IN FORM_LOAD : .
.. '// required to 'reveal' multiple undo '// set rich text box style lStyle =
TM_RICHTEXT Or TM_MULTILEVELUNDO Or TM_MULTICODEPAGE SendMessageLong rtfText.
hwnd, EM_SETTEXTMODE, lStyle, 0 IN A MODULE : ...... -   Fri,  Nov 12 2004
5:35 pm
6 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5bd908a1f9b2d7c5

Speed - 5 new
----------------------------------
Hi all, I am writing some routines to play with stock market data. What is 
available to me at the moment is VB 3.0. It is abysmally slow when it comes 
to number crunching large arrays of data with nested do loops. I am not 
interested in fancy screen output. Is each successive version of VB faster 
than the previous version? If so, how much, considering number crunching 
only? Would I be better off with another program entirely? I have 
programmed in Fortran, Pascal( just a little), Microsoft Quick Basic ... -   
Fri,  Nov 12 2004 8:12 pm
5 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/373624910a988c7b

File Association Registry Settings - 2 new
----------------------------------
Hello all :) I have an application class that already has easy access to the 
system registry, but I need to find a way to set and read file associations 
using the registry. The settings are in there, just I can't find out a proper
way of getting it done. What I have so far creates an association but it 
doesnt allow me to set the file icon, the file type name, as well as many 
other options. Further to this I have noticed that different applications use
different tags to specify where the filename should go, but I can see no ... -
  Sat,  Nov 13 2004 12:06 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c2e2e3d607c3d4e7

Embeded Flash files - all new
----------------------------------
I found ShockwaveFlash as a standard component. It has an EmbedMovie property (
True or False). That helps ? HE "Dave Lewis"  schreef in bericht news:3Mtjd.
[EMAIL PROTECTED] ... ... -   Sat,  Nov 13 2004 2:48 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fcbd1ba9f22ba301

do you have VBRunner Standalone - 2 new
----------------------------------
Hello friends, I was looking for how to create standalone xecutables in VB. I
came across VBRunner. But the link to the download page is broken. Anyone has 
the VBRunner now ? Please attach the stuff to me at [EMAIL PROTECTED] 
Also if you have the source code, mail it to me. Thanks. ... -   Sat,  Nov 
13 2004 3:47 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/dd3ac1347a1425e5

see this! - all new
----------------------------------
Get a free DELL! It works. as seen on CNN and BBC news, this is legit. check 
it out!!! and sign up!!!! http://www.FreeDesktopPC.com/?r=11816730 ... -   
Sat,  Nov 13 2004 8:46 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/8736aeb0e4e0534f

nokia 6210 - ir - sms - all new
----------------------------------
does anybody have any experiences with sending sms messages through infrared 
connection and nokia 6210 (or smiliar phone) with vb? The virtual ir port in 
my case is no.9, the code goes smoothly through, but nothing happens on the 
phone. And yes, I am usin mscomm control and at commands. I don't want to use 
third party payable active ocx/dll. thank you in advance, Sk ... -   Sat,
 Nov 13 2004 9:33 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3939081d632d3c85

Screen Properties - 4 new
----------------------------------
does anybody know how can i lock the "Screen properties"??? help please!! 
thanks! ... -   Sat,  Nov 13 2004 10:13 am
4 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/35c9282c0700a809

close sub main after forms closed - 4 new
----------------------------------
I'm having difficulty closing out of a program which begins with sub main and
then opens various forms. After the last form is closed the program appears 
to be closed but Windows Task manager reveals it is still running. How can I 
exit sub main from a form unload event? ... -   Sat,  Nov 13 2004 10:55 am
4 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/44eef0b3fc855767

language incompatibility - 2 new
----------------------------------
I have created a stand alone VB program and distributed it with the package 
and deployment wizard. Developed the program on WinXPPro dutch with MSOffice 
2000 English. Build it on a win XP Professional Dutch with MSOffice 2003 Dutch.
 Deployment on the same machine as the build. Test 1: on winXPPro Dutch and 
MSOffice 2003 Dutch. Test 2: Problem. It does not run on win XP Professional 
English with MSOffice 2003 English. However, if built on WinXPPro with Office
2000English, it works everywhere, both on office2003 English and... -   Sat, 
Nov 13 2004 4:18 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/cf6873ceb993773

How do we make codes that - 3 new
----------------------------------
Determine the file name? For example, if the url is function to yield 
filename.gif Escape and unescape code. For example, we know a space is 
escaped into %20 in html. How do we do that in visual basic? How do we 
download a file on the web to a file name? Finally, say we use webbrowser 
control Say we use things like webbrowser1.navigate2 url It'll take a while
to download that url What do you do while waiting? What should you do so the 
program do not continue while the download have not finished? ... -   Sun,  
Nov 14 2004 3:54 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7091493ae795fe5d

contol of text box input and deletion - 7 new
----------------------------------
I have a text box which updates a simple calculation as users enter data in 
the text box ie as soon as a number is entered the calculation is performed 
and the answer displayed in a label. As the next number is entered the 
calculation is performed again based on both numbers. My problem is that if 
you use the back space key within the text box to deleet the numbers and start
again it results in division by zero error. I have a check for "" which resets
the value to 1 (its the only thing i could think of)and displays it in the... -
   Sun,  Nov 14 2004 4:15 am
7 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d2eccee27eb95bc0

Can textstream object used for binary file? - 2 new
----------------------------------
TextStream ... -   Sun,  Nov 14 2004 4:17 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d8a83a62e978700f

CommonDialog ShowOpen Doesn't Work Right - 9 new
----------------------------------
I've been using VB for about 8 years, but I don't remember ever using the 
CommonDialog component. I tried to use it as a browse for file function 
yesterday and it doesn't behave as expected. It seems to work if I select a 
file that;'s really a file, but if I select a folder shortcut, instead of 
opening the folder like normal Windoze applications, it returns the .lnk (
shortcut) file. I've been told if CBool(CommonDialog1.Flags And 
CdlOFNNoDereferenceLinks) returns True it will cause this, but it's not -- it 
returns False.... -   Sun,  Nov 14 2004 7:44 am
9 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fdaae8bbb97f89c8

SetWorldTransform API - 5 new
----------------------------------
Does anyone know how to use this API? I can't find any examples on the web 
for VB. ... -   Sun,  Nov 14 2004 8:28 am
5 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e0176c0662431c97

Window regions - all new
----------------------------------
OK. Another question. I'm creating previews of windows using PrintWindow. 
'L = WindowHandle wRgn = CreateRectRgn(0, 0, 1, 1) GetWindowRgn L, 
wRgn XF.eM11 = XX / X 'Scale factor X 'XF.eM12 = 0 'XF.eM21 = 0 
XF.eM22 = YY / Y 'Scale factor Y XF.eDx = (.ScaleWidth - XX) / 2 'Offset X
XF.eDy = (.ScaleHeight - YY) / 2 'Offset Y G = SetGraphicsMode(.hdc, GM_
ADVANCED) 'Needed for SetWorldTransform to work SetWorldTransform .hdc, 
XF SetStretchBltMode .hdc, HALFTONE 'Improves the quality... -   Sun,  
Nov 14 2004 12:17 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4287ac4bd5416164

Newbie question re Embedded Visual Basic - all new
----------------------------------
I just bought an HP iPAQ 2210 handheld and would like to write some simple VB 
programs to run on it. I am rather confused on what I need to do that. I 
gather I need VisualBasic 3.0 (I downloaded the runtime module from the MS 
site already). Where can I get the program? I have searched the MS and HP 
sites without success. I take it I can do the actual program writing on my 
desktop and then transfer the program to the handheld. ... -   Sun,  Nov 14 
2004 5:59 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9eba323fe3ebc8aa

Random selecter - 2 new
----------------------------------
I'm looking for some code that will randomly select pictures, just like 
selecting Playing Cards I need the code to deal out up to ten hands of three 
to four cards each. Making sure that the cards are not repeated and keeping 
score as it goes, I have found loads of code that can select randomly, but I 
cant come up with a way of making sure it does not duplicate. I have 34 
pictures to choose from, any help much appreciated regards DL ... -   Mon,
 Nov 15 2004 2:18 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/33de87d04f83d8d4

volumemeter for eth0 - all new
----------------------------------
Hallo NG! WindowsXP/HE SP2, OfficeXP/Pro SP3, VB5E I am interested in the data
volume passing through eth0. Is it possible with vb5e? Any ideas or even 
examples? Google was not really helpfull. Thanks! Vy 73! Helge... -   Mon,  
Nov 15 2004 2:28 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fa7a07af28b7ceff

 

=======================================================================

You received this message because you are subscribed to
the Google Groups "comp.lang.basic.visual.misc".  

comp.lang.basic.visual.misc

http://groups-beta.google.com/group/comp.lang.basic.visual.misc

Change your subscription type & other preferences:
* click 
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/subscribe

Report abuse:
* send email explaining the problem to [EMAIL PROTECTED]

Unsubscribe:
* click 
http://groups-beta.google.com/group/comp.lang.basic.visual.misc/subscribe


=======================================================================
Google Groups: http://groups-beta.google.com   

Reply via email to