|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
How can VB6 alter the NAME of an EXISTING FIELD in ACCESS 2002???
Alan Mailer -
16 Sep 2006 6:50 PM - 22 messages
I'm sorry if this one has been asked and answered a million times: Is it possible to have a VB6 app alter the name of an *existing* field in Access 2002 database? To be clear, I'm not talking about adding a ...
Scrolling text in a stationary label help needed
jcrouse1 -
16 Sep 2006 4:20 PM - 38 messages
Here is some code I found on the web: Dim s As Integer Dim dta As String Private Sub Form_Load() Label1.Caption = "" Timer1.Enabled = True Timer1.Interval = 100 ...
VOIP SIP Toolkit for VB6 and .NET
Steve Garland [ASTA] -
16 Sep 2006 2:13 PM - 2 messages
SIP Toolkit with VB6 Demo Evaluation Download [link] Incloudes .NET support with VB.NET example for Compact Framework and WinForms On Line Documentation [link] ...
I'm having a problem identifying a form...
Co -
16 Sep 2006 11:47 AM - 10 messages
Hi All, I'm still emcountering a problem which I already mentioned before but maybe my explanaition wasn't clear enough, so: I have a VB application with an Access DB. I use a form which displays one record from the database. I call it ...
Run-time error 383 and 438 when printing
penguin -
16 Sep 2006 7:17 AM - 4 messages
Hi, all I hit the following run-time errors in my printing function. Can someone help? Run-time error 383 - '???' prpperty is read-only Run-time error 438 - Object doesn't support this peoperty or method Dim p As Printer ...
Vista and the Temp folder
Jerry West -
16 Sep 2006 1:45 AM - 8 messages
When I call the API GetTempPath under Windows Vista I am returned a folder that doesn't actually exist. I realize this is a by product of Virtualization in Vista. This seems to imply that a temp folder is no longer ...
Compact DB thru VB ADO
AK -
15 Sep 2006 10:40 PM - 2 messages
Can Microsoft Jet OLE DB Provider and Replication Objects (JRO) compact databases with user level security? I see from the KB article [link] that it can do so on a password protected database but our DB has an mdw file ...
variable not defined
Mitch5713 -
15 Sep 2006 6:53 PM - 33 messages
I am attempting to print a couple of forms with picture boxes picture1 and picture2 i keep getting during compilation variable not defined "Picture2" here is the code snippet can you help I used the picture1 code for picture2 for simplicity sake i just want to ...
Object Browser help
Dan -
15 Sep 2006 6:39 PM - 12 messages
When I click on the "?" in the Object Browser, it gives me an error message: "Unable to display help." Does this mean that something is not installed properly? Or is a help file corrupted? Should I reinstall VB6 to get it back? ...
Add UserControls at runtime
Brian -
15 Sep 2006 4:12 PM - 10 messages
I can add standard form controls at runtime but... can you add custom UserControls at run time. I thought it would work in a similar manner... "Controls.Add(..." - but I'm not having any luck. The plan... load up a standard form... then load and display the custom ...
VB6 MSINET.OCX
Terry -
15 Sep 2006 3:29 PM - 2 messages
Unable to send file using the following code. No errors are being produced. Please help! CODE: Public Sub write_ftp_file(pathname As String, filename As String) Inet1.URL = "ftp://u1td:p1td@upserv" Inet1.UserName = "u1td" ...
Passing variables to a query beneath a report
martinporcas -
15 Sep 2006 1:30 PM - 2 messages
Hi there I'm trying to build a new front end in VB to an older Access DB (reason being multiple versions of Access in the same office!) My latest headache is that I'm trying to open an Access report from ...
Save Multi language data in SQL Server through VB code
ujwalabamishte -
15 Sep 2006 12:42 PM - 4 messages
I need to save data in different languages mainly in English and Chinese in SQL Server 2000. I am just coping the data from MS Access(Which contains Multi Language data) to SQL Server by using VB. I have set the column data type as ...
Detecting running MS Word
gregor2324 -
15 Sep 2006 7:35 AM - 5 messages
Hello everyone, I use standard MS Word (97) launch: dim mobjword as Word.Application .. .. set mobjword = new Word.Application .. .. mobj1.Documents.Add .. .. But when the user runs my application again, has problems because although my application creates the second document, it still writes ...
DHTML Application... Inserting Controls Trouble...
Vincent777 -
15 Sep 2006 6:24 AM - 4 messages
Hello Friends, I have been a VB6 prgrammer for some time and I have worked on DHTML Applications quite often in the past so I have to tell you I am a bit embarrassed in asking this but I have run into a dilemma I cannot explain. ...
NEWBIE - VB and Active Directory
mas5867 -
15 Sep 2006 2:55 AM - 2 messages
I want to integrate the users from active directory with a program. For this I need to pull the current user logged on (without any inputboxes, etc...) and the groups that they are in. Please help!!!!! ...
plug and play hub seemed to make monitor jittery
add -
15 Sep 2006 2:10 AM - 2 messages
I'm using a Windows XP Professional computer system. I bought a plug and play "Fellowes" usb 4-port hub, plugged into computer and let the computer find the device driver, it made the monitor jittery, i unplgged it, don't ...
Question about VB Syntax
Budhi Saputra Prasetya -
15 Sep 2006 1:50 AM - 7 messages
Hi All, I found this syntax on VB. Can anyone explain what it means? szExeFile As String * 260 Regards, Budhi ...
Fairly Urgent regarding the CSocket Class (Aren't they all)
DanS -
14 Sep 2006 10:53 PM - 9 messages
Hello all, I'm hoping to find some help with an issue my guy in the field is seeing with a utility I wrote. It is a very simple program that is being used to check out radio coverage of some wireless IP radios. ...
An installation issue
Kjell -
14 Sep 2006 9:49 PM - 6 messages
Hi I've been working my self through Inno setup as an alternative to the built in P&D. I've a question regarding the usage of 'SharedFile' flag. It says in the guide not to use this flag on any 'Shared System Files' !!!!! ...
Vista, VB6 app that is Legitimate Administrator Application
Jerry West -
14 Sep 2006 8:22 PM - 3 messages
I have a VB6 application that, by design, performs administrative operations; what the MSDN refers to as a "Legitimate Administrator Application". The guidelines for this type of application indicate that a manifest file, an XML file, be created to indicate to the system that the ...
Crystal Reports Question
JohnJohn -
14 Sep 2006 5:43 PM - 3 messages
I have Crystal Reports 11. I'm designing a very simple report where each detail line needs to be represented by a separate bar in a bar graph. For the life of me, I can't figure out how to do that. There is no summary, no ...
VB3 upgrade? Modem trouble. New machine.
terry2 -
14 Sep 2006 2:03 PM - 2 messages
My old VB3 phone dialler (phoner25.zip) can't find winmodems. My new ABit PCI won't accept a "real" modem. Have I been left that far behind by modem drivers? I was never able to find a driver for a winmodem that allows open file as... access in VB3. ...
Question on deployment
cowznofsky -
14 Sep 2006 12:45 PM - 5 messages
My users already have a vb app installed. I am creating another app to add some functionality. My question is: if my app requires no additional runtime files, could it be deployed simply by copying the exe? TIA, ...
Windows does not recognize "." as decimal separator;
alexia_net -
14 Sep 2006 12:34 PM - 27 messages
Hi! I have made a program in VB6 and it works fine. the problem is that on some computers the output is wrong. the system does not recognize "." as decimal separator and "-" as a character when I put it between "". Why is ...
Copy to Clipboard
Gary Watson -
14 Sep 2006 9:26 AM - 3 messages
I've got a VB6 application that uses the DataGrid control. I'd like to be able to copy the contents displayed into the clipboard so that I can paste into something like Excel, but copy and paste do not seem to ...
VB6 Runtime error 3021
phforum -
14 Sep 2006 9:10 AM - 6 messages
When I run the program on XP is fine. But placed the program to run will occur the following error runtime error 3021 (either BOF or EOF is true, or the current record has been deleted. requested operation requires a current record ...
Incremental Builds
Matthew Giblett -
14 Sep 2006 8:46 AM - 7 messages
I'm using VB6. I have a project group of 3 projects Basically a UI layer that references a Business Layer, which references the lowest database layer. It's quite large and building it is an annoyingly slow process. I want to know is there any way to make vb keep it's OBJ files so that it ...
Threading using QueueUserWorkItem
Bharathi kumar -
14 Sep 2006 6:30 AM - 3 messages
Hi, Iam working in windows appln using .NET framework 2.0. My application is having several threads running. All threads can call a common method. I have following code in my common method. ...
Localization language
Jim -
13 Sep 2006 10:17 PM - 3 messages
I am looking for the name of the API call to determine the language (i.e. French, German, etc.) of the user who is runing my code? Thanks ...
MDI Form Question
Brian -
13 Sep 2006 10:13 PM - 17 messages
I've got a project that I'm constructing using a MDI form as the container. I have a picture box (aligned left) that holds some basic controls. I would like to display the mdi child forms as Borderstyle = vbNone. I also would ...
Threading questions
Dan Ritchie -
13 Sep 2006 8:00 PM - 16 messages
I know this probably isn't the best place, considering VB's reputation with threads, but I have a few threading questions I haven't been able to find answers to. I rember a time when Windows timer was limited to something like 1/18th of a ...
How to add control-array controls to another control-array.
Graywolf -
13 Sep 2006 7:03 PM - 6 messages
I've got a VB6 project with a frame that contains text boxes. At design time I can copy the frame and paste it again on the form. I get the usual "Do you want to create a control array?" prompt, and I reply ...
True Global Variable
Jonathan Orgel -
13 Sep 2006 5:47 PM - 3 messages
I need to maintain a variable in a program which is truely global. I.e it should be acceable from multiple DLLs. In my particular application we have a global multi use function which behaves differently depending on a switch variable. It seems each OCX/DLL ...
ListView-Scrolling Right programmatically-Label edit
Sneha Menon -
13 Sep 2006 4:41 PM - 5 messages
Hi All, Good Evening. In VB6 I am using a ListView control. The view is set to list. Several columns. ColumnHeaders Hidden. Flat Scroll-True Using Arrow keys to scroll Right. Suppose there is a listitem with the text "TheText" and it is somewhere ...
How to export an ADO recordset to Excel
Ted -
13 Sep 2006 4:18 PM - 3 messages
What is the best way to export an ado recordset to an excel worksheet. Thanks in advance. ...
Remove from a collection
Ken -
13 Sep 2006 3:08 PM - 35 messages
I have recently been experimenting with collections. I have found that I can load a large number of strings in a reasonable amount of time. The problem I see occurs during the unload. To be more specific, I load in 1,000,000 ...
VB6: How to detect whether an ACCESS 2002 record is LOCKED?
Alan Mailer -
13 Sep 2006 2:57 PM - 6 messages
The subject line pretty much says it all: What is the best way to write code that will detect whether a particular record in MS ACCESS 2002 is currently locked by another user? Thanks in advance. ...
What type to use in a Dim?
Howard Kaikow -
13 Sep 2006 2:36 PM - 5 messages
In the code below, vbComp is a Designer created by importing a VBA Userform. Yes, I HAVE to do this. So far, the only way I've found to list the controls on the Designer is to use a variable of type Object. ...
listbox with checkbox style - highlighted items
cowznofsky -
13 Sep 2006 1:39 PM - 4 messages
Using a listbox with the checkbox style, I use this code to check every item in the list. dim i as integer for i = 0 to lstBox.ListCount -1 lstBox.Selected(i) = True next However, not only to all the items get checked, but several items at ...
Modem prob. Driver?
terry2 -
13 Sep 2006 1:25 PM - 3 messages
My old VB3 phone dialler (phoner25.zip) can't find winmodems. My new ABit PCI won't accept a "real" modem. Have I been left that far behind by modem drivers? I was never able to find a driver for a winmodem that allows open file as... access in VB3. ...
GDI zoom
googlinggoogler -
13 Sep 2006 12:55 PM - 45 messages
Hi, Im using GDI to draw to a picturebox, and was wondering whether its possible to zoom? I can find examples for vb.net - but im using vb6, and can't seem to find any information on zooming in and out.. ...
Help with dateadd.
Damon -
13 Sep 2006 8:33 AM - 6 messages
Hi, If I have a date which will always stay the same, like a start date i.e. 3/4/2006, which is a Monday. How can I work out what day that will fall on this month if I want to do intervals of four weeks? ...
how to pause function execution and raise an event and get back to
amar -
13 Sep 2006 3:35 AM - 6 messages
Hi all, I am writing a program in vb6 which creates a tcp client program that connects to a server in a function and sends a question over and then the function has to wait for a response from the server and return that to the ...
putting mail in outlook
PC -
12 Sep 2006 11:22 PM - 6 messages
i have to make a kind of mass-mailing application, but the real sending of the messages is to the users discretion so i just have to put messages in outlook's outbox i have to do it with vb6 and outlook automation ...
Collision detection
PC -
12 Sep 2006 11:16 PM - 3 messages
i have a form with on it some textboxes the user can drag and drop around i dont want to place textboxes on top of one another i have some kind of drop prevention, if a textbox is dragged around and the ...
best way to detect a hole in a control array
PC -
12 Sep 2006 9:23 PM - 22 messages
what is the best way to detect a hole in a control array i have an array of controls say at startup i load 10 textboxes (1-10) (0 is invisible) and somewhere in the program a user unloads a textbox (say textbox(3)) ...
HELP - VB6 to parse XML data
Nick -
12 Sep 2006 7:38 PM - 3 messages
I wrote a script in ASP to parse XML data retrieved from a remote website. Everything worked fine. Now I need to port it over to VB6 in a proper application. This is where the problem starts. ...
Unhandled exception at 0x0fa91841 in VB6.EXE
Morgan -
12 Sep 2006 6:45 PM - 6 messages
Greetings. Technologies involved:- 1. Visual Basic 6.0 with SP6 2. Windows XP Professional with SP2 3. Oracle 9i 4. COM+ 5. Data transfer between tiers is thru disconnected ADO recordsets ...
http://www.a1vbcode.com/default.asp
cgorman123 -
12 Sep 2006 6:28 PM - 3 messages
Need some help please. I am using some code in MSAccess. I have a table with a date field called Date1. When I attempt to add records to the table instead of entering the date I am getting ...
Most cost effective migration: VS2005.NET vs PB8 vs Rb3
Number 11950 - GPEMC! Replace number with 11950 -
12 Sep 2006 6:01 PM - 12 messages
Just wondering if anyone can tell me about some of the products that are supposedly VB6 portable. Power Basic 8.01 ([link]) is claimed to offer hassle free migration to VB6 source with superior compiler, Real Basic ...
Visual Basic 6 "Batch file" keeps focus
JustMe -
12 Sep 2006 5:51 PM - 3 messages
I have a visual basic "batch file." I'm using the shell command to call three separate programs. The shell command normally would open all the programs one after the other. But I needed the first program to open and then when it ...
Weekday function?
Damon -
12 Sep 2006 3:22 PM - 6 messages
Hi, I have a weekly rota which I've setup, which the user can select a certain day of the week which the workers will go out and clean certain properties. How can I determine what the date will be based upon their selection? i.e. ...
Alternative to Exceptions
Saubz -
12 Sep 2006 3:03 PM - 5 messages
Hello. I have an exception performance issue. What I am doing is trying to cast a substring into an integer with CINT(string.substring(x,y)). And if it doesn't work, I am catching the exception and then entering the substring ...
What will happen if ActiveX EXE crash?
Wyne -
12 Sep 2006 2:53 PM - 3 messages
I need to develop a VB App that will send commands and receive message to/from an object. This object is to be provided by an Active EXE, and used to control an external instrument via USB. (This ActiveX is provided by the ...
Window API - Send Input Function
Graham Masters -
12 Sep 2006 8:21 AM - 8 messages
I am struggling to understand how the Send Input Function is used to send mouse clicks to Forms in another running application. Within VB6, I can identify the other Application's Form handle and the required Text Box handle ...
Using VB6 ADO - How do you like to detect if a MS ACCESS record has been ALTERED SUCCESSFULLY?
Alan Mailer -
12 Sep 2006 2:46 AM - 2 messages
What is your preferred way of detecting/capturing whether a VB6 app's ADO Update, Append, or Deletion of a Microsoft Access 2002 has triggered an Error in the Access database? For example, do you check the ADO "Records Affected" parameter after a ...
How to use TerminateProcess on an Explorer instance
WB -
12 Sep 2006 12:38 AM - 7 messages
I'm using CreateProcessA to launch an Explorer session. How can I terminate the process? Task Manager doesn't seem to show the explorer session as a seperate process. I've tried using the TerminateProcess API with the process handle but it does not close the Explorer window. ...
Projects window
Howard Kaikow -
11 Sep 2006 10:46 PM - 14 messages
When I right-click on an item in the Project Explorer, is not there supposed to be a "Remove" item in the menu? If so, how do I get it back? ...
VBComponent.FileCount
Howard Kaikow -
11 Sep 2006 10:40 PM - 26 messages
If I export a VBA Userform and then import the Userform into VB 6 as a Designer, the designer gets saved as 3 files. x.frm x.dsx x.dca However, the VBComponent.FileCount property has a value of 2, not 3. ...
Line concatenation
d4 -
11 Sep 2006 9:57 PM - 10 messages
I have the following text file with data like: Date Line PC Filename Date Line PC Filename Date Line PC Filename Date Line+ Filename Date Line PC Filename ...
What does Debug message mean?
Co -
11 Sep 2006 8:06 PM - 12 messages
Hi All, I have problems with my VB program crashing. Si I debugged the thing but I don't know what the results stand for: Microsoft (R) Windows Debugger Version 6.6.0007.5 Copyright (c) Microsoft Corporation. All rights reserved. ...
Newbie help request
Scott Sanford -
11 Sep 2006 7:24 PM - 9 messages
Hi, Being a computer consultant for 10+ years, I've got the tech stuff down, but the programming stuff is all new to me. Reason I'm considering it is I work with a commercial application (GoldMine) which has a severe limitation that ...
Run VBS script from another VBS script
OdAwG -
11 Sep 2006 6:31 PM - 2 messages
Hello All, Is it possible to run a vbscript that calls 4 other vbscripts and then waits until each script runs through completion before it runs the next script. An example would be something like the following: Content of MainScript.vbs ...
VB6 app may need to generate its own ACCESS AUTONUMBER VALUES???
Alan Mailer -
11 Sep 2006 5:18 PM - 9 messages
A project I'm working on is going to use VB6 as a front end. The back end is going to be pre-existing MS Access 2002 database tables which already have records in them *but do not have any AutoNumber* fields ...
VB6 - Can you temporarily disable mouse input using code???
Ken Macksey -
11 Sep 2006 4:58 PM - 14 messages
Hi all I would like to disable all mouse click inputs after I click on a command button until the command button code is run and then re-enable mouse input. Is this possible with vb6 code or an api call? Something like ...
Inter-Application Communication
Sneha Menon -
11 Sep 2006 4:09 PM - 17 messages
Hi All, (Working with VB 6) Application A, Application B, Application C All StandAlone Exe. Not third party stuff - Meaning: I have total Control over the 3 applications, I can incorporate any functions, methods into them, recompile them. Shell method. I can pass Parameters as CommandLine arguments to ...
Distributed ActiveX control sometimes requiring a Windows restart
Matt Barton -
11 Sep 2006 3:49 PM - 2 messages
Hi, I have a custom ActiveX control built with VB6, packaged for internet deployment with the Package and Deployment Wizard, and distributed over http to users of my intranet application. Sometimes when I make changes to the control, and recompile and ...
Email attach document
naleefa.sabeer -
11 Sep 2006 2:01 PM - 3 messages
Hi, I am using VB6. I am generating MS word (mail merge) document and sending email to client. The mail merge fields are retrieved from sql server. Sending email and attaching documents are working without any problem. But when the clients trying to open the attached document in ...
Help woth combobox
Damon -
11 Sep 2006 1:34 PM - 5 messages
Hi, When a combobox is on vbComboDropDownList, you can only select from the list. WHen you first load the screen there is no entry in the combobox, you have to select th drop down to see all items in the box. My question is, ...
Croos tab Problem
Madurai Anbu -
11 Sep 2006 9:50 AM - 6 messages
Dear all, I need help with the version IX of Crystal Reports. i am using Cross tab with Dynamically increasing columns, How it can be repeated the column-head in all the pages of a report that uses the across? ...
Help Needed To Find Duplicated Files
vqthomf -
11 Sep 2006 9:50 AM - 5 messages
Hi Can someone help I am trying to list all duplicated file in a drive into a listbox, I list folder files but not sure how get duplicated files. Any help would be much appreciated. Charles ...
What is the name of Microsoft's hexagonal color palette control/API?
Number 11950 - GPEMC! Replace number with 11950 -
11 Sep 2006 7:29 AM - 11 messages
This is what it looks like, and I'm sure we have all seen it before: [link] I am wondering how to reference this control or otherwise call it using API? Thanks in Advance... ...
Transparent box over textbox
Peter Fay -
11 Sep 2006 7:12 AM - 4 messages
Does any one know an easy way of drawing a transparent box to overlie a textbox, as a kind of selection box. Lightweight controls such as shape, image do not work as they are drawn under the textbox. The textbox has no DC so it is difficult to draw on textbox itself. ...
If ACCESS 2002 is the back end database for VB6, then should I use ADO???
Alan Mailer -
11 Sep 2006 5:41 AM - 30 messages
If I am going to develop a VB6 app that has a Microsoft Access 2002 database as a back end, should I use ADO? I guess what I'm asking for are opinions as to whether ADO is the current best method of choice. ...
Date Time Picker
Madiya -
11 Sep 2006 5:38 AM - 7 messages
Hi, I want to give user the choise of date and time. So I used Datetimepicker. With this I was only able to pick up date selected by user. There is no choise available to select time in the control. I want user to choose ...
If reluctant to say Thanks...
Sneha Menon -
10 Sep 2006 11:51 PM - 12 messages
Hi all Original Posters, Please care to understand that not only the people who post the queries, there are scores of others who reap benefit from the round-the-clock activities in these groups. Obviously that is the real concept, otherwise some PM sort of stuff would have been enough rather ...
Configuration in published program
Lucia -
10 Sep 2006 7:51 PM - 18 messages
Hi, everybody, I'm developing one program in Visual Basic 2005 Express Edition. I defined some parameters in Settings. Now my problem is that I have no idea where to change these parameters in my published program. There is a file with the name testprogram.exe.config.deploy. But the program ...
selection a word in a text file without any mouseclick?
edi1800 -
10 Sep 2006 6:53 PM - 3 messages
hello recently I have seen a dictionary software which when user takes the mouse over a specific word , without any click , the meaning of that word appears in a tool box. I don't know how this word is selected without clicking on it ,and only ...
Global Const vs Public Const
JeanH -
10 Sep 2006 5:55 PM - 45 messages
What is the difference between Global Const data as opposed to Public Const data? They seem to be the same to me but perhaps when you have class modules and standard modules you have to make the distinction? Thanks for your response. ...
Upload a File to a Secure Directory on a Server
lgbjr -
10 Sep 2006 10:03 AM - 2 messages
Hi All, I thought this was going to be a simple task, but I just can't get this to work: I need to transfer a file from a client machine to a server using a windows app created with VB.Net 2005. This task led me to ...
ENVIRON("USERNAME") problem
Athena -
10 Sep 2006 9:16 AM - 7 messages
Hello, I use ENVIRON system function with "USERNAME" argement to find out the name of the logged on user. I used to logged on as John to my computer. But although I changed the user name from John to John Brown, and I logged on as ...
|
|||||||||||||||||||||||