Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score regular expression
Ben - 29 Apr 2006 11:58 PM - 3 messages
I am trying to validate a textbox in which the user enters the following - "smtp.servername.com|net|org|etc... and I cannot. I have tried. The string is in the form xxxxx.xxxxxxx.xxx. Does anyone have any idea how to validate this ...
Score type casting, how to
VisualBert - 29 Apr 2006 11:20 PM - 3 messages
Can someone explain this new-to-visualbasic programmer why my statement throws an exception? I have defined a class: Class myDataSet     Inherits System.Data.DataSet     Public Sub fun(ByVal someparm As String)         dosomething() ...
Score Calling Screensaver
Ole Weigelt - 29 Apr 2006 8:48 PM - 3 messages
Hi everybody, can anybody tell me how I can activate the screensaver from VB? Thanks for your help Ole ...
Score DbGrid Properties
Neil Dyson - 29 Apr 2006 8:20 AM - 2 messages
I am now using vb6 having upgraded from vb5. I have a dbGrid that was created using vb5. When I now go to delete a columm or add a columm in its properties it looks okay on the screen. When the program is run the old ...
Score AUTORUN on installation
Bill Hall - 29 Apr 2006 8:03 AM - 3 messages
hi after I have compiled & packaged my new VB program, I am ready to deploy the package on CD to distribute. I have not been able to set the CD to AUTORUN when the program is installed on someone's computer.  I am running VB6, Learning Edition. ...
Score Why Statement Doesn't Execute
Billy - 29 Apr 2006 7:21 AM - 2 messages
I have the following: Sub ResetToED2()     Application.Replace Field:="Duration", Test:="contains", Value:="1d?", Replacement:="1ed", ReplaceAll:=True, Next:=False, MatchCase:=False End Sub I acquired this code by using "Record Macro" in Microsoft Project. I have tested this macro, and it doesn't seem to run.  In other words, ...
Score how to trun to Csharp project in Visual Studio 2005
hon123456 - 29 Apr 2006 1:02 AM - 4 messages
Dear all,              I have set the Visual Studio 2005 to Open as Visual Basic Project. Now I want to turn to C#, How can I change Visual Studio 2005 to Start with C# or VC++ project? ...
Score How do you reduce dev time?
Lisa - 29 Apr 2006 12:36 AM - 13 messages
Hi. Of late I've been wondering the about the best ways to reduce the development time for my apps (database related). I've come across some free utilities on the net that do things such as create classes, stored ...
Score MAPI and my accounts
- 29 Apr 2006 12:11 AM - 4 messages
I wrote a sub using MAPI: it's all right, it functions, but... BUT...!!! I have 4 accounts for email, but MAPI doesn't let me choose the account i want to use! So, when i start the sub, it runs sending mail by my predefinite account... ...
Score Access97 and vb6
Rick - 28 Apr 2006 11:12 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 How to upload a file...
Clark - 28 Apr 2006 9:39 PM - 3 messages
I have a VB program and part of the startup process is to download a small text file containing the latest version number (so user can be warned if an update is available). In addition to this I would also ...
Score Randomize question
Billy B - 28 Apr 2006 7:25 PM - 10 messages
I have the following code developed and it works fine. The number 125 in line 12 is the index number in the table.  I have a two column Access table with the week number and a word associated with that number. There are 25 words ...
Score How to End vb program
gary - 28 Apr 2006 6:31 PM - 21 messages
I have a program with a lot of forms.  There are a number of places where I need to end the program. Would something like this be the proper way?      Dim frm As Form      For Each frm In Forms ...
Score ParamArray can't hold variable names?
MP - 28 Apr 2006 5:54 PM - 3 messages
Is there any way to make something like the following (which doesn't work) work? You can't declare ParamArray with ByRef but I thought the default for vb6 parameters to a function was by ref, but it doesn't seem to work. ...
Score Menu Tags?
Arpan - 28 Apr 2006 5:31 PM - 6 messages
Using the following code, the Caption of a menu item gets displayed in a Label when the mouse is moved over a menu item (for e.g. if the mouse is over a menu item whose Caption is "New", then the Label will display ...
Score Read embedded file in VB 6.0
frice - 28 Apr 2006 4:30 PM - 3 messages
Hi, I'm creating a COM add-in VB 6.0. I have added a text file to the project (it appears in the Project Explorer window). My question is how do I access the file to read it into a string variable? If that can't ...
Score Cast from string to System.DayOfWeek
cbrown - 28 Apr 2006 3:48 PM - 2 messages
I have a datagrid with columns named for days of the week. I want to change properties of the columns for every day prior to todays date. So if it is Wednesday, I need to change props on Monday and Tuesday ...
Score Something like ProcessOf... HELP!
Francesco Ranieri - 28 Apr 2006 3:18 PM - 6 messages
Hi to all I have a question for you! This is the situation: 1) I've written the class clsNetworkMng. 2) This class clsNetworkMng has a function UDPReceiveMessages() that receive command messages from network. 3) Each command message has to be processed by another function ...
Score Recommendations for working with Word from within VB6
Frisbee® - 28 Apr 2006 3:11 PM - 3 messages
I'm currently developing an application which will need to be creating documents in Word format and subsequently be either printer, faxed, or e-mailed.  The latter part I'm pretty sure I can handle, but this is my very ...
Score Mouse Co-ordinates Over Menu?
Arpan - 28 Apr 2006 2:38 PM - 3 messages
How do I get the mouse position i.e. the X & Y co-ordinates when the mouse is moved over different menu items under a menu? A sample code will be highly appreciated......... Thanks, Arpan ...
Score On error goto problem
HDI - 28 Apr 2006 12:18 PM - 3 messages
Hi, I've got following code in access: For each ....    on error goto errhand    errhand:       ... next When the first error occures he handles errhand, correct. when the second error occures access gives a global error and doen's ...
Score Executing a VB-script from VB6
Kjell - 28 Apr 2006 11:38 AM - 5 messages
Hi I need to execute a VB-script from my Vb6 application (ActiveX exe application) and cannot figure out how to receive the output generated by the script back to my application. It's a regular VB.script (.vbs) and I have no problem executing it, the ...
Score System-Wide ADO Failure
PHILLIP GALEY - 28 Apr 2006 7:22 AM - 2 messages
I'm running VB6 Enterprise on Windows Me.  Something strange happened to my system, where any program that uses ADODB blows up as soon as you try to instantiate a recordset object.  All my projects in VB are affected and even ...
Score send Ctrl-Z over serial port with MSCOMM, possible?
Mike Scirocco - 28 Apr 2006 6:40 AM - 10 messages
I feel like I'm being dense, but I can't figure out how to send Ctrl-Z (as in holding down the Control key while pressing the "Z" key) over a serial connection established with MSCOMM. TIA, MIke ...
Score Error: richtx32.ocx could not be loaded
Jim Edgar - 28 Apr 2006 3:02 AM - 3 messages
I'm running WinXP Pro SP1 and VB6 SP5.  A couple of days ago I started getting the above error when I try to load a project with a rich text box or try to add an rtb to a new project.  I've checked around Google but the ...
Score Can VB auto Indent a whole block code
hon123456 - 28 Apr 2006 2:37 AM - 6 messages
Dear all,            I have write some code as follows which is not indented:            if ......            if.... ...
Score Who needs Tony Snow...
Karl E. Peterson - 27 Apr 2006 10:38 PM - 40 messages
.... when you have Rockford Lhotka, Billy Hollis, Bill Vaughn, and Kathleen Dollard? Bush should hire this group of kool-aid drinkers, eh?!    Dr. Dobb's | Visual Studio 2005: Unstable and Highly Recommended    [link] ...
Score textbox and tabkey
PC - 27 Apr 2006 9:15 PM - 12 messages
is there any way to detect that the tab-key is pressed in a textbox ...
Score Recordset Question
matt - 27 Apr 2006 9:08 PM - 3 messages
Hi, I do alot of querying a sql sb and load the results into a recordset.  This data is only read-olny so I will never update the db.  Right now I use a disconnected  recordset because I thought it be more efficient.  Is this a ...
Score PictureBox's Image, asp.net, windows application
msmeerkat - 27 Apr 2006 8:21 PM - 3 messages
Hello: I have a ASP.NET web application that needs to open a .exe file and display, on a picture box, the image that is located in a cache variable. I'm trying to do this, on Form_Load of the .exe: ...
Score odd Type Mismatch error with Mid$
Matt Williamson - 27 Apr 2006 7:11 PM - 4 messages
When I run the following routine, I'm getting a type mismatch error 13 and I can't figure out why. sFullName is dim'd as a string at the beginning of the routine. I am using it in another routine, but I tried setting it = "" just ...
Score How to ignore " in a string
Ian Davies - 27 Apr 2006 6:53 PM - 4 messages
I have the following sql string to run as a command in my VB6 project strSQL = "LOAD DATA INFILE " & ImportFile & " INTO TABLE tPupils FIELDS TERMINATED BY ',' ENCLOSED BY ' " ' LINES TERMINATED BY '\n';" Problem is the double quote at position  ......" ' LINES...... ...
Score rich textbox loses formatting when printed to from 2 different subs
Mike Scirocco - 27 Apr 2006 5:49 PM - 5 messages
I'm using a rich textbox to let the user enter a few lines of text and format them (font family, font size, italic, bold, color, underline). Then I print a report to the rich textbox from a different sub on a ...
Score DLL Woes
Trent Argante - 27 Apr 2006 5:43 PM - 3 messages
I have a DLL that when "made", doesn't display msgboxes.  But, prior to being "made" (i.e., while being developed in the IDE), it does. How do I get them to display after I "Make" it into an .exe? ...
Score PDW problem
John S - 27 Apr 2006 4:55 PM - 5 messages
Hi All, I have made a setup program of my application using PDW on XP machine. It runs well on other XP machine. But when the application start running, it produces error 3633, can not load dll: ?????L? On W2000 machine, the setup produces error message ...
Score appearacne of an object in picturebox
hdhdhd123 - 27 Apr 2006 3:22 PM - 4 messages
Hi, I'm trying to write a code for the following objective: #when the user clicks on an icon, then clicks inside the picturebox, an object appears in the picture box. #The object is a straight line with a divider(B) in the middle so that ...
Score Mouse wierdness! Anyone experienced this?
Charington - 27 Apr 2006 3:07 PM - 5 messages
Hi All I just started moving my VB6 and my developed apps over to another machine.  For some reason, the mouse points and clicks fine... but the scroll device doesn't work with VB6 development environment on this machine!  It's a standard Microsoft Wheel mouse, and works fine in all ...
Score VB6 Editor Font Changed
Wyne - 27 Apr 2006 2:27 PM - 4 messages
Hello, This morning, the font of my VB6 environment is changed by an accident. All text in the editor window become bold. To change them back, I click on the menu  item "Tools | Options.. " to open the options dialog. Then, select the ...
Score Rich Text box in an ocx
Lou - 27 Apr 2006 2:17 PM - 2 messages
I have a multiline rich text edit box contained with ocx. When I hit the "Enter" key I would expect the cursor to advance to the next line but it just sits there. The control is getting the "13" Even if I have a full line of text and place the cursor in the middle of the ...
Score VB (5or6) does something wierd with image data
geronimi - 27 Apr 2006 2:15 PM - 9 messages
Vb stores an image (bitmap/jpg) in a SQL2000 image field. For some reason it doubles the size by adding 00 for each byte. But sometimes it doesn't add 00 (0000.0000) but 01 or 20 or ?? and also the byte that ...
Score sqlDataadapter error
enders2010.12488178 - 27 Apr 2006 11:34 AM - 2 messages
Hi, When I start a new project and add the sqlDataadapter to a windows form I get the following message : --------------------------- Microsoft Visual Studio --------------------------- Failed to create component 'SqlDataAdapter'.  The error message follows: 'System.Security.Cryptography.CryptographicException: Key not valid ...
Score P+D Wizard reports missing files
Andy - 27 Apr 2006 10:29 AM - 20 messages
I'm trying to create a setup package with the very horrible Package and Deployment Wizard (shudder...) After telling the thing where I want the package to be assembled, it starts to whinge at me, saying the following files are needed but cannot be found. ...
Score How to connect two program using internet behind proxy or adsl mod
Birol inci - 26 Apr 2006 10:29 PM - 7 messages
How can I connect two program. If The computer running programs has unique internet IP (like 212.233.83.23) , it is simple using winsock. But if the computer connects internet using a four port adsl modem the Ip of that ...
Score Missing (sub)help file in VBA editor for Excel 2003 ?
Camille Petersen - 26 Apr 2006 10:06 PM - 2 messages
It all started very good at first. I opened Excel 2003 and its integrated Visual Basic editor. Then (in opened editor) I selected the VisualBasic help menu and the help pane was opened at the left side of the editor window. ...
Score VB.NET API ChangeDesktop()
DenKain - 26 Apr 2006 9:10 PM - 3 messages
Okay what I am atempting to do is create a second desktop and then switch to it. I found this ability in the API but I can't seem to get it to function properly. I use 'ICSharp' ([link]) as my compiler instead of paying M$ anything just so you know. I can not seem to actually get my program to 'create a second desktop' ([link]) and then 'switch to that desktop' ([link]). I would show you my sample code but since it has all failed I see it as a waste of time. If anyone can help I thank you greatly in advanced. -- DenKain ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score Process Event on all loaded Forms
Brian - 26 Apr 2006 7:13 PM - 5 messages
I'm not sure that this is possible, but have to ask as I think I should be able to implement something like this... I would like to Raise an Event and have a set of visible or loaded forms ...
Score Collection Problem Part 3 - Object variable not set
Bookreader - 26 Apr 2006 6:59 PM - 2 messages
When this code gets to the line      varLinksSearched.Add strLink I get an error that says     Object variable or with variable not set varLinksSearched is defined as a global collection as follows. Please tell me what I am doing incorrectly. ...
Score Controlling another program
Sheldon - 26 Apr 2006 5:53 PM - 2 messages
I have an unnatended process running in VB6.  Within this program I compact an MS Access database.  This action needs exclusive control of the database.  Even though the process runs at 2:00 AM on Sundays, I run into the problem a ...
Score Print #1 exporting to Excel
Lina Manjarres - 26 Apr 2006 5:48 PM - 2 messages
I have a system that sends data to an excel sheet using the print #1 command. If I send a number of this type: 98501456325896, I will get something like this in excel: 9.1801E+13. If I go to excel and I change the cell format from ...
Score VB6 Get Remote MAC Address Windows 98
jasondavidcarr - 26 Apr 2006 4:59 PM - 4 messages
Hello all, I'm really struggling with this one.  I have this working just fine in 2000 and XP using the SendARP API.  Unfortunately, however, this API does not exist in 98.  I need some way to retrieve a MAC address of a ...
Score Find Process ID from Process Name
Andibevan - 26 Apr 2006 4:11 PM - 3 messages
If all I have is the process name, i.e. winword or msaccess, how can I find out the process ID? I only need to use this for MS Office products so there should be little chance for 2 instances to be running. ...
Score Quey in Access using VB6?
Pharoh - 26 Apr 2006 2:47 PM - 4 messages
I have a small access database and I wanted to basically write a query in vb6 that selects from one of three tables and 'Appends' the records to an Oracle db with matching fields. I will eventually relplicate the code to perform the same task over all three tables in the access ...
Score Problem compiling ActiveX EXE
Andy - 26 Apr 2006 2:45 PM - 8 messages
I don't really know if I'm going about this the right way, so perhaps someone will help.  I want to set up a middleware component which presents the same copy of the underlying data to all clients.  I assume that therefore my ...
Score Variable Address
Frank Walsh - 26 Apr 2006 1:29 PM - 4 messages
Hi folks.. I need to be able to setup a variable at a specific address in memory that I can access in VB to allow the passing of a character between another application and my own.. Any ideas.. Frank ...
Score shortcut key to access property panel
herpers - 26 Apr 2006 12:50 PM - 3 messages
Hello, when working with vb6 I found it very useful that the properties panel could be accessed with a shortcut key during form design. When pressing ctrl+shift+<letter> the first property in the property panel starting with <letter> was highlighted. ...
Score Can I draw a string on a form?
Weblearner - 26 Apr 2006 12:28 PM - 7 messages
Can I draw a string on a form? ...
Score Audio Mixing in VB??
Sanjay - 26 Apr 2006 12:19 PM - 4 messages
Hi     i am implementing audio conferencing .. AllClients Send audio to server.. Server takes data after 100 millsec from Socket and go for a Mixing Process.. My Mixing Process work well in vc++.. But due to some reason i have to implemented some part in VB.. But i ...
Score windows service
amr - 26 Apr 2006 12:05 PM - 3 messages
i need  to add my exe  to windows service If you Know thanls ...
Score why the array always returns nothing( about ini file)
zy - 26 Apr 2006 7:52 AM - 9 messages
I am newbie for VB I want to read  all values in the section of "Database" but this array named sArray() always returns nothing Any suggestions on what to do greatly appreciated. Thanks ZY -------code---- Private Declare Function GetPrivateProfileSection Lib "KERNEL32" Alias ...
Score compare jpg and corresponding doc file
sai - 26 Apr 2006 7:27 AM - 6 messages
hi please give a mail or post your replay if u know anything regarding the following question suppose we had a jpg file which consists of only text data which was obtained by scanning  a page from a book (contains only text but not ...
Score Debug, cannot see the value of the Variable
hon123456 - 26 Apr 2006 4:12 AM - 4 messages
Dear all,              Before, when VB break on a breakpoint, I can see the value of variables with mouse over it. But now, when break, mouse over the variable does show the value of variable, I need to print the variable ...
Score speaking of high horse
Cudaman - 26 Apr 2006 3:48 AM - 6 messages
All this for a misplaced %$^&%&%&^  "MOUSE CLIK" ...
Score How to jump to syntax error line
hon123456 - 26 Apr 2006 3:03 AM - 19 messages
Dear all,              I got serveral syntax error line in my VB project. If I cannot remember where is the error line. Can I press any short cut key ...
Score How to preserve the break point
hon123456 - 26 Apr 2006 2:31 AM - 3 messages
Dear all,              I have set several break point in my VB project. But when I close the project and re-open the project. I found that the break ...
Score Task Manger
amr - 26 Apr 2006 12:46 AM - 2 messages
Hello I'm new user at VB6 i need to Hide My project at run time from task manger Application ...
Score use ocx without a form?
mbosco51 - 25 Apr 2006 8:50 PM - 10 messages
Hi.  I have a component that will allow me to access a Btrieve database.  I am going to use this component to insert records.  This is expected to be an unintended app, therefore I don't want to have a ...
Score Can you run Visio from VB6???
Dan - 25 Apr 2006 7:01 PM - 4 messages
Hi - Would anyone know how to programatically create a simple Visio 2002 document with a few shapes from VB6? Thanks a lot for any help! Dan ...
Score XML from XSD
S W - 25 Apr 2006 6:19 PM - 13 messages
Hi, I would like to be able to create an xml file using the schema from an xsd file. The file doesn't need any data, I can add it later, but I already know the structure of the xml file I need to create, its in the ...
Score VB2005 Unable to evaluate the expression error
Joe - 25 Apr 2006 6:13 PM - 5 messages
I am new to VB2005 and am trying to get information on controls on my multi form Visual Basic 2005 project. Any time I type such things as "? frmMyForm1.visible" in the immediate window after I pause the program, I get the error "Unable to evaluate ...
Score Shell .PIF file to DOS nogo due to invalid Autoexec.bat line.
Phil - 25 Apr 2006 5:07 PM - 2 messages
Five vb6 apps of mine submit pif files to run an EXE file under DOS. This is done with a "Shell run-fit.pif parm1 parm2 parm3 ..." command from these Windows 95/98 app.  These autoexec.bat files for these apps ...
Score Recordset to File (MDB or Excel)
Emma - 25 Apr 2006 3:31 PM - 10 messages
Is it possible to save the result of a recordset to an Access MDB or Excel file from within VB? If possible, how do I do it? Thanks Emma ...
Score Excel VB slowness
gloveman - 25 Apr 2006 3:24 PM - 3 messages
I am trying to copy data from one spreadsheet to another.  When the data is new (which I test using the .find method) a form appears for the user to enter values and make sure all data is correct.  For some ...
Score Save The Internet: USA bill; weds Apr 26th, 2006
Mark G. Meyers - 25 Apr 2006 2:40 PM - 41 messages
[link] There is more info and A PETITION at moveon... Easy to sign and give your two cents (and to your own reps in the process). [link] ...
Score Processing elements in collection generates "The object invoked has disconnected from its clients."
Bookreader - 25 Apr 2006 12:54 PM - 18 messages
When I attempt to process the members of a collection, I get the following message.  Can you tell me what this means? Error in cmdNextLevel_Click -2147417848   Automation error The object invoked has disconnected from its clients. I searched Google and found a lot of questions but not a good general ...
Score The Jet VBA file (VBAJet.dll for 16-bit versions, or VBAJet32.dll for 32-bit versions) failed to ini
Grant - 25 Apr 2006 12:05 PM - 4 messages
I have one user who is having problems with the DAO jet engine. It gives the exact same error message that MS has an article about. I follow that steps and it did not fix it. I try running the MDAC and jet35 sp and that did not ...
Score How to insert date
hon123456 - 25 Apr 2006 9:51 AM - 2 messages
Dear all,            I got a fieldA as datetime (length 8).           When I select in query analyzer, it shows the following value ...
Score Logging a print job
Michael Tooth - 25 Apr 2006 9:13 AM - 2 messages
Having produced a report using DataReport, I would like to log the fact that it has actually gone to the printer. I do not want to log it if someone fires up the report, shows it and then closes it again. I am only interested in logging it if it becomes a print ...
Score Whould should do to release the resource of ADODB.recordset
hon123456 - 25 Apr 2006 1:36 AM - 7 messages
Dear all,              I have the following code              Dim rs_A as ADODB.recordset              Dim rs_B as ADODB.recordset ...
Score Replacing FSO.DateLastModified with non-FSO functionality
Carl Imthurn - 24 Apr 2006 10:56 PM - 3 messages
I'm in the process of re-writing a VB6 module, and would like to remove all FSO references while I'm doing it. Here's what I've done so far: FSO.FileExists --> Dir() function FSO.DeleteFile -- > Kill command ...
Score VB6: See if Windows Service is running
DaveS - 24 Apr 2006 9:46 PM - 5 messages
Quick question:  Is there an easy way in VB6 to see if a Windows Service is currently running? ...
Score Can you do this?
Bryan Dickerson - 24 Apr 2006 8:22 PM - 6 messages
I have a COM DLL class that has a process in it that can be called by a client program that takes a minute or two and from which I send back status messages, like "Starting...", "Doing this..", "Doing that...", "Done."  In ...
Score RecordSet Field Naming Problems
AK - 24 Apr 2006 8:20 PM - 9 messages
Hello All - I have this in my code.It assigns a variable ProjectName to the recordset field named ProjectNumber. GRs!ProjectNumber = ProjectName No compile errors. Only problem is that I need to have the recordset field name be Project Number. (with a space between "Project" and "Number" ...
Score Count and/or Limit processes running ...
Craig - 24 Apr 2006 7:42 PM - 13 messages
Im using Visual Basic 6.0 and I dont want someone to be able to run my program more than once. I also want to prevent them from running it from other 'window user names' that are on their system. ...
Score Flicker when going to server
Sandy - 24 Apr 2006 6:49 PM - 10 messages
Hello - I just noticed there is an awful flicker on the screen when accessing the Sql Server database.  Is there any way to get rid of that? Any help will be greatly appreciated!! ...
Score Changing mouse pointer when hovering over grid cell
Saga - 24 Apr 2006 6:31 PM - 10 messages
I am using an MS Flex grid to display some data, some of which are links. I would like the user to have the visual efect of the default mouse pointer changing to a hand when the user moves it over the cell with the ...
Score Clearing up after File Management Functions
Johan_Stäck - 24 Apr 2006 5:42 PM - 3 messages
Hello! I have started to use API calls such as CreateFile, ReadFile etc. When the program ends in error (quite frequent during development..) it seems that the files that are open at the time of error can't be openened again until the VB6 IDE itself has been restarted. ...
Score Using Excel Files in VB 6.0
Bradley - 24 Apr 2006 5:27 PM - 6 messages
Is there a way to open and use an Excel file in VB without requiring an instance of Excel be present on the PC?  Most of the examples that I've seen use CreateObject with Excel before proceeding.  I want to take a user ...
Score Logging a user off
Ed Handley - 24 Apr 2006 4:14 PM - 2 messages
I'm looking at moving from Access / VBA to VB, and I was wondering if there is code in VB to log a user off if they click on a control? Thanks in advance, Ed Handley ...
Score this will work
Cudaman - 24 Apr 2006 3:17 PM - 18 messages
thanks for the help on this both example work great ...
Score Saving clipboard bitmap to file
Lou - 24 Apr 2006 2:19 PM - 2 messages
Why doesn't this work? Clipboard.SetData Me.Picture, vbCFBitmap SavePicture Clipboard.GetData(vbCFBitmap), "c:\mybmp.bmp" Clipboard.Clear Genertae an error: "Improper property value" ...
Score Using Scroll object?
Weblearner - 24 Apr 2006 1:50 PM - 31 messages
I have a textbox and a vscroll on my form. I want to be able to change the value in the textbox from 0 to 100 by sliding the scrollbar, and I want the new values to be instantly reflected ...
Score Clipboard
Lou - 24 Apr 2006 1:49 PM - 5 messages
How do I save a screen shot to the clipboard and then save it as a bitmap file. -Lou ...
Score Create Desktop Shortcuts?
Derek - 24 Apr 2006 1:35 PM - 4 messages
I am trying to create program shortcuts using VB6. I can do this using either the WMI or the VB6stkit.dll... BUT: I cannot seem to find a way to create this shortcut with a specific .ICO file and NOT use an icon from a .exe file. ...
Score Please help - VB 3.0 & 4.0 code!
almurph - 24 Apr 2006 9:24 AM - 7 messages
Hi,     I'm on a Windows XP box. I was given a bunch of visual basic files in both VB 3.0 and VB4.0. I've been told that these files contain source code and can be built to make executable programs. ...
Score Why listview is better than DataGrid
hon123456 - 24 Apr 2006 9:17 AM - 3 messages
Dear all,             I have heard from someone that listview is better than Datagrid for Point Of Sales System. Why listview is better than datagrid? Thanks ...
Score bootstrap and standard vb library installation questions
John S - 24 Apr 2006 8:54 AM - 5 messages
Hi All, I need advice from you about bootstrap files and vb library installation. My app is developed using VB6 sp5 on W2K Server sp4 and I want to distribute it to other computers with various Windows versions (98, ME, W2K Pro, XP). First, I use PDW to collect ...
Score Any information about POS on VB
hon123456 - 24 Apr 2006 7:57 AM - 15 messages
Dear all,             I want to learn writing POS on VB and SQL server. I have search Google using term "POS". But I cannot find any website that is providing technical information about how to develop POS with ...
Score How to show variable
hon123456 - 24 Apr 2006 4:25 AM - 3 messages
Dear all,            If I have two variable like VariableA VariableB, and if I start a new Line in VB, I want to type VariableA, but I do no want to type the whole word,  Can I press any ...
Score Get going in VBA
Tom_OM - 24 Apr 2006 2:58 AM - 3 messages
I have experience programming in Visual BASIC 6 and want to get up and running in VBA for Word XP.  Can someone recommend a book for VB programmers who want to quickly get going in VBA?  I really just need ...
Score Testing error code
Sandy - 24 Apr 2006 2:14 AM - 5 messages
Hello - How can I test the following error code to see if it works?  Public Sub cnnConnect() Dim lMsg As Long Dim strMsg As String CreateConnection:     On Error GoTo EH_OpenConnection Set cnn = New adodb.Connection     With cnn ...
Next »