|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Elmo Watson -
2 Jul 2005 10:21 PM - 4 messages
How can you right click on the listview, and make it select the item, just as if you used the left button? ...
Leo Leys -
2 Jul 2005 10:26 AM - 2 messages
I have a MDIForm VB6 app that starts (maximized) behind a running application (i.e. outlook 2000). This happens on some clients, not on all clients. How can I force my app to start in front of any running application? ...
vbkoder -
2 Jul 2005 2:36 AM - 10 messages
Can anyone give me another word or explantion of implementation in the context of "in function overloading, you can have multiple implementations of the same function". The word seems to complement the sentence and is keeping me from understanding the concept. ...
gary -
1 Jul 2005 11:10 PM - 4 messages
I want to get data from a web form and use in a vb program. I know I could use formmail but this seems like it might be a clumsy way to do it. If I use formmail how do I get the data into my program? ...
Klaus -
1 Jul 2005 9:41 PM - 2 messages
Hello, i need help! i am searching for a programm code! how i can turn the speaker (sound mixer/soundcard) on and off? (Sorry for my miserable english!!!) thanks for your help.. from good old germany klaus ...
MartRead -
1 Jul 2005 7:32 PM - 3 messages
I have used VB6 package and deployment wizard for years without a problem. Now I have one. When I try to deploy an application I have developed (using setup.exe developed through the package and deployment wizard), on some ...
Dale -
1 Jul 2005 7:29 PM - 4 messages
All, Problem: Shell to a dos box and have it display on the entire screen by default (like typing ALT_ENTER) For instance, I have the following: Shell "foxprol -T ", vbMaximizedFocus which appears to be a valid VB6 line of code. The problem is the dosbox ...
Tieu -
1 Jul 2005 6:10 PM - 3 messages
Hi, Can anyone provide me a link to this SendInput Function for mouse click. I found couple examples but none explained clearly (mostly for keyboard input) Thanks in advance. Tieu P.S. I use mouse_event but didn't work as I expected. So, I'd like to try ...
tk -
1 Jul 2005 6:04 PM - 4 messages
I have an app that opens a Word document, prints it and then closes. The problem I am having is if I close word immediately the document does not print. Is there a way to check if Word is busy and wait until Word is not ...
Dan -
1 Jul 2005 5:34 PM - 2 messages
Would anyone have an idea why the change event for a combo box isn't triggering when I change values? Thanks for your help, Dan ...
Kenny -
1 Jul 2005 3:49 PM - 6 messages
What is the standard resolution to create an application in so every user will see it well 800 x 600 1024 x 768 ...
Ben -
1 Jul 2005 2:52 PM - 2 messages
could someone please tell me how do I detect if there is a mouse wheel just scrolled? ...
Winston Wolf -
1 Jul 2005 10:03 AM - 2 messages
Bonjour, Je développe un programme VB "projet.exe" qui fonctionne parfaitement sous XP mais qui ne fonctionne pas en mode compatiblité 98. Vous me direz biensur qu'il suffit de décocher l'option avec le clic droit ...
Opyuse -
1 Jul 2005 9:56 AM - 3 messages
I'm using an Adodc connection to my records on a database called datPrimaryRS I need to be able to create Reports from this record set. So I made a DataReport but had to also make a DataEnvironment for it to work. ...
swapna_munukoti -
1 Jul 2005 9:42 AM - 2 messages
Hi all, I need to show a from from another activeX dll in my current projects SDI form. I was able to show that form using "SetParent" API. But, I have a toolbar in my SDI form. When I am displaying the child ...
kittipongmd -
1 Jul 2005 6:57 AM - 2 messages
Set dbAccess = New ADODB.Connection strCon = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & App.Path & "\db.mdb;" & _ "Persist Security Info=False" ...
Rob -
1 Jul 2005 6:33 AM - 2 messages
I'm using Winsock to retrieve some data from a website. Occasionally my app and the VB IDE will crash without showing an error of any description (not even an XP access violation). The whole lot will just vanish. ...
Zhang Guolong -
1 Jul 2005 2:19 AM - 3 messages
I have the source code of both the caller and the activex dll. I want to trace into the activex dll, so I set the start program in project property dialog , but it doesnt work. thanks ...
gil -
1 Jul 2005 12:55 AM - 2 messages
If I load from a web address, it pulls up instantly. If I try and pull up a page off my local drive it takes a good 15 seconds or so before the hour glass goes away and I can scroll the page. ...
HLong -
30 Jun 2005 10:36 PM - 2 messages
How could I set the lpstrInitialDir of the OPENFILENAME type to "C:\Documents and Settings\USERNAME\My Documents", I have tried a few combination of enviroment variables and none is working. Thanks in advance. ...
sam -
30 Jun 2005 10:32 PM - 5 messages
I am trying to finish this off today to complete this Task. I am trying to add a text to a header in a word document. I have also tried find find and replace in the document this also does not work ...
Julien -
30 Jun 2005 9:40 PM - 3 messages
Hi ! How can I add a field to an existing AxChartSpace ?? I have just a AxChartSpace, and I want to use it to show differents fields (The user could choose the field he want to see) I think I have to do it with the PivotTable, but I can't modify the ...
tcloud -
30 Jun 2005 9:36 PM - 7 messages
part of my application has a "Notepad" similar function with a separate "Find" form. -- how do I keep the Find form open yet have it pass data back to the Main form to do repetitive searches -- llike Notepad ?? I've tried both "Show()" (which doesn't work) and "ShowDialog() (which works ...
Brian Patrick -
30 Jun 2005 9:18 PM - 3 messages
I have some gif images that I would like to display on a form. I've actually created these images myself with photoshop. I've created them using a white background - Red 255, Green 255, Blue 255. I then add the images to the ImageList control and specify the MaskColor to ...
BCS -
30 Jun 2005 6:21 PM - 4 messages
I am writing a Timeclock program for a standalone PC at a remote retail site. I presently have the program getting its time from the PC, but I want to eliminate the possibility of someone changing the PC time in order to ...
Ian T -
30 Jun 2005 6:16 PM - 10 messages
I have a form that contains 8 checkboxes. Each checkbox returns a value. Checkbox1 returns value 1 Checkbox2 returns value 2 Checkbox3 returns value 4 Checkbox4 returns value 8 Checkbox5 returns value 16 Checkbox6 returns value 32 Checkbox7 returns value 64 ...
David De Bono -
30 Jun 2005 4:47 PM - 5 messages
Hi, I'm developing a TTS application that needs to send the speech output to a wav file. This works great in SAPI 5, but I dont know how to do it in SAPI 4 (and some voices I need is in SAPI 4) ...
Bryan Dickerson -
30 Jun 2005 3:54 PM - 5 messages
I have a project that everytime I look at the references the "Microsoft Data Formatting Object Library 6.0 (SP6)" is checked. It is not needed in the project, but keeps popping up like a bad penny. What is this used for? ...
Mark -
30 Jun 2005 3:53 PM - 8 messages
When I run setup of my program (database is Access), windows start proccess of installing part of MS Office programs. Since on this computer I run setup is not installed Access, I figure that this is due that Access is not ...
Tieu -
30 Jun 2005 3:04 PM - 4 messages
Hi, I create a VB application, put it on a cd rom with autorun.inf; so it can be run automatically when inserting the Cdrom. It works fine with WinXP but not Win98. I get: Run-Time Error 52 Bab file name or number. The program does ...
Bob Smith -
30 Jun 2005 2:21 PM - 2 messages
Hi Everyone, Can anyone see how I could speed up this WMI Query? I am looking for 2 specific events that occured in the time frame specified. I do this against a 120 servers and it takes a good hour and a half to run. It seems the WMI ...
Griff -
30 Jun 2005 2:13 PM - 3 messages
I have two very large ASCII files (> 2GB each) which I need to concatenate into a single file. I don't want to use the FileSystemObject as I've found that it's dreadfully slow when dealing with relatively quite smallish files, and so I need a new ...
its_faiz -
30 Jun 2005 2:01 PM - 2 messages
Dear Experts, There is a concept of ocx, com, dll redirection which redirects the application to use components available in the application's local folder instead of searching in path. If a component is not registered then Miscrosoft recommends a concept ...
Simon Woods -
30 Jun 2005 1:52 PM - 8 messages
Hi Can you test the email client to see if it supports MAPI? If so how? Simon ...
David Wier -
30 Jun 2005 1:52 PM - 3 messages
I have an app (MDI) I've been selling for a while and I'm looking into changing it so that it can accept add-ons, but I really don't know where to start Are there any articles which you can point me to, which explains how to ...
Tieu -
30 Jun 2005 1:04 PM - 3 messages
Hi, I am trying to write a program to simulate left mouse clicks for adding points in a game. It works if I am on the Desktop but in game it doesn't. The mouse does move back and for though but it just doesn't click. Do I miss ...
Enrico Campidoglio -
30 Jun 2005 12:52 PM - 4 messages
Hi! i was wondering if anybody knows of a good open source repository of COM components in Visual Basic 6. In my particular case I would need a class to easily manage an application's configuration settings...something like the classes found in the ...
Diarmuid -
30 Jun 2005 10:55 AM - 2 messages
I want to fill the flex grid through code. My code is below. The headings are added alright, but on the second row. So I have one blank grey row, then the next grey row has the headings. Then the data appears correctly. ...
Sam -
30 Jun 2005 5:39 AM - 2 messages
I am trying to add a text to a header in a word document. I have also tried find find and replace in the document this also does not work How can I achive this Sam ...
Jim Carlock -
30 Jun 2005 2:44 AM - 14 messages
I have a multi-image bitmap, 13 x 16 pixels each image, and a total of 16 images in one bitmap. Does anyone know if there's an API that is used to extract the images from the bitmap? I want avoid using an imagelist control. ...
MH -
30 Jun 2005 1:49 AM - 7 messages
Hi all, I wrote a program which accepts binary data on the serial port in chunks of bytes, such as 4 + checksum. I have a user in Japan who is getting a lot of garbage because of the different character set, DBCS or unicode or whatever. ...
Brian -
30 Jun 2005 1:47 AM - 2 messages
I'm learning to program with VB .Net. I'm trying to write a program that will calculate jogging time. I have Text boxes for Distance1, Distance2, Speed1, Speed2, Time1, Time2, and Total Time. For example, say I run 2 miles ...
Brian -
29 Jun 2005 10:33 PM - 4 messages
I'm trying to come up with a string pattern that allows numeric entry in scientific format. (ie., 1.23E-02 or 1.1E3 etc) I can get it to accept the positive exponential values (without "+" sign)... but I can't seem to get it to work properly with the negative exponents ...
news.ispnetbilling.com -
29 Jun 2005 10:12 PM - 4 messages
I would like to have the caret displayed while I am editing a MSHFlexGrid. I have tried the API call ShowCaret(MSHFlexGrid1.hWnd) with no visible affects. Any ideas? Thanks, Tim ...
Craig Buchanan -
29 Jun 2005 8:55 PM - 12 messages
I'm trying to determine if a flag has been set AsDirty or not. If it isn't set to AsDirty, I want to exit the sub. When the flag is 0, I can't seem to get the test working correctly. ...
Bryan Dickerson -
29 Jun 2005 8:33 PM - 6 messages
I'm getting a weird new Error message: "Cannot find project or library" when I try a compile & run on a project. It stops on this line: Public WithEvents ListView As ListView The really weird thing is that I have never seen this error message on this ...
Lou -
29 Jun 2005 5:47 PM - 4 messages
under the "Windows" menu, the tile is greyed out" Looks there there is no MDI form in the IDE. All the windows seem to be free floating and not contained Wierd??? -Lou ...
Alvar -
29 Jun 2005 3:46 PM - 2 messages
Hello, I'm working on a family project; I work in MA, my mom lives (and will use the program) in Mexico. I'm using VB6 SP6. We need to use VB6 to support Win9x computers, which are still widely used in Mexico and therefore ...
Alvar -
29 Jun 2005 3:38 PM - 22 messages
Hello, I'm working on a family project; I work in MA, my mom lives (and will use the program) in Mexico. I'm using VB6 SP6. We need to use VB6 to support Win9x computers, which are still widely used in Mexico and therefore ...
George H. Slamowitz -
29 Jun 2005 3:32 PM - 2 messages
I have a button that has text on it .. The text is in black, and when the button is selected I want to turn the text to red. In MS Access all you had to do is change the forecolor property, but VB 6 ...
Kenny -
29 Jun 2005 2:59 PM - 2 messages
I am able to print data inside a flexgrid, but i would like to know how you make it landscape automatically without new windows saying would you like it portrait or landscape ...
Billy -
29 Jun 2005 2:46 PM - 2 messages
I have some code which reads the contents of certain cells in an Excel spreadsheet, but one particular part of data which I want to read through my VB app is the contents of a dropdown list which is on the spreadsheet. ...
Ivan Debono -
29 Jun 2005 2:29 PM - 7 messages
Hi all, I have an ActiveX Exe with one MultiUse class. All other classes are PublicNotCreateable. I have a module with a public collection. When I create an instance of the multiuse class I add it to the collection, including a key that identifies ...
Keith -
29 Jun 2005 1:34 PM - 5 messages
I need to be able to type theses symbols directly into a text box. I'm locked into the Garamond font so I can't use a symbol font. Also, I need to store these in a SQL table. When I retrieve from the SQL table will these ...
Sentinel -
29 Jun 2005 12:58 PM - 12 messages
The very short version: I would like to write my own version of msgina useing vb6 or modify the exiting msgina. the thing to modify is the appiearence and to add few functions. Can i do that with vb6? is there a tool which will enable me to do that? ...
Anders Eriksson -
29 Jun 2005 12:27 PM - 2 messages
Hello! I have a VB app that creates an OLE server,i.e. starts an application. This application(VC++) then starts a third program that starts in the System Tray. Afterwards the keyboard focus is in the third programs first edit field. My ...
Markus Weber (Megalith GmbH) -
29 Jun 2005 12:05 PM - 9 messages
Hello! We have a component with a method where we go through the "Controls" Collection of a form and assign each control to variable: Sub Make(frmForm as Object) Dim I as long Dim ctl as Control For I = 0 To frmForm.Controls.Count -1 ...
saizonou -
29 Jun 2005 7:04 AM - 3 messages
winhttp : I would like to Upload file (xml) as if I sent a form : <form action="URL_page" method="post" enctype="multipart/form-data" name="Form_Export_OFAA"> <input type="file" name="file" value="FILE.xml" > <input name="STR1" type="hidden" value="12"> ...
Sam -
29 Jun 2005 5:49 AM - 5 messages
How do i resolve this I have just copied the project to a new pc and tried to compile and I get the following error runtime error 68 device unavailable VB6 sp6 XPsp2 TIA Sam ...
Prashwee -
29 Jun 2005 2:29 AM - 6 messages
hi all the problem i have is in this statment MyStr = Format(334.9, "###0.00") ' Returns "334.90". this works fine when my regional setting are set to united state (english) but when i change this to swedish ...
Kenny -
28 Jun 2005 10:35 PM - 3 messages
Hello i was wondering whenever i search for something on my flexgrid i want to print it. What is the code or what do i need to be able to print data from my flexgrid ...
Ben -
28 Jun 2005 8:51 PM - 3 messages
could someone please tell me what is the method to get the letter name of the column of the current selected cell, i.e A, B, C, D, etc..? ...
Ben -
28 Jun 2005 8:37 PM - 19 messages
Here is my situation. At startup of my application, my app utilized 25MB of RAM. During run time, it automatically gone up to 50MB, which makes senses. However, after I clear out all of my data trees, reset everything, back to the beggining page. I ...
JoeO -
28 Jun 2005 4:34 PM - 4 messages
Anyone have the url for the free component one grid or any other editable free grid? ...
Ed -
28 Jun 2005 4:23 PM - 5 messages
I've got a task that I think would be best handled by being able to list every file inside a folder, including everything inside every subfolder. In my mind, I would point my app towards a folder and the end result would be ...
Craig Buchanan -
28 Jun 2005 4:10 PM - 17 messages
I would like to be able to alert a custom collection class that an item within it has changed. is this possible? seems like i would need to flag the object returned by the Add method and Item property as withevents. does ...
Sean Dotson -
28 Jun 2005 3:59 PM - 5 messages
I'm trying to pass an array name to a sub but not having much luck Call GetRecord("dbPartNum", "arPartNumber") ............ Public Sub GetRecord(sTable As String, ArrayName As Variant) If myConnection.State = adStateOpen Then 'myRecordset.Open "SELECT * FROM PARTNUM where PartID like " & counter, ...
Craig Buchanan -
28 Jun 2005 2:50 PM - 5 messages
is there an optimal way to clone a collection? i was going to do something like: .... Private m_Collection As Collection .... Public Function Clone() As Collection Set Clone = New Collection Dim Item As Variant ...
Bryan Dickerson -
28 Jun 2005 2:37 PM - 18 messages
I'm really getting grumpy over this ()&*%%$#$%^{!! GUID problems (I know: welcome to DLL Hell). My co-worker is having a problem pulling up a project that has several user controls in it. The error is "<Path\Controlname> ...
Jason -
28 Jun 2005 2:23 PM - 6 messages
Hi, I am looking for a control that is like a floating info box. I want to show it with info when the user has focus on certain controls on my form. I cannot use a tooltip to display this info. Does anyone know of a control ...
Ged Byrne -
28 Jun 2005 1:46 PM - 12 messages
I'm at the end of my tether. I'm a maintenance programmer who has been looking after VB6 applications for years. Now the first VB.Net apps have arrived in the Pipeline and we need to get VB.Net for all our team. ...
Mark -
28 Jun 2005 11:27 AM - 5 messages
After installing application (InstallShield setup), I had an error: Comctl32.ocx not registered. This is first time I encountered this problem (over 20 installations). In setup this file is included, but doesn't register. Why I do receive this message and what is solution to this ...
Prashwee -
28 Jun 2005 10:26 AM - 2 messages
hello all i have a small problem My reginal setting are set to swedish from data base i fetch values . following are once they are fetched . a="1.00204053E8" b="2.00000006E7" c="3000000.04" i want to reprsent this three fields in three text fields as follows with ...
Jefe -
28 Jun 2005 9:01 AM - 2 messages
Hi Group I'm implementing a user control which uses SetCapture and ReleaseCapture in order to change the user control backcolor when the mouse is inside the user control or outside of it but it causes a problem so whenever the focus is on ...
kittipongmd -
28 Jun 2005 6:28 AM - 4 messages
file aa มี field id,total file bb มี field id,code file cc มี field code,name I want to report average sale for each code (attach with name) ...
Fatih Argun -
28 Jun 2005 6:11 AM - 11 messages
How can i write following codes with "Select Case" If (sText <> "a" And sText <> "b") Then .......... Else .......... End If Select Case sText Case Is <> "a", Is <>"b" 'not works ...
mscir -
28 Jun 2005 4:20 AM - 4 messages
I would like to be able to interrupt a webbrowser from downloading a page before the download is complete. I tried simply using .stop but I believe the webbrowser ignores it for some indeterminate amount of time. Right now I'm using the following approach - loading a web page from the ...
Ben -
27 Jun 2005 8:45 PM - 6 messages
Could someone please tell me if there is a way to get the mouse wheel scroll to work with MsFlexGrid ActiveX in VB6.0? Thanks. ...
Wiley -
27 Jun 2005 6:12 PM - 6 messages
Hi to all. I have the following code in a VB app: **** CODE SNIPETT START Private Sub PostFile(strServer As String, strLocalFile As String, strURL As String, Optional strUser As String, Optional strPass As String) Dim hSession, hConnect, hRequest, hOpenUrl As Long ...
Elhanan -
27 Jun 2005 3:01 PM - 15 messages
hi.. is it possible to compile a dll with a specific guide .. also if i persist an object to a file with propertybag, if i later change the guid of the object would i be able to read the old ...
Madhivanan -
27 Jun 2005 1:50 PM - 2 messages
When I tried to UnInstall the VB Application, I got the error "Could not open log file "D:\ST6UNST.log" How to solve this problem? Madhivanan ...
Wart -
27 Jun 2005 11:20 AM - 5 messages
Hello all, I have an application that has one form (form1) call another form (form2) modally and when a button on form2 was clicked, it set a public variable and called Me.Hide. This worked fine both in the VB IDE and as a compiled app until I installed ...
Simon Woods -
27 Jun 2005 8:37 AM - 3 messages
Hi I receive a log file from my router which contains IP addresses of sites visited. I want to write a little tool to parse the log file and try and put a name to the IP addresses. I've not used VB for any Web stuff so am wondering about how to do this. ...
Uriah Piddle -
27 Jun 2005 1:52 AM - 7 messages
Hi, I am finishing a VB6 / SQL2K database app and it struck me that a lot of the basic plumbing has been done to enable it to talk to a DB on a web server. All data transport between the client and the DB is through an MSXML ...
Les -
26 Jun 2005 11:36 PM - 9 messages
I have put together a project which has been used by the enduser for a few years. A bug has been detected in the code, actually variable out of range, and I have corrected the code and now plan on recompiling it to send it back ...
AGP -
26 Jun 2005 11:18 PM - 7 messages
I have a flexgrid on my VB project and depending on what version of mouse driver I have installed the mousescroll will work or not. I remeber that someone had made a freeware OCX that would hook any control so that the user could ...
Dean -
26 Jun 2005 8:50 PM - 2 messages
I'm looking for a way to list all the USB ports on a machine in my application. It would also be useful if I could tell which ports had hardware plugged at that time. Thanks, Dean ...
Steve Easton -
26 Jun 2005 8:31 PM - 57 messages
1st. Which is better for a variable that is going to be used for text. Letting a variable be a variant or declaring it as a string. According to MSDN, variants are more "versatile" ( if I'm ...
Gotcha -
26 Jun 2005 8:16 PM - 2 messages
I've patched the script below together from three scripts that I use already, but it's failing on line 63 cahracter 1 with an Error 800A03EA msg. The script is supposed to read a line from the "serverfilesearch.txt" file, ...
Ian Davies -
26 Jun 2005 6:55 PM - 5 messages
Hello, I have a VB6 app linked to a Access db which was working fine. However I had to do a format of my hard drive and a reinstall. Now the startup form of the app does not work. My error handler gives the following message ...
Mika -
26 Jun 2005 5:40 PM - 2 messages
Hello, My program's frmAbout has an icon. The ico file has the same icon in two sizes, 16 x 16 and 32 x 32 pixels. I don't want the smaller one to be displayed to users. So, the size should be 32 x 32 pixels. ...
Kinders David -
26 Jun 2005 2:33 PM - 2 messages
Hello, I have a program with a kind of adresbook, i have also a website where users can download contacts. The downloadable files have a own extention ".mma", but when i click the link Explorer ask to open the file or save it. ...
Jefe -
26 Jun 2005 11:30 AM - 3 messages
Hi group How can I monitor all the key pressed for a specified window which I have its handle???? I mean all the key pressed even in its text box or any other input controls in the specified window? Regards ...
|
|||||||||||||||||||||||