|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
3rd part controls -- analogue meter
Aalaan -
7 Apr 2007 11:38 PM - 3 messages
Something completely different. I have an app where I would like to place on a form a simulated analogue meter with a moving pointer. Presumably someone has developed one. Any leads? (Or failing that, some sort of control creating software) ...
Concatenating control names
Aalaan -
7 Apr 2007 8:24 PM - 68 messages
I have a standard action in my apps which I want to move to a bas module (library) which I am gradually building up. Currently, if a user makes an erroneous error in a text box (which typically I trap with validate), I give a suitable message in a label beside it. ...
Visual Basic 6 Business Objects -- the Video app
marc_r_bertrand -
7 Apr 2007 7:17 PM - 5 messages
Has anybody come across the problem I have with the app. Here it is: 1) I do File --> New Invoice, get the 'Customer Search' dialog, enter a first name, say 'Teresa'. Click OK. 2) The 'Customer List' pops up with 'Teresa Lhotka' listed. So far, ...
Detailed explanation of how a QuickSort Works
Paul MH -
7 Apr 2007 4:57 PM - 12 messages
Can someone who understands quicksorts please post a detailed explanation of how they work e.g. step by step because ive seen alot of examples and diagrams etc and i still dont understand. i need to learn this for a program i am writing because i dont like using code ...
VB or C#
mark -
7 Apr 2007 4:26 PM - 108 messages
Fact Poll I made the transition from (Borland) C++ to VB.NET around 2004. I have been happy with the choice. I find I can focus more on the problem and less on being "tidy" with VB. But, I fear that many don't take VB.NET seriously, particularly in ...
Another Vista Problem(Index.dat)
Norm -
7 Apr 2007 10:41 AM - 219 messages
It seems that Vista has created another whole new set of problems for programs to work around. I have written an app to clean the Temp, Temporary Internet Files and Cookies, along with any other folders the user might want to cleanup. The ...
Check for .NET Framework from VB6
Tom Kelley -
7 Apr 2007 10:28 AM - 7 messages
I am calling a .NET 2 Framework executable from my VB6 application. What is the best way to check to be sure the 2.0 Framework is installed on the computer? ...
OT: CD Copier recommendations
Robert Morley -
7 Apr 2007 2:40 AM - 8 messages
Hi all, Can anybody out there recommend a half-decent data CD copier. It doesn't need to handle anything "unusual"...at least, I don't think so...this is strictly on the up & up. We've got an old Windows 2000 bootable install CD ...
MSComm returns invalid port
Dave -
6 Apr 2007 7:49 PM - 4 messages
Crash -> Restore....Now everything works except my VB6 application using MSComm to read scanner. Error Message 8002 "Invalid Port Number" even though nothing has changed. Thank you, Dave ...
Looking for "windows ce toolkit for Visual Basic 6.0"
Lavida -
6 Apr 2007 5:39 PM - 10 messages
Hi all We're can I find "Windows CE Toolkit for Visual Basic 6.0" ?? I looked for it in microsoft.com but in vain. Appreciate your assistance. Thanks in advance. Lavida ...
using console from vb6 app
caver_dave -
6 Apr 2007 5:22 PM - 7 messages
Im writing a program editor for a programming language(rexx) that runs in a dos window only, is there any way to pass the file to dos and run it straight from vb6? using this kind of dos syntax e.g ...
Help : Replace title bar/Add fixed sets of controls/images to every screen ?
TonyB -
6 Apr 2007 4:56 PM - 7 messages
Hi, I'm new to VB and have a question re user interface.(Is there a better vb newsgroup for this type of question ?) I'm writing a VB.net app which is going to run full screen. At the top of ...
need vb.net's regex in vb6 code
smHaig -
6 Apr 2007 4:18 PM - 7 messages
Hi, I am using a fulltext search with sql server and unfortunately my old program that calls a stored proc to do this is in vb6. I need to create the proper string format and I found code to do this but it is in vb.net and uses ...
OwnerForm Off
Lorin -
6 Apr 2007 11:56 AM - 16 messages
VB6SP6 If I do NewForm.show ,me Is there a way to turn off the OwnerForm action from the NewForm? ...
Folder Search VB6 SP6
Ron -
6 Apr 2007 7:36 AM - 8 messages
Hi In My Music Folder I have added 3 test Folders. 1 = xMusicA 2 = xMusicB 3 = xMusicC In xMusicA there is a File:-Yesterday.wma In xMusicB there is a File :-Waterloo.wma In xMusicC there is a Folder:- xMusicC[1] ...
creer plusieurs file system watcher on the fly ...
Aboulkacem Ahmed Reda -
6 Apr 2007 12:52 AM - 4 messages
bonjour, je suis debutant en .Net j'ai chercher pdt la soirée g pas trouver comment creer plusieurs objet dans une seule operation ( 3 - 4 ) lignes et garder l'evenemetn hadles et dans la mm question est il possible de le faire ...
VB6 and SAPI
David DB -
5 Apr 2007 10:53 PM - 4 messages
Hi! Can anyone direct me to a good SAPI component that handles SAPI4/5 ? Using Active TTS but have experienced a few problems with that. Dont want to program directly with SAPI, but via a component that gives me a ...
Fun and games instaling VB6 and MSDN!
Aalaan -
5 Apr 2007 9:35 PM - 15 messages
Morning all! Since doing the transaction with swdev2, in which I achieved my dream of purchasing a legitimate vb6EE, enabling me to move up from the learning edition, I have had all sorts of fun and games and recount them here for any ...
Olaf Schmidt - sort routine
MP -
5 Apr 2007 9:24 PM - 13 messages
Hi Olaf or anyone :-) I'm trying a routine posted some time ago--- see below I pasted the following code into an empty class module and named it cSortStrings. I looked at the code for a while and couldn't figure out how to get the ...
OpenText question
geoffa -
5 Apr 2007 9:16 PM - 4 messages
if have a directory with 30 flat files in it. how can i loop through each file one at a time. open the file to look for specific strings inside the file. and then move the files when a specific string is a match. ...
Using Variables in a file path.
MichaelT70 -
5 Apr 2007 9:11 PM - 6 messages
I was look for a way to convert a statement like: MD %backdrive%"\documents and settings\%userback%\application data \microsoft\outlook" to work in VB. I am able to define the variables "backdrive and userback", but cant find a way to get them to work in a VB line of ...
Late bound controls /Interface classes
APSFlorida -
5 Apr 2007 6:38 PM - 3 messages
I have an application which uses SW Plug-in's. The main app is a VB6 app. The Plugin's are ActiveX DLL's. as available in VB6. I've developed an interface library (.TLB) which exposes the interface, and I use the ...
Printer Properties Rountine
Rick Raisley -
5 Apr 2007 6:26 PM - 7 messages
For 32-bit applications, I've been using the following code to pop up the Printer Properties dialog box: a$ = "rundll32 printui.dll,PrintUIEntry /n """ & Printer.DeviceName & """ /e" retval = ExecCmd(a$) ...
sql2000 instance connection
Gultekin KOMANLI -
5 Apr 2007 4:25 PM - 4 messages
Hi All, I'm unable to make connection to my sql2000 instance, I tried to search the knowledge base on msdn and failed with their solutions (defining alias). Can you give me some advice on this ? Cheers. Gultekin KOMANLI ...
Have good tools...Need advice getting started.
followmetofenway -
5 Apr 2007 2:25 PM - 12 messages
Hi all, First time poster here. I have a really good friend that's been doing VB and Java dev for many years, and he recently sent me SQL Server 2005, Visual Studio 2005, and the Visual Studio Team Suite. I'm ...
HOWTO: Raise events from deeply nested recursive objects
Simon Woods -
5 Apr 2007 1:43 PM - 12 messages
Hi I have an expression tree which gets built via the process of recursion. In the build process, if there is a failure, I need to raise events from the recursed level at which the failure occurs. I tried putting an event on the ...
VB6 code required to get folder names in the last 15 days
jamie_s_22 -
5 Apr 2007 9:59 AM - 3 messages
Hi, Im looking at writing a small app to retreive subfolder names within a parent folder from within the last 15 days. The folders are named as follows 01_March_07 02_March_07 03_March_07 and so on What i would like is the vb6 app to get the current system date, and ...
Passive FTP using MSINET.OCX
Colin -
5 Apr 2007 7:46 AM - 2 messages
We recently migrated an application that uses MSINET FTP functionality from NT to an XP environment that uses a client firewall. Although FTP Get operations work, FTP Put doesn't. Google results suggest that to get round the firewall we should use FTP in passive mode. ...
VB code to send a mail
saraswathib509 -
5 Apr 2007 6:40 AM - 7 messages
Hi, Any one know The VB code to send a mail with attached text file through my outlook. While sending it should not prompt for anything. For example: Im using below code: =================== Function GetCellValue(ColumnIndex As Variant, ByVal rowIndex As Long) ...
SQL TimeDate Format Conversion in VB6
albertleng -
5 Apr 2007 3:21 AM - 2 messages
Hi all. i have 2 SQL tables. 1 of them is the source table, say table A while the other one is the destination table, say table B. Table A has columns Time_A, siteno_A, details_A and user_A. Table B also has the same columns Time_B, siteno_B, details_B and ...
service pack 6
JerryCic -
5 Apr 2007 1:48 AM - 3 messages
I can't get sp6 to install. 1) i need sp6 to install because vb6 doesnt close properly. I have vista ultimate. 2) I cannot re-install vb6 from scratch because i dont have the orriginal cd anymore. 3) I also have several 3rd party controls with licences and service packs ...
Visual Basic Easter Eggs
paulmorrishill@googlemail.com -
5 Apr 2007 1:03 AM - 2 messages
Click the View menu, point to Toolbars, and click Customize Go to the Commands tab Click the Help category, and drag the About Microsoft Visual Basic item into the help menu Click the Modify Selection button and set the name for the newly ...
Security of database
Prosun -
4 Apr 2007 11:26 PM - 13 messages
I am making a VB6 application that requires login. I will have a database for usernames and passwords on a network server. What type of database should I use? How can I make it secure, so that nobody just opens the database from ...
Making a Networkable Application with VB6
Prosun -
4 Apr 2007 11:16 PM - 19 messages
How can I make a networkable application with VB6 so that multiple users can simultaneously view and edit the same file on the same server? Is that even possible? ...
Captionless Form Tray Info
Lorin -
4 Apr 2007 11:08 PM - 2 messages
VB6SP6 How to make the taskbar info show some text and a programmable icon when a captionless form is open? ...
How do I capture the results of a Create Process or Shell
Saucer Man -
4 Apr 2007 11:04 PM - 6 messages
I am using a routine to launch command window. Call ExecCmd(Environ$("comspec") & " /c " & strString, 1) ExecCmd looks like the following. Public Sub ExecCmd(cmdline$, Optional pnScreenMode As Integer = SW_SHOWMINIMIZED) 'This procedure receives a string(cmdline$) and an optional ScreenMode. The ...
No items
Mike Williams -
4 Apr 2007 8:38 PM - 11 messages
There are no items in this view. Some items may be hidden because a view is applied. How sad ;-) Mike ...
How can I programmatically add a hyperlink to a cell in the excel ?
fniles -
4 Apr 2007 4:42 PM - 3 messages
In VB6, using an Excel object, how can I programmatically add a hyperlink to a cell in the excel ? Set m_excelObjApp = CreateObject("excel.application") excelObjApp.Workbooks.Add sText = "[link]" excelObjApp.ActiveWorkbook.ActiveSheet.Cells(1, 1).Value = sText ...
VB6 CopyFile API source file has same date destination
cybergar -
4 Apr 2007 4:10 PM - 2 messages
I'm using the CopyFile API to copy a file from a network location to a local drive location if the network file creation date is newer than the local copy. All of my code works to make sure both files exist, compare the ...
mouse_event question
Jim -
4 Apr 2007 12:28 PM - 2 messages
In the following statement mouse_event MOUSEEVENTF_LEFTDOWN, X, Y, 0, 0 what does each ot the 0' s represent? ...
Installing APP to Vista?
Chuck Faranda -
4 Apr 2007 11:53 AM - 3 messages
I've read, sorry don't yet have Vista, that there are issues installing apps to the 'Program Files' folder. True? If so, what is the preferred install folder for Vista? ...
Onoe for Mike D
Kevin Provance -
4 Apr 2007 4:26 AM - 5 messages
Mike, You're familiar with the software I write,,,using all that APIs to talk to the other client. Am I going to have to somehow elevate my programs to do this successfully. Do you know how to do those kind of things yet? ...
Unnecessary shield icon in Vista
hurricane_number_one -
4 Apr 2007 2:09 AM - 10 messages
I'm having a very strange problem on Vista. When I compile any of my old projects in VB6 on Vista, the icon doesn't have the shield on it. However, if I go in and edit the project properties and click save, ...
Type mismatch error
Anna -
4 Apr 2007 1:59 AM - 9 messages
Hi: Can any one please tell me why it gives that error on line: arrNumbers(i, Row) = xlWS.Cells(Row, i) Thanks, Anna. Private Sub Form_Load() readExcelFile End Sub Private Sub readExcelFile() Dim arrMyArray(0, 26) As String ...
VB 6 Sunset Date?
Bob Johnson -
4 Apr 2007 12:47 AM - 4 messages
I've been out of the VB6 loop for quite a while and I've heard that MS will be discontinuing support for VB6. I heard there was some grass roots effort to get MS to continue support but they dug their heels in and said "no" and ...
vb collections
greg -
3 Apr 2007 11:33 PM - 3 messages
Does vb have special collections? I am looking for a collection where I don't use 1,2,3 as the keys. but can specify a key such as "dog","dogobj "cat",catobj etc... where i can say item"cat" and get back catobj ...
OT: Class Action Lawsuit Claims 'Vista Capable' is Misleading
Kevin Provance -
3 Apr 2007 10:43 PM - 4 messages
[link] This crazy lady wants *5 million* from MS for her inconvenience. @@ <--me rolling my eyes - Kev ...
Requirements of VB6 - service packs
kimiraikkonen -
3 Apr 2007 10:20 PM - 20 messages
Hi, I just got Visual Basic 6 (old but i'm beginner) and i want to know what are COMPLETE system requirements? XP SP2 is enough or .NET Frameworks needed to run and install VB6? Also what is the latest stable service pack for VB6 that should be ...
FSO files Sorting
vovan -
3 Apr 2007 8:30 PM - 8 messages
I'm updating the database structure (adding columns to the table, altering stored procedures etc) by running ADODB.Command. The text for the command I read from script files by using FSO objects: Set objFSO = CreateObject("Scripting.FileSystemObject") ...
Read File
Anna -
3 Apr 2007 6:59 PM - 3 messages
Hi: Can any one please tell me how to i read the excel file from column A2 to AA2 into a array. I want to read upto the line when it starting blank rows as there is no blank rows between the records. I ...
Vista and Name function
Mike -
3 Apr 2007 6:32 PM - 7 messages
Does anyone know if using Name to move files from the Program Files directories to AppData directories will fail? I am worried it cannot delete after moving without elevated rights. -mike ...
VS6EE and goodies
Aalaan -
3 Apr 2007 5:50 PM - 24 messages
Dear all Many of you were a great help to me when I was deliberating whether to purchase the legit version of Visual Basic 6 from "swdev2". You may remember that he fielded all your questions (and mine) with unflappable good humour. ...
vb6 case statment
greg -
3 Apr 2007 4:52 PM - 9 messages
hello on a case statment can you use or's? such as Select Case <something> Case "AAA" <do something> Case "BBB" <do something> ...
Directory Display Problem
Ron -
3 Apr 2007 4:42 PM - 6 messages
Hi If you could follow my example to give your answer I would be grateful. In My Music Folder I have created 3 test Folders. 1 = xMusicA 2 = xMusicB 3 = xMusicC In xMusicA there is a File:-Yesterday.wma In xMusicB there is a File :-Waterloo.wma ...
Passing a Parameter at Command line
Lorne Merner -
3 Apr 2007 2:48 PM - 2 messages
In VB6 how would I pass a parameter from the command line executable for example: MyApp.exe xyz So when my app starts I see the first parameter is 'xyz' so I do whatever xyz represents otherwise I do etc. ...
Excel problem
Francesco Ranieri -
3 Apr 2007 1:56 PM - 13 messages
Hi to all, I'm programming my VB application to write into Excel sheet. The Excel application, the workbook and the worksheet are instanced programmatically by an application function. Running the loop on recordset, application writes several records of several ...
Using different versions of ActiveX control in 1 application
Damian -
3 Apr 2007 6:53 AM - 8 messages
Hello all, I have an application that uses an activeX control. The control version depends on which verion of the 3rd party software the client installs. I can find which version the client has installed but - depending on which version is used -different events/functions are supported. ...
Removing Items From A Combobox Problem
Saucer Man -
3 Apr 2007 4:12 AM - 10 messages
I populated a combobox with strings "0.000" to "2.000". I want to remove the first 9 items but it is not working. I want the first item to be 0.100. Heres what I have. For l = 0 To 2 ...
vb6 and vba from MS Word?
Armey -
3 Apr 2007 4:03 AM - 3 messages
Hi, I was hoping to get some pointers about converting my MS Word 2003 VBA code in my protected template to VB6 DLL. I was told there were several advantages to this, with one of them being security. Can ...
Callback function frustration
R Go -
3 Apr 2007 12:58 AM - 4 messages
OK, I am stumped. I have written an VBA script that calls into a C++ DLL to do some calculations. When doing those calculations, I get the C++ DLL to callback into VBA to update the StatusBar every now and then. This works ...
Difference between Subs and Functions
paulmorrishill@googlemail.com -
3 Apr 2007 12:43 AM - 24 messages
Can someone please tell me what the differents between a Sub and a function is because i use them all the time but i never found out. ...
Get Text From an application
paulmorrishill@googlemail.com -
2 Apr 2007 11:36 PM - 4 messages
Make a new form and drag a command button in the middle of the form i know this works on command buttons, getting a windows title bar and textboxes but im not sure about anything else. ' Paste all of this code this code in the general declarations section ...
Reply
paulmorrishill@googlemail.com -
2 Apr 2007 11:12 PM - 3 messages
im not really sure what you mean but i think this would work for what you want. dim txtstr, sincedate, locationname, visitdate as string ' make a text box sincedate = "12/07/2005" ' the date they became a customer visitdate = "31/12/2007" ' the date they visited last ...
Syntax error on .FindFirst Method
Troy -
2 Apr 2007 7:58 PM - 5 messages
I am going out of my mind. I have used this method about before but in this particular form I get a Syntax Error: (missing operator) in expression. Can anyone tell me what I am overlooking? I am using a DAO connection to a database. ...
OT: Posting in wrong groups
Darhl Thomason -
2 Apr 2007 5:03 PM - 21 messages
Wow, the .NOT guys even admit that "our" language isn't the same as theirs: <quote from microsoft.public.dotnet.languages.vb> As this newsgroup is the last sample special for VB.Net a quiet different program language from VB6. Those newsgroups you find by instance with a name ...
Visual Basic 6.0 output text to screen
WB -
2 Apr 2007 4:56 PM - 5 messages
I have the need to output several lines of textual info to the screen for the user to review. The information is about a customer. It will show different aspects of their experience with the company. For example, the ...
Using get pixel to make binaryarray
Michiel Baird -
2 Apr 2007 4:55 PM - 7 messages
Hi How do get binary data from an image u got using GetPixel? Below is the routine i use to firstly convert a image from a file to binary then displaying it using PictureFromBits the other routine captures pixel data for the top side of the form and stores it in an ...
Properties Window - Visual Web Developer 2005 Express
benb -
2 Apr 2007 3:28 PM - 2 messages
The properties window no longer appears in ths source mode. Only in the design mode. Is there a setting for this? ...
system cannot find the file specified
IVK -
2 Apr 2007 2:58 PM - 2 messages
Hi, I have registered a DLL developed in VB .NET using regasm to use it in VB 6.0. I am able to add reference to the specified DLL VB 6.0 after registering it. When I am calling a method provided by the DLL it is ...
Vista and VB6 question
Galen Somerville -
2 Apr 2007 2:28 PM - 2 messages
I have an autoinstall program which uses ShellAndWait to call up to three installation programs. For instance it will run a USB driver install followed by a program install. I can "Run as Administrator" the autoinstall program. But, and here's the question, does the ...
Working with screenshots/bitmaps?
Michael Mueller -
2 Apr 2007 8:43 AM - 8 messages
Hi. What I wanna do: I want to save a specific area of the Desktop to a bmp-file. For now I can save a Screenshot of the whole desktop to a file. What I lack is the ability to only put a region of the screenshot to a file. ...
HTTP POST from VB app to PHP script
majik92 -
2 Apr 2007 1:27 AM - 6 messages
Hello, I'm in the process of rewriting a program I wrote in LUA to VB.NET. So, I am still learning the language (VB). I just have a question... I have a windows form called "mainPage". I want to connect to the ...
ListView Blues
Lorin -
1 Apr 2007 11:48 PM - 6 messages
ListView does a lot of great things except handle a large amount of data. After adding 10,000 items it slows down more and more as the qty goes up. What is happening? Does it sort everything each time it adds an item? ...
One-liners
Rick Rothstein (MVP - VB) -
1 Apr 2007 4:04 PM - 37 messages
Okay, I've given a lot of thought to the issue of one-liners and have decided not to use, develop or post them any more. It seems that some people have been using them directly in their own code, without understanding how ...
How to popup the form which is minimized
Prashant Shah -
1 Apr 2007 4:00 PM - 3 messages
Res.All, I want to popup the form when some event occurs on timer event. I want to do evenif the application is not active. The application is minimized initially. Now on timer event I want it to become popped up. At that time I ...
Grabbing text under mouse
David DB -
1 Apr 2007 3:56 PM - 2 messages
Hi, We are looking for a component that grabbes the text under the mouse from any program and menu texts I know there is a Windows API for this, but it might take som time to figure that out. Found some component but they all have some issues. ...
Ta Dah! Good-bye guys!
Ralph -
1 Apr 2007 2:02 PM - 22 messages
Wow! I was offered an opportunity to become a MVP last Friday. I thought long and hard about it, but since it includes a Universal Subscription and privy to the new VS 2007, I have decided to accept. So long guys. I won't be wasting my time in the Stone Age any more. ...
Renaming Files to incl info from Properties
Jack Maxwell -
1 Apr 2007 11:35 AM - 7 messages
Hope someone can helkp here. My brother has asked me if I can assist in renaming about 1500 midi files which are associated with a programm callued Cubase SE. With that software installed he can click on the file ...
VideoChat Client LAN: Components??
Michiel Baird -
1 Apr 2007 8:23 AM - 2 messages
Hi Im looking to write a Video Chat Client to use within a LAN with no internet connection. The problem is I dont know what components to use to get the Webcam or Stream the Webcam across the network. the audio ...
[OT] Indian developer needed
ssss -
1 Apr 2007 7:54 AM - 3 messages
Hi, I'm very sorry for the ot but I don't have any idea where to post a message like that. So have patience please!!!! We are a little italian software house that is interested in outsorcing some parts of his code. ...
Error In Loading DLL
Lorin -
1 Apr 2007 1:42 AM - 3 messages
Yikes! VB6SP6 Have a large (28 forms, 29 module, 11 classes), for me, application that I have been working on. Old version loads in IDE and compiles. New version was edited, ran in IDE and compiled with no errors. next day ... ...
|
|||||||||||||||||||||||