|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
MSCOMM , how many Com ports will it support?
Mike Scirocco -
22 Apr 2006 11:30 PM - 19 messages
I'm using the MSCOMM on a serial port. I was just told that MSCOMM will only support up to 8 Com ports. Is this correct? So far I haven't been able to find anything about this in the help file or with Google. ...
Command buttons and changing colors question.
Steve Easton -
22 Apr 2006 9:38 PM - 6 messages
My form has 6 command buttons I know I can use: Private Sub Command1_GotFocus() Command1.BackColor = RGB(255, 255, 198) End Sub to change the color when the button is tabbed, and Private Sub Command1_LostFocus() Command1.BackColor = &HE0E0E0 End Sub ...
Xml Parsing from memory
jack -
22 Apr 2006 11:17 AM - 5 messages
Hi all, Im downloading an xml file from a web service which i have to parse and then put it in a database at the same time. Now the problem is. When i download xml file from by using a web service i display it first ...
How to average Data collected via RS232
Chuck Faranda -
22 Apr 2006 11:01 AM - 7 messages
I'm trying to smooth the data (double) I'm receiving via RS232. I have the query in a timer with an interval of 1000. I'd like to smooth this data over 3 cycles. The code is very simple to gather the data: ...
Question About String Matching
teddy -
22 Apr 2006 9:18 AM - 2 messages
Hi all, I want to write string matching program that using boolean
operator(AND,OR), how can I do that, thanks
--
teddy
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
write data on cd from vb procedure
eb -
22 Apr 2006 7:23 AM - 2 messages
How to write a data file on a CD RW from a VB6.0 procedure. Which most commune tool must be used ? ...
VB6 Compile error
gary -
22 Apr 2006 3:11 AM - 5 messages
I have just moved a W95/VB5 project to a W2K SP4 /VB6 SP6/ CodeSmart machine. The program runs in the IDE but I get the following error on compile: VB6.exe has generated errors and will be closed by Windows. ...
Can't access private member of form module from within the module?
Ney_André_de_Mello_Zunino -
22 Apr 2006 1:29 AM - 7 messages
Hello. The following simple form module fails when the code in the button click handler tries to access the /foo/ variable. Option Explicit Private foo As Integer Private Sub Command1_Click() MsgBox "Foo is " & Me.foo, vbInformation, "Show it to me" ...
Creating an update without full install
gary -
21 Apr 2006 9:41 PM - 7 messages
The next version of my program includes these additional files in the setup list. SHDOCVW.DLL MSINET.OCX AXDist.exe Wint531.exe I use the setup program that comes with VB. Is there a good way to distribute the update without a full install? Is ...
OT: Paul Thurrott's Vista Statement: http://www.winsupersite.com/reviews/winvista_5308_05.asp
Jim Carlock -
21 Apr 2006 8:18 PM - 2 messages
[link] Does anyone know Paul Thurrott? Ever heard of Paul Thurrott? A sample of the headlines in the article... Even The Mightiest Tree... Broken Promises Where Vista Fails Glass Windows Feature Complete, My Butt... ...
Web Browser in Windows App
LisaConsult -
21 Apr 2006 5:39 PM - 3 messages
I'm hoping to verify that we are on the right track. We have a windows based application that we are developing which allows the user to fill out various loan application forms. There are several pages for each loan application ...
2D graphics & speed quest
Jacquelin Hardy -
21 Apr 2006 4:08 PM - 39 messages
Hello group, I wrote a marine software with vector charts. The charts are made of polygons, lines and points. Polygons and lines each have a bounding box to determine if they are in the viewing screen or not. My question is: would I gain in speed display by using DirectX or OpenGL ...
Getting the printer image
sam@sbsystems-nospam-.co.uk -
21 Apr 2006 4:07 PM - 3 messages
Hi All For reasons not worth getting into I am trying to copy the contents of the printer hdc into a picture using bitblt. As the printer has a hdc, as does the picturebox I expected this to work, but I can't make it so. No errors ...
Starting PPT from VB6
Dan -
21 Apr 2006 3:31 PM - 11 messages
Does anyone know how to open an existing PPT file, add or delete objects in it, save the file, and close it as well as the PPT application itself, all from VB6? Any ideas would be appreciated. Thanks! Dan ...
Maximize, minimize form when background form resized
Sandy -
21 Apr 2006 3:17 PM - 3 messages
Hello - I have a project with a plain background form (maximized), with regular forms throughout the project that display on top of it. I want to be able to put a minimize button on the background form so that both the regular form ...
VB6 IDE question
frank -
21 Apr 2006 12:31 PM - 7 messages
Hi, I've inherited a VB project at work and I'm using VB 6.0 to work with it. The problem I am having is that I can't seem to access the hidden parts of my form easily. ...
Ordering Date columns in ListViews
Andy -
21 Apr 2006 12:29 PM - 5 messages
My app. has a number of ListViews using view = 3 (lvwReport), including columns containing dates. The users need to have ther usual functionality of clicking on a column header and having the items ordered on that column. Trouble is, the dates are displayed as text (obviously), and the order ...
How image size can change using Intel Library
jain -
21 Apr 2006 12:20 PM - 6 messages
Hi All i am creating a JPEG File from bitmap using Intel Library. its work fine. but i want to change size of the image. how i can do this. when i change size of the image for jpeg file then if size is less than the ...
winsock close problems
Carlo -
21 Apr 2006 11:54 AM - 4 messages
Hi i use 2 winsock controll to execute an ftp passive mode on a server, when there arent problems all runs correctly (i'm a genious!!!). I suppose that there should be some network's problems, then i wrote a ...
Need signature for a .VBP file
NJ Mike -
21 Apr 2006 11:20 AM - 2 messages
My hard drive crashed and a recent project that I was working on is lost. I have the Ontrack software to do a recovery but .vbp files are not included in the list of files to search for. However, I can add file extensions. To do this, I need to know the ...
Loading Pictures from database into Picturebox
Edwardsfan2000 -
21 Apr 2006 10:55 AM - 2 messages
Hello, I'm pretty new to Visual Basic. But that is oke. I wrote a program where people can draw ink on a background picture. A screenshot is taken, cropped and saved to a jpg. Then the path of the ...
Can VB Autosave
hon123456 -
21 Apr 2006 9:36 AM - 6 messages
Dear all, I want to let VB autosave the Code in an interval. Where can I set the autosave interval time? Thanks. ...
Newbie Question
GFM GToeroe -
21 Apr 2006 8:16 AM - 3 messages
Hi! I'm new to vb.net (and to programming as well) and last night I tried to make my own picture of the difference of value and reference types. What I find out is that the main difference is how the CLR handles the ...
Determine font that created text
NickHK -
21 Apr 2006 7:46 AM - 4 messages
I have a number of graphics that have text in an unknown font. I'd to see which of the available fonts is the closest match. The text is white on a black background, so I figure: 1. With picture in picture box, select region of a single letter ...
Email attachments in Outlook
spudieboy -
21 Apr 2006 7:09 AM - 2 messages
Using code from this site, I have been able to save my email attachments
into a directory of my choice, which is great. I'm now trying to automate the next stage of the process, which is to
open a text file and add the contents of the attachment text file into
the existing file. Is this possible and if so, how? ...
How to Paste List of Strings into VB Resource File?
TCook -
21 Apr 2006 7:01 AM - 2 messages
Hello All, I was wondering if anyone knows how to take a list of strings and paste / add them en masse to a resource file? Thanks & Regards, TC ...
VB 2005 Express Build Problem
Patrick Huber -
21 Apr 2006 4:56 AM - 2 messages
I'm running through the tutorial in the MSDN library. I'm working on "Testing Your Class" under Programming With Objects. Trying to run my program at this point sets off a couple of error messages. The tutorial puts in the code: Age = CalcAge(birthYearValue) ...
How to Find a Form with Form's caption
hon123456 -
21 Apr 2006 4:44 AM - 5 messages
Dear All, I got a program with many Forms. Now I got a form which caption is "ABC" and Name is "Form1" . So how can I find(search) the ...
How to find the Lasr Statement
hon123456 -
21 Apr 2006 2:38 AM - 2 messages
Dear all, I got programs as follows: Sub ABC() ..... ...
Missing .FRX Files - Is that a Problem?
Carl Imthurn -
20 Apr 2006 9:31 PM - 6 messages
I have a VB project with about 40 forms. We've been developing the project for about 4 years now and we just noticed that practically all the .frx files are gone... have no idea where they went and nobody on ...
Wininet HTTP Post - MS example not working?
Matt Williamson -
20 Apr 2006 8:47 PM - 9 messages
I'm trying to get the example in MS KB [link] for posting via wininet api working, but HttpSendRequest keeps comming back false. Here is the code with the only modifications being the server name and path ...
Where can I paste the tables of MS-Word in my VB6 program?
Javad -
20 Apr 2006 8:12 PM - 3 messages
Hello I am a VB6 beginner. How can I paste the tables of MS-Word into my program? (For example, I tried "RichTextBox", but I couldn't paste any tables in it) Thank you ...
Compile status bar
Lou -
20 Apr 2006 7:46 PM - 3 messages
I lost my compile status bar in the toolbar. Now when I compile its not there. How do I get it back? ...
How to simulate the double-click event?
Clark -
20 Apr 2006 7:05 PM - 8 messages
This should be easy, but I can't think of how to do it so I need some help. I have a VB6 program with a rich text box containing a list of employees and their daily assignments. I want the user to be able to ...
WebBrowser1.Navigate click
gary -
20 Apr 2006 4:52 PM - 4 messages
The following causes an audible click. How do I turn it off? WebBrowser1.Navigate htmldoc Thanks, Gary ...
VB Call DTS
Travis -
20 Apr 2006 4:51 PM - 3 messages
Hi , Is it possible to call the SQL DTS Package to run , or call the SQL job to kick off from VB6 ? How can I do that if can ? Really appreciate your help. Thanks ...
Question on VB and SQL Server
Rodger -
20 Apr 2006 3:52 PM - 2 messages
Hi I have a stored procedure which gets executed from ASP code, the ASP in turn uses MTS . the problem is, when the stored procedure encounters a rollback statement, instead of just sending the error message and then rolling back ...
Moving Project Source from one machine to another
Larry B -
20 Apr 2006 3:41 PM - 16 messages
I am trying to move my source codes from my laptop to my office desktop, Copied the entire Visual Basic folder to my jump drive and copied it to my Visual Basic folder on the desktop. When I try and open a project to edit it, I get the following message ...
Stop Sub execution
chairman -
20 Apr 2006 3:29 PM - 5 messages
Hi, I have a question about subs, functions or procedures and how to stop them if they are executing. I read quite a bit about that matter and found a quite simple yet not convenient solution. But let me describe ...
Text box
Graham (UK Beginner) -
20 Apr 2006 2:08 PM - 3 messages
Data entry application I have a Text box with a Vertical scroll bar, multiline set to True and bound to a Data control. The text box works fine until the user presses the return key to atart a new line and the text disappears. ...
legacy connection object for text files - I need a new one
thejamie -
20 Apr 2006 10:46 AM - 4 messages
My question: "What is the correct connection object to use in VS 2005 for a text connection?" will need some background. I am placing code at the end showing how I am reading data from a text file (comma delimited) into a ...
How to make VB stop at appropriate line when error occured
hon123456 -
20 Apr 2006 8:44 AM - 2 messages
Dear all, I am debugging a visual basic application, there is an error occured. But I cannot find out which line occured the error. How can I let VB stop at the line where the error occured? And I can debug that ...
Maillist in CDO
Bart Steur -
20 Apr 2006 8:24 AM - 2 messages
Hi, I want to send our company newsletter to some of our customers (+/-50). Now I found out how to do this using CDO, but I have to loop through all email addresses and send them one at the time. How can I send the newsletter to ...
making a road-map designing tool
Sabbir Ahmad -
20 Apr 2006 5:56 AM - 4 messages
Dear Googole people, i;m new with VB6. Here's what i've been trying to do.>>i'm trying to make a tool which will have a city map. i'll use the mouse ...
Conveting byte array to int array ???
Sanjay -
20 Apr 2006 5:19 AM - 13 messages
Hi Please tell me I have ..array of byte byteAudio(4096) AND I HAVE TO Convert it into array of integer.. i m trying like this .. for i=0 to 4096 ...
refresh(?) a form over the network
Frederlo -
20 Apr 2006 3:36 AM - 3 messages
Not sure how to ask this question. I wrote a game. and I wanted to be able to have 2 players to play each other over the local area network(internet is good too) when one player makes a move the other computer will be updated and displayed. ...
Rename file based on name of parent directory
luvnrocs@adelphia.net -
19 Apr 2006 9:58 PM - 5 messages
I'm kind of new to VB. I already have code that captures the path. Now I'm trying to figure out how I just use part of that path to rename the file. For example: I have a file called test.pdf in path c:\dir1\dir2. ...
advice on Form/controls design
MP -
19 Apr 2006 7:13 PM - 3 messages
Hi I have a form with various controls. among them is a frame (fraCondition) containing 8 option buttons.(opCond) I'm setting an opCond(0) at design time and loading in a setup sub thusly With opCond .Item(0).Visible = False ...
A Crystal/VB 6 puzzler.
Frisbee® -
19 Apr 2006 7:09 PM - 6 messages
Can anyone possibly shed some light on this one? The following line of code, in the main form's Initialize event: Set crxApp = New CRAXDRT.Application It's Crystal 8.5 Developer Edition, SP3. VB is 6.0 SP6 Nothing has changed in the main form at all, no new applications have been ...
Resizing a control inside Form
VMI -
19 Apr 2006 5:55 PM - 11 messages
I added a Crystal Report viewer in my Form and I would like to resize it whenever the user resizes the Form (anchoring in .Net). Is this possible? Thanks. ...
Text changes after .........
local -
19 Apr 2006 4:14 PM - 23 messages
Hi I have many text boxes on a form to enter data into. I now have the format working ok, but when I enter an omount over 999 the amount reduces itself to 1.00 if I use shift/tab to go back past the text box in question. ...
Query Regarding Masked Edit Box
vinayak -
19 Apr 2006 4:01 PM - 5 messages
In a masked edit box I have set a format for the way the data has to be typed. How do I check whether it contains some data or not? ...
Auto Advance Textbox.text as if using a scrollbar
byman2030 -
19 Apr 2006 3:19 PM - 4 messages
I am trying to use a textbox to display an incoming chat message at the bottom of any messages already received. When the user receives a new line of text it is handled with: txtOutput.text = txtOutput.text & vbcrlf & newmsg ...
VB6 IDE Annoyance
Frisbee® -
19 Apr 2006 2:47 PM - 9 messages
Does anyone know of a reg hack or something that can cause VB 6 to start up with the "Recent" tab selected instead of the "New" tab? Did the great minds at MS design think that every time we start up VB that we'd be doing a ...
Copying from Novel
Jeries Shahin -
19 Apr 2006 1:41 PM - 3 messages
Hi I am trying to copy files from a folder on a Novel machine, the folder is in the UMC format (i cannot map a network drive for some business reasons). Upon copying, it fires an IOException saying that the file does not exist. ...
[for Randy Birch] Registry, privileges, OpenProcessToken, W98...
mb -
19 Apr 2006 1:09 PM - 4 messages
Hallo, I'm with VB6 and Win98, by following your hint posted on [link] I was trying to import a binary .reg file into the Registry It works on Xp, but it doesn't on W98 ...
Rnd() vs. Long ...no joy with LSB!
bogusexception -
19 Apr 2006 1:05 PM - 5 messages
(or.. "Too much Tails and not enough Heads") I'm running into a very strange problem with random numbers and long numbers. To demonstrate the problem, I've created a simple test. Consider that a series of coins are to be "flipped" all at once. The ...
Stealth
ImroZ -
19 Apr 2006 9:33 AM - 5 messages
have developed a keylogger but prob lies in running it in my frens PC. Anyone knows how to link it to a site and have the exe copied to his system32 folder and run it once. Any other stealth method will work ...
How to locate the corresponding IF statement
hon123456 -
19 Apr 2006 9:13 AM - 15 messages
Dear all, I have a function which contains many IF and nested IF statement. I wonder whether it is a shortcut key that I can use to jump from IF statement to the corresponding else or end if statement. ...
Store data in encrypted file
Steve Landry -
19 Apr 2006 1:31 AM - 11 messages
Any suggestions on a simple way to encrypt an ASCII data stream being saved to a file so the file could not be subsequently opened and edited with a common text editor? This is not a high security app., just want to prevent ...
Center Background Image
nikbaer -
18 Apr 2006 11:26 PM - 19 messages
Is there a simple way to just place a background image in the center of a MDI form and set its size. I am sure it's easy, but I haven't come across a simple solution here yet. I can place the image in the center, ...
Microsoft, Cisco, Comptia, Oracle, Solaris -(Pay after check result) 100% Exam Pass Guaranteed
vinay -
18 Apr 2006 8:51 PM - 2 messages
We own several test centres worldwide and are able to offer you this fantastic service. If you would like a 100% guaranteed pass, then please read on further...... We are able to offer a guaranteed pass for the following: Microsoft, ...
VB code to execute sql query
meg.rk23 -
18 Apr 2006 6:01 PM - 5 messages
Hi , I have a prolem solving this question- Write a code in vb to executesql query "Select * from table where.....(Conditins)" where write a GUI code for accepting the conditions in which the usercan slect the field name, comparison ...
command app
Ben -
18 Apr 2006 4:21 PM - 3 messages
Hi all, I have written a piece of code, and I would like to turn it into a command line app or one in which it can be called by an external app by passing it a parameter. I tried to put the parameter in the Main() and tried to compile but that ...
Format text boxes
local -
18 Apr 2006 3:56 PM - 7 messages
Hi When I get a result in a text box from a calculation that should show, 123.00 the result will always show 123 How do I format text boxes to always show 2 decimal places? Thanking you in advance. ...
couldn't find installable ISAM
Fabri -
18 Apr 2006 3:23 PM - 10 messages
Hello all, I've successfully compiled a source written in VB6 - Sp6 wich connects to Access 2003. The operating system is WinXP-sp2. The software works well when run from the Visual studio ide ("run with full compile"), so it does what I want, connecting to the database etc. ...
vb6 runtime question
Anthony -
18 Apr 2006 2:36 PM - 4 messages
Which operating systems is it safe to assume that the vb6 runtime is installed on. For example, if we had an .exe created in vb6 that used only intrinsic controls, which operating systems would the exe run on automatically, and ...
Can't Use Package & Deployment Wizard - ActiveX Error
PHILLIP GALEY -
18 Apr 2006 1:53 PM - 2 messages
I have VB6 Enterprise, running on Windows Me. I can't use the Package & Deployment Wizard. Every time I click the Package button, I get the following error: "Unexpected error number 429 has occurred. ActiveX component can't create ...
How to find a control
hon123456 -
18 Apr 2006 8:58 AM - 10 messages
Dear All, I got a form with several SSTab. I got a command button which is named "cmdsaveshipment". I try to switch to "cmdsaveshipment" in properties windows. But the ...
newsgroups for ADA (GNAT 95)
Eitan M -
18 Apr 2006 8:46 AM - 7 messages
Hello, Where can I find good newsgroup for ADA (GNAT 95) ? Thanks :) ...
Creating X/Y Graphs in VB6
22Pom -
18 Apr 2006 7:59 AM - 8 messages
Hi All, I'm by no means a whiz kid at programming and I don't understand a lot of the terminology used, but what I do create works, and thats the main thing. However I'm at a total loss as to how to create X/Y graphs. ...
How to make a setup of a VB 6 application
Syed Zohaib Ali -
18 Apr 2006 5:15 AM - 3 messages
Hello All I m working on a vb 6 project that communicates serially with a hardware.I made its .exe file whcih is working properly. But when I copy this exe file on different computers it does not work. now i want to make a setup of my ...
Newbie question about controls versus references
Ney_André_de_Mello_Zunino -
18 Apr 2006 1:07 AM - 6 messages
Hello. "Long-time-no-see" VB programmer here, so please bear with me. I have just started reading the introductory MSDN documentation on using VB6. The tutorial "The Firstapp Sample Application" directs the user to right-click the toolbox panel and choose "Components..." in order to add ...
how to read values from sortedlist??
Axel -
17 Apr 2006 10:37 PM - 3 messages
Sortedlist in VB2005 looked like the perfect solution to my problem in a console app. I want to delete all but the two most recent entries of a series of files. I created the sortedlist and popluated it with file creation date as the key ...
print code error
after.effect.27 -
17 Apr 2006 5:00 PM - 10 messages
I dont have much experience with visual basic or Microsoft Access, so heres my problem. I am converting old databases from access 97 ot 2003, and I have successfully done it. Now, I'm going through each form to see if it ...
delete selected record from database and listview
zoneal -
17 Apr 2006 4:15 PM - 4 messages
am making a project in vb6 but at this movement i am having a problem in list view. The problem is....... I am using list view. the listview's check box property is true and i want to delete all records thar are checked or selected in listview but ...
ActiveX dll problems
Galen Somerville -
17 Apr 2006 3:59 PM - 5 messages
I have made an ActiveX dll to encapsulate all of the interface for a 3rd party USB driver. When the app closes I get the dreaded "This program has performed an illegal operation" etc. For what it's worth, the ActiveX contains a Form which is not visible and ...
DPI setting problem
sreejith -
17 Apr 2006 3:55 PM - 4 messages
Hi, I developed an application using VB 6.0 and the display is completely unusable when I change the DPI setting to 120 DPI. It throws away all alignment and even the buttons are not visible in some of the ...
txt file compare example
SK -
17 Apr 2006 7:49 AM - 2 messages
Hello everybody, I found a few good examples, but before I start making my app, I would like your opinion about online examples, your experiences etc. SK ...
arrays, passing reference to a function
jbd5623 -
17 Apr 2006 6:47 AM - 2 messages
I have 3 arrays, each with different data and dimensions called strArray1, strArray2, strArray3. I have a public function in which I would like to step through one of these arrays. How should I pass a reference to one of the arrays ? ...
Beta Release, if of interest
DanS -
17 Apr 2006 12:08 AM - 22 messages
Greeting's to all, Since many of you have helped me in the past year with my VB Windows Shell replacement project, I just wanted to let you know that I released the first beta to some shell users for testing. ...
Colour Problem
Pinto1uk -
16 Apr 2006 8:42 PM - 7 messages
Hi, i have managed to distribute an application created using the package and deployment wizard. Everything is ok except the background colour. why is it that when the application is intsalled on another machine, the background becomes the default gray? is it something to do with the wizard ...
Recommened books on VB2005 or VB.NET 2003?
james -
16 Apr 2006 4:34 PM - 2 messages
Can anyone recommend a book on VB 2005 or VB.NET 2003 for an intermediate C/C++ programmer? Thanks a lot, James ...
Visual Basic 2005 vs. Visual Basic .NET (2003) and Visual Basic 6.0
Rose Red Programmer -
16 Apr 2006 12:35 PM - 3 messages
I began programming in Visual Basic 6.0 when I was in high school. I tried Visual Basic .NET 2003, but couldn't figure much out. I tried the beta 1 of Visual Basic 2005, not much luck with that. However, I ...
reInitialize dynamic array
softie -
16 Apr 2006 7:13 AM - 12 messages
I have a dynamic array to which my data changes (redim preserve) its upper and lower bounds as required. Now I wish to reuse that dynamic array and establish new upper and lower bounds. What I really need is to reset the array to its original state of NOTHING. ...
How to check No of controls used?
Jack -
16 Apr 2006 3:28 AM - 14 messages
Hello, I am very close to the limit of 256 controls placed on the single form. How can I check, how many controls I have already placed or how many can I ...
|
|||||||||||||||||||||||