|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
PeteR -
25 Mar 2006 10:02 PM - 14 messages
I use a lot of Yes/No/Cancel message boxes in my application and I'd like them to be quiet. i.e no dings, dongs or other assorted noises. Other than developing my own message boxes is there anyway do this with ...
Graphics -
25 Mar 2006 5:45 PM - 2 messages
I stand correct i did not work out rotation I am looking for code that will actually rotate the image in a picturebox so that when it is done the actual pcture has been rotated and the image is in the picturebox ...
RonW -
25 Mar 2006 4:58 PM - 2 messages
Is there a more efficient method of plugging into Excel data that is first manipulated in a VB6 program? Here's how I'm doing it now: 1. One or more files are opened in VB and the data dumped into a string ...
Graphics -
25 Mar 2006 5:57 AM - 4 messages
This is really a two part question. Is there a way to create a transparent overlay graphics form that will sit over other programs? And if so is there a way to rotate the graphics the way photoshop rotates an image using the mouse? ...
Jack -
25 Mar 2006 4:38 AM - 2 messages
Is it possible for example to use a three keys combination? Or maybe there is another way? Your thoughts appreciated, Jack ...
Alejandro Carrascal -
25 Mar 2006 4:05 AM - 3 messages
Hello, While I'm browsing the web my 9 mth old baby likes to hit the keyboard so I want to write a little app to lock the keyboard. This way she can keep playing with the keyboard without disturbing the PC. I plan to have an icon ...
Jack -
25 Mar 2006 3:55 AM - 2 messages
Run-time Error "401" ? I've searched MSDN and Google and cannot locate it. Jack ...
Gary -
24 Mar 2006 6:40 PM - 3 messages
I am using GetFontUnicodeRanges() function in VB. This function needs to get the size of a structure first, then allocate memory for this structure, and call that function again to get needed information. Following is the equivalent in C++ ------------------------------------------------------------------------- GLYPHSET *gs; ...
Steve Caliendo -
24 Mar 2006 4:32 PM - 3 messages
Hi, Does anyone know how I can have this control update to be current with the database? When I start the app, it correclty loads and displays the values that are in my table. But when I change some values in the database table, ...
Arne Beruldsen -
24 Mar 2006 3:52 PM - 13 messages
As part of my registration process....I would like a few items (name, serial number...) transfered automatically from my VB 6 app to a web page for submission. How can this be accomplished... Thanks. ...
Marc Friedman -
24 Mar 2006 3:17 PM - 6 messages
In my application I have an interface class which is implemented in a half dozen other classes. Occasionally (and every time, at the moment) when I start the application in the IDE, it does the JIT compile and then highlights ...
wagon -
24 Mar 2006 11:25 AM - 5 messages
Is there a function to test is a drive is shared? ...
Peter Plumber -
24 Mar 2006 11:21 AM - 4 messages
Hi, I have a strange problem with MapObjects and ContextMenu when I show a context menu in the MouseDown event of a MapObjects2.1-Map something goes wrong: after the next DoubleClick on the map (it must be the one ...
Rick -
23 Mar 2006 11:40 PM - 2 messages
I need to download a file from an http server. Is this data right? I don't get any result. Inet1 is the Internet Transfer Control. Inet1.UserName = "MyUser" Inet1.Password = "MyPwd" Inet1.AccessType = icUseDefault ...
Silver Oak -
23 Mar 2006 10:01 PM - 4 messages
Hello, Could someone tell me how I can get around this issue, please? My application has to call a COM object that exposed 'Application' class. unfortunately, I also have a line of code "Application.Exit()" where in this ...
Jay Cee -
23 Mar 2006 9:00 PM - 2 messages
Hi all, I have MySql 4.1 with VB6. I need to run a batch file via VB6 code which contains a bunch of create table statements & inserts of data. To do this from the command line of MySql I do, ...
Monica -
23 Mar 2006 7:12 PM - 5 messages
I am trying to find a way to use "dir" to get a list of ALL the files in a directory. The problem for me is that this needs to be automated, not knowing how many levels of subdirectories there are each time it is run. ...
Rick -
23 Mar 2006 6:05 PM - 14 messages
Is there a Shell command where I can connect to an ftp site write a user and password, change directory and download a file? All in a single line? In the DOS window I can do tihs: system prompts: User? >MyName ...
Emil Horowitz -
23 Mar 2006 4:40 PM - 15 messages
Hallo, um mein Programm mit Hilfe von Produktlokalisierung vor dem unerlaubten Kopieren zu schützen, benötige ich Hardware-Informationen der jeweiligen Rechner. Was verwendet man da - die Seriennummer des Motherboards? Und wie kommt man da ran? Danke, ...
Jeff -
23 Mar 2006 3:16 PM - 3 messages
I am trying to get a registry value and display it within a Visual Basic program. I'm able to get the value, but can't get it to display in the form automatically. Does anyone know how to get a registry value to display within a visual ...
Douglas Marquardt -
23 Mar 2006 2:26 PM - 8 messages
Hi All: Anyone have any experience using WMS in VB6? I'm new to WMS and have no experience at all in this area. I have access to a wms server, and I can easily load the images in IE using a http request, ...
Dogbert -
23 Mar 2006 2:08 PM - 3 messages
i am using VB6 1. I have a long job to run, I want show the current status using text on a dialog/popup/windows which control(s) should i use? 2.how to convert unicode to ascii using VB6? ...
yamcho -
23 Mar 2006 2:00 PM - 4 messages
hi i've one problem: when i start visual basic 6.0 and i start one project i always have an error: the istruction "0x6546e246" i've refear to "0x00000000". the memory can't read. i've already try to reinstall visual studio; i've already install SP6. ...
Sandy -
23 Mar 2006 1:56 PM - 6 messages
Hello - I am confused as to how VB 6 saves projects. I would like to be able to make a folder for each day, say, 032306, copy the project I'm working on and put it in there. I realize if you do this, you have to do a "Save As" or it ...
Rick -
23 Mar 2006 1:17 PM - 2 messages
I'm working on a vb6 app that updates some ocx and dlls from another VB6 software. My problem is that in some cases regsvr32 is not present on the target machine, also in Windows 98 I have to go to the folder where regsvr32 resides. In ...
lovely_angel_for_you -
23 Mar 2006 11:14 AM - 4 messages
Hi, I have this query to pull the data out from the system. And whenever I run this, I get the "Syntax Error (Missing Operator)" Error displayed. Set conn = New ADODB.Connection FilePath = App.Path & "\Calls.mdb" ...
Francesco Ranieri -
23 Mar 2006 11:04 AM - 18 messages
Hi to all, I need your help to solve this problem! How to apply AND operator with Currency data type, if its value is larger then Long limit? I.E.: Dim curValue As Currency Dim lngValue As Long 'This is > Long max limit ...
vinay -
23 Mar 2006 9:14 AM - 7 messages
FRIENDS Here i m going to tell you the fastest way to get MICROSOFT,CISCO,COMPTIA,ORACLE,SOLAIS certified without efforts...... friends i have five vue and prometric testing sites here in INDIA.......so, i will do the exams on the behalf of the candidates, ...
rohini.pillai -
23 Mar 2006 7:26 AM - 2 messages
Hi all, Iam now facing a problem.i want to make an exe to run automatically if the system restarts. It is a visual basic exe.It has got many forms in it. i need to do programatically the automatic running of exe. ...
Subbaiah -
23 Mar 2006 6:44 AM - 3 messages
Hi, Can anyone help to write the visual basic application for FTP. Regards M. Subbaiah ...
Frank Rizzo -
23 Mar 2006 5:48 AM - 4 messages
Is there a add-in on the market for VB6 that implements common refactorings that are routinely found in the .net and java world? Also, is there something (add-in wise) that approximates vb 2005's auto-completion functionality (e.g. you type 'if 1=2 then' and it adds ...
Mike Scirocco -
23 Mar 2006 3:04 AM - 4 messages
I have a program I am using to send email using the vbSendMail.dll. The program works great on the development machine and on test machines after the dll is manually registered using regsvr32. I used the P&D Wizard to create a setup package, and I'm wondering if ...
Anthony -
23 Mar 2006 1:02 AM - 3 messages
Is there an easy way (or a single resource) that reveals each ProgID value to be used for each control when using the Comtrols.Add function? Thanks - ...
Dan Reber -
23 Mar 2006 12:44 AM - 9 messages
I am adding a treeview control programmatically to an ActiveX control using the Prog ID of 'MSComctlLib.TreeCtrl.2'. This works fine on Windows 98, NT, 2000 and XP but it does not work on Windows 2003. I already tried ...
Tomasz Klim -
22 Mar 2006 10:56 PM - 12 messages
Hi I'm looking for a converter from HTML to text. But not a simple one, or even a regular expression, but one that can convert also complicated pages, with embedded styles, dynamic content etc. Does anybody know such tool? ...
Gary -
22 Mar 2006 10:00 PM - 5 messages
Hi, there, I need to read the content from a font file. When I double click a font file, windows will show the content, including the font name, version, and example characters. What is the API or control used here, and how to get the ...
Mark1110 -
22 Mar 2006 9:42 PM - 2 messages
Hi, I have a textbox that I want to type a date (MM/DD/YY) into. The user wants the slashes to appear when they start typing the date. I tried under properties, data format, date, but that didn't give me the formatting I need. ...
Brian Shafer -
22 Mar 2006 9:42 PM - 5 messages
Hi, I have a vendors ActiveX control, that I want to put into a class. The main reason for this, I have app that runs on 3 computers. I want this control on just one computer. I need to handle errors and messages with the control. ...
Gary -
22 Mar 2006 8:41 PM - 2 messages
Hi, there, I am wondering if we can find all showable characters for a certain font file so that we can display all eligible characers for it. For example, is there a place to store the information that a~z are fine for Arial, however, ...
blaine67 -
22 Mar 2006 8:21 PM - 4 messages
Hello all, recently, one of our vb apps starting throwing a memory error when exiting. The error states "The memory could not be read. Click on OK to terminate the program". This apps contains a Flex Grid Control, housing ...
Jack -
22 Mar 2006 7:38 PM - 2 messages
Hello, User trying to install my program has the following error given by WindowsXP: "Wrong version of run-time dll". Setup program is created by Setup Wizard from vbasic 5. What can be wrong? How to debug that problem? ...
DRBarkley -
22 Mar 2006 6:09 PM - 4 messages
Hi all, VB6 SP5: It is my understanding that two UDTs can not be compared directly. If UDT1 <> UDT2 Then... ' error So you would have to check each element individually to compare them. If UDT1.Prop1 <> UDT2.Prop1 Or UDT1.Prop2 <> UDT2.Prop2 . . . ...
Hugo Hilário -
22 Mar 2006 2:59 PM - 3 messages
I'd Like to know if is possible to send a collection of adodb.recordsets into an array. I want this, because i have a function, and i want to hold the recordset, each time it runs, without losing is values, because, each time it ...
AK -
22 Mar 2006 2:18 PM - 4 messages
Beginning some VB6 Work. Remembering back to me Fortram days 30 years ago where we had line numbering Is there an option to turn on line numbering in VB6? Thanks AK ...
ShrimpBoy -
22 Mar 2006 11:51 AM - 2 messages
Hi! I want to do something... Query an Active directory container for all computers with name beginning with something, ending with something or containing something. And Query an Active directory container for a computer with a specific name. I need to do those queries using "OpenDSObject" method to connect with ...
jaya -
22 Mar 2006 11:40 AM - 2 messages
In my System, Internet Information Service is not running Can anyone please help me about running IIS? ...
Damon -
22 Mar 2006 10:47 AM - 4 messages
Hi, I have a disconnected recordset which holds address details for a property. I have an update command which updates certain property details. How can I then refresh my disconnected recordset so it brings back the latest updated data? ...
Joy2006 -
22 Mar 2006 5:04 AM - 3 messages
If I use commondialog1.FileName, I get the entire path along with the file name. How do I get just the file name? ...
Joy2006 -
22 Mar 2006 5:04 AM - 3 messages
If I use commondialog1.FileName, I get the entire path along with the file name. How do I get just the file name? ...
Dave Cullen -
21 Mar 2006 10:04 PM - 3 messages
I have an application that uses an Oracle database and it's suddenly started giving Error 429, ActiveX Component Can't Create Object at this line: Set OraSession = CreateObject("OracleInProcServer.XOraSession") OraSession is an object. I believe this is handled by Oracle's OO4O interface, which I'm pretty ...
Sue -
21 Mar 2006 9:43 PM - 4 messages
If I close the adodb connection and recordset object inside the dll I get errors (tried many ways, no solution). In the project where I reference the dll I am setting the dll class file to nothing after use - will this automatically set the connection and recordset objects to ...
vul -
21 Mar 2006 9:30 PM - 2 messages
My current VB 6 application uses pdf.ocx control to display pdf files. I have some problems with this control : 1. It's not presented in versions later than 5.0, or I cannot find it. 2. Sometimes it crashes the application ...
John Kotuby -
21 Mar 2006 8:37 PM - 4 messages
Hi guys, This post is a response to a thread I started back on 3/2/06 on how the VB CommonDialog control sets the Windows Default printer to the one chosen .. which is something nobody really wants. Mile Wilson posted some great code but I had trouble with it on a couple of ...
Rick -
21 Mar 2006 7:13 PM - 5 messages
How can you click on a menu, virtually?(programatically speaking) an API call? VB6, please... ...
Achilles -
21 Mar 2006 6:55 PM - 2 messages
I made a EXE with a form wiyhin a ms ado dc object. But how can I compile this so the foreign system (without VB) has enough system files. Ik can copy the msadodc.ocx file, but is there an other way?? ...
Berny -
21 Mar 2006 6:36 PM - 7 messages
Hi folks, I am using Excel vba and need a dialog from the global collection of build-in dialogs simply to select a directory. I know and can read in the help that there is a huge list of these dialogs like used in the ...
Mark -
21 Mar 2006 5:15 PM - 2 messages
If I set my mdi child form visible=false, I can not set it back to visible or do a show on it. Can someone tell me what I'm doing wrong. Thanks Mark ...
Sue -
21 Mar 2006 5:11 PM - 6 messages
Hi, I am trying to make a function call with multiple parameters to a dll, but I always get a type mismatch error. Strangely the error does not happen if I pass a single parameter: The two functions in my dll are: ...
Andy Fish -
21 Mar 2006 5:06 PM - 7 messages
Hi, I'm using the soap toolkit version 3 from VB6 and because I have complex types in the API, I'm using the IXMLDOMNodeList interface. However, it seems that this means I have to do my own date formatting and ...
Bryan Dickerson -
21 Mar 2006 3:52 PM - 4 messages
How would I detect whether the XP ClipBook/ClipBoard service is available and, if it's not, start it?? TIA! ...
D Varese -
21 Mar 2006 1:57 PM - 11 messages
We have an application that has been in the field for over a year. I have a customer that has a laptop with the Intel Centrino Duo processor running Win XP. The installation process completed successfully, creating all the ...
Joy2006 -
21 Mar 2006 1:36 PM - 6 messages
I'm using VB6 and am not sure why this doesn't work at all. Commondialog1.Filter '"Text Files (*.txt)" I have added this in every place possible and this is the only functionality that doens't seem to work. Rest of the functionality ...
Rick -
21 Mar 2006 12:33 PM - 7 messages
Hi, I've downloaded the free trial verison of Visual Basic.NET 2005. Is there a manual anywhere?(free, of course) I'm trying to switch from VB-Classic to VB.NET? I'm totally new on this. I don't live in the U.S., so all the bookstores ...
Prince -
21 Mar 2006 10:16 AM - 3 messages
Hi, I am having 120GB hardisk (14 Drives) in my PC with 1GB RAM, I used recurssion method to search the files in all the drives which takes nearly 15-20 minutes!! I use.. CreateObject("Scripting.FileSystemObject") and I compiled with fast ...
fiazidris -
21 Mar 2006 7:07 AM - 11 messages
I noticed the following problem in all of the VB, VBA or VBScript. E.g. When I do 1/3 it always equal 0.333331383035028 instead of 0.33333333333333 The problem originally appeared in one of my Excel VBA program, and ...
Johan -
21 Mar 2006 7:04 AM - 5 messages
Hi! I wonder if anyone knows if the Access database table grid exists as a component so I can use it in a VB6 application? If so where can I get it? Best regards ...
Jaime -
21 Mar 2006 5:44 AM - 3 messages
When I send to printer a graph (polygon) I receive the next message: Object referente not set toa n instante o fan object.--- at System.Drawing.SafeNativeMethods.GdipFillPolygonI(HandleRef graphics, HandleRef brush, HandleRef points, Int32 count, Int32 brushMode) at System.Drawing.Graphics.FillPolygon(Brush brush, Point[] points, ...
FrankAm -
21 Mar 2006 5:30 AM - 7 messages
I am writing a Wav file based DrumMachine program. I used DirectSound to play the Wav files, and I use the TimeSetEvent function in winmm.dll for my timer routine. I am having a couple off issues that need to be ...
Kreegor -
21 Mar 2006 4:13 AM - 3 messages
hello all. I have searched high and low and have not been able to find an easy to understand guide of creating a date picker box (from scratch) in VB 6. I am fairly new to it and know most of the standard ...
masenf -
21 Mar 2006 1:49 AM - 3 messages
Okay here's my damage: i made a small program for stealthy instant messaging at school in VB6, when i run it at home it works fine, but when i run it at school it spits out a Runtime Error saying that ...
Woodies_46 -
21 Mar 2006 12:49 AM - 5 messages
Ok, I now u can do it i just don't know how. What i have is a form in access with has a image in it, i would like to be able to dblclick on that image and have an external program run eg ...
KenGrover -
21 Mar 2006 12:30 AM - 3 messages
I have two virtually identical PCs, each running XP with all current updates. Both are running identical copies of a VB6 executable, compiled with Visual Studio Enterprise Edition. The application reads an excel file with 9 columns and displays it in a datagrid bound to a ADO data control) On PC#1 ...
oasion -
20 Mar 2006 10:50 PM - 6 messages
i am currently making a ame with a cannon where it fires a bullet at a
forty degree angle for an amount of time set by the player and it only
flys like --> /\ instead of curving and i would need to find out how to
make it curve can anyone help?
--
oasion
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
thebhone -
20 Mar 2006 10:34 PM - 4 messages
I am creating a website updater program. Currently working on the image replacement module here. For some reason, after an image (say /images/1.jpg) has been used/opened in the application. I cannot later overwrite it (during the application), even after i have closed it. ...
William -
20 Mar 2006 10:15 PM - 8 messages
I have code that manages a dynamic array. When I delete the last item, I set it to empty with erase(MyArray). In C this would create a null pointer. How do I test this array to see if it's empty? If empty(MyArray) does not ...
Rem.Intellegare -
20 Mar 2006 6:48 PM - 9 messages
Ok I feel like an idiot, not just for using VB6(it's a class), but also because I'm not sure how to clear a list in VB6. The list has a variable amount of objects in it and I need to clear the whole thing ...
Clive Summerfield -
20 Mar 2006 5:26 PM - 6 messages
I have ONE server with a SQL Server 2000 DB and the following applications running on it. Application 1 loads data from a TCP/IP stream into the database. Application 2 prepares an output file from the data. Applications ...
DaVBGuy -
20 Mar 2006 4:30 PM - 2 messages
I'd like to implement spell checking functionality for all our custom built (VB6) applications. We could purchase a third party add-in (or even code our own), but that would required coding / recompiling of a few hundred applications. Something that we would like to avoid. ...
Dave Cullen -
20 Mar 2006 3:26 PM - 9 messages
One of my VB6 applications has started giving a Runtime Error 429 message. I don't know what changed or why this happened, it's been running on this machine for 2 years. According to what I find on the web this could be due to an .ocx file ...
george -
20 Mar 2006 3:18 PM - 9 messages
I have a recordset with data that I want to filter. I use the filter method based my query and it filters the recordset. However, my question is why does it only display one row of data when the query should get multiple ...
Big D -
20 Mar 2006 2:34 PM - 2 messages
I have been using a task scheduler from below site. So far it's been a great scheduler with all the functionality to create a windows task. [link] My question is how can I set the "Stop task if it runs for x number of ...
Hashim -
20 Mar 2006 10:37 AM - 2 messages
Is it possible to clear a combobox without clearing the text box in VB6. There are about 1000 items there in the combo and it is loaded from a database (manually loaded using additem method). If I am using the removeitem option the program gets very slow ...
Peri -
20 Mar 2006 5:27 AM - 4 messages
Dear All, Can anyone help me out in implementing Link List in VB 6.0 ? Thanks in advance Peri ...
Jim Carlock -
19 Mar 2006 11:52 PM - 5 messages
I have some Apache log files ranging in size of 500KB that I need to delete specific lines from and then save it as another file with a different name. Before I embark on this, I'd like to get some thoughts on how to ...
Ben628751 -
19 Mar 2006 8:00 PM - 3 messages
Whenever I try to run a program that I have coded (Console and Win32 types), i get the following error message: The application failed to initialize properly (0xc0000005) I have double checked the entire source code, and my PC meets and exceeds ...
Bookreader -
19 Mar 2006 7:54 PM - 6 messages
There's probably a better group for this, but I figure programmers will know the answer. I accidentally blew away the shortcut to the desktop which minimizes all open windows and shows the desktop in W2000. Then, of course, later I emptied the recycle bin without realizing ...
Howard Kaikow -
19 Mar 2006 5:20 PM - 11 messages
The description of the Win32_Find_Data structure documents how to determine a file's size. Well, the described method does not work for large files, e.g., for a file of 25406543872 bytes. I ran into the problem in my own code, but I've seen the same problem with ...
Shayaan Siddiqui -
19 Mar 2006 5:01 PM - 3 messages
I have text fields which contain data that is formatted as $10,240.99 $10.00 $0.25 25% And I need to obtain these Strings and convert them into numbers (so I can perform calculations). How can I do this? ...
Sweet.mhtrq -
19 Mar 2006 4:31 PM - 2 messages
For Each c As Char In "p123" Send(c) Thread.Sleep(100) Next c It works in VB.NET but I code my project in VB6.0 What's the change? ...
Shayaan Siddiqui -
19 Mar 2006 4:06 PM - 4 messages
Hello I have a classroom project and we have to convert a software from VB to Java. (JSP). How feasible is this? Shayaan ...
DanS -
19 Mar 2006 3:27 PM - 7 messages
Hello all, I'm closing applications from my app. These are the declarations. Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hWnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, _ ...
PLChan -
19 Mar 2006 3:00 PM - 6 messages
Can I use Windows API in vba to control windows search for a file in certain directory e.g. C:\ABC Many Thanks ...
lovely_angel_for_you -
19 Mar 2006 12:15 PM - 3 messages
Hi, I have a drop down list on my VB form, from where I am entering the data in Excel sheet. In the form a I have drop down list where the user has to select an option and clickon "submit" to enter the data in ...
Ken Uzzell -
19 Mar 2006 11:09 AM - 4 messages
Hello, I use VB6, SP6 on winXP pro, SP2. I recently recompiled an old database program, and redistributed it, works fine on all customers machines from win98se to XP. Yeah, I got one customer with a problem. Installs well, but when he goes to ...
adzir -
19 Mar 2006 10:16 AM - 2 messages
hi, i'm trying to get my image object (clsBitmap) to respond to events, such as mouseover events, mouseclick events etc I declared my image object : dim WithEvents cbImg as clsBitmap and in the form_load() sub: set cbSkype = new clsBitmap ...
vonClausowitz -
19 Mar 2006 8:47 AM - 7 messages
Hi All, I have created a program which has a auto download function. I want this auto download to start somewhere during the night. So I need a timer that checks for the time and when it is his time he has to fire off the function. ...
Brenton Garman -
19 Mar 2006 2:16 AM - 6 messages
HI. I am writing an app that needs to have the "Insert" key on the keyboard enabled in a textbox. The textbox has text in it at startup but when the user clicks to edit the text, and begins to type, the existing text moves to the right. I noticed ...
arno -
19 Mar 2006 1:30 AM - 3 messages
Hi all, Sorry if this is very newbie. Despite a lot of info on the net I am having great difficulty with the following: I want to get a list of the open windows that are part of an application I am talking to. There seems to be no shortage of ways ...
|
|||||||||||||||||||||||