|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Able .NET ?
StarryNight -
11 Nov 2006 10:38 PM - 3 messages
Hi to all. I would to develop a mathematical software in Visual Basic .NET. Equations, system of equation, inequalities, Radical, logarithm, limits, differenzial equation ecc.... ..NET is not able in this problem. A way exists in order to expand the mathematical capacity of the .NET ? ...
LockWindowUpdate and flicker
Steve -
11 Nov 2006 9:57 PM - 3 messages
I have an app that under certain circumstances I need to show/hide or move certaincontrols around based on the users actions. To prevent the user from being able to see this I call the LockWindowUpdate with the form's hWnd API ...
sending parameter from Vb 6.0 frront end to crystal
ravi.seo -
11 Nov 2006 6:49 AM - 2 messages
Hi frens... this is ravi..... I hav a problem in sending parameter from Vb 6.0 frront end to crystal report 9.0. VB Details ---------------------->>>> Dim crystal As CRAXDRT.Application Dim report As CRAXDRT.report ...
How to find path to....?
Jack -
11 Nov 2006 4:15 AM - 6 messages
I need to find a path to \Documents and Settings\All Users\Application Data What will be the simplest way? I have tried Environ("common_appdata") but that does not work. Jack ...
Which registry key to use?
Jack -
11 Nov 2006 2:45 AM - 5 messages
Hello, My app stores preferences in HKEY_CURRENT_USER. This works fine for one particular user. Now, I would like to make the preference available for all users. Which registry key should I use? ...
VB 6 program to read from and save to text file
albertleng -
11 Nov 2006 2:31 AM - 2 messages
Dear all, (note: u may see this post in vb.api. actually, i intended to post in this forum but i mistakenly posted in vb.api) I'm trying to write a VB 6 program which will read from a text file. ...
Printing data over form
E. Ortega -
10 Nov 2006 6:36 PM - 3 messages
Hi All, I'm new to VB. I would like to know, how to print data over a form. Much like Turbo Tax prints the data over the tax forms, all in shot. Visual Studio 2005, SQL 2005. TIA, E Ortega ...
Problem with VB crashing
Martin -
10 Nov 2006 5:55 PM - 17 messages
Can anyone give me a clue as to what I might need to be looking for here? Using VB6 (SP5) on Windows XP Pro with all current service packs and updates. I have more than 25 VB projects on this computer. With 3 of them, when ...
Dice roler
Miss_A -
10 Nov 2006 2:56 PM - 8 messages
My program roles two dices as many times as the user types in. But the application crashes if i type in 0 times...Why? Thx ...
An error occurs in a sub/function which is not called
Pieter -
10 Nov 2006 12:17 PM - 17 messages
Something strange is happening in the VBA code of my ArcGIS project: an error occurs in a sub/function which is not called. Every sub/function/property has an call to an errorhandler sub (except those in which an error can't occur, form/class Terminate event subs ...
How best for dll to "report progress"?
MP -
10 Nov 2006 4:32 AM - 9 messages
I have an activex dll that runs "in process" in another app Dim oApp as ExternalApplication Set oApp = CreateObject("AppName") Set cWidget = oApp.GetInterfaceObject("DllName.WidgetClass") The dll is created, lets say, by a form in a stand alone exe, therefore "out ...
Using Wininet and FtpPutFile()
Jack -
10 Nov 2006 4:03 AM - 2 messages
Hello, When using wininet and uploading file to server using FtpPutFile() API I do not receive any callback notification that transfer was completed. Where should I look for that? I need to disconnect connection as soon as transfer is over. ...
Transparent Toolbar in VB6
Signet -
10 Nov 2006 3:44 AM - 5 messages
I've seen some ideas on how to add a background graphic to a VB Toolbar, but what I'd really like is for the toolbar to be completely transparent, except for the icons/bitmaps used for the buttons, so as to see the background ...
Loose coupling, tight cohesion, general confusion <g>
MP -
10 Nov 2006 3:31 AM - 8 messages
General question about where to put frequently used code. according to my understanding (fuzzy thinking<g>), code "should" be modular with, among other objectives, the above mentioned tight cohesion and loose coupling. In my beginners mind I take that to mean a function should do only one ...
Display thumbnails
Mark -
10 Nov 2006 3:13 AM - 2 messages
I have an application which diplays up to 48 thumbnails (each image is about 2 megapixels) but it loads very slow, even the images which are much smaller take too long. What is the best way to display thumbnails? I am currently ...
Close All Open COnnections
AK -
10 Nov 2006 1:34 AM - 3 messages
Does anybody know of a way to close all existing open ado connections in a project? Thanks AK ...
transparent background
MAB -
10 Nov 2006 1:34 AM - 7 messages
Is it possible to make an image file's background transparent so that it is transparent when it's displayed in an Image corntrol (or PictureBox control). ...
Stopping an VB app?
Bertil Lindstrom -
9 Nov 2006 9:25 PM - 8 messages
Hi! I am new to VB, and I am working with an app that is calling a function from an custom.dll When trying the compiled version: Everything works ok, but when I terminate the app, the visible parts (windows, etc) is removed from ...
can someone post a simple example of a class with a static method in vb6?
Mad Scientist Jr -
9 Nov 2006 8:51 PM - 9 messages
I am working on a vb6 app and want to add a class with some static methods (like you do in vb.net). For example in VB.NET you would do: Public Class TestClass Public Shared Function AddFive(ByVal MyNum As Int16) As Int16 ...
Changing the date in a record
Maureen227 -
9 Nov 2006 8:32 PM - 4 messages
I have a process that changes a bid to an invoice. Simply by validatng that the invoice number starts with B he code will then put the next invoice number into the in voice field of the record. this works great ...
array print
Miss_A -
9 Nov 2006 8:20 PM - 2 messages
I have a listbox where I print an array(2 to 12), for every index theres an integer. 2 4 3 8 4 12 5 . ...
Save a unicode text file
Arjun -
9 Nov 2006 8:08 PM - 2 messages
Hi, I am trying to save a file having unicode name in .txt format in Visual Basic 6.0 SP6 and getting an error "Permission Denied". Please suggest. Thanks Arjun ...
if IsNumeric
Miss_A -
9 Nov 2006 8:04 PM - 5 messages
I have made this simple program for counting Body Mass Index. User of the program types in weight and length. A function checks if weight and length are numeric Then Calls function Count() If Count is True Then the resaults are shown for the user. ...
TabIndex with a frame
Dan -
9 Nov 2006 8:00 PM - 14 messages
I have a form with several text boxes, check boxes and a frame containing some radio buttons. I have the TabIndex property set for each control, including the frame and the radio buttons. For some reason, at run time, I ...
VSI 1.1 how to set up the custom folder for application executable
ddb007 -
9 Nov 2006 7:34 PM - 6 messages
Hi,I have a VB6 project with custom DLLs. For some reason PWD does not work for this project. It starts running and then disappeared without any message. I tried to use VSI 1.1. It works fine for me but I need to install my ...
VB6 Deleting Excel worksheet
Darhl Thomason -
9 Nov 2006 6:52 PM - 5 messages
I have an "Export to Excel" routine in my app. I give the users the opportunity to select/create a spreadsheet, as well as name the worksheet they wish to use. If someone is using an existing worksheet name, it will ...
Calling a VB6 DLL from Magic8.3
AndyCapp77 -
9 Nov 2006 4:54 PM - 2 messages
I have developed a DLL in VB6 that wraps the .Net CryptoUtility as we have a need for a developer using the Magic8.3 language to call the ..Net encryption utility. According to the Magic developer he cannot call directly to a .Net dll ...
Pinter Size
Syed Zeeshan Haider -
9 Nov 2006 4:18 PM - 3 messages
Hello Everybody, I have VB6 on WinXP SP2. I have a memory address in a Long variable. How can I find out the size of that pointed memory in bites? Thank you, ...
Updating status in one form depending on the actions in other form
IJALAB -
9 Nov 2006 3:44 PM - 3 messages
Hello All, I have a main form and a status indication in that form. With few actions being successful in the child form, i should update the status indication in the main form as "Success". Now, if the child form's actions being a failure at some point, which I ...
AIS, base 64, ascii, collection,
Jacquelin Hardy -
9 Nov 2006 2:31 PM - 5 messages
Hello group, In a discussion about AIS coding in Base64, 6bit-encapsulated data, Larry Serflaten proposed the use of a collection. I tried the following code: and I get an error stating "This key is already associated with an element in the collection ...
Building EXE Twice Produces Different Files
Charles Law -
9 Nov 2006 12:50 PM - 24 messages
I have just built my code twice, on the same machine, with auto-increment off (I did not change the code in any way). I also did not close the IDE between builds, but now I have two different EXE files. If I perform a hex ...
webbrowser control problem in my winform
sajin -
9 Nov 2006 12:46 PM - 2 messages
Hi all, I have a winform in which webbrowser control is placed, i navigate a url in that ( lets say [link]) , so picture comes in . but my webbrowser has predefined width and height ( say 200x100) , but if ...
printing escape codes to Zebra LP2844
davidwellan -
9 Nov 2006 11:10 AM - 16 messages
Hi, I'm desperately trying to send escape codes to a Zebra LP2844. I've been through the forums and found loads of info, but I can't get the printer to output what is sent to it! I've tried every example I can find using API calls to winspool.drv ...
Looking For A Few Good VB6 Programmers...
Occult Entertainment -
9 Nov 2006 10:30 AM - 3 messages
Occult Entertainment is a non-profit entertainment organization - we are, basically, a small group of people who believe in making free, quality ways to waste your time. The project we need help with is a program called DM Secretary (downloaded, since its inception, a little over 4,000 times), a program ...
Package and Deployment
boundary -
9 Nov 2006 8:55 AM - 9 messages
I use Visual Basic 6 + Microsoft Access 97 to write a project and use DAO. Dim XXX As Database Dim TABLE1 As Recordset Set XXX = DBEngine.Workspaces(0).OpenDatabase("C:\XXX.mdb") Set TABLE1 = XXX.OpenRecordset("TABLE1") After Package and Deployment, I would like to install my Project in ...
FileExists that works?
Lorin -
8 Nov 2006 6:39 PM - 3 messages
We need a file exists function that works. I gather files using a Dir loop. I then check later that the user has not renamed or deleted the files in Windows Explorer using a FileExists function. Unfortunately, my FileExist functions have failed to reliably work. ...
How to select a fax driver?
DORI -
8 Nov 2006 6:38 PM - 6 messages
Hi all, Newbie VB6. I have an application that users click on command1 button to open the print window and then select the printer or fax drivers from the list to print or fax the form1. I am trying to remove this step and just wondering how I can get around it ...
Simple, free RDBMS for VB3/6 with minimal installation footprint
MM -
8 Nov 2006 5:54 PM - 60 messages
Can anyone recommend a basic RDBMS (a la MS Access 2.0/97) for use with VB3 and VB6? What I'm looking for is a solution with the minimum number of support files (DLLs). I ~could~ spend a few weeks boning up on Rod Stephens' B-Tree stuff, ...
GUI Issue: Controls NOT visible when .Visible = TRUE
Brad Ashforth -
8 Nov 2006 5:08 PM - 16 messages
This is one that I can't figure out. In a large application we have several forms where this occurs, sometimes randomly ... but some forms it happens to the same control every time. In each case the control is either a textbox, ComboBox or Date control In ...
CursorLocation of ADO Connection
fniles -
8 Nov 2006 3:30 PM - 11 messages
When using ADO and querying a SQL Server database using Stored Procedure, will it be faster if I set the CursorLocation of the connection to adUserServer ?I guess I do not fully understand the effect of setting the CursorLocation to adUserServer or adUseClient. ...
Slow application exit on windows 98
Beatrice -
8 Nov 2006 2:17 PM - 14 messages
Hi all, I have a big problem. Sometimes, when I close my application it remains as froozen on the screen. Debugging my program I've seen that I call a method of a my class and that before the first instruction is done, 20-30 seconds are ...
Mystery ... The disappearing VB6 Program
Ivan Lozada -
8 Nov 2006 2:15 PM - 8 messages
Hello There, I have a plain 1-form, a couple of controls, VB6 executable, that, when minimized disappears behind the DeskTop Task Bar. Does anybody know why?, and What to do to prevent this behavior? Thanks for your help Ivan ...
User action logging
Steve -
8 Nov 2006 2:05 PM - 10 messages
Does anybody have an idea as to how I might (without adding logging code to every click event) log the user activty within my app? My problem is this, I have an app that is used by workers on the factory ...
RTF to HTML
Steve Barnett -
8 Nov 2006 8:18 AM - 5 messages
I have a small app that allows the users to enter notes in a rich text box. One of the outputs of this app is a web page that includes the notes formatted as html output. I have a routine that does that for me reasonably ...
What is "Quote" ?
Jack -
8 Nov 2006 6:46 AM - 9 messages
What is the meaning of "Quote" keyword? Jack ...
Not getting all records from RecordSet
RachelMary -
8 Nov 2006 6:21 AM - 3 messages
Hi All, i'm running a vba application using Ms Access. in my database,Employee table, i'm having department ID same for 3 employees i need to get that id in an array i gave the code as value = recordset.Fields(0).value ...
VB6 Merge Modules and Vista
Jojo -
8 Nov 2006 6:06 AM - 4 messages
I don’t know whether here’s the right place to post this question, but it seems that you guys know what you’re talking about so might as well try. We're designing our application's installer (using InstallShield 12) to be ...
Regedit
MstDave -
8 Nov 2006 3:09 AM - 4 messages
hi im using vb 2005 and am trying to export a reg key, code: procID = Shell("c:\windows\system32\regedt32.exe /e:a c:\\" & Sub_Key & ".reg ...
How to transfer the call of a method (Hard ...... )
Miguel Castanuela -
8 Nov 2006 1:03 AM - 4 messages
I have an ActiveX dll in VB6, containing a class module with several methods; in addition, a form with controls, in particular a command button. This dll is called programatically since other application, an macro of Excel. I call and run a specific method ...
Vista runtime error with app developed on VB6 in XP Pro, and MSDN subscription question
James Hallows -
7 Nov 2006 10:57 PM - 12 messages
Howdy I have a problem with an application developed in VB6 SP6 I've written that installs and runs fine on 98SE, ME, and XP, and I'm told installs fine on Vista RC2, but fails when run with an error message: ...
Re: Famous cracked software download
jonnyboy7012 -
7 Nov 2006 10:51 PM - 4 messages
may i have the cracked version of: 20-20 Kitchen Designer 6.1 thanks ...
Internet Cache
Syed Zeeshan Haider -
7 Nov 2006 9:37 PM - 3 messages
Hello Everybody, I have VB6 on WinXP SP2. How can I get the local address of a file in internet cache using GetUrlCacheEntryInfo? All of my attempts so far have resulted in multiple crashes of Visual Basic. Thank you, ...
PRINT FORM
Daniel -
7 Nov 2006 9:36 PM - 11 messages
Hi ! I need to print form that is not visible but I can't use prinform. I tried some Api(sendmessage and WM_Paint) with a picturebox. It work but some controls doesn't print (barcode control, special textbox). I don't know ...
COM Object not available in VB6
Lou -
7 Nov 2006 8:23 PM - 3 messages
I created a comclass from VB .NET 2005 but it fails when I try to load it into VB6. I followed these instructions To create a COM object using the COM class template 1.. Open a new Windows Application project from the File menu by clicking ...
BeginTrans and CommitTrans
fniles -
7 Nov 2006 6:54 PM - 19 messages
When using BeginTrans in ADO, will it lock the database for other users while it is in between BeginTrans and CommitTrans or RollbackTrans ? I mean, once I issue a BeginTrans, will anybody else be able to use the database until I issue either CommitTrans or RollbackTrans ? ...
vbscript does not work in Scheduled Task
Sean Grieco -
7 Nov 2006 6:10 PM - 3 messages
Hello, I have a script here that runs every 5 minutes in scheduled tasks. The script checks to see if the pc has a certain ip address and if it does it disables the dhcp client and displays a message. The problem is I have the ...
Mike D Sutton's rotated label control
Steve -
7 Nov 2006 5:53 PM - 23 messages
I came here looking for some help with rotating a label. I found the following msg from Mike D Sutton [link] ...
Printing - why is it all so black and white?
Keith Sheppard -
7 Nov 2006 4:51 PM - 10 messages
I am trying to print some text, on a monochrome printer, in black on a light grey background but failing miserably. There are two problems: I start by shading in the whole of the rectangular area with my light grey ...
how to store number in array?
jack -
7 Nov 2006 4:30 PM - 2 messages
Hi i have one text box and two command buttion one for show big number and another for add to array, i want to be know how to add numbers in array using text boc and displying big number in the array list. ...
Displaying text in picture box
kanth.kris -
7 Nov 2006 2:45 PM - 2 messages
hello ,I am reading data from a file and plotting them in picutre box like a graph. I am having one problem here after drawing the graph I would like to writ the max and min point values at that particular location . I am ...
Easiest method for async functionality...
Malakie -
7 Nov 2006 1:26 PM - 4 messages
Hi, I am looking for methods that will allow me to let a VB app do different tasks/work in async mode or another way of putting it, multi-task different routines. For an example, let's say the app needs to unzip a large file of ...
Shell to Non Exe Program
Mark -
7 Nov 2006 1:19 PM - 5 messages
Can someone please tell how I can shell to a non exe program using shell or an API to start the process (bat,msi...etc). Thanks Mark ...
Hyperlinks
siri -
7 Nov 2006 12:25 PM - 2 messages
Hi! I am working with macros in PowerPoint, and making Userforms in VB. In a userform I would like to have hyperlinks. I'd like to know how to: - make hyperlinks in forms in the textbox - make hyperlinks in commandbuttons ...
ClassFactory cannot supply requested class
Keith Sheppard -
7 Nov 2006 12:14 PM - 2 messages
One of my application's users is reporting that they get the message: "ClassFactory cannot supply requested class" I have been unable to reproduce the error on my machine. Does anyone have any suggestions what could cause this particular error and where I should be ...
Decimal Comma vs Decimal Point
Bart Steur -
7 Nov 2006 11:29 AM - 9 messages
Hello, I want to insert a Single/Float type value into a table using the following SQL statement. I'm executing this from a VB6 app using ADO 2.7. myValue = "0.5074655" (Entered by the user into a textbox) ...
timer1_timer sub not working?
canoe414 -
7 Nov 2006 11:17 AM - 11 messages
OK, so maybe I was a bit hasty in saying all was working.... Private Sub Form1_Load() Timer1.Enabled = False Timer1.Interval = 0 ProgressBar1.Visible = False End Sub Private Sub Timer1_Timer() Dim tmmpStr As String ...
no start() or stop() methods for timer control ?!!?
canoe414 -
7 Nov 2006 1:35 AM - 4 messages
OS: Win2000Pro SP4 Visual Studio 6.0 Enterprise Edition SP3 Greetings All, I've whipped up an VB6 app and placed a timer control , some textboxes and some command buttons on a form. I've applied the Microsoft Windows ...
Create/Edit query in Access .mdb
Darhl Thomason -
7 Nov 2006 1:30 AM - 12 messages
Is there a way to programmatically create or edit a query in an Access .mdb from VB6? Thanks, d ...
VB Window Handle
Dotte -
6 Nov 2006 10:10 PM - 4 messages
Hello, I have a requirement where I need to create a program that would find all instances of an application and show each instance on the screen for about 5 seconds, after 5 seconds it should bring up the next ...
File / Document Manager
Marion -
6 Nov 2006 10:09 PM - 2 messages
I am posting this question here because I would like to accomplish what I am about to ask about using the Win32 API. I want to create a file/document management system that will plug into the Windows shell and appear as just another folder. I want the user to be able ...
Creating reports in VB application
Beth -
6 Nov 2006 8:03 PM - 5 messages
Hello, I have an Access database with about 55 reports, almost all with grouping, some cross tab reports, mailing labels, reports with 2-5 subreports, and some graphs. I am trying to convert from Access to the entire project being in VB 6.0. I ...
how to find big number from listbox
jack -
6 Nov 2006 6:27 PM - 6 messages
HI I am new to vb6 please help me on the topic i have one list box which contains numbers like 2,4,5,6,7,8......i want to find big number on msgbox help me. thanks ...
Printing Barcode (Code 128)
brianmmonahan -
6 Nov 2006 4:46 PM - 2 messages
I am currently trying to print a Bar Code on an existing PDF file using Code 128 (in VB.NET) using activepdf 4 by Component Source. The example below works for a code 39 barcode [link] ...
Identifying name of PC!
Damon -
6 Nov 2006 4:14 PM - 6 messages
Hi, I was wondering if there was a way of identifying the name of the current PC in code? I'm on a network and need to be able to tailor certain aspects of my database to certain computers, due to the fact that some have CorelDraw ...
Debugging a user written DLL
dundi1 -
6 Nov 2006 3:09 PM - 7 messages
Hi, I have an windows based application written in VB 6.0. It references a user written dll (VB code). Currently when trying to run the main application getting an error. Tried to debug but i am stuck at a line ...
Creating webpage with resized jpg images
Gazza -
6 Nov 2006 11:21 AM - 10 messages
Hello, I want to write a VB program to create webpages for me with resized jpeg images. I have searched for resizing and now I am completely confused as to which way to go. Is there an easy way that I can resize ...
How to set security for vb application on network
Chris Zopers -
6 Nov 2006 10:11 AM - 2 messages
Hello, I've developed a vb.net application that contacts a XML Web Service on a server. When I place the vb.net application in a directory on a local client computer, everything works just fine. But when I place the vb.net application in a directorty on a server ...
HELP - dot net redistributable and INSTALL MSI file
Larry -
5 Nov 2006 11:48 PM - 2 messages
how do i configure my msi file to install the dot netframework, if the person does not have the dotnetframework already installed on their computer. can someone please give me a STEP BY STEP example/directions, PLEASE. i'm trying to configure a setup program that's going to be downloaded ...
VB6 refactoring
Frank Rizzo -
5 Nov 2006 10:45 PM - 2 messages
I've been playing with CodeSMART and it is good, however, it provides no refactoring support whatsoever. Is there a product out there that supports common refactorings (like extract method, for instance)? Regards ...
vb6 & portable apps
caver_dave -
5 Nov 2006 10:42 PM - 13 messages
would it be possible to use vb6 to create portable applications - those for use on a usb stick for example? by using the CAB file created using the pd wizard extract the required files runtime and any dll's & ocx's, exe files and other files ini & txt etc to a ...
Sendmessage to richtextbox
Luiz Horacio -
5 Nov 2006 2:56 AM - 3 messages
Hi, I'm copying a MSChart to a RichTextBox control, using the following code: MSChart2.EditCopy Picture1.Picture = Clipboard.GetData(vbCFMetafile) Clipboard.Clear Clipboard.SetData Picture1.Picture SendMessage RichTextBox1.hwnd, WM_PASTE, 0, 0 ...
Common Dialog Font - Color Choices
wxforecaster -
5 Nov 2006 2:37 AM - 5 messages
VB Gurus, When I use the VB Common Dialog control to select a Font, I'd like the user to be able to select the font color as well. However, even with (what I think are) the correct flags set, the color drop down menu provides 16 ...
|
|||||||||||||||||||||||