Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score Smart Drives/Flash Drives
Robert - 10 Jun 2006 7:36 PM - 2 messages
How is the best way to allow a user to save data to a Smart Drive or Flash Drive. Would it be done the same as a floppy? How would one verify if the drive exists? Any Samples or tips!!! ...
Score How can I get the color of a point?
Javad - 10 Jun 2006 7:13 PM - 3 messages
Hello I want to write a program to analyse some pictures. I need my program to be able to distinguish the colors of the different points of the picture. For example I give it the X and Y of that point, and it gives me its color. ...
Score Tabs in menus
Dan Ritchie - 10 Jun 2006 5:09 PM - 11 messages
I would like to separate items in menus with tabs, such as the main text of the menu, and its keyboard shortcut, like this Delete...     Del It works fine on my developement machine, but for some reason when I install ...
Score Automating Excel 8
Desi - 10 Jun 2006 8:50 AM - 6 messages
I know I've done this successfully in the past but it's presently got me stumped. Platform is Win98, VB6 sp6. Referencing "Microsoft Excel 8.0 Object Library" Dim xlApp as Excel.Application Set xlApp = New Excel.Application <--- This generates Runtime Error 458. ...
Score Advanced Visual Basic 6 CD
RB Smissaert - 10 Jun 2006 7:38 AM - 15 messages
Bought the book Advanced Visual Basic 6 by Matthew Curland from Amazon. Unfortunately, there is no CD with it. I got a refund, but it seems that without the CD the book is not much use. I think there might be a general problem to get hold of this CD. ...
Score Dayview Algorithm
Ivan Debono - 10 Jun 2006 6:41 AM - 9 messages
Hi all, I'm desinging a dayview control (similar to the outlook one) and have stumbled upon a problem that I still haven't managed to solve by now. It's basically the clever placing of overlapping appointments. This is what I have ...
Score INtegllisense not working in VS 2005 for aspx pages
HunterZ - 10 Jun 2006 2:19 AM - 2 messages
I was working fine in VS 2005 before I was moved to a new computer where VS 2005 was newly installed.   Before I moved Intellisense was working beautifully in either the VB portion of an aspx page or the html page.  But ...
Score "Toolkit has encountered a problem and needs to close.."
Jack - 9 Jun 2006 11:16 PM - 12 messages
Visual Basic 5.0 set up Toolkit has encountered a problem and needs to close. We are sorry for the inconvenience. Error signature AppName: setup1.exc AppVer: 5.0.0.361 ModName: ntdll.dll ModVer: 5.1.2600.2180 Offet: 0001888f ...
Score What am I doing wrong?
AK - 9 Jun 2006 8:56 PM - 25 messages
I have 2 text boxes. They both start out green. When I lose focus on a tet box (by clicking on another) I want to reset the background of the box that lost focus to white . Since I have a lot of text boxes, I wrote a function ...
Score ListView doubleclick event
Dale - 9 Jun 2006 8:47 PM - 5 messages
I'm trying to make something happen when I double-click an item in a listview control. There is no "dblclick" event for the control, but the "MouseUp" event seems to always work. So, I'm setting a flag and enabling a timer on the first MouseUp. The ...
Score sort 1-D array of doubles for Olaf Schmidt
RB Smissaert - 9 Jun 2006 7:11 PM - 9 messages
A few weeks Olaf Schmidt posted a VB6 routine to sort a 1-D array of strings very fast indeed. This was in the thread: fastest way to change case of string. Now I wonder if I could use this code to sort a variant 2-D array where the ...
Score accessing a collection
greg - 9 Jun 2006 3:39 PM - 4 messages
hello, I am filling a collection with data. and i am trying to find the best was go get the collection. i want to fill the collection at the begining of the application. then I have a lot of classes i want to access the collection in. ...
Score on error
Hemant_india - 9 Jun 2006 3:27 PM - 3 messages
on error goto 0 what exactly happens with this line in a code? ...
Score subtracting one date from another
shawrie - 9 Jun 2006 2:25 PM - 7 messages
Hi can someone please help me. Is there anyway to work out given todays date what the date was 2 weeks ago? thanks shawrie ...
Score Problem with SHFileOperation function
Seamus Conlon - 9 Jun 2006 11:33 AM - 5 messages
I am using the SHFileOperation function to delete a file and want to suppress the confirmation dialog box. But using the FOF-NOCONFIRMATION flag doesn't seem to work - the dialog still appears.  Code is as follows:    With myStruct ...
Score HowTo: Unregister a DLL/Control when the File no longer Exists
Charles Law - 9 Jun 2006 10:14 AM - 23 messages
I have a project group, in a specific location on disk, that contains several projects. There is the main EXE and a few ActiveX DLLs. The main project references one of the DLLs, which in turn references another DLL. So far so good. ...
Score Loop won't add more than one record to database.
Rod - 9 Jun 2006 4:26 AM - 5 messages
I have an array with elements 0 - 5 called mstrDiag . I'm using the following loop to add non-blank elements to an MS Access table using a Data Environment. Dim intIndex As Integer intIndex = 0 Do If mstrDiag(intIndex) <> "" Then ...
Score A solution for Ctrl+C problem
CoolDude - 9 Jun 2006 3:31 AM - 5 messages
[link] ...
Score "Find Target" button not working in shortcut properties
Merlin - 9 Jun 2006 1:57 AM - 7 messages
When I view the properties of a shortcut, I often use the "Find Target" button to open the relevant folder. Recently, however, this has stopped working, and now when I click the button nothing happens. Any ideas? I'm running XP, SP2. ...
Score Finding how many lines in a text file
WarrenG - 8 Jun 2006 10:31 PM - 6 messages
Is there a quick way to find out how many lines there are in a text file without having to resort to a loop and a counter variable? I'm already using a loop to read a text file and a counter to determin which ...
Score Editing and Printing a Word document
J - 8 Jun 2006 9:01 PM - 3 messages
Hi,     I have a small problem. I'm using VB 6 and Work 2002.  I have a Word 2002 document that users need to print without opening the document. What I do in VB6 is open a Word document, pass data into the cells in an existing ...
Score Irda programming
Saga - 8 Jun 2006 8:02 PM - 8 messages
I am investigating as to how to transfer files between two computers that have IR (Infra Red) ports. My Google experience yielded two methods: 1. Use winsock control with Protocol property set to 2 2. Use MSCOmm control in conjunction with a virtual seral port driver for Irda ...
Score VB6, Installsheild, Windows installer.
Jennifer W - 8 Jun 2006 7:01 PM - 2 messages
I use Install Shield Express X  to distribute my VB6 programs. Some time ago I clicked one too many buttons in Install Shield related to "Product Code" and "Upgrade Code". Now, when I'm working on developing another VB6 project, Windows Installer ...
Score Access VBA - Create a text file and add data to text file
jorge1145 - 8 Jun 2006 6:11 PM - 3 messages
Any Access (97) gurus out there know how to (through VBA, module): 1) Create an external text file 2) Insert text (data) into the text file just created? Thanks! ...
Score Change System Tray Icon??
Brad Melendy - 8 Jun 2006 5:47 PM - 4 messages
Hello, Does anyone know how I go about changing the default system tray icon in VB.net 2005?  I'm using the NotifyIcon control on my form but I want to change the icon programmatically.  Thanks for any help or suggestions. ...
Score Adjusting API declare for VB
Desi - 8 Jun 2006 3:02 PM - 8 messages
The creators of a host system have of course provided APIs for access to their system. They have gone so far as to provide a VB wrapper for their C-Language DLL. However the VB wrapper does not include all the functionality provided within the ...
Score Comparable feature in VB6 to Goal Seek in Excel
FlorhamPark - 8 Jun 2006 2:40 PM - 5 messages
I am trying to convert an Excel spreadsheet to VB6.  Is there a comparable feature in VB6 to Goal Seek in Excel? Thank you in advance. ...
Score IE toolbar button and VB script
R. Harris - 8 Jun 2006 2:10 PM - 2 messages
I followed the directions to add a button to IE's toolbar  found here: [link] The button appears as it should but it does not execute my script.  I ...
Score VB6 runtime + windows Vista
William Leme - 8 Jun 2006 2:00 PM - 3 messages
Hi people, I don´t know if that´s true but i heard that the new Windows vista would not support the runtime of VB6. Is that true ? Thanks, William. ...
Score How to check timeNow is later then a defined time?
Boki - 8 Jun 2006 10:42 AM - 5 messages
Hi All, I want to know now is later than ten clock. How to do that? Thank you very much! Best regards, Boki. ...
Score When timtout turn off computer
Boki - 8 Jun 2006 10:41 AM - 5 messages
Hi All, My program is doing something, I want it still running after I exit office, but I want it close after serveral hours. I want to know how to turn off PC by VB program. Thank you very much! ...
Score Cancel Autorun with QueryCancelAutoPlay
kieronbrady - 8 Jun 2006 10:41 AM - 2 messages
Hi, Im trying to cancel the autorun function of an inserted cd with the querycancelautoplay function and cant seem to get it to work, I think im missing something from my code which is so far.... Public QueryCancelAutoPlay As Long ...
Score Can rotate image ?
Boki - 8 Jun 2006 8:42 AM - 6 messages
Hi All, Is there any rotate function to rotate image ? Or I have to cos sin it byself? Thank you very much! Best regrads, Boki. ...
Score How to detect new file in disk?
Boki - 8 Jun 2006 8:41 AM - 3 messages
Hi All, My for fun camera project almost finish. Camera captures image when variation larger then threshold, the capture image will save to a network disk. I will write a program to check is there any new file be saved, and ...
Score Extract Random Values from Array
Ricky - 8 Jun 2006 7:38 AM - 8 messages
Is there anyways to randomly select numbers from an array MyArray(Rowmax,Colmax).. So we must be able to random select a number between 0 and rowmax and similarly between 0 and colmax and then the value stores at that ...
Score "Processing in Progress" message
Irfan S. Fazli - 8 Jun 2006 7:01 AM - 2 messages
from the MDI form, my main form is visible. Before starting the work associated with a cmdButton I have to create Indexes on a table. This takes time. I want to display a message in a small window (Like ForPro's Wait Window ... ...
Score Runtime files for VB6
Ruth Isaacs - 8 Jun 2006 6:11 AM - 3 messages
Hello All I have been given the source code for a bespoke application that has been written for me in VB6. The code comprises a number of .dll and other files. In order to try and open the main .dll file I have downloaded vbrun60sp6.exe ...
Score Hide activex control parameters from web users?
kennyjjohnson - 8 Jun 2006 5:50 AM - 2 messages
Hello, I use some video software that lets me embed the video in web pages with an active control. The parameters include, ip address, username, password. I need to find a way to hide those params from web users. It does not sound possible... anyone know if there is a way? ...
Score IDE Question
Jim - 8 Jun 2006 2:40 AM - 7 messages
On one machine that I work on the form widths are nysetiosly narrowed by the IDE. Has anyone heard of this behavior? ...
Score Add reference to the Scripting runtime (SCRRUN.DLL) in Excel macro
Emily - 8 Jun 2006 1:54 AM - 5 messages
Hi, I've created a VB script as a macro inside an Excel file. Because I used Scripting.FileSystemObject, I must add a reference to "SCRRUN.DLL" to the VB project. However, I really can't, because the Tools->References menu item is ...
Score keydown click sound
Josh - 8 Jun 2006 1:26 AM - 5 messages
Why when I capture a keydown event on a form (keypreview is true) do i hear a click from the speaker.  How do i silence it. ...
Score test
curly101 - 7 Jun 2006 9:59 PM - 3 messages
Hope I'm in the right discussion group. Thanks in advance for any help. I'm getting the following error message and I am in desperate need of help: Microsoft VBScript runtime error '800a005e' Invalid use of Null: 'Replace' /new_db/cvmhpa_admin/CVMHPARevMembershipList_Update.asp, line 898 ...
Score Error 3426 - This action was cancelled by an associated object.
Bob Barnes - 7 Jun 2006 6:59 PM - 5 messages
I've discussed this w/ Paul Clement - thanks again Paul. Running VB6 - it's run over 7 years.  I'm an Access Developer, and maintain the VB App, & did not write it. It has worked well..until yesterday.  I added a Yes/No Field bound to a Data ...
Score Simple Line Chart ActiveX needed for VB
Scott M. - 7 Jun 2006 6:02 PM - 5 messages
I have a need to create simple line charts in my VB application. As a single datapoint changes, say from 30 to 100, I want to show a live line chart on-screen. Does anyone know where I can get this control? I ...
Score reading a file
greg - 7 Jun 2006 4:13 PM - 3 messages
hello, i need to read a file with VB6. the file has a variable length and number of properties in it. the file is comma seperated.  but there can be some values like "xxxxxx,xxxxx" so this is 1 value in "".  but has a comma in it. ...
Score ActiveX File Info
Prabhat - 7 Jun 2006 3:12 PM - 8 messages
Hi, I have seen some program that are used to display ActiveX file details like ActiveX DLL and Ocx etc. I think they uses the TypeLibInfoFromFile method of the TLI.TypeLibInfo for getting the details of the activeX file . But how can I know if the file name given to the TypeLibInfoFromFile method ...
Score VB6 - Open a Folder browsing control on a SPECIFIC FOLDER???
Alan Mailer - 7 Jun 2006 2:57 PM - 2 messages
This may be one of the oldest questions in the books, but... In VB6, how would I go about 'forcing' a Folder browsing control to appear on screen with a specific folder already selected? Thanks in advance. ...
Score need to launch a setup with arguments from VB6
jamesj - 7 Jun 2006 2:06 PM - 2 messages
I am a non programer.  I wish to create an app to launch office install and apply transform.  button 1 = Office 2003, button 2 = Ofice XP ... seems simple enough but nothing is working for me. Please sugjest a very simple straght forward way to launch a setup with ...
Score Strange behavior
Wagon - 7 Jun 2006 1:35 PM - 12 messages
Every now and the I get a square box character in a textbox in place of a vbcrlf despite the fact that the textbox is set for multiline. Any ideas? ...
Score How to close powerpoint presentation in vb(add-in) on close event
Harry - 7 Jun 2006 11:25 AM - 4 messages
hello everyone, i hv a problem that how to close powerpoint presentation in vb(add-in) on close event. Actually if i try to close the pp in close event by .close method it gives an error that "Presentation (unknown member): Invalid request. This operation cannot ...
Score Manual writing
donald - 7 Jun 2006 11:18 AM - 2 messages
Hi there, I need to write a Manual for my software, what program shell I use to do this? I use VS.net to write my software does it have a part to help write Manuals? Thanks Donald ...
Score Playing Audio files
Dave - 7 Jun 2006 9:50 AM - 3 messages
Hi I've found a number of code examples that will play MP3 and WMA files but not OGG and M4A files. I can get WMP to cope with OGGs but it does not seem interested in the M4A files and anyway I'd prefer not to use the WMP. ...
Score Child Form Question
Uri Dimant - 7 Jun 2006 9:03 AM - 3 messages
VS2005 ,VB.NET I have MDIParent form with a Panel tool on the left . So when I tried to open a child form  , it is hidden under a Panel , I tried Child.left=Panel1.left+ Panel1.width, however it has not changed ...
Score Revert the source of exe
Kim - 7 Jun 2006 7:59 AM - 6 messages
Hello, I have a small exeutable file which have developed by VB6 for many years.. But it has lost the source code. Is this possible to revert back and get back the source code? Kim ...
Score Problem with Buttons
Peter - 7 Jun 2006 7:25 AM - 4 messages
Dear All I use a Button-Control array on my form, each button displays a picture using the command1(index).picture property. If the user presses a button then the backcolor(picture is smaller than button size) should change to indicate that this picture is "selected". ...
Score how to make combo box non editable
the game - 7 Jun 2006 5:57 AM - 6 messages
Hi I am new to vb I need help for the following : 1) I want a   combo box with its style set to : 0 (Drop down combo) and the text displayed in the combo box must not be editable. ...
Score how to detect if array of public type defined in (not class) module is dimensioned or not
Mike Scirocco - 7 Jun 2006 3:01 AM - 7 messages
In a public Module (not a class module) I have the following: Type PersonalData      Name    As String      Phone   As String      Fax     As String ...
Score All I'm loooking for is a simple answer to a simple question
pcnerd - 6 Jun 2006 10:38 PM - 5 messages
Here's the situation. I have VB.NET 2005 Express Edition. I have a 19" LCD monitor with the resolution set at 1280 by 1024. I want to create a graphics program, say, displaying fractals that will run with the form maximized. Are ...
Score Order Of Controls On Form
Ole Weigelt - 6 Jun 2006 10:09 PM - 6 messages
Hi Everybody, I have the following problem: I would like to place a picture (BMP, JPG, ICO) on a form. The size of the picture is unknown at design time. Then this picture shall be centered on the form. Finally, some labels shall be placed visible (transparent ...
Score VB 6 Error
Bob Barnes - 6 Jun 2006 8:28 PM - 5 messages
I'm primarily an Access Programmer, plus I maintain a VB 6 App written by someone else in 1999. It has worked well..until today.  I added a Yes/No Field bound to a Data Control.  Looks fine, except when... ...
Score Getting and setting width and height of an image file
pmud - 6 Jun 2006 8:26 PM - 17 messages
Hi, I am reading the contents of  an image file and then uplaoding the file to the server.Now, my problem is that i want to reduce the width and height of the image to a fixed size and then store it on the server. How to get the ...
Score vb6 path
bp - 6 Jun 2006 7:55 PM - 7 messages
hello, I am using VB6.  i have a string that contains a path + file name. such as c:\temp\some folder\myFile.zip. what is the best way to get the myFile.zip? thanks ...
Score Display only removable drives in Drive List Box
pmud - 6 Jun 2006 7:14 PM - 2 messages
Hi, I have a VB 6.0 activeX control. How can I display only the removable drives in a drive list box? Below is the code I am trying to use. But on using, I get error message: "cant assign to read only property" and    drvChoose.List  ...
Score line concatenation
tencha - 6 Jun 2006 7:04 PM - 4 messages
having a problem using line concatenation have a constant with multiple lines (5 lines). when I use the line concatenation & _ at the end of each line.  I then save my work; call up VB; the & _ is ...
Score Browse and Select List of Folders
SPECOjim - 6 Jun 2006 6:34 PM - 6 messages
This should be simple but ... I need to come up with a way to let a user browse and select a list of folders on their PC similar to the way the common dialog allows you to select a list (shift and cntrl click) of files. ...
Score linking to external mdb files.
Rick - 6 Jun 2006 4:56 PM - 2 messages
VB6 and DAO 3.51: I have the following code:         Set tdLinkedTable = dbTEMPD.CreateTableDef("VinLinkedTable")         tdLinkedTable.Connect = ";DATABASE=" & strDBAddr_p & ";PWD=" & strPWD_p         tdLinkedTable.SourceTableName = "ExternalTable" ...
Score Form1.Hide does not hide the form
Mario G. - 6 Jun 2006 3:50 PM - 11 messages
Hi All, I have a strange scenario which is not always repeatable but happens frequently enough that it's causing some problems for our employees. The application has many forms in which forms are hidden and shown when required (yes I know it's not the preferred method of Loading and Unloading ...
Score Collection Class object enhancements
wb - 6 Jun 2006 3:48 PM - 9 messages
I have a collection class that I created to store LineItem objects of a shopping cart.  End users can scan items into the shopping cart through a barcode scanner and each item is added.  Users may or may not change the ...
Score c# to vb.net
JIM.H. - 6 Jun 2006 3:04 PM - 2 messages
Hello, In my Windows Form c# application I have this to get parameter from the command line, How and where can I do this VB.Net         [STAThread]         static void Main(string[] args) ...
Score Access does not save some records...any ideas why?!
Contro - 6 Jun 2006 2:36 PM - 2 messages
Hi guys! I've got a very strange problem.  Basically, I have an access table of data, which users can input values into via a form.  Some parts of this form have vb code to enable the user to input a shortcut for a word, ...
Score Object required
Brian - 6 Jun 2006 2:16 PM - 2 messages
Hello.  I am comparing the beginning of a string to another string using the StartsWith() function.  My line of code is:     if checkPrinter.StartsWith("\\medea\") then     WshNetwork.RemovePrinterConnection oPrinters.Item(i+1), true, false ...
Score Extended ListView Control
Ole Weigelt - 6 Jun 2006 2:12 PM - 3 messages
Hi Everybody, I am looking for a control that does pretty much the same as a ListView Control but with some additional features like: - setting colors (especially background) per line - showing icons and perhaps buttons in selectable columns - knowing the column that has been clicked on (corresponding with above) ...
Score Including Save As, Copy, Edit, etc into Program
fuzzybunny12 - 6 Jun 2006 1:30 PM - 5 messages
My problem is pretty straightfoward.  I have just started using VB last week and learned a lot by reading through threads, books, and other resources.  I have designed a program using VB 6 that calculates energy efficiencies of ...
Score VB6 unable to launch excel macro
Oli6865 - 6 Jun 2006 1:26 PM - 2 messages
Hi to all, I've been passing a phew days trying to fin what wrong. I've got a vb6 program that launches Excel, fills a new xls with data from a DB and then I need to launch 2 macros in it. The first one works ...
Score mciSendstring, short file names and win version compatibility
Marshal Anderson - 6 Jun 2006 10:43 AM - 5 messages
I think this question may be simpler than it looks. To pursuade the mci doofer to save, I have to convert the file path to the short format - i.e. spaces removed and the addition of Wiggly Things. This works fine in W98, but do later version of windows recognise this ...
Score VB6 & Win64
John Woodiwiss - 6 Jun 2006 10:23 AM - 17 messages
Can anyone tell me if an application written in VB6 Pro under either W2000 or XPPro will work in the new 64 bit Windows? Should I consider moving to VB.net? What is VB2005 express? Many thanks ...
Score MDI form title bar doesn't focus
nik - 6 Jun 2006 4:58 AM - 12 messages
My MDI form does not regain focus when I click on the title bar. Once my MDI form loses focus I can click on it to bring it back into focus, except on the title bar. The icon and the minimize, maximize, close ...
Score VB6 mciSENDSTRING is recording TERRIBLE audio - WHY???
Alan Mailer - 6 Jun 2006 3:21 AM - 5 messages
I'm attempting to use VB6 to 'record' the audio that is playing on my sound card. I am getting results, but the quality is TERRIBLE.  The playback audio signal volume is fairly faint and there is a LOT of noise along with ...
Score How to show a icon/small picture as MSN incoming msg?
Boki - 6 Jun 2006 2:39 AM - 5 messages
Hi All, I will have some incoming pictures, when I got those pictures, I want to inform user by a dynamic floating picture as MSN in the taskbar and then disspear. Best regards, Boki. ...
Score Run-Time error 3709 ??
AK - 5 Jun 2006 10:03 PM - 6 messages
I get this on trying to make my exe file "Run-Time error 3709 "Run-Time error 3709 The Connection cannot be used to perform this operation. It is either closed or invalid in this context." HuH??? Exe creation stops and hitting the debug takes me to the line: ...
Score Text embedded on VB6 form?
Paul - 5 Jun 2006 9:52 PM - 4 messages
I am building a form in VB6. I was trying to copy a button and place another. Somehow I did not get the button selected, so it was not copied. When I hit Paste, instead of the button being duplicated a long string of ...
Score Callback Function Lost of Focus problem
nik - 5 Jun 2006 8:15 PM - 9 messages
I have a VB application that displays text data, which is generated from a callback function in a DLL. It works great until the form losses focus, at which point the program crashes. Has anybody seen anything like this? Any clues? ...
Score Profiler in Team Edn for S/W Dev--Any successes?
rdevitt - 5 Jun 2006 8:09 PM - 6 messages
I am struggling to get any useful performance data out of the profiling tool in Visual Studio Team Edition for Software Developers. On a simple command-line app, it reports bogus call paths in release and release with debug info builds.  With a debug build, the results are so ...
Score Linked spreadsheet error #Num! in Access 2000 VB
ML - 5 Jun 2006 4:12 PM - 3 messages
Hi I'm new to both Access and VB, and have created a module to run a report that links in a spreadsheet with mixed data (numeric and alpha) that I'm looping through and comparing to an access table for the ...
Score Detecting keyboard events
Jerry West - 5 Jun 2006 4:07 PM - 2 messages
I have a borderless form which has a BMP file as its entire background; i.e. Form1.Picture = Load Picture(app.path & "\filename.bmp") I'm attempting to catch keyboard events for this form. However, no matter what key I press no event is fired. The goal is to detect a click on the ...
Score Detecting Keyboard events
Jerry West - 5 Jun 2006 4:03 PM - 2 messages
I have a borderless form which has a BMP file as its entire background; i.e. Form1.Picture = Load Picture(app.path & "\filename.bmp") I'm attempting to catch keyboard events for this form. However, no matter what key I press no event is fired. The goal is to detect a click on the ...
Score Screen resolution problem
dman - 5 Jun 2006 3:31 PM - 24 messages
Hi. I have an application that was designed to run on PC's using a resolution of 1024*768. Recently, there are 2 locations that need to run their displays at 800*600. Of course, this is causing them some grief as some of the application is cut of. ...
Score Re: ActiveX.exe more problems
Galen Somerville - 5 Jun 2006 3:30 PM - 27 messages
Olaf Had to break the chain as OE would not send a reply. Good points. Nice catch on no dot before Dev Have dropped the Demo and tied in the main App for testing. Galen ...
Score ActiveX Control to get CPU ID of Client PC
Prabhat - 5 Jun 2006 3:18 PM - 6 messages
Hi All, How can I create a program / activeX Control that I will send to Client's PC, when user visit the webpage, So that it will ask for Activex control installation (like Microsoft windows validation control).  want to create ...
Score large icons in listview
vonClausowitz - 5 Jun 2006 1:02 PM - 3 messages
I'm trying to display large icons in a Listview. I have set the View to 0 - lvwIcon but I don't see the images. I have connected the imagelist with (48x48) icons to the Listview Normal ImageList Dim itmX As ListItem ...
Score Return a value from a function
Ricky - 5 Jun 2006 10:55 AM - 18 messages
I have a function, say function1().. Now i want the function to perform some calculations and return a value to a variable.. suppose this is how we have, Public Function function1(theList As Double) a =  thelist +3 End Function ...
Score error -2147467259 on fresh copy of win XP
Liron - 5 Jun 2006 10:13 AM - 2 messages
Dear All 1.I have just installed a new copy of windows xp on my computer. 2.I have installed visual basic 6 package with sp6. 3.I had an EXE application running on my old computer (that ran just fine). ...
Score How to close the dynamic new form
Boki - 5 Jun 2006 10:09 AM - 4 messages
Hi All, I dynamic allocate new form,     Dim NewForm As picForm     Set NewForm = New picForm     NewForm.Picture1.Picture = pic     NewForm.Show but, I want to press a button to close all these form. ...
Score How to pop up a form/picturebox
Boki - 5 Jun 2006 8:42 AM - 4 messages
Hi All, I use a camera to capture images, when difference larger than threshold I want to pop up a picturebox or form to inform user, could you please advice? Thank you very much! Best regards, Boki. ...
Score Overflow here ...??
Boki - 5 Jun 2006 6:19 AM - 3 messages
Private Sub showTheDifference() Dim x As Integer Dim y As Integer Dim lColor As Long Dim iResult As Double Dim handle As Long handle = Boki.hDC For x = 0 To 320 For y = 0 To 240   Debug.Print GetPixel(handle, x, y) // always overflow here, why??? ...
Score Adding a control to only one tab page in VB?
syclone98 - 5 Jun 2006 2:32 AM - 2 messages
I've been away from VB for a while and I'm helping a friend with a project.  For the life of me, I can't remember how to add a control to a tab page and only have it appear on just one page.  If I double click ...
Score Delete Child Nodes In TreeView?
Arpan - 4 Jun 2006 12:37 AM - 2 messages
Assume that a TreeView has 2 Parent nodes & each Parent node has 4 Child nodes & this is how the TreeView looks: A B Users can delete the Child nodes (& the Parent nodes as well). While deleting the Child nodes, I am facing 2 problems. ...
Next »