Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score possible problem with datatypes
Ian Davies - 21 Jan 2006 11:39 PM - 10 messages
I have the following sub main ******************************** Private Sub Main() Dim adoInitiateRS As Recordset Set gUserInfo = New clsUserInfo gUserInfo.sUserName = "myuser" gUserInfo.sPassWord = "mypassword" Set gConn = New Connection     gConn.CursorLocation = adUseClient     gConn.Open CurrSQLConn() Set adoInitiateRS = New Recordset ...
Score Multiple clipboards?
gil - 21 Jan 2006 10:30 PM - 7 messages
Is it possible to save clipboard text separate from windows main clipboard? I'm trying to save a highlighted string of text from any application window without affecting the main clipboard (so users don't lose their clipboard data). At the moment I'm sending a CTRL+C when a user highlights a word, ...
Score VB/Oracle Development
IMRAN SAMUEL SAROIA - 21 Jan 2006 8:19 PM - 5 messages
Hi Friends ! I have joined another company which uses Oracle at back end. I  use SQL Server and only used oracle for test purposes and in one of the big conversion projects. Can you advise what kind of challenges we can face in ...
Score Re:VB6 Toolbars reset
Garry - 21 Jan 2006 8:00 PM - 3 messages
Hi I have reset the toolbars for VB6 and now I find that when right clicking in Project Explorer i do not have the usual menu items ie. Add - ,Remove Form - etc Is there a trick with registering a dll or something else. ...
Score HOWTO Use WebBrowser Control to Open & Edit HTML File
Dan Johnson - 21 Jan 2006 7:05 PM - 16 messages
We're using the Webbrowser control to display html help documents (stored locally) to our users.  We need to be able to access the body text of the html document both for purposes of editing the text and searching the text. ...
Score Listview Column Selection
Saucer Man - 21 Jan 2006 5:01 PM - 8 messages
How can I implement a column selector so the user can choose what columns he wants so se in a listview?  One similar to the one in Windows Explorer... ...
Score vb2005
potter12 - 21 Jan 2006 2:00 PM - 3 messages
I am having problems opening a Word Application from VB2005 could anyone outline the code that is required. Thanks ...
Score MSHFlexGrid
Claudio Alves - 21 Jan 2006 1:27 PM - 3 messages
How can I set focus to last row of the grid, but when the number of records are bigger than grid lines the grid must scroll? With follow declaration I can setfocus but the grid doesn't scroll: grid.col = 1 ...
Score Take taskbar/quicklauch bars into account???
Noozer - 21 Jan 2006 7:24 AM - 4 messages
I want my form to be opened in the top, right corner of my desktop. Normally I could just use the following code to do this:   'Position and show settings form   Me.Top = 0   Me.Left = Screen.Width - Me.Width ...
Score History of Languages
Tim Baur - 21 Jan 2006 2:21 AM - 3 messages
These are pretty funny. History of C [link] History of BASIC [link] I don't recommend reading these if you can't laugh at yourself. ...
Score Call sub or function using a string value for the name
Bill Baker - 20 Jan 2006 11:11 PM - 10 messages
VBScript has an Eval fucntion that allows the use of string exprsssions in commands. For example:   strCMD = Eval("objItem." & strProperty1) Is there a similar method in Visual Basic 6? I looked at the ScriptControl object, but it only supports small functions or subroutines that are added as ...
Score How to write Byte to registry?
Jack - 20 Jan 2006 9:55 PM - 2 messages
Hello,             Some of my variables are declared as Byte. I need to store them in registry. When I use: Dim  As oShowOptions as Byte RegSetValueEx(phkResult, "ShowOptions", 0, REG_DWORD, oShowOptions, 4) ...
Score ShellExecute
DanS - 20 Jan 2006 9:48 PM - 17 messages
Greets, Background: A replacement for the 'Run' dialog on the start menu. ----------------------------------------------------- You can browse to it and the box gets filled with the full path. You can however just type an entry and hit return, which will execute properly if it's in the path, ex. CMD. ...
Score How to delete an Oracle Blob field with VB6....?
Mike Kinasz - 20 Jan 2006 7:11 PM - 4 messages
<nostalgia>Wow it's been FOREVER since i've visited this forum.  I miss it. Looks like it's still hoppin!</nostalgia> So i'm using Oracle 9i and have written a VB6 application to watch a ...
Score OT: Recommend web host
nrford - 20 Jan 2006 6:11 PM - 34 messages
I'm looking for a good web host with the following features: 1. Inexpensive (mostly a hobby site), but no ads 2. Not case-sensitive URLs 3. Support for VB6 CGIs I've been using fatcow for the last year. It's only $99/year, ...
Score Is that possible?
Jack - 20 Jan 2006 5:44 PM - 16 messages
Is it possible to store a number (Long, not string) using  Put function inside a file opened as binary and later retrieve that number also as a number (Long, not string) without any extra conversions? I tried vb help but there show only how to do it using strings and buffers. ...
Score display this coding into tree view
kmercer46 - 20 Jan 2006 4:34 PM - 2 messages
How do i display this coding into tree view??? Private Sub Form_Load() sckControlPanel.RemoteHost = RemoteForm.sckIdentifier.RemoteHost sckControlPanel.RemotePort = 8005 sckControlPanel.Connect Dim x Dim PCName As String Dim Command As String Dim Msg As String Dim i As Integer ...
Score Got Svr, need DBs
Bob - 20 Jan 2006 3:34 PM - 2 messages
Hello Folks! I have a bunch of servers, actually there are about 340. I have the names of the servers but what I'd like to do is loop through the servers and return all the databases on those servers. ...
Score Need Your Help in Backspace Keyboard Event
zoneal - 20 Jan 2006 3:34 PM - 2 messages
Hi Every One. I want to use BackSpace Keyboard Event. Actually i want when ever backspace is pressed my text field shud have focus and the first character from the right (Text Box is right justify) shud be deleted. I have used some other events like KeyPress() with other ...
Score Making my CDO application work as a Windows Service (MAPI)
HEUMENA - 20 Jan 2006 2:49 PM - 2 messages
I have created an application that polls an inbox of an user in MS Exchange 2003 using the CDO library. It works fine but now I want to make a Windows Service of my application. I know how to do so but can anyone tell me if my ...
Score Dot matrix network printer problem
John S - 20 Jan 2006 1:43 PM - 5 messages
Hi All, I have written a program that prints several reports on an Epson dot matrix printer. I use PRINT # command so that the output is in basic printer text mode and the printer works fast. Now the users want to share that printer to be a ...
Score Number Of Application
Peter Plumber - 20 Jan 2006 9:56 AM - 5 messages
Hi, I have an Application that could run more than once. (at the moment I allow 6 times per pc) the application uses several databases and stores intermediate data in tables with a "unique" name containing the IP and a number between 1 and 6 ...
Score Automation "Object invoked has disconnected...." error
LisaConsult - 20 Jan 2006 2:44 AM - 5 messages
I have a VB6 application which installed in several environments and it has been working fine for years.  Suddenly I have 1 Win2K user that is receiving the error "Automation Error: The object invoked has disconnected from its client" ...
Score events in usercontrol
PC - 20 Jan 2006 1:23 AM - 3 messages
i have a usercontrol that i gave with the usercontrol wizard the following events mousedown,mouseup,mousemove if i place that usercontrol on a form, i can see the event procedures at design-time however the events never get fired at runtime ??? ...
Score Help With Column Algorithum
ChrisB - 20 Jan 2006 12:13 AM - 2 messages
Hi all, I've written a function to return true or false if the value I supply to it is close to a predefined column:     Private Function IsOnColumn(ByVal Position As Integer) As Boolean         Const COLUMN_WIDTH As Integer = 100 ...
Score Need to print all files from a folder
tim.leach - 19 Jan 2006 11:09 PM - 12 messages
I need to be able print all files from a particular folder using VB. I've tried the shellExecute function to print them one by one, but for some reason they all don't make it to the printer all the time.  They ...
Score how do I switch focus from one .exe to another .exe in visual basic 6?
jvaner - 19 Jan 2006 9:43 PM - 2 messages
I'm brand new to coding in visual basic 6.  I have a need to put code into by VB app so that is will give control (or switch focus) to another .exe that is executing.  Can someone tell me the command to do this in my VB app?  Thanks a bunch for any help. -- jvaner ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score Left Padding Zeros In A String - VB6
Doug - 19 Jan 2006 8:44 PM - 9 messages
I'm sure there's an easy way to do this already but am not seeing it. Does anyone know of a function that exists in VB6 already that allows you to pad 0's (or any character) to the left of a string? ...
Score Writing to registry numeric value
Jack - 19 Jan 2006 8:42 PM - 5 messages
I have problem writing to Windows registry numeric value: Declare Function RegSetValueEx Lib "advapi32" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpszValueName As String, ByVal dwReserved As Long, ByVal fdwType As Long, lpbData As Any, ByVal cbData As Long) As Long ...
Score Problems with Visual Basic 6 Processing Data with Special or Accented Characters
ElDeeCee - 19 Jan 2006 6:53 PM - 4 messages
I have a Visual Basic 6 program that needs to process a data file containing names that use special or accented characters (not between 32 and 127, but in the 128 to 255 range).  When using the data in a VB ...
Score Best way to get version number from website?
RB Smissaert - 19 Jan 2006 6:40 PM - 5 messages
Trying to code in a foolproof way to get the latest version number of an install file from a website. This website is setup by myself, so I upload a little text file holding the version number. This is the code I have that the users of the software will run to check ...
Score Database and registration
John - 19 Jan 2006 6:34 PM - 5 messages
I have problem with my application. When administrator restricts user rights to read, and doesn't give permissions to write in C: disk (only to My documents is write allowed), how do you handle setup of application? Then off course admin has to install ...
Score Problems opening Database created with other System.mdw
vonclausowitz - 19 Jan 2006 5:21 PM - 4 messages
Hi All, I have problems accessing a access database from my VB program which was created on a machine with another system.mdw file. It says that I don't have permission to read the data. Can this be solved or do I have to start using the same system.mdw ...
Score Short and sweet: Passing objects by value
Chad - 19 Jan 2006 4:58 PM - 5 messages
In my short example below, I passed an object BYVAL, update a property on the object, and after returning to the calling sub, noticed that the property was changed dispite the fact that ByVal was used. Does this confirm that objects are always passed BYREF regardless that ByVal was specified? ...
Score Message Box Questions
Brian - 19 Jan 2006 4:22 PM - 14 messages
Thanks for your time. I need to use a vbyesno or a vbokcancel type message box in my application (vb6).  I need to incorporate a graphic or icon of some sort(stop sign, exclamation mark, etc).  These two message box types don't include a graphic. ...
Score error when call app help
SteveC - 19 Jan 2006 4:15 PM - 3 messages
The Help file for l my app is causing an error when I call it from the menu but not from the F1 key.The help file is context sensitive and when a form is active and I press F1 the help file is opened with the ...
Score Tabstrip Control - VB6 (urgent)
macyp - 19 Jan 2006 4:01 PM - 6 messages
This might be a very basic question. I am making some changes to an existing application in visual basic 6.0. There is already a tabstrip control with 7 tabs and controls for each tab. I have to insert an 8th ...
Score USB And VB
OnlyLandies - 19 Jan 2006 3:35 PM - 4 messages
Hi Sounds spoony but I've just used my USB cable to light up an LED, and I was wondering can I use VB to make it flash or just turn it off an on. Any ideas??? Cheers Mike ...
Score unexpected vbkey**** values
Dan - 19 Jan 2006 2:06 PM - 9 messages
In VB6, when I trap the forward slash key ("/") I expect to see the keycode as vbKeyDivide (111).  Instead it comes as 191.  Why is that? Dan ...
Score VBSQL using Windows authentication
andrevdmerwe - 19 Jan 2006 1:12 PM - 4 messages
My company has a Financial system which was written quite a number of years ago and has grown to be a very large product. The system uses VB6 and SQL Server 2000. We connect to SQL using VBSQL.OCX, thus using all of its funtions ...
Score Outlook Automation Question
Alastair MacFarlane - 19 Jan 2006 12:10 PM - 7 messages
*** Previously Posted on OfficeDev Automation without a reply *** Dear All, I am trying to send an email through Outlook NOT through the default Mailbox but through another mailbox that I have total rights to. We are using Outlook 2000 and Access 97. ...
Score create a vb programm as a service
daniel - 19 Jan 2006 7:43 AM - 4 messages
Hello everybody, How can I create a VB programm, as a service. For the moment my programm (still finished) is running as wel. It starts on windows statup, minimized in the task bar, but I think it is better to ...
Score Webpage can be loaded?
Ahmad Jalil Qarshi - 19 Jan 2006 4:32 AM - 4 messages
Hi! I am developing a VB6 application in which i have to connect to following URL: http://localhost:9999 and verify if the page can be loaded (this is the page rendered by another application). Anybody there to give me a helping hand, how to do that. ...
Score !!Famous Software ftp download 2006!!
zhtom88 - 19 Jan 2006 4:04 AM - 5 messages
We provide cracked softwares, these software are all in english language and absolutely full cracked. They are best softwares and best price. The list is not full, any more need, please mail me: zhtom1***@hotmail.com TEKSOFT£º CAMworks v2004 SP1.1-ISO 1CD ...
Score Insert data in VB.Net
Pankaj - 19 Jan 2006 3:30 AM - 3 messages
Hi i am inserting the data into database throught variables using the code below: Dim objCon As New OleDbConnection(CONNECTION) Dim objCmd As New OleDbCommand(SQL, objCon) SQL = "INSERT INTO linkinfo VALUES('" & Sno & "','" & Website & "','" & Path & "')" & _ ...
Score Switching between 2 forms
Hanna-Barbera - 18 Jan 2006 10:51 PM - 20 messages
I have a exe project that shows a form on startup. Let's call it form A Now, I want to make an addition to the project. I want to have a second form, let's call it FormB. When user clicks a button on FormA, I want FormA to become hidden (not a ...
Score Create a Shortcut in WinXP StartUp directory
MichaelK - 18 Jan 2006 8:31 PM - 11 messages
I need to create a shortcut in the C:\Documents and Settings\All Users\Start Menu\Programs\Startup directory on all users machines. Any suggestions? Didn't know how to create a shortcut, was trying to place a .bat file, but ...
Score Microsoft releases key Vista developer technologies
TedF - 18 Jan 2006 8:07 PM - 5 messages
MS trying hard to promote .net [link] ...
Score Writing to registry
Jack - 18 Jan 2006 7:46 PM - 56 messages
My app saves (and reads) preferences in Windows registry. 1. The registry key is: HKEY_CURRENT_USER\Software\<My software name> Is that key OK, or should I select a different one? 2. There are about 50 preferences to be saved. ...
Score VBD Documet Object Access/Reference Inquiry...
Vincent777 - 18 Jan 2006 6:48 PM - 7 messages
Hello Friends, I am working with a VBD Dll project.  I am also quite new to this technology.  What I need to do is be able to talk to an object on the VBD. For example, I have an FTP control on the VBD called Ftp1.  The VBD is ...
Score vs2003 vbnet user settings
Joe Van Meer - 18 Jan 2006 5:26 PM - 4 messages
Hi all, I always used to use a db to store user settings in my windows form apps and i know u can use user settings and application settings in vs2005, is it feature available in vs2003/ 1.1 framework as well? I had trouble locating ...
Score Change First Day of the Week
BCS - 18 Jan 2006 4:47 PM - 5 messages
I want to use "ww" to capture the week number when I post transactions to a SQL database. However, my week starts on Monday and ends on Sunday. The VB default is Sunday through Saturday. Can anyone provide me with sample code ...
Score Capturing External Events
Brian - 18 Jan 2006 4:36 PM - 2 messages
Hello - thanks for your time. I have an application that can throw an external event, I would like my VBA application to respond to this event.  Is this possible? Could you provide links to documentation - my search efforts weren't very ...
Score cool list of threads for clearing Software Interviews
suraj - 18 Jan 2006 4:30 PM - 3 messages
..NET Interview Questions [link] [link] [link] [link] ...
Score connecting to OpenOffice database using Vb6
pb - 18 Jan 2006 1:12 PM - 3 messages
i'm using the following to connect to an MS access database; however this will not work when connecting to OPenOffice database file. Is it possilbe to connect using this driver method: Set cnnNWind = Application.CreateObject("ADODB.Connection") strConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ ...
Score Returns form SHELL processes
Tym - 18 Jan 2006 10:50 AM - 6 messages
I have an application which shells out to a dos prompt to execute a command line. No thing exciting there, but wht I need to do is "check" the contents of this dos window for the presence of the word ERROR - ...
Score MSFlexGrid - Max number of Visible Rows ?
Nospam - 18 Jan 2006 10:20 AM - 4 messages
Can anyone confirm what the Maximum numbers of visible Rows is for MsFlexGrid control? I have just converted an old project which used Grid32 as a grid which was limited to 2000 rows. I was wondering if the limit has been removed with ...
Score "Object library not registered" error
JohnJohn - 18 Jan 2006 5:36 AM - 7 messages
Hello.  I am receiving the error in the subject line at compilation on the following declaration within a form file: Dim rsBanks as ADODB.Recordset. I have a reference in the project to the Microsoft ActiveX Data Objects 2.7 ...
Score Accessing to Address Book in Outlook
leinnz81 - 18 Jan 2006 3:55 AM - 6 messages
Could anyone please help me here. I need to disable this message box from my Outlook whenever i try to delete a selected mail using an exe program. The message prompt is A program is trying to access e-mail addresses you have store in ...
Score Fax Server Name
vul - 18 Jan 2006 2:51 AM - 7 messages
I'm using FAXCOMEX to send faxes from VB program I have shared Fax Server on my network server (Windows 2003). The name of the server is "BIGDELL". It's in my home network. I have no problem with sending fax by using this code: ...
Score Service Pack(s) for Old versions of Visual Studio
pwrichcreek - 18 Jan 2006 1:27 AM - 14 messages
I'm looking at purchasing an older version of Visual Studio 6 Professional on ebay. Some of the listing mention that a service pack CD is included. I see that service packs 5 and 6 are available for download from microsoft, but ...
Score Entering data using DOM without webbrowser control possible?
nop90 - 18 Jan 2006 12:11 AM - 3 messages
I have an application that enters data into a webbrowser control then hits ths submit button using the DOM. Looks like this... Dim oDocument As IHTMLDocument2 Set oDocument = WebBrowser.Document oDocument.All("userid").Value = "name" ' username oDocument.All("SignInForm").submit ' submit button ...
Score Problem Trimming All items in 1d array
Andibevan - 17 Jan 2006 11:07 PM - 13 messages
I have a 1 dimensional array in my code and I am trying to use the following function to trim all items in the array. Used like  str_PrjDB = Trim_Array(str_PrjDB) where str_PrjDB is an array. The problem is the str_PrjDB is not an array after I have used the ...
Score OSRegSetValueEx versus RegSetValueEx
Jack - 17 Jan 2006 10:08 PM - 12 messages
Hello,             The code I am checking contains OSRegSetValueEx()  function. I cannot find any reference to it on MSDN site, but there is a reference to RegSetValueEx() What is the difference? ...
Score VB Limits on memory
JRO - 17 Jan 2006 9:26 PM - 10 messages
I am continually having problems in the development envoronment of strange things happening.  It occurs after I'ved been using it for awhile.  After exiting and comming back in the problems go away. How can I find out if I'm running up against any memory constraints or ...
Score Application monitoring/key logging
Rob Kings - 17 Jan 2006 8:49 PM - 8 messages
I don't know whether this classes as OT or not, but here goes anyway. I'm looking for a keyboard logger, but it needs to capture mouse activity as well. I want it for testing some software. Occasionally we get a crash, but ...
Score UDT in Collection
Dan Ritchie - 17 Jan 2006 6:48 PM - 13 messages
Is it possible to add a user defined type to a collection?  I am getting "Byref argument type mismatch" in VB5. ...
Score Designer generated code and partial class
Farslayer - 17 Jan 2006 6:01 PM - 2 messages
I have to say that I hate how VS2005 uses partial classes to hide the form designer generated code.  Rather, I prefer to have it in one place just out of habit.  Does anyone know a way to prevent VS2005 from doing this?  Right ...
Score Sizers (grabhandles)
PC - 17 Jan 2006 5:10 PM - 6 messages
Happy 2006 to all i am trying to make pictureboxes on a form to change in width/height a little like vb in design mode but i would like my sizers(grabhandles ?) to always be visible even when the controls they are resizing do go outside their container ...
Score New Version of Apple iTunes Is Spyware
TedF - 17 Jan 2006 5:04 PM - 33 messages
[link] ...
Score Connection to Linux with sockets
Brian Shafer - 17 Jan 2006 3:22 PM - 3 messages
Hello, I am trying to connect to a linux server and pass data back and forth.  I have a c program(On OpenVMS) that does this, but would like to do this in VB in the Windows world.  Does anyone know of samples of doing this.  I've been ...
Score Timer in a Service
Richy - 17 Jan 2006 2:51 PM - 8 messages
Quoting from the MS Help page on the timer member :- "Implements a timer that raises an event at user-defined intervals. This timer is optimized for use in Windows Forms applications and must be used in a window" Does this mean it can't be used as part of a service? What class can be used ...
Score Security problem when debugging VB6 DLL from calling ASP page
Griff - 17 Jan 2006 1:37 PM - 6 messages
I know that this is easy to do, I've done it before, but I can't find how I did it before.....groan. Basically, my ASP page can createObject for a compiled DLL, but it can't do it for the non-compiled DLL (running in VB6). ...
Score run time error
nuti - 17 Jan 2006 12:15 PM - 4 messages
Got Run-Time error: -2147024894(80070002) Method 'Run' of object 'IWshShell3' failed how wshould i go about it? cheers, Nuti ...
Score VB client server app - COM+/DCOM error
marcusg - 17 Jan 2006 11:15 AM - 3 messages
Hello, We are currently migrating the OS of the client side (VB 6.0) of a client server app from Windows 2000 to XP SP2. The server is staying as Windows 2000. The client software for the application is installed by running an ...
Score Shell function return values
Joachim - 17 Jan 2006 11:02 AM - 7 messages
If the Shell function cannot find the file specified - what is the return value? The docs only says "an error occurs". ...
Score Absolute hyperlink
Robert - 17 Jan 2006 10:22 AM - 3 messages
Gents I'm using VBA in Excel to created hyperlinks to files. VBA creates absolute hyperlinks and this works fine. But when I save the file on the same server it changes the hyperlink from absolute to relative, which conflicts with other features in my VBA code. Could anybody ...
Score How to detect user Lock Windows XP
F007K - 17 Jan 2006 10:14 AM - 2 messages
Dear all Is there any way to detect a user Lock the Windows XP by pressing Ctrl-Alt-Del ?   Also I need to detect user unlock it as well ? Best Regards Ferrong ...
Score How to check if certain service is started
John - 17 Jan 2006 7:48 AM - 2 messages
Hi all, I use VB 6. Any method to check if service is started? For example, print spooler. If print spooler is not start     Do something here endif Thanks, ...
Score Best Option for a toolbar that support 32X32_32 Icons
Brian - 17 Jan 2006 5:19 AM - 2 messages
I'm creating an app that requires a toolbar of sorts...  I have a good collection of 32 bit depth icons that I would like to use...  however, the VB6 toolbar control doesn't support this color depth... ...
Score Simple but re-assurance needed..
Paul - 17 Jan 2006 1:20 AM - 5 messages
Can somebody please tell me how to format my hard drive please?Without any discs if possible. Can I do it through DOS?Thanks, Paul. ...
Score Drop-down FONT list using screen.fonts W/O @FONTS
Saucer Man - 17 Jan 2006 12:57 AM - 9 messages
I am creating a drop-down font list like so... Dim i As Integer For i = 0 To Screen.FontCount - 1     Combo1.AddItem Screen.Fonts(i) Next i This giving me fonts beginning with @ like @Batang and fonts beginng with ...
Score Class not registered error
Saga - 16 Jan 2006 11:24 PM - 5 messages
I ran into this somewhat unusual problem today. I needed to configure the SSDBGrid within the app that I have, so I selected the component, pressed F4, getting the property dialog and then selecting the Custom property. The button with the ellipsis (.) showed, but when I clicked it ...
Score Saving revisions of a VB program
VB_Newby - 16 Jan 2006 11:23 PM - 11 messages
I'm developing a program in VB.  I like to stop at opportune times and freeze development prior to adding a new feature.  That way, I can use THAT version of the program - while I screw it up the next ...
Score "The Publisher could not be verified. etc."
Kees - 16 Jan 2006 10:54 PM - 10 messages
Hello all, I've written and installed a VB6 application for one of my customers. After a while this customer requested some changes in the program and I made a new exe. In a stroke of genius I put the exe on the web, so the customer could ...
Score Obtaining the variations of product version.
Howard Kaikow - 16 Jan 2006 7:46 PM - 7 messages
I am aware of three product versions for a .EXE: 1. App.Major, App.Minor and App.Revision  can be used to obtain the numbers set on the Make tab of the project properties. 2. When one right clicks on a .EXE, the version is shown with a 4th ...
Score Date,Time Calculations
Chuck216 - 16 Jan 2006 7:43 PM - 8 messages
I have a question hopefully somebody can answer. I’m not real good with code I just kind of stumble my way around. Anyway I got this function from Microsoft’s website in there reference database for elapse time and date ...
Score module not passing information
Gonzosez - 16 Jan 2006 6:31 PM - 4 messages
I have a module that connects to a database and creates a recordset. The problem is that when I try to call the recordset in the form I get the error that an object is required. What do I have to set for the variables in the module to be used by the ...
Score how write files to cd in VB 6.0?
jim - 16 Jan 2006 4:23 PM - 2 messages
I want to write data file to CD, could anyone tell me how to find which drive is CD burn and how to write files to CD in VB 6.0? Thanks a lot. ...
Score MSCOMM OBJECT
Big D - 16 Jan 2006 3:54 PM - 2 messages
I am using the mscomm object in a vb program to retreive infomration from a Point Of Sale printer. The program has error handling and seem to work fine. The issue I am encountering is occasionally coming across a few printers ...
Score Wait for ActiveX DLL to return a value
DaveO - 16 Jan 2006 2:58 PM - 16 messages
Hi All, and everything of the best for 2006. I'm using VB5 sp3 and am wondering if there's a better way to do this. My main app. on form  MMmain  has buttons used to open forms which reside in ...
Score Software copy protection
Alex Sergeev - 16 Jan 2006 12:26 PM - 3 messages
EXECryptor anticrack and antipiracy software protection tool is updated to version 2.2.5 • improved: full multithread support. now you can use crypt_* blocks in threads without critical section. • improved: PowerBasic 8 compatible • improved antidebug and patch protection For more info click here: ...
Score Help with DataCombo.Text!
Damon - 16 Jan 2006 11:17 AM - 4 messages
Hi, I have a datacombo which holds a list of dates i.e. 02/01/2006 01/01/2006 31/12/2005 I would like the datacombo.text to display the first record in the datacombo i.e. 02/01/2006 without having to actually select it from the lost.  Is this ...
Score Suppressing error message in msgBox
idey - 16 Jan 2006 10:16 AM - 3 messages
Hi, I have an application in which I have handled error by using On Error goto err ------- ------ err: -------------------------- Now at some places I want to throw a runtime exception which I do by Err.Raise method. The problem is that the message box which appears contains the text ...
Score Icon On Taskbar?
Arpan - 16 Jan 2006 7:22 AM - 4 messages
I have a VB6 app which uses 10 Forms. Apart from the start-up Form, the other 9 Forms load when a menu item is clicked. When the app starts & the start-up Form loads, the icon on the Taskbar ...
Score wininet.dll FTP Create directory
Eric - 16 Jan 2006 12:28 AM - 3 messages
I am having trouble with creating a directory on a FTP server that I have accessed using the wininet.dll. I have connected fine and able to navigate as well as create files. My attempts to create a directory keeps giving me the following error ...
Score How to create VB.NET Onclick event from ImageButton dynamically
Brian - 15 Jan 2006 11:53 PM - 2 messages
I am having trouble creating Imagebutton at runtime from VB.NET code behind page.  I can create imagebutton dynamically but don't know how to create onclick event from vb code behind page.  There is no onclick event in ...
Score edit / recompile dll or resource from the app
David A Barajas - 15 Jan 2006 9:53 PM - 4 messages
I am looking for the best way to update passwords to a file without relying on the registry. I want to be able to have a user, on install, set an admin password, have that password saved into an encrypted file, and use that password / file for ...
Score Editable grid control
David De Bono - 15 Jan 2006 6:31 PM - 5 messages
Hi, I need a grid/list that can be edited by the user directly. It cannot be a databound, ie not dependant on a recordset. Which control should I use (VB 6.0) David ...
Score Two Dimesnional arrays
William - 15 Jan 2006 4:30 PM - 5 messages
What is the proper syntax for defining a two diensional arry where you want to redeimension the  LAST element What is the proper syntax for ReDim the  LAST element TIA ...
Next »