|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
Jack -
13 Jan 2007 8:08 PM - 5 messages
ListView control: Private Sub lvOutLog_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) Debug.Print "X: " & X & " Y: " & Y End Sub X and Y above values never change when using mouse Right button ...
billsahiker -
13 Jan 2007 5:09 PM - 8 messages
Does anyone know how to call the GetThumbnailImage function from VB6? I am having trouble with the last two parameters. It is part of Microsoft's GDIPlus technology. Function GetThumbnailImage(thumbWidth As Long, thumbHeight As Long, callback As Long, callbackData As Long) As GDIPImage ...
Joe -
13 Jan 2007 2:46 PM - 13 messages
Hi, I was trying to install Visual Basic 6 using Visual Studio 6 CD on a Win XP Home SP 2 machine. At then end of installation I get a message “msdasql.dll was unable to register itself in the system registry.†Then I get a message ...
Ryan -
13 Jan 2007 6:14 AM - 3 messages
Hi I have a date formatting problem in ASP/vbscript. I have read many posts on the web, but none have been able to resolve this issue. My issue is the typical dd/MM/yyyy flip to MM/dd/yyyy date problem. ...
aemery -
12 Jan 2007 10:11 PM - 5 messages
I'm running VB5 (SP3) and I want to add the "Check Out", "Check In" and "Undo Checkout" buttons to the standard toolbar. While dragging one of them from the "Customize" dialog to the toolbar, the icon changes to "+" then to "I" when it's on the toolbar just like ...
Andrew -
12 Jan 2007 8:00 PM - 2 messages
Hello, friends, I am using VB6 and ADO 2.5 to query an Access database. I am using filter to get certain records I need after filling up a record set: recSet.Filter = "gbkeycode = '" & keyCodeStr & "'" However, this filter is NOT case sensitive. As a result, I got wrong records. ...
jokes54321 -
12 Jan 2007 5:38 PM - 4 messages
I tried this post in the Terminal Services group with no luck. We have several in house written VB6 applications that are all accessed via Terminal Services We are finding that one application is getting hung on the Terminal Servers ...
Sambuccus -
12 Jan 2007 4:59 PM - 2 messages
Hi, I have compiled .DLL-files, made an MSI-package, but the files will not register on some machines unless we change the info in Boot.ini to NoExecute=AlwaysOff. What should I look for in my code and change that will make it DEP compatible? ...
Adam Riffe -
12 Jan 2007 4:58 PM - 4 messages
I'm getting the famous error 91, but in a way I've never seen. I built a form to handle our work order system via SQL and included it in a project I had already started. The compiled project works fine on my ...
Richard -
12 Jan 2007 4:56 PM - 7 messages
Hi, I'm having a few problems creating (what should be) a simple function that takes in a starting time and a percentage and returns a string detailing the estimated time remaining. The problem is that the code calculates the time remaining wrongly. ...
farhana_dev -
12 Jan 2007 4:53 PM - 5 messages
Hi Friends! For the last 2-3 days, I am seeing erraneous listing in Google Groups. For example, when I start a New Topic, it does not appear as a New Posting. So after a reasonable time I try again, with the same result. ...
farhana_dev -
12 Jan 2007 4:00 PM - 16 messages
Hi Everybody I had used these groups a few times. This time this is not a VB question and a request to the watch-squad here: please dont send me away saying this is not the right group to ask this question. ...
Sandy -
12 Jan 2007 2:44 PM - 8 messages
Hello - I have been looking for an example application and database where certain users are able to add members or delete members of different groups. Those group members and their status will be reflected in other parts of the ...
fniles -
12 Jan 2007 2:34 PM - 13 messages
I have a VB6 program that receives data using socket and save the data to a SQL Server 2000 database. It has Windows 2000 SP4 with all hot patches in it. It has 2 gig of RAM. The program had been running for years with no problem, but for the last 3 ...
eb -
12 Jan 2007 10:48 AM - 3 messages
Hi, How can I change the resolution and PPP parameters of the screen at the beginning of my application with vb6.0 : are there som API to do this ?? Thanks eric ...
sketchbookcd -
12 Jan 2007 7:51 AM - 4 messages
Hi, I am working on this project which we need to rewrite a program in VB6.0. This program is originally written in WinBatch. And I am struggled with this one line of code. the original code(WinBatch) is this: ...
vinci -
12 Jan 2007 6:46 AM - 2 messages
hi to all, i am using vb6 and access2000. My database table contain one date filed. I get the data from access query b'coz i am using ...
paul_zaoldyeck -
12 Jan 2007 2:21 AM - 3 messages
Good Morning I have a problem with byte count for Japanese characters... i actually don't know how... Some Japanese characters do have 2 bytes and some only 1... Does anyone here now how to get the byte count of Japanese characters? ...
Matt Williamson -
12 Jan 2007 1:00 AM - 7 messages
Many years ago, when I had a subscription to vbpj, I remember reading an article about using sendmessage to enchance the standard textbox control. I think one of the things that can be done is a search function with line ...
Syed Zeeshan Haider -
11 Jan 2007 9:52 PM - 5 messages
Hello Everybody, A quick question; speaking of VB6 which one is fast? A collection object or array when it comes to searching for a certain string in either of them; when I have a key for a collection element and want to confirm if there is ...
Adam Riffe -
11 Jan 2007 9:28 PM - 12 messages
I'm using VB6 to access a work order database I created on our SQL server. When I compile the project, it runs fine on my pc and our laptop with VB6 on it, but I can't get it to run on a pc without VB6. ...
Andrew -
11 Jan 2007 8:59 PM - 9 messages
Hi, friends, I need to generate random number in a certain range in VB6 using: Int(RangeMax * Rnd + 1) However, after looking at its value, I found it gave almost the same or very close random numbers. Any ideas? How to get around this problem? Any reference paper? ...
Rico -
11 Jan 2007 8:11 PM - 10 messages
Hello, I have a class (new to classes by the way) and I'd like to set the properties to specific data types such as Date or Long. The problem with this is that when I don't have a date or don't have a number (where null is ...
eb -
11 Jan 2007 5:12 PM - 16 messages
Hello, How can I change the parameters : resolution and PPP of the screen using VB6.0 routine. Which API should be used ? thanks eb ...
Arjun -
11 Jan 2007 4:27 PM - 2 messages
hi, I am trying to save a text file with unicode name through VB 6.0. But when i try to do the same i receive the error "Permission Denied". I am using Win XP English version. PS: When i use VC++ 6.0, i do not receive any error. ...
Christian -
11 Jan 2007 4:05 PM - 4 messages
Hi, I'm working on VB.NET 2005. I have added the backgroundworker on my main mdiform. I want it to refresh a label on this MDIform. The problem is that the doWork event only runs when main code is over. ...
Ryan Smith -
11 Jan 2007 4:07 AM - 5 messages
I have an Mobile Web App that I would like to use to display a dataset returned from a Web Service that I have written. I need to display multiple items in multiple columns. The only control I see that can do this is the ...
MP -
10 Jan 2007 11:48 PM - 4 messages
warning ... two part question ahead :-) Working on an app, trying to "decompose" it into objects. I don't think it's germane but it happens to be an axdll run from a std exe. So I have a class(dll) that manages some other classes(to do various jobs), ...
Allen -
10 Jan 2007 6:19 PM - 9 messages
When minimizing Visual Basic application, working memory is greatly reduced from about 20 MB to only about 2 MB. However I want the application to start as minimized, and most of the time it will remain minimized, never being brought to normal or maximized view and consequently then minimized. ...
Kenpachi -
10 Jan 2007 5:20 PM - 4 messages
Hi. I'm working on a very basic program to be used at my high school.i have just recently started programming so im new at this stuff but the only thing i havent been able to figure out the code to do is save the data. What i need ...
darrin.wilkinson -
10 Jan 2007 4:21 PM - 3 messages
Hi, I'm using a ComponentOne VSFlexgrid in my project and I need to make 1 row in my 3 row grid editable and the other 2 rows static (non-editable). I can't seem to find any properties that will allow me ...
jaydog -
10 Jan 2007 2:01 PM - 5 messages
I have a scanner that connects through a keyboard wedge. The scanner is programmed to send a TAB and ENTER at the end of each scan. I'm trying to keep the ENTER from being used by my application. ...
farhana_dev -
10 Jan 2007 1:58 PM - 15 messages
Hi Everybody I had used these groups a few times. This time this is not a VB question and a request to the watch-squad here: please dont send me away saying this is not the right group to ask this question. ...
Suziecorbett -
10 Jan 2007 9:13 AM - 4 messages
Hi there, I am trying to define a standard for our VB6 programming. Up until now, when accessing variables which are created in a class I have been using Properties with Let and Get methods for a single set of information, ...
alexia_84 -
10 Jan 2007 8:13 AM - 2 messages
Sono una principiante nell'uso di Access e Visual Basic e ho un problemino semplice semplice che spero qualcuno riesca a risolvermi. Ho creato un DB in access tramite varie query di accodamento e ora vorrei farle eseguire tutte assieme, così da aggiornare il DB con un pulsante ...
DORI -
10 Jan 2007 7:43 AM - 4 messages
Hi all, Newbie VB6. I want to playback a video file (MyVideo.avi) on Form1. The video file is located on Drive C. How can I do this? Thank you very much for any comments in advance. DORI ...
DC -
10 Jan 2007 12:46 AM - 2 messages
The help article "Walkthrough: Saving Data to a Database (Multiple Tables)" in VB 2005 Express does not seem to work. If I add a new Master record and a new Detail record at the same time, the Detail record does not contain ...
im_jewels -
10 Jan 2007 12:32 AM - 6 messages
I'm trying to create several drop down menus the generates varible lists depending on the answer to the first one. This is similar to the back to back drop down menus you see on the internet that first ask the STATE. once ...
farhana_dev -
9 Jan 2007 10:25 PM - 20 messages
Hi Everybody I had used these groups a few times. This time this is not a VB question and a request to the watch-squad here: please dont send me away saying this is not the right group to ask this question. ...
David -
9 Jan 2007 9:40 PM - 10 messages
I'm using VB 6.3 in MS Access 2002. I'm adding a checkbox to a form, and every time I try to access the Checked property for the checkbox, I get an error. Compile Error: Method or data member not implemented. ...
Leceur -
9 Jan 2007 8:05 PM - 14 messages
Hi, I am busy making a world clock program showing 5 clocks from around the world. I have a couple of problems: 1. Is there a way to take GMT and substract/add to that time? 2. If I run the program it will show my local time, but if someone from an ...
caver_dave -
9 Jan 2007 7:34 PM - 8 messages
following my recent post on this subject i have recently been introduce to the idea of using the dll and ocx files required for vb6 from a resource file this has mainly been in the distibution of apps and then installing them in the required places ...
Saga -
9 Jan 2007 5:19 PM - 8 messages
I am in need of sharing a VBP project with another developer, so I figured that VSS6 was the way to go. Installed necessary components on server and files are being shared ok, but I am having a usage issue. ...
PeterD -
9 Jan 2007 2:52 PM - 23 messages
I'm hitting the maximum number of controls in a form (a complex frmMain that has the program's main user interface in it.) I"ve arrayed as many controls as I can, but I need a better solution. I realize that with later versions of VB I could put a form on a form, ...
davidc83 -
9 Jan 2007 2:42 PM - 2 messages
Hello, I am in charge of academic computers at an university. Our students do NOT have local admin priv. on the computers. However, they are in the 'power users' and 'debugger users' group. When the students attempt to compile the code, visual basic 2005 shuts down. No error codes, nothing ...
Robert Conley -
9 Jan 2007 2:28 PM - 4 messages
Mono's VB.NET complier has reached another milestone where it can bootstrap itself as well compile Mono's version of Microsoft.VB Runtime library. Now many of you will say "gee Rob it's for VB.NET. Why are you wasting ...
Anna -
9 Jan 2007 2:20 PM - 3 messages
Hi: Can any one please tell me is this is a stored procedure or a function: DBCC CHECKIDENT. I am debugging an old program but unable to understand what exactly is that cnADOSQL.Execute "DBCC CHECKIDENT ('tbl_distlist_balrange', RESEED, 0)" Thanks, ...
Bhaiyyah -
9 Jan 2007 2:19 PM - 2 messages
I am repititively failing to login with any user name for HTML Chat. Please note that passoword is not required to login and we can login without it. I think they have blocked my IP so that I should not be able to login ...
Anna -
9 Jan 2007 1:22 PM - 5 messages
Hi: Can any one please tell me what is the meaning of that line ReDim Preserve sITUserID(i) Thanks. --------------------------- Sub UserTeam() Dim sqlquery As String Dim i As Integer oDBUtil.ExecuteInputPackage "0062K\DEVELOPMENT", "pkg_DistList_Distribution" ...
bins83 -
9 Jan 2007 1:16 PM - 2 messages
Hi, I have a VB code where i am trying to unzip an archive which has only one text file. i have tried creating the same text file location in the target location,a folder in the target and all possible ways and it does'nt ...
Anil Bhattacharji -
9 Jan 2007 8:26 AM - 25 messages
I am using the Sample program in VB6 as the structure for another which uses the Richtext box instead of the text box. I am also using the Find form . THE ERROR I GET IS 'you cannot show another form when a modal form is open .' ...
Anna -
9 Jan 2007 1:39 AM - 3 messages
Hi: Can any one please give me a simple example using LET in VB6. Thanks. ...
Anna -
9 Jan 2007 1:39 AM - 4 messages
Hi: Can any one please give me a simple example using LET. Thanks. ...
vbDavidC -
8 Jan 2007 11:46 PM - 4 messages
I have a form that has like 20 text boxes that are comments. When I create the textbox I add it below the previous one; eventually I run out of space on the form. I am able to resize the form but ...
Scott -
8 Jan 2007 7:15 PM - 16 messages
I need to have an application that will ping an IP address through a VPN tunnel through a Cisco 1711 router. When the ping fails x number of tries I need to connect to the router read the logs and issue a reset command for the ...
Anna -
8 Jan 2007 5:46 PM - 4 messages
Hi: Can any one please tell me how to create a simple class to add, subtract, divide and multiply two numbers. After that how to i registered that class into windows and then how to i call that class and class methods in VB6. ...
Bill -
8 Jan 2007 5:25 PM - 8 messages
How do I get the following code to work in Access. I my form I have fields called Test1, Test2, and Test3 Dim strtest As String For I = 1 to 3 strtest = "test" + Str(I) strtest.visible = true next I ...
Rocky -
8 Jan 2007 12:55 PM - 2 messages
At the moment in my application the user can move through a set of associated pictures by clicking a next and previous button, on click it loads the picture into an picture box. What I now want is something similar to the ...
Charles T. Turner -
8 Jan 2007 12:33 PM - 9 messages
Hi, could anybody please tell me what I'm doing wrong? I am trying to set a window as the topmost window in front of all other windows (not only in my application). Also, this form is borderless, and shall not steal focus from other ...
Srya -
8 Jan 2007 4:56 AM - 3 messages
Hai.. Can any1 please post a sample code which uses Getmessage API in vb6. Thanks for any help in advance Srya ...
Jack -
8 Jan 2007 3:35 AM - 9 messages
How about code using variables declared as Byte running under Vista 64 bit? Will it be any problem with it? Or is it better to redimension all variables to Long? Your thoughts appreciated, Jack ...
ratz -
7 Jan 2007 7:47 PM - 8 messages
Question: Can anyone tell me how to >>reliably<< monitor Command Key states inside my application to alter the interface? Situation: (Skip to Problem if it gets tedious) Application consisting of multiple forms, uses Ctrl, Shift & Alt to ...
Peter Fay -
7 Jan 2007 7:23 PM - 11 messages
I have recently encountered a few PCs where getAttr throws a Error 5 "Invalid procedure call or argument", if given as argument, a valid folder with long file name eg Dim mystring as string mystring = "C:\Documents and Settings\user\My Documents\appname" ...
thejamie -
7 Jan 2007 4:02 PM - 3 messages
In the sample VB application for Filestream.BeginWrite Method, there is no NEW implementation on the AsyncCallBack Object and sample below calls for declaring both the "State" object and the AsynCallBack object. I added the Imports System.IO, System.Threading, and Microsoft VisualBasic in the hopes ...
SerialRyder -
7 Jan 2007 5:47 AM - 7 messages
Hello, Thanks for looking to help me. Below is some code from a button. The code works for the most part, only 1 or two stubborn bugs to fix, but I cannot seem to get rid of them. ...
Willister -
7 Jan 2007 4:22 AM - 9 messages
Ok I am creating a game for my VB6 class as a final project. As a way to quit I used Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 27 Then Unload Me End Sub The only problem is it only works if nothing to the form is selected. as in ...
vm -
7 Jan 2007 12:54 AM - 8 messages
I need to pass 2 values to a sub procedure. Here is what I am testing with: sub Form_Load() TheAlert("Fred", "123 Main") end sub public sub TheAlert (ByVal TheName as string, ByVal TheStreet as string) msgbox TheName msgbox TheStreet ...
|
|||||||||||||||||||||||