|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Check for and delete subfolders
Saucer Man -
9 Dec 2006 11:51 PM - 3 messages
I want to check a folder for subfolders. If there are subfolders, I want to delete them all and their contents. What's the best way to accomplish this? ...
Dynamically resize Rich Text Control
Sandy -
9 Dec 2006 11:04 PM - 7 messages
Hello - I would like to automatically resize (make larger) a rich textbox if a user clicks on the maximize button to maximize the screen. Is this possible and if so, how is it done? Any help will be greatly appreciated! ...
Error while using VB
vadapallyraju -
9 Dec 2006 9:33 PM - 4 messages
/docedtfrm.frm was recognized as a visual basic file, but the header was corrupt and the file can't be loaded. This is the error message I get. Can someone help ? I am clueless on how to proceed. ...
cant use udt in a class?
MP -
9 Dec 2006 8:32 PM - 14 messages
I was trying to use udt instead of collection because I can't seem to set value of an item in a collection per other post titled"Weird Error" now trying to use udt I get the following compile error: ...
convert Standard EXE to ActiveX EXE for multithreading
Jay -
9 Dec 2006 7:58 PM - 4 messages
Hey, I have a normal EXE program that I want to run a dual processor PC. Currently, it uses 50% of the CPU power. I'm trying to convert it to an AX EXE so it will thread out new objects that are created so I can ...
Copy the String
Vadhimoo -
9 Dec 2006 7:38 PM - 7 messages
Hi , Based on my condition, I want to display a message using MsgBox() and assigned to String variable. When i display a meassge, I want to set a option for "PRINT" or "COPY" of that displayed message. How can i set ? ...
weird error
MP -
9 Dec 2006 4:52 PM - 7 messages
I don't understand why I'm getting this error I'm just trying to increment an integer by one i have a collection of various data one item (at index 6) is an integer...trying to use as a count of similar ...
Have you seen this?
Lorin -
9 Dec 2006 4:10 PM - 2 messages
Is this the way it is supposed to work? Been VB6ing for years. Button in a Frame on A Form. The Frame Mouse Move event code executes code calls only on LeftButton and ignores all else. Left Click this button and the Frame Mouse Move events fires. ...
Help compiler
Roland Izaac -
9 Dec 2006 8:55 AM - 3 messages
Hi, I am trying to produce a help file in windows help. I am using VB6 profesional. I am not sure what the compiler is called or how to invoke it. I am also no sure how to create the help.hlp I am using windows xp home edition. if I ...
why the Message Box appears twice when Check1.value=0?
DORI -
9 Dec 2006 3:16 AM - 9 messages
Dear All, Newbie vb6 If the Text1.text is empty, I want to give a warnning message to users if the user click on CheckBox1. After the messgae box appears, I want to set the value of the checkbox to 0. The code below is working but it gives me the ...
How to make miniatures move on a map?
Utku Turer -
8 Dec 2006 11:49 PM - 2 messages
Hi, I am trying to make a small game in which the user can move a miniature over a map with grids. I used an Image Control to load the map from a bmp file. Then in order to divide the map into grids, I used Shape ...
Saving HTML from Internet Explorer
jadeandandrew -
8 Dec 2006 11:47 PM - 4 messages
Hi all. Is it possible that while browsing in Internet Explorer I could retreive the HTML from each page visited using Visual Basic 6? Any pointers in the right direction would be much appreciated. ...
Trying to fire off a combo click event from code
Kjell -
8 Dec 2006 8:46 PM - 3 messages
Hi I'm having problem to fire of the click event for a Combobox on the Datareport window, can anyone help me with the last few missing pieces?. I found most of this code from an Italian forum and had to guess most of the ...
Downloads & attachments not working
Marv Wade -
8 Dec 2006 8:31 PM - 6 messages
I recently installed the up[dated version of McAfee Security and did a complete scan. Since then I cannot open any attachment in Outlook Express nor download any file. Is there some setting in Windows that could have been changed that would ...
bugs in .Filesearch and .FileName properties
mistro.g -
8 Dec 2006 7:44 PM - 7 messages
I'm using Visual Basic 6.3 built into MS Word 2003 and MS Access 2003 with all the latest updates. I found two bugs that affect at least MsAccess and Word 2003 Visual Basic Macros. Possible all Microsoft Visual Basic applications are affected. ...
How can I read an HTML file or a text file into a string WITHOUT using the Internet Transfer Control
Saucer Man -
8 Dec 2006 7:27 PM - 5 messages
The Internet Transfer Control no longer works with IE7. How can I read a text file into a string or my web page into a string so I can check for program updates without the inet control? ...
Run hidden
Teddy07 -
8 Dec 2006 6:09 PM - 13 messages
Hello, How can I make my project which is only one form, run hidden (the whole form should be invisible) whenever it runs??? Thanks in advance ...
start from beginning of file
Matt Williamson -
8 Dec 2006 3:51 PM - 2 messages
I'm trying to write a simple routine to compare the contents of 2 files. The first thing I need to do is to determine how many times a code appears in file1. I get the code from each line in file1. Then I need to see if the ...
Webbrowser control no menu
billsahiker -
8 Dec 2006 3:45 PM - 2 messages
In VB6, I dropped a Webbrowser control onto a form, set the properties for menubar, statusbar and addressbar to true, but I do not get the menubar, status bar or addressbar. Anyone know why? I can navigate to any web page, get access to the html document and ...
VB problem
Darren Brook -
8 Dec 2006 3:43 PM - 8 messages
Does anyone know how to create an ActiveX EXE Server that raises events which can be captured by muliple clients? So, I have two applications that are both clients. I need to pass data via the activex exe from one application to the other. The messages will be ...
how to trigger a tab's click event in VB 6.0 form (Using MS Access 2003 forms )
shantiswarupa -
8 Dec 2006 3:22 PM - 2 messages
I have multiple tabs on my application. I am using the Tab Control. The different tabs show up as Pages. When I click on the tab it does not trigger the Page_click event. When I click on the page it will trigger ...
IE7 VB6 WebBrowser Control Problems
Kirk -
8 Dec 2006 2:14 PM - 2 messages
Hi, I have a VB6 application that uses the WebBrowser control - Upon clicking on the control at runtime I get a run-time error -1 (untrappable error) consistently. This appears to be related specifically to IE7 and the VB IDE. ...
I need figures...
JD -
8 Dec 2006 1:48 PM - 11 messages
Time and again, I am told "no company builds its production apps in VB or uses SQL Server for production use". While I know that is not true (absolutes rarely are), does anyone have 1 or more URLs that lists at least ...
IP and Internet Explorer
NeilH -
8 Dec 2006 12:20 PM - 2 messages
I hope someone can help. I am using VB6 with SP5 I already use IP for communications within my project so I know the IP is working correctly. I now want to add WEB server to my project so that Internet Explorer can be ...
MultiColumn Listbox (MS-Forms 2.0 (VB6) )
Javad -
8 Dec 2006 6:44 AM - 10 messages
Hello It's 2 days I'm searching google to find a way to put a "Multicolumn Listbox" in my VB6 program, finally I got the suggestion to add "Microsoft Forms 2.0" to the components of my project and use its "Listbox", but as I ...
Make a form part of another form?
PeterD -
8 Dec 2006 12:58 AM - 15 messages
I've inherited a project that has a very complex main form. Think on the order of a tabbed dialog/form and you have the idea but in this case the management of the tabs is done under program control. ...
Compile error: Variable not defined
DORI -
7 Dec 2006 11:33 PM - 5 messages
Dear All, Newbie VB6 I have Label1 inside Frame1(0) when I run the application, it works fine but when I use "Start with full compile" from "Run" menu I get this error: Compile error: ...
Comparing
Steve -
7 Dec 2006 9:12 PM - 7 messages
Hi I'm a beginner with this language What I would like to do is to compare 3 commandbutton captions to see if they are the same, if not move to the next 3. I've tried the AND function, but had no joy. ...
Having trouble passing parameter to Access DB
Scott M. -
7 Dec 2006 8:55 PM - 5 messages
I am trying to create a small VB6 application to allow me to update fields in my Access 2000 database. I did have some success using datagrids and text fields, but I'm looking to make it even simpler. I ...
Developer Use of Visual Basic Plummets
Seadog -
7 Dec 2006 8:43 PM - 94 messages
Ive been visiting this newsgroup for over 5 years now and I remember a time when there was 300+ posts most days. Nowadays its definately a lot less; sometimes below 100 posts (and some of them are often dotnet related). Im ...
How would I do this with a datacontrol?
News.Microsoft.com -
7 Dec 2006 6:09 PM - 2 messages
I have a form that has a grid and a datacontrol on the left hand side of the screen. I have the detail information on one of the grid rows on the right hand side of the screen connected to another data control. When the user ...
gdi32.dll on Windows XP
Esha -
7 Dec 2006 5:06 PM - 3 messages
I developed some features in VB6 project. They are based on using gdi32.dll. My application works fine on Windows XP machines. User who has Windows 2000 Pro reported me the problem with that part of the application (Out of memory ...
Disabled Form Behavior Unexpected
wsmerek_MCAD -
7 Dec 2006 4:43 PM - 2 messages
Hi - I have a VB6 app with a main form with lots of stuff on it including a document viewer control using mso Automation. The print button on the doc viewer ctl's handler raises an event to the container form that sets ...
Excel instance
Francesco Ranieri -
7 Dec 2006 4:42 PM - 11 messages
Hi to all, I need to open the Excel application programmatically, create a Workbook and some Sheets, write to them and stop working "without" closing the Excel application... following some steps: Set objPRVExcelApplication = CreateObject("Excel.Application") Set objPRVExcelWorkbook = objPRVExcelApplication.Workbooks.Add ...
Configuration Manager's Save() doesn't seem to work reliably...
Miles -
7 Dec 2006 2:39 PM - 3 messages
I have a Desktop application that scans it's App.Config file for the list of available Sql Servers; allows the user to select one; and then needs to set the Active (default) database setting for the Enterprise Application Block ...
Sub:-Problem in sending mails to Windows Mail (Windows Vista)
sajin -
7 Dec 2006 10:52 AM - 6 messages
Hi, I'm doing programming in Windows Mail (OS:- Windows Vista). I'm using MAPI control to send mail to Windows Mail's Outbox. But it gives "Windows Mail Security warnings" e.g. Another program is trying to send ...
conditional break on error?
MP -
7 Dec 2006 2:53 AM - 9 messages
Hi Beginner question here: I'm trying to debug a program trying to figure best way to handle different kinds of errors some just need to report they occurred then take some kind of restorative action others I want to stop dead in tracks and see whats going on... ...
Slider background and foreground colours
TheHindes -
6 Dec 2006 10:42 PM - 2 messages
Anybody know of any slider controls that allow you to change the background and foreground (tick) colours. I have tried subclassing, but that does not change the tick colours. Thanks Jon ...
Control properties issue
bartj -
6 Dec 2006 10:16 PM - 2 messages
Hi, I am making a custom control that uses the mscomm32.ocx control. I have the control working in most areas but I am unable to access the controls tag property. I have done the following: 1) Added to the UserControl_WriteProperties Sub: ...
Visual Studio Icons
optictygre -
6 Dec 2006 9:30 PM - 6 messages
Where can I find the dll or exe which contains the embedded Visual Studio 2005 Icons that the application uses? I know that VS comes with an icon library, but practically none of the icons which visual studio uses are included. I was hoping I could pull them out with an icon ...
Import dbx files into outlook express inbox
mikevanhoff -
6 Dec 2006 5:03 PM - 2 messages
I may be in the wrong forum. If so please direct me to the correct forum. I have users that save outlook express messages to a shared drive, and I need to import these messages into an administrators outlook express inbox. ...
(VB6) Digital signature
J Whales -
6 Dec 2006 3:01 PM - 2 messages
Hello ! I do small programs in VB6 used inside our company. When those program are placed on a network drive, they display a 'Security Warning' when they are executed. It says that 'This file does not have a valid ...
Can VB gen'ed .obj files be linked using Visual Studio tools?
Richard Winks -
6 Dec 2006 1:48 PM - 4 messages
I am having difficulty building a VB executable. My job is to build components from source safe. The developer checks his code in and I check it out and build it for test and for final release. There is one application that the developer can build on his machine that I ...
vb.net application without install
Lars_Oeschey -
6 Dec 2006 1:13 PM - 9 messages
Hi, I'm currently replacing a application I wrote with perl/Tk with VB.net. Since this is very new to me (I don't even see actual code of lots of things, e.g. database connections), I don't know how far I can ...
copy folder
mido1971 -
6 Dec 2006 10:07 AM - 3 messages
hi i use a func. copyfolder in my application but i have a problem when i use this function with a big folder ( many files ) the applition is hold while coping and i cant do any thing is there any solution for that ...
sorting a string array
Peter -
6 Dec 2006 9:28 AM - 5 messages
Dear all I have a dynamic string array that stores filenames in each entry. For example filenames(0)="c:\program files\test\test.txt" filenames(1)="c:\program files\test\anothertest.txt" filenames(2)="c:\test\test1\test.txt" and so on. ...
Window Subclass Constants Needed
wxforecaster -
6 Dec 2006 3:05 AM - 4 messages
Is there a windows subclass constant for a mouse entering or exiting a given hwnd? The only one I have found is Private Const WM_MOUSEMOVE = &H200 but I'm looking to trigger some code when the mouse cursor first moves into ...
Getting time since last hibernation or did task wake computer
Jack B. Pollack -
6 Dec 2006 12:22 AM - 3 messages
I am looking for a way (API) to tell how long it has been since the system has resumed from hibernation. Basically I have a scheduled task set to wake the computer from hibernation. I don't want the task to run if the computer is currently on (not ...
Files with exe?
aalaan -
5 Dec 2006 8:16 PM - 3 messages
First thanks to Paul for the reply in another group about project1 etc. Next question: My texts suggest that an exe file isn't really standalone but other files are needed to make an application run. My experiments so far ...
How to remove the background color from a picture box?
DORI -
5 Dec 2006 8:09 PM - 10 messages
Dear All, Newbie vb6. I need to move a circular shape at run time by clicking the mouse and dragging it around. With great help from you smart people, I have done that (the code below from Larry Serflaten). The only problem is that I can not get ...
My.User.Name returns an empty string
JM -
5 Dec 2006 7:31 PM - 4 messages
My.User.Name is returning an empty string. I am new to VS2005 and I am using VB.Net. I loaded it just a couple days ago and was checking out some of the new features. I was using My.User.Name to get the logged in username and it ...
return value from SQL query to function
Matt Williamson -
5 Dec 2006 3:49 PM - 6 messages
I'm trying to write a function that gets the results from a SQL query and returns it as a string. The SQL query will return either 0 or 1 row. Basically, I'm checking a table for certain codes and swapping it with ...
Windowless UC tooltips
mayayana -
5 Dec 2006 3:38 PM - 3 messages
Has anyone solved this problem without using a special tooltip control? I have a UserControl with an image control on it. The tooltip just doesn't work. I can set the tooltip to the Image tooltip during the Show event, ...
VB6-Bulk change of fonts on labels
RLN -
5 Dec 2006 2:48 PM - 5 messages
Re: VB 6.0 SP6 We have an older VB6 app that needs a facelift with some cosmetic changes that we inherited. This VB6 project has 14 form at last count. I'm looking for an example of code that cycles through all forms in a VB ...
VB6 Control of RTS & DTR without opening comms port
anbeyon -
5 Dec 2006 12:48 PM - 4 messages
Hi I am hoping someone might be able to help me. I am writing some PC based software in Visual Basic 6.0 for an embedded system that has multiple ATMEL micro-controllers in it. (one master and some slaves) The Atmel micro's have a serial boot loader with in them ...
Populating dropdown based on selection of other dropdown
Mike P -
5 Dec 2006 11:57 AM - 3 messages
How in ASP do you populate a dropdown based upon the selection made in another dropdown? Here is my current dropdown : <select name="Enet" ID="Enet"> <option value="">all</option> ...
How to read UTF-8 chars using VBA
MSK -
5 Dec 2006 10:03 AM - 17 messages
Hi, I am currently developing some Word templates (office 2003) + VBA I have a UTF-8 encoded text file...I wanted to read and show the values into a list box... The charactors are getting changed while reading and filling the ...
phoenics
sur s -
5 Dec 2006 8:20 AM - 7 messages
i need phoenics very urgently..!! *** Sent via Developersdex [link] *** ...
(VB.net or VB6, Which language is better for these works?
Javad -
5 Dec 2006 5:28 AM - 2 messages
Hello Which of the VB versions (.net or vb6) is better for these works: 1- Data Managing programs (Such as Accounting programs). 2- Cd-burning programs 3- Multimedia playing programs 4- Dial-up Connecting programs Thank you ...
(VB6) Question about DataEnvironment, Please correct this code
Javad -
5 Dec 2006 5:24 AM - 3 messages
Hello I have a DataEnvironment with "Connection1" and "Command1" containing "ID", "Name" and "Address" (from an MS-Access database query). Now, I want to give the "ID" to the program, and get the "Name" and "Address". I wrote these codes, but seems like there are not correct. Please ...
VB6 Download Text File From Server If Connected
Larry Rebich -
5 Dec 2006 4:36 AM - 3 messages
I have a VB6 program and want to download a text file from a server if the user has an Internet connection. This is a very simple case - no upload - just download. Is there some VB6 or 3rd party, simple control that does this for me or do I ...
Registration of a DLL - can I modify it from HKLM to HKCU?
MCSmarties -
4 Dec 2006 9:52 PM - 9 messages
Hi all, I am using an *old* audio effects plugin (a DLL). I can use it in a player without having to install it but it registers the equalization settings that it applies in the HKEY_LOCAL_MACHINE (HKLM) hive. I would like to include it in a "standalone" video CD (with codecs and ...
How to change the color of a command button caption?
DORI -
4 Dec 2006 9:36 PM - 4 messages
Hi All, Newbie vb6 There is a BackColor and MaskColor in the property window but I can not see a ForeColor for command button controls. I can change the back color but how can I change the ForeColor to change the color of command button caption? ...
How can I "Drop Down" an combobox (VB6)?
Javad -
4 Dec 2006 9:14 PM - 7 messages
Hello How can I drop a combobox down using VB6 codes? (I want to make an "Autocomplete" combobox). Thank you ...
KeyPress event not trapping Enter Key
Darrell Wesley -
4 Dec 2006 8:03 PM - 8 messages
I have the following code in this application in several textboxes: If KeyAscii = 13 then me.textbox2.setfocus But for some reason the enter key is not being seen by this event. What do I need to look for to find out why it's not seeing it. ...
[.net] Functions across form
bmichalski -
4 Dec 2006 5:46 PM - 4 messages
I'm working on a presentation program where I have two forms, one is the "presentation" and the other is the controller form. In the presentation form, I've written a few functions I use to slide, move, hide, etc components on the form. I've been testing them by clicking a ...
Existing VB6 project with SQL2005
Esha -
4 Dec 2006 3:45 PM - 3 messages
I have VB6 project working with SQL2000 database. I use ADO. Is it going to work without any change with the same database attached to SQL2005? If NO, then what kind of changes are required to make it work? Thank you ...
Looking for large vb6 open source code bases
Jan Harder -
4 Dec 2006 11:28 AM - 7 messages
Hello, I wrote an analysis tool for VB6 programs using approximative methods to understand syntax and semantics of the language. The quality of my tool depends on the code base I use to test and improve it. I already have ...
Close Button
Ron -
4 Dec 2006 10:39 AM - 7 messages
I have a Project which has a MDI Form and several forms where its MDI Child is set to true. On form 'A' when a MaskedEditBox has focus form 'B' loads, form 'B' cotains several Radio Buttons if the user makes a selection ...
Can Shapes have caption?
DORI -
4 Dec 2006 7:12 AM - 5 messages
Dear all, Newbie vb6. There are several shapes (all circles) on form1. Users need to describe the location of shape1 (circle#1) in relation to shape2 (circle#2) and shape3 (circle#3)...etc. At this time, it is confusing how to describe the circles ...
Send info via Internet
Ed. -
4 Dec 2006 4:44 AM - 3 messages
Hello All, I have a quick question. We have an vb6 application for which we charge the user based # Transactions, at teh end of each month. Currently at the end of each month, they click a button in our app that generates a text file ...
How to create a non-contained bound label/region??
wxforecaster -
4 Dec 2006 4:07 AM - 5 messages
Right now I have a picture box on a form with a label that programattically follows the cursor around. This label provides readouts of the data at the cursor position. Unfortunately, this label is bound to the form, such that if the form ...
Why Can't I set a password for my Access Database?
Javad -
3 Dec 2006 9:31 PM - 5 messages
Hello I tried to connect my VB6 prgram to an Access DB using a DataEnvironment, and I had no problem doing this, but if I set a passsword for the Access (mdb) file, and then go to: DataEnvironment1> R-Click: Connection1> Properties> Connection> Uncheck: ...
Find name of control
Leon Johnson -
3 Dec 2006 8:58 PM - 3 messages
How do I find the name of controls in the active window. I would like to find the name of a textbox that is on the active window. Thanks, for any help. ...
ByRef argument type mismatch
Jack -
3 Dec 2006 7:45 PM - 2 messages
Declare Function lineMonitorTones Lib "tapi32.dll" (ByVal hCall As Long, ByRef lpToneList As LINEMONITORTONE, ByVal dwNumEntries As Long) As Long Type LINEMONITORTONE dwAppSpecific As Long dwDuration As Long dwFrequency1 As Long ...
(VB6:) How can I change the default properties of a control?
Javad -
3 Dec 2006 7:24 PM - 11 messages
Hello Is it possible to change for example the default backcolor of VB6 textboxes to "Yellow" (without having to do it manually for each form and each project)? Thank you ...
VB.Net 2005 Command Line Arguments
TBoon -
3 Dec 2006 11:57 AM - 3 messages
Hi there, I am using Command Line Arguments in VB.Net 2005. Why am I getting this message? How do I debug with the CLA? Thanks in advance. "The current project settings specify that the project will be debugged with specific security permissions. ...
|
|||||||||||||||||||||||