|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
How to lauch associated app to file extension & view file
MAB -
3 Mar 2007 11:58 PM - 3 messages
I need to emulate double clicking on a file from Windows Explorer (launch associated app & load file in to app) without having to know the path/file name of the app. If this is possible, how? I was able to do it with Shell but I need know the path/file name of the ...
Vista Premium Home Edition and VB 6 Professional
Alexm -
3 Mar 2007 7:04 PM - 8 messages
I tried to load the VB 6 Professional Programming CD into one of the new HP computers which has Vista Home Premium. A window appeared which said that this was imcompatible with Vista. Thereupon I returned the computer to Best Buy. Apparently Vista does not work with VB 6 ...
Visual Basics Image Help
Tuxedo -
3 Mar 2007 6:38 PM - 4 messages
I run a server 2003 network and all computers have a network image folder. I am trying to create and application usuing visual basics 2005 that would allow users to chose photos which they would like to print and how many copies etc. and this is then saved so that i can ...
file too big
Stacy B -
3 Mar 2007 6:27 PM - 5 messages
I have a file that is over 280,000 records. I got it into a table, but I cannot edit the table. Any suggestions without losing Data? ...
VB 2005 DDL in VB 6.0 project
IVK -
3 Mar 2007 5:08 PM - 23 messages
Hello, I am having a project developed using VB 6.0. Now I have developed a new project in VB 2005 and looking to using the dll's of the new project in the already existing VB 6.0 project. Can I do this? can you ...
Sending Printer Commands
Tony -
3 Mar 2007 3:09 PM - 9 messages
I need to send Page Setup commands to the printer via VB-6. I have a report that prints bar codes. I have to set the printer for the report to the Default Printer because I don't know what bar code printer the user will be ...
Immediate Window
Greg -
3 Mar 2007 5:29 AM - 3 messages
Acccording to the Visual Studio.NET documentation, it says the Immediate Window can be viewed by selecting DEBUG, then WINDOWS and then IMMGEDIATE. I'm running VS.NET PROFESSIONAL and do not see the option available. Where else or how else can I get it to load? ...
Access Progammer to VB.Net
Greg -
3 Mar 2007 5:11 AM - 5 messages
I've just decided to bite the bullet and upgrade my programming skills to includee VB.NET instead of MS Access and VBA. Theres no jobs for high level Access developers anymore. Anyway, there are couple of debugging tools I'm use to using in Access that ...
Burning a CD
HankAnzis -
3 Mar 2007 3:17 AM - 4 messages
Hi, I used to use CDWriterXP from NUGROOVZ burn backup CDs from my program, but they are out of business and the OCX does not work with Vista. Does anyone know of a toolkit that lets me manipulate and burn CD's ...
byte array to picturebox
PC -
2 Mar 2007 10:43 PM - 2 messages
i have a byte array that contains a bitmap example: Dim B() As Byte Open App.Path & "\bitmap.bmp" For Binary As #1 ReDim B(0 To LOF(1) - 1) Get #1, , B ...
Help with Progress bar
raremind -
2 Mar 2007 9:26 PM - 2 messages
I am very new to VB. So forgive me if this seems stupid. I created a program that copies an Access DB from a share on our network to the local machine and then opens the DB when you click the button. I need ...
VB Winsock OCX Error during Bind
Dave -
2 Mar 2007 9:13 PM - 32 messages
I have a VB program that on some PC's it generates an error 126 when the program attempts to bind to a socket. What makes this difficult is there is no documentation on error 126 and the description is empty. Does anyone ...
Compiling DLL & Vista
Kevin Provance -
2 Mar 2007 9:09 PM - 11 messages
This might have already been answered, but I cannot find it. Using VB6 SP6 under Vista. I am logged on as an administrator. When I attempt to compile an ActiveX DLL, I get the message "Error accessing system ...
Needs help in string
Anna -
2 Mar 2007 7:26 PM - 5 messages
Hi: Can any one please tell me how to i change 00032 value in the string without disturbing the original size of the string? the second curly bracket upto the starting character "O"is always same in the string 20070302 ...
Seriously OT: Vista
Kevin Provance -
2 Mar 2007 6:04 PM - 11 messages
Welp, I just got me a new lappy with Vista Ultimate. After almost a day of exploring, all I can say is: wow. And that the UAS (or whatever it's called) is a *real* PITA!!! And if you turn it off, the bloody OS is ...
Convert strings for DB insertion
kramer31 -
2 Mar 2007 5:59 PM - 3 messages
Hi. I seem to remember that there was some VB function that one could use to convert strings before insertion into the database to avoid SQL insertion errors such as inserting strings with 's and other characters. Does anyone know what that is? ...
OCX, Object, Control to manage a printer (pause, jobs..etc)
user -
2 Mar 2007 5:21 PM - 2 messages
Hello, I am using Visual Basic V6 Pro. Is there an OCX, Object, Control to manage a printer (pause, jobs..etc) ? Thanks for answering me.. ...
InStr anomaly?
Aalaan -
2 Mar 2007 5:20 PM - 31 messages
InStr("ADEG",string2) OK if string2 is something like Z, gives result 0 as expected but if string2 is "", gives 1! ...
using Line Input
Mike -
2 Mar 2007 4:58 PM - 15 messages
Hi, I have been trying to use Line Input to read a file line by line MS e.g Dim TextLine Open CommonDialog1.FileName For Input As #1 ' Open file. Do While Not EOF(1) ' Loop until end of file. ...
Server my program is trying to connect to is not a trusted site with XP?
Bill -
2 Mar 2007 4:34 PM - 4 messages
With my VB 6 program, I have no problem doing this from a machine using Windows 2000. But from a Windows XP machine my program cannot open Microsoft Access from a network server because the mapped drive is not in the safe zone. ...
VB6 IDE Crashes when running project closes.
LHrabar -
2 Mar 2007 4:28 PM - 2 messages
After testing my project, I close it to return to the IDE to make changes. I receive the standard Microsoft "xxx had an error and needs to close...." error and the IDE crashes. This does not happen when the .exe is run outside ...
Incorporating Word letter merge into VB6 app
Sandy -
2 Mar 2007 2:45 PM - 2 messages
Hello - I need to create letter merges in a VB6 application by using MS Word and supplying the name and address from a Sql Server 2005 database. Can anyone point me in the direction of how to do this? Any help will be ...
OCX, object,control to manage a printer (pause,jobs..etc) ?
user -
2 Mar 2007 12:55 PM - 2 messages
Hello, I am using Visual Basic V6 Pro. Is there an OCX, Object, Control to manage a printer (pause, jobs..etc) ? Thanks for answering me.. ...
Date Picker Control
Bob -
2 Mar 2007 10:54 AM - 5 messages
I am using VB 6.0 SP5 I use the Date Picker control, and was wondering if someone has a better control, (XP Styles) that has the same basic functions. Thanks in advance. Bob rober***@mountaincable.net ...
GetCaretPos in a MDI Window
omicronlab -
2 Mar 2007 7:24 AM - 3 messages
Hello, I know how to get caret position in SDI environment using vb6. But it is always returning (0,0) position in a mdi interface (e.g. IE7, Firefox), although the caret is not there. How can I solve this ...
Stop loading data process
Badis -
2 Mar 2007 6:40 AM - 27 messages
Hi I have an application that search and load data from database and display it on the screen. because sometimes it takes too much time. I want to create a button on the search screen (like the stop button in the web browser) that will allow me to ...
Call with modem
Luis Tarzia -
2 Mar 2007 6:15 AM - 2 messages
Hello,i need make a call with the modem. In my application exist a text box,in this the phone number of client. When press the button the app need make the call to the client phone number. Any exmaples ?? ...
Application crashing - trying to track down the problem.
Paul Lambert -
2 Mar 2007 4:41 AM - 13 messages
System is a windows 2000 server machine, 2Gb ram, 40Gb hard drive - most unused. I have an application written in VB6 which receives messages from a 3rd party program called DMQ (DECMessageQ - developed by HP to transfer messages between different OS's. In my case passing messages from ...
email attachments?
Newman99 -
2 Mar 2007 3:56 AM - 5 messages
I'm starting the default email client and passing ?subject= and &body=. Is it possible to also pass an attachment? I've Googled but can't find an answer :( Thanks, ...
Looking for an easy way to achive this problem.
Kardon Coupé -
1 Mar 2007 11:41 PM - 5 messages
Dear All, I'm looking for some tips and/or suggestions to this little task I've set myself. I've dug out a load of my old 8 bit stuff (old source code and graphics files, etc) and I've got a load of graphics that I need to view, so ...
Convert decimal to fraction string
MP -
1 Mar 2007 11:38 PM - 6 messages
This is probably an idiotic way to get there... but since I love public humiliation so much <g> here goes my stab at it .... given a decimal value I want to get a string representation of it's ...
Build an Icon
Rod -
1 Mar 2007 7:39 PM - 4 messages
Hello , I would like to create an icon and use in my VB6 application. I don't know how. Help please ?? ...
Read/Write permission (earn your quarter, Karl!)
Kevin Provance -
1 Mar 2007 7:13 PM - 3 messages
Okay...seeing no one seemed to have any idea about the common folder issue, lets try it from a different perspective. Assuming the OS is Vista and my apps folder in Program Files is read only. I have had in my code for some time now a component (I just love ActX DLLs, ...
OCX, object,control to manage a printer (pause,jobs..etc) ?
user -
1 Mar 2007 7:04 PM - 3 messages
Hello, I am using Visual Studio .NET 2003. Is there an OCX, Object, Control to manage a printer (pause, jobs..etc) ? Thanks for answering me.. ...
Error '50003' Unspecified error in VB6 Program
albertleng -
1 Mar 2007 6:19 PM - 3 messages
Hi all. Hope you can help me on this. I have a VB6 program in which i can run it successfully in WinXP PCs. When i try to run the program in Win2000, the program cant be loaded and shows "Error '50003' Unspecified error in VB6 program." ...
Data Type String
skennedyd -
1 Mar 2007 3:48 PM - 75 messages
I have two words that I want to assing a data type (string) the two words such as Pin Numbers, however, VB data type won't recognize unless the two words are joined as one word. And joining the two words is impossible since I am working with a pre ...
VB6 Programs in Vindows Vista
Saqi -
1 Mar 2007 3:37 PM - 2 messages
Hi all, I have VB 6 program compiled in Windows XP? When one of my customer tried to install it on Windows Vista it came up it is not compatiable. Do I have to re-compile in Windows Vista and create a package using ...
VB6 App Deployment in Vista
DRoberts321 -
1 Mar 2007 1:27 PM - 14 messages
Hi all I know a VB6 app will run fine in vista, If you use the compatibility wizzard and select the application. My question is A) How do you set up the PDW to discover Vista B) How do you have it Set the ...
Autologon on Vista
Markus Weber (Megalith GmbH) -
1 Mar 2007 12:58 PM - 7 messages
Hello! I wrote a program with VB6 to enable Autologon. This are just a veiw registry values to write. This is no more working with Windows Vista, but I only find an article on Microsoft Website for XP-autologon. Does ...
Problems after installing Visual Basic 6 on XP Professional SP2
Radioactive Rat -
1 Mar 2007 10:02 AM - 16 messages
Can anybody tell me what the minimum permissions are to run VB6 on a XP Professional SP2 workstation? We have installed VB6 and this works fine for Admin equivalent users, but other users get the Windows Installer window and eventually an error message ...
Random access file help
sunny_side_up_2007 -
1 Mar 2007 8:35 AM - 3 messages
I have been given a file in quick basic which reads data from a random access file. I have tried to convert it to run in vb. The code is: (note ARRAY, FILE$ and FILEEXTENSION$ are variables assigned a value) ...
help me out
sukkaisrael -
1 Mar 2007 7:40 AM - 3 messages
hello can u help me out in doing line count of a word document in V.B 6.0 where line count is a command button plz send some code so that i can learn more as im very new to this platform ...
How do I know if a RecordSet is open?
kramer31 -
28 Feb 2007 10:53 PM - 2 messages
Is there a way to determine of a Recordset object is open even if it hasn't been created with a Command object (but just via conn.Execute(query))? Thanks. ...
install package fails on XP SP2 w/o error
Alex B. -
28 Feb 2007 9:33 PM - 2 messages
I have a VB6 installation package that was created with the package and deployment wizard. When I run it on the target machine (XP sp2), it starts fine and then it starts to copy files, and it gets to a point where it just ...
Needs help in string handling
Anna -
28 Feb 2007 8:12 PM - 3 messages
Hi: This is the original string. strbuffer=2007022713495176690010323181 MTMASSTS03A20060913 OMSS HCS1 ...
OT - MS: $4,000 for Daylight Saving Fix
Kevin Provance -
28 Feb 2007 7:24 PM - 31 messages
MS: $4,000 for Daylight Saving Fix By Nate Mook, BetaNews February 28, 2007, 2:06 PM Customers using Microsoft products that have entered their "Extended" support phase will need to fork over $4,000 for a patch that makes the ...
Looking for a way to call LogOff and Shutdown.
Kardon Coupé -
28 Feb 2007 7:14 PM - 12 messages
Dear All, I've setup up an account on my Domain to have a pure internet user, like a kiosk you would see in a internet cafe, etc....I've locked everything down, but I need a way to allow the user to log off or shutdown the machine (but I ...
Centering a datagrid's column headers
Patrick Hill -
28 Feb 2007 6:08 PM - 6 messages
How do you center the text in the column headers of a datagird? Using vb 6.0 and the standard Datagrid ...
Sin, Cos
Akdogan -
28 Feb 2007 5:25 PM - 5 messages
Hello All, I have trouble with sinus and cosinus of angles. In a form I defined some text boxes, and I am inputing the angles there. But the code returns wrong values for their sýnuses or cýsinuses. ...
Cannot quit Excel called from VB6
jawf -
28 Feb 2007 4:34 PM - 6 messages
I cannot seem to get the Excel instance to quit after I am done with it, except to close my VB6 program. The below is what I am doing after adding in the Microsoft Excel 11.0 Object Library reference: ...
Source Control via Network Drive
Dan Wilcox -
28 Feb 2007 3:36 PM - 9 messages
Our shop is new to VB2005 (formerly Delphi) and the team of 5 developers has enough of a learning curve with VB and VS2005 that we are not yet considering either VS-Team System or even Visual SourceSafe. Does anyone ...
Within a *.exe
Ron -
28 Feb 2007 2:45 PM - 15 messages
After I create an .exe file of a program which includes within its menu options a developers button, when clicked it will reveal a form can it then allow buttons which are hidden to the user to carry out functions? ...
DoCmd.SendObject
Jim Bunton -
28 Feb 2007 12:21 PM - 4 messages
Windows xp, Access 2000 Outlook Express 6 I am using DoCmd.SendObject to send emails - just sending a message text but no object. I run the code - SendObject works once - one email is placed in the outbox - but when used again does nothing (no error is generated) ...
VB6 - Round() Error after compile
Tom3030 -
28 Feb 2007 10:44 AM - 3 messages
There seems to be a bug with the rounding function that means it's inconsistent in some circumstances. Below is some code to demonstrate it, but does anyone have any idea why the behaviour changes post compile?: Dim c1 As Currency ...
Getting Info from a .TTF File
Doug van Vianen -
28 Feb 2007 3:57 AM - 7 messages
Hi, I have a VB6 program that needs to find the font name from the file that contains the font. For example, I would like my program to be able to access the font file TIMES.TTF and then from that file determine the name of the ...
TextBox Control, RightToLeft property.
CottageProgrammer -
28 Feb 2007 3:53 AM - 2 messages
I'm using VB6 on an American English Windows me platform and cannot set the textbox RightToLeft property to true. I'm offered the option, but when I select True, it always sets the property to False. What am I missing? ...
Function that returns an Array
Les -
28 Feb 2007 12:38 AM - 28 messages
Whats the best way to handle passing a variable to a function and have the function return an array?? ie A( ) = Function (argument) The function inside will set up an array which I want to give to the calling section. ...
Reason for 'Set' keyword
kramer31 -
27 Feb 2007 11:28 PM - 17 messages
Hi. Could someone please explain to me the reason for the 'Set' keyword in VB. Am I correct in thinking that Set is used for assigning to a reference whereas assignment to primitives is done without 'Set'? Why is that? Most other languages just use '=' whether it is a ...
SendKeys command fails on Vista
Hansin -
27 Feb 2007 11:19 PM - 14 messages
Hi everyone. I have a compiled VB6 app that seems to work ok when installed on Windows Vista except for one thing. Whenever I use the SENDKEYS command to send a key stroke an error occurs along the lines of "No Permission" to do that. ...
TaskBar won't show when hidden.
Randy Gardner -
27 Feb 2007 10:50 PM - 6 messages
I'm running my VB6 program in Interpreter mode. I hide the taskbar on my desk top. Why won't the taskbar show if I run the cursor to the bottom of the screen while the program is running? ...
Error in reading large csv file
mudigonda -
27 Feb 2007 9:06 PM - 12 messages
Hello, I am reading a huge csv file (196000 lines, each line with 6 fields separated with commas) using a string. Then I split (Split function) the string into lines and further breakdown the lines using the location of commas. Then I search for a certain range of values and ...
Run-time Error 430, WITH non-broken binary compatibility?
tendim -
27 Feb 2007 9:04 PM - 5 messages
I've been building a DLL to use as a library against which a small number of appliations is built. Everything has been working fine, up until today. One class in the library is a FormFactory. The form factory returns ...
Should I or shouldn't I include excel.exe in my app distribution package?
Jack -
27 Feb 2007 6:28 PM - 15 messages
Hello, I am confused by the Setup Wizard. I have 2 applications which include Excel automation: (very simple interaction with Excel spreadsheet, mostly just reading data from some cells). ...
Detecting Mouse Click Anwhere on Form
jim evans -
27 Feb 2007 2:51 PM - 2 messages
Is there an easy way to detect a mouse click anywhere on a form, including a menu? jim ...
Sending email
Steve -
27 Feb 2007 2:50 PM - 18 messages
I am writing an app which needs to create and send email messages. The machines on which this app will be running do not have any installed email client (these machines are on the plant floor). A further wrinkle is that the virus software is setup to block any out ...
My DataReport Problem
Kamil -
27 Feb 2007 2:10 PM - 6 messages
I am preparing a report using a database. I defined DataEnvironment and DataReports properly, my report is almost ready. But I have a serious problem with page header section. I have some fields in my one of the tables that I have to use them in page ...
Open Excel when user press OK button
Anna -
27 Feb 2007 2:03 PM - 3 messages
Hi: This is the message box which shows that the file is save in the my document folder with the file name. Can any one please tell me how to i create another message box with OK Cancel button and with the ...
VB6 & Vista
BeastFish -
27 Feb 2007 8:24 AM - 2 messages
Just passing on a link of interest regarding Vista support of VB6, along with a list of the VB6 runtimes that are shipped with Vista and those that will need to be deployed along with your setup. "Support Statement for Visual Basic 6.0 on Windows Vista" ...
cropping rectangle
PaperBoy -
26 Feb 2007 7:18 PM - 3 messages
I've written some code to allow the user to crop an image. I can do the crop of the image itself fine, but I am having trouble writing the code for the cropping rectangle. I am trying to get a rectangle which is visible over all ...
Beginner: List of Color Values
redruthann -
26 Feb 2007 5:16 PM - 4 messages
I mostly create everyday macros. I've learned how to revise them and create new ones based on previous macros. This is probably a silly question, but is there a list or chart that has all of the available color values? Not the RGB, but more of the basic. ...
pulling varchar
sirrahhc -
26 Feb 2007 5:09 PM - 4 messages
Hey all, whats up?? I'm using excel to create an application that let's a user enter a customer name in a form and vb pulls the data from an sql server...problem is i cannot get it to pull, keep getting ...
IE 7 issues...Plzzzzzzzzzzzzz Help
sajin -
26 Feb 2007 3:41 PM - 6 messages
Hi All, I've got a very wierd issue with my application. I have a standard windows form which takes information entered by the user and submits it to a web server. This registration dialog worked just fine on a machine with ...
Treeview
Ron -
26 Feb 2007 2:57 PM - 7 messages
Can I read the file name displayed in a treeview? if yes can you offer a example please. ...
Determine if: > .dat < is in a string
Randy Gardner -
26 Feb 2007 2:13 PM - 9 messages
I need to determine file type from the file path and name which I get from the CommonDialog control. What is the best way? ...
VB6 program runs with Win Vista ?
Chris -
26 Feb 2007 1:23 PM - 4 messages
Does a VB6 program run with Windows Vista ? ...
Creating a search function in vb.net
Daniel -
26 Feb 2007 11:24 AM - 3 messages
Dear All I need some help. I've got a deadline for this friday and i'm stuck. what i'm trying to do is have 1 textbox, datagrid and 1 button then when the user enter a search string, and press the button, I want the result to be ...
Interlocked Functions vs VB Reading Current Value
Desi -
26 Feb 2007 4:28 AM - 5 messages
I have run into the VB6 nuance where it does not reliably read current value of a VarPtr exposed variable. I can see the foreign process successfully incrementing the value all day but my client is not picking up the change. I ...
Excel automation
Jack -
26 Feb 2007 3:24 AM - 10 messages
Hello, I am searching for Excel property similar to .Tag property to store additional data in the Excel Spreadsheet not visible to the user. That data will be different for each spreadsheet row. ...
format textbox for ip-address.
Zairay -
26 Feb 2007 3:22 AM - 5 messages
Hi All, I have a textbox in VB for which I want to make a format so that the user can add an IP-address. When the form is openend the user should see ( . . . ) in the ...
Problem populating a combobox if cases differ
Saucer Man -
25 Feb 2007 11:11 PM - 24 messages
I am trying to populate a combobox with all files in a certain folder with a .png extension. Hers what i have... Dim strFileName As String ...
Sad
Mike Williams -
25 Feb 2007 10:16 PM - 101 messages
I have a copy of all four major versions of Windows Vista (producing more than one version is of course just another Microsoft "scam") but all of them are inferior to Mac OSX in a number of very important respects, and all of ...
How to access desired instance of app when multiple running?
Ken Krupa -
25 Feb 2007 7:31 PM - 2 messages
GetObject gets the first instance of a program when there are more than one open. I can determine whether it's the one that I want. But if not, is there any way to get at another instance? Here's what I've got for accessing AutoCAD R2007: ...
problem in first web form application
Rachana -
25 Feb 2007 4:13 PM - 3 messages
Hi Friends, I hv just started learning vb.net . When I was creating my 1st web forms appl., got follw. problem. 1. It doesn't allow me to type proj.name. Simply displays default one as :WebApplication1 2. Displays default location as ...
Inline Assembly In VB6
Draco Merest -
25 Feb 2007 5:17 AM - 15 messages
part two: --------- I've searched google for a long time. The term 'inline asm vb6' turned up a link to [link] This site linked me to planet-source-code (where most who are reading this would have visited). ...
VB6 DLL Assembly Compile Link how???
Draco Merest -
25 Feb 2007 2:40 AM - 7 messages
Now that my Visual Basic 6 PSet() and Point() test is complete and produced valid results, much optimization and speed is required. Nineteen lines of assembly have been written to replace the nested for-next pset/point loops. Research indicated that nasm-0.98.39-win32 is the compiler to use. It ...
Reading "Add Remove Programs" data
J -
25 Feb 2007 1:34 AM - 5 messages
I want to take a snapshot of various machines that I maintain. I thought if I could read the installed programs I could tell if a new program was installed. I assume this information is in the registry but I do not know where. Can ...
How to open a CMD Line exe as hidden and wat for it to finish
abhishek_k1984 -
25 Feb 2007 1:23 AM - 9 messages
hi, anyone help me, how can i run a command line exe and wait for it to finish. i also want the windo of that command line tool to be hidden regards, AB ...
Have a problem that is stumping me.
Kardon Coupé -
25 Feb 2007 1:23 AM - 9 messages
Dear All, I've written a simple custom app that converts a file, by reading bytes, into a text file, but I'm getting confused with my carriage returns and/or line feeds... I get my .txt file output, but if I load the text file into notepad, it is ...
|
|||||||||||||||||||||||