|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic General Discussionmicrosoft.public.vb.general.discussion
bobdydd -
12 Nov 2005 9:40 PM - 6 messages
Hi Everyone I am new to VB6, and I am in the process of converting my Access 2000 Apps to VB6. In Access I had a field called txtCurrency whose Control Source was: =[txtCurrencyData] & " " & [txtCurrencyDescription] & " " & [txtCurrencySymbol] ...
Faraz Azhar -
12 Nov 2005 8:43 PM - 2 messages
Hello I wish to obtain small icons from using ExtractAssociatedIcon. The ExtractAssociatedIcon only returns the handle of 32x32 size icons, whereas I want 16x16 sized ones. The reason Im using ExtractAssociatedIcon and not ExtractIconEx is that I have some folders on my system that have their own custom icons (ie. ...
Ladvánszky Károly -
12 Nov 2005 5:39 PM - 2 messages
Is it documented somewhere how the various VB6 data types, dynamic arrays especially, are arranged when they are 'Put' into a binary file? I'd like to read existing VB6 binaries into .NET. Thanks for any help, Karoly ...
Bill Hall -
12 Nov 2005 4:45 PM - 3 messages
hi I'm constructing a form that converts Ordinary numbers (big and small) into and from Standard Form (notation) - (for secondary school students in UK). I have coded VB to calculate the 'A' part of a Standard Form number: 1<=A<10 ...
bruno -
12 Nov 2005 2:19 PM - 3 messages
I want to write a Windows Service and interact with it from VB.NET. From the calling program how can I get a reference to the Windows Service and get access to its methods and properties? Is it possible? Thanks. ...
jack -
12 Nov 2005 10:32 AM - 6 messages
Hi Guys Im just going to start a project which wil contain about 20 00,000 records. what i am looking for is best way to generate the 9 - Digit serial number for product ...
Cmaz -
12 Nov 2005 7:35 AM - 3 messages
how to get the scanned images from a scanner usin VB6. finding the scanner program`s default storage folder will vary for prod to prod.it aint easy.... + is there a scanner specially for passport size photos? ...
Craig Buchanan -
12 Nov 2005 3:57 AM - 23 messages
It's there an easy way to determine if one or more objects in a collection has changed, without enumerating the collection and checking each object individually? Is this a case for call backs? Thanks for the help. ...
rakialis -
12 Nov 2005 2:52 AM - 7 messages
I am trying to send email from a VB ActiveX DLL in COM+ on a Windows 2003 server using CDOSYS.dll. Occasionally I receive the following error: Error Number: -2147220960 Message: The "SendUsing" configuration value is invalid. The fixes described by MS don't seem to apply to this situation. I ...
Arpan -
12 Nov 2005 12:33 AM - 6 messages
A Form has a TextBox, a ListView & 2 CommandButtons. Assume that the Captions of the 2 CommandButtons are 'Yes' & 'No'. The ListView has 2 Columns. Suppose I enter the text 'Computer' (without the quotes) in the TextBox & then click the 'Yes' CommandButton. When I do so, the 1st column of ...
P.o.l -
11 Nov 2005 11:07 PM - 4 messages
Nothing .... I don't find nothing :-( I want add key inside context menu "Open With" with my music player for mp3 file..... how do I do? Thanks Pol ...
dutch90 -
11 Nov 2005 11:04 PM - 12 messages
Hey all, I'm writing a program where I need to perform a task after a user-specified event. Problem is that the timer only allows up to a 65 second interval. It's very unlikley that the user will be picking ...
P.o.l -
11 Nov 2005 10:22 PM - 8 messages
Hi, It's all night that I search an example for run mp3 file with MediaPlayer 10 SDK but I do not find it! HELP !!! It fails every attempt that I make. (I can create a music player without form?) ...
paulnf -
11 Nov 2005 9:17 PM - 6 messages
I have a project that has been written in vb6. it calls FSO and migrates data from one location to another. the problem im seeing is that if i move the form while it is running. the textbox's and progress ...
David -
11 Nov 2005 6:44 PM - 3 messages
I use a GetOpenFileName function and the common widows dialog to return the path and name of a selected file. However, I now want to be able to retrieve just a folder path\name, even if there are no files in that folder. ...
blaine67 -
11 Nov 2005 5:36 PM - 12 messages
This has been probably asked before, but, since I can't find anything relevant in a search, Is there a way in VB code to minimize all windows to show the desk top?? ...
Faraz Azhar -
11 Nov 2005 3:58 PM - 7 messages
Hello I want to include a drive list combo box in my app. Im trying to create it but its becoming too difficult and I dont have the complete knowledge about what items to include in it. Im trying to create a ...
Harry Bates -
11 Nov 2005 2:50 PM - 2 messages
Hi guys, I posted this in vb.winapi yesterday with no response. I have been working with SystemParametersInfo to turn off\on screensavers. This is no problem. I cannot find the direction to go in that will basically change a power profile from something like "Home \ Office" to "Presentation" ...
davids -
11 Nov 2005 7:35 AM - 4 messages
I am developing some components, one of which uses registered details forthe other two. I have recently found that one of the components changes its registry settings every time I build it which necessitates rebuilding the other component which uses it each time. Is there some way I can rebuild the ...
Rajani -
11 Nov 2005 1:29 AM - 6 messages
Hello, Where can i find documentation for Autocad commands which can be used in VB? In autocad, developer help, everything is described abt VBA. In VB, these are different syntax. Where can i find complete autocad documentation for use ...
.:alex:. -
10 Nov 2005 11:22 PM - 3 messages
Hello, I have a really strange problem... for a given ListView , report style: I fill that ListView, but when I open another window over the window which contains the ListView, it seams that the ListView isn't repainted, I mean ...
Kjell -
10 Nov 2005 10:03 PM - 5 messages
Hi I found on VBnet (by Randy) a pretty interesting sample that tells you the last system shut down date and time. Now, my question and this is something I've been looking for a long time now. Where is the info about last system boot date and time, or at least date.? ...
Kjell -
10 Nov 2005 9:31 PM - 13 messages
Hi I need to convert a string into a hexa and then into decimal. Dim X as string X = "0354" How can I from this string have it converted to hexa value and then converted to decimal value (above will be 852 in decimal value by the way.) ...
POKEMON -
10 Nov 2005 9:26 PM - 3 messages
I didnt understand why removeval is allways 0. where did I go wrong? Dim i As Integer For i = 0 To DataGrid1.Items.Count - 1 Dim removeval as integer ...
chuckd777 -
10 Nov 2005 8:20 PM - 21 messages
How does one go about grouping several lines of code? ...
Dmitriy Antonov -
10 Nov 2005 7:13 PM - 4 messages
Hello everyone, I tried to search the Internet but never could find an answer. I need to set specific security settings on some of my ActiveX.EXE components. First of all, I need to set Launch and Activation and Access Permissions. ...
joe215 -
10 Nov 2005 4:55 PM - 3 messages
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using this, it seems, that the ...
brad -
10 Nov 2005 3:50 PM - 11 messages
As the title states, I'm trying to find a book or resource to teach a novice programmer how to program in VB.NET, but specifically geared towards console applications. The person learning has a background in PowerBasic for DOS and the ...
chuckd777 -
10 Nov 2005 3:06 PM - 4 messages
I have a Class Module with Events. How would I go about Invoking an Event from that Class Module from another module. i.e I have a project with several modules (print routine, update field routine etc.) When in my print routine module I would like to invoke a ...
cybergoth_0 -
10 Nov 2005 2:46 PM - 2 messages
Is there anyway of extracting a list of the events for controls like you can get a list of the properties; eg: Click Gotfocus LostFocus etc... ...
Cmaz -
10 Nov 2005 1:34 PM - 9 messages
is it possible to dynamically create the DLL /exe from a program created in Vb. any takers... ...
areejan2000 -
10 Nov 2005 12:55 PM - 3 messages
my question is.... how to find all windows services ( default by M$) when Xp/2000 is installed? is there a list of services to check with???? thank you ...
jack -
10 Nov 2005 11:41 AM - 12 messages
hi guys another query is is possible to list all the files from the particular directory in a list box, but with the use of api ro dir, filelistbox control.. what i belive that it can be done by creating the object of dir, ...
Nandz -
10 Nov 2005 9:25 AM - 13 messages
Hi, I am new to VB, infact new to programming in a Windows environment. I have been used to coding on Linux using Python, Java, PHP, etc. I am writing macros for MS Excel. First of all, is there any website which can give me *good* API ...
Bruce F -
10 Nov 2005 6:18 AM - 4 messages
I have just started using Visual Basic.NET 2003 Standard ( previously used Borland's CBuilder). I find in VB.NET there is a "DataGrid" but not a "StringGrid" which I found very useful in BCB. Is there a StringGrid somewhere or is there an alternative? ...
IceNeo -
10 Nov 2005 4:42 AM - 2 messages
What I am trying to do is a very simple encrypt/decrypt program. I must
point out now that I am very new at this and this is my *first* working
program. I load a file into a text box and have the content of the textbox in a
variable. I need to then assign the first 20 characters into an array,
change the characters, then read the array backwards. ...
N Sanders -
10 Nov 2005 4:29 AM - 6 messages
Greetings all, Apologies if this is a FAQ here but I've searched google for over an hour with no result. I've just updated to a new machine, running Mac OS X (Tiger) and installed Office X (= 2000 or 2001, not sure which). I ...
Robert Lie -
10 Nov 2005 4:12 AM - 6 messages
Dear All, I have installed VS.NET 2003, since that moment everytime i load vb6 it always load VS.NET 2003 (see attached picture) Pls help how to solve it. Thanks Robert Lie ...
Frederlo -
10 Nov 2005 3:50 AM - 8 messages
I wrote this application a few years ago. One of the things it does is to print to a parallel POS printer using 3 inch paper rolls (like the calculator rolls) . everything is fine except that I wanted to add another printer but ...
¢Ù¢×¢Ü¢Õ¢Ò¢Ý¢Û -
10 Nov 2005 2:29 AM - 3 messages
any reference for do multi-language version?? I prefer use different files to keep the language text (using VB 6.0) thanks ...
Robert -
10 Nov 2005 2:06 AM - 3 messages
I have the function below. it returns a "simpleresult" which I've also included the definition of below. I get a warning indicating that Function 'CloseVantive' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. ...
Alonso -
10 Nov 2005 12:41 AM - 7 messages
Hello. Please, I need to know what factor can be in one computer that is not in others, so that a printout sent to the Printer object does nothing at all. I mean, it does not even show in the printer queue. ...
Nicolas Poirier -
9 Nov 2005 11:08 PM - 4 messages
I successfully made a system tray application. When I do shut down the computer, how does the computer can instruct my application to shut down? For the moment, if I don't quit my application, system asks to kill an ...
Nicolas Poirier -
9 Nov 2005 11:07 PM - 4 messages
I have a simple application with one form containing one MonthView control and a command button labeled "Close" whose only action is to call "End". It's ennoying to click on a specific date and then have to click thice on ...
Eric -
9 Nov 2005 11:01 PM - 3 messages
Hi, I hope the VB gurus among you can point me in the right direction. I created an ActiveX control in Delphi. It is invisible at runtime. Everything works fine except for this little detail: in compiled application which uses the ocx check boxes loose focus rectangle (ie it ...
Sharp -
9 Nov 2005 10:54 PM - 28 messages
I want to let a user specify a directory (folder) name, then I want to check to see if it exists already. If it doesn't, I'll use MkDir to create it. Any suggestions on the best way to check for existence of a ...
Sean -
9 Nov 2005 10:45 PM - 2 messages
Is there a way to turn off screen font smoothing for a particular control? For example for a picturebox, such that all labels in the picturebox do not use screen font smoothing. I have a graphics app I'm working on where the ...
Lo -
9 Nov 2005 9:04 PM - 2 messages
I can't paste special in Metafile format on Outlook. What is not installed or not turned on? ...
Eric -
9 Nov 2005 8:46 PM - 7 messages
I've written a ton of ASP but have limited VB experience. Anyway, I have a simple VB method as follows: Public Function Encrypt (ByVal Account_no As String) Dim cryptor As Object Set cryptor = CreateObject ("activecrypt.RSACrypt") ...
stjulian -
9 Nov 2005 8:16 PM - 2 messages
I am getting an error in a program written in VB6 when connecting to a VFP free table directory. It works on the deveopment machine (XP Pro SP2) and not on the server where the app is to run. The (pertinent) code is as follows ...
James -
9 Nov 2005 6:38 PM - 4 messages
I'm sure this question has been answered before but I cannot find it. Is there a way to mimic the VB modal behavior of loading a child form while the parent form pauses and waits for a response, allowing the ...
raddagudi -
9 Nov 2005 6:07 PM - 4 messages
Hi, I have this follwoing line of code in a loop exceuting correctly and producing the results as the way i expect but takes very long of execution time. I am trying to optimize the line and looking for suggestions. ...
Alastair MacFarlane -
9 Nov 2005 5:31 PM - 13 messages
Dear All, I remeber reading somewhere that you should not add complex code in a Class_Initialize event. I can't remember what the reason is but I am opening a database connection on this event. Should I change it? Alastair ...
Dino -
9 Nov 2005 4:21 PM - 3 messages
I need to create a public multi-dim array that can hold a mixture of string and int values. I will need to search this array for a value and return a value from a subscript. This array will expand as it reads in records, so I will need to preserve ...
First Last -
9 Nov 2005 3:00 PM - 2 messages
I have two classes IItem and Contact. Contact implements IItem and it also has a module instance of IItem. I also have two tables in a one-to-one relationship: Item and Contact. I would like to be able to extend the functionality thru a plugin ...
PC -
9 Nov 2005 1:47 PM - 6 messages
is there anyway to give a standard vb form another class name then thunderxxxform ? if so, how ? ...
Paul Black -
9 Nov 2005 11:24 AM - 7 messages
Hi Everyone, I have a List of 6 Number Combinations in Cells "G13:L27" The Following Code Cycles through ALL 5 Number Combinations ( 42,504 ) and Counts How Many of them are "Covered" in my List. Here are the Combinations in Cells "G13:L27". ...
richard.the.lionheart -
9 Nov 2005 10:00 AM - 2 messages
I am using getObject to attach my form to a microsoft visio(a microsoft drawing tool) drawing and then during the execution the code resizes the form, what happens is that the form is resized all right but it ...
Reds@Office -
9 Nov 2005 8:09 AM - 4 messages
Hi ALL, I have got a large set of data in my msflexgrid and I 'd like to export it to excel file format for further data manipulation. Is ther any method of exporting them from msflexgrid to excel?? ...
mookie -
9 Nov 2005 3:27 AM - 8 messages
i may get shot for this.... but im looking to create something similar to #region and #endregion using treeviews the problem is that instead of #region, i am using ;fold and ;endfold i am also allowed ot have a fold within a fold and that is where i am stuck. ...
Frank -
9 Nov 2005 3:22 AM - 3 messages
This is a very new version of VB and mostly for novice programers. I have started to play around with it but am having a bit of trouble. I have created an MS SQL data base using VB 2005 Express and need a ...
west.fairview -
9 Nov 2005 1:55 AM - 61 messages
visit Microsoft.com. it is on the front page. ...
Alonso -
9 Nov 2005 1:54 AM - 4 messages
Hello. How can I send data directly to a USB port? I need to send commands to a printer, but using the generic / text only driver it is not working. Thanks. ...
RitaK -
9 Nov 2005 1:27 AM - 3 messages
Hi, I have developed a line chart control and want to let the user place a comment on a chart point by double clicking on on the point and opening a form where they can type in the comment. I just can't work out how to do ...
William P -
8 Nov 2005 10:07 PM - 7 messages
I am working on a VB program. When I run it, it comes to a point where it goes into an endless loop. The only way out is to bring up the Task Manager. When I do this the TM show that a program which I long ago erased from ...
Tony -
8 Nov 2005 7:13 PM - 4 messages
I use this same type of loop to get the value of the items that are selected I can't understand why it doesn't work now. There are 21 records in the listview and 6 of them are selected in my test... The problem is when on ...
Bpk. Adi Wira Kusuma -
8 Nov 2005 6:39 PM - 2 messages
Sorry, my prior question may make u confuse. my main purpose is I wanna make program for image processing. So the app can recognize model of an image. But I've some problem: 1) How to know the union pixel be an line, circle/oval, curve or retangle? ...
Doug_Warwick -
8 Nov 2005 5:34 PM - 3 messages
I have attachd a fragment of a VBScript below. I am retrieving the Security Descriptor for a specific file. I know that the Security Descriptor has at least the properties of owner.domain, owner.name and owner.sid. How do I find ...
Andy -
8 Nov 2005 5:03 PM - 2 messages
Hi Gang Simple question here... I've got VB6 loaded on my PC. I have an Access 2000 db with some tables on my PC as well(say in d:\mydata\mydb.mdb). In Vb I created a dialog with a button. I want to be able to click on ...
Carlos Voltolini -
8 Nov 2005 3:46 PM - 2 messages
Hi.. I'm tryng to use a dll developed from vb.net 2003 in a VB 6.0 project. I already added this dll (.net) in references in vb 6 project but I can't use the methodsfrom the class of the dll. If possible I'd like to see some ...
Ken Shaffer -
8 Nov 2005 2:29 PM - 3 messages
I have a VB app intended to be run from the command line but the DOS prompt returns immediately. I intend to make it part of a .bat or .cmd file eventually, but want to be sure that the .bat/.cmd file doesn't continue ...
George Meng -
8 Nov 2005 1:56 PM - 4 messages
Hi folks, Is there any tool out there can do: 1) compare two word documents, one is a old file, the other is a newer version of the same file. 2) generate a patch, the patch shows the differce between the two files, the ...
OKLover -
8 Nov 2005 1:52 PM - 5 messages
Hi ! All, I have three subroutines, say test1, test2, test3. All of them call the test4 subroutine. Public Sub Test1() Test4 End Sub Public Sub Test2() Test4 End Sub Public Sub Test3() Test4 ...
Bpk. Adi Wira Kusuma -
8 Nov 2005 12:54 PM - 2 messages
Do U have ideas? 1) How to know the line is tortous or not? 2) I've an trilateral picture (triangle). How to find position of third the angle/corner? 3) I've an Thick line. How to find position tip of line? ...
Joe -
8 Nov 2005 12:46 PM - 2 messages
I got MSDE in my web control panal with database name and admin user. i don't know how to create table or select from the table. i need snipt codes to create a table. thanks in advance ...
Joe -
8 Nov 2005 11:00 AM - 2 messages
I got a PC with internet connection and web site example [link] i have uploaded a MS access file example db.mdb file using ftp connection. Is it possible to retrive/store any data into the MS access ...
NickHK -
8 Nov 2005 7:15 AM - 4 messages
Creating a small scheduling app and to save time thought Excel's add-in function NetWorkDays could calculate the number of workdays involved, but without creating an instance of Excel every time. Whilst a long shot, as it is not designed to work this way, I did not expect the problem I'm getting. ...
Michael C -
8 Nov 2005 6:15 AM - 56 messages
I was having a look at vb.net 2005 today and noticed it has edit and continue. One of the biggest complaints here is no longer :-) ...
Wylie C -
8 Nov 2005 5:58 AM - 3 messages
I am running a classroom that requires very tight security. I have been using net send to send messages to students but find the function to be to restrictive because of the number of characters limitation. Visual Basic is installed on the instructors computer which is attached to the LAN in the ...
Kevin Provance -
8 Nov 2005 5:50 AM - 20 messages
For the last five years or so, I have been using DAO to store data in one of my programs. I chose this route originally because the program deals in thousands of records and it seemed the only solution at the time to be able ...
Simon -
8 Nov 2005 2:06 AM - 5 messages
In a VB app, I have a function to get current user's login name for security purpose. But now we're going to get this app to Citrix. Is there a way in VB to grab the user's information from user's profile on ...
Dalamar437 -
8 Nov 2005 12:55 AM - 9 messages
Ok gang I am totally out of ideas and any input you have is greatly appreciated. I'm sending a URL to a webbrowser, searching the loaded page contents for specific text, copy that entire page’s contents to a file, and ...
nafelloyd@gmail.com -
8 Nov 2005 12:51 AM - 13 messages
when trying to run Private Sub SetImageBoxSize(ImageBox As Image, _ Optional ImageReductionAmount As Long = 0) Dim ParentRatio As Single Dim PictureRatio As Single Dim ContainerWidth As Single ...
stanley_fu2000 -
7 Nov 2005 10:56 PM - 2 messages
im using VS 6.0 and installed using custom (checked all)\ when i try to code(double click) or open anything it crashs and close VB and microsoft error box comes up saying send report or not i really need help ...
Arpan -
7 Nov 2005 10:44 PM - 2 messages
I have a ListView that displays 3 images which have been rendered using an ImageList. The Form also has a Slider control & a CommandButton. The Slider value ranges from 0 to 2 (3 levels). Now I want something like ...
Alonso -
7 Nov 2005 9:35 PM - 6 messages
Hello. I have an application that works fine in many computers, but in one computer the Printer object does not print. It is a very simple app that sends plain text to the printer. In this computer, it simply does nothing when I send Printer.EndDoc or ...
Arpan -
7 Nov 2005 9:14 PM - 2 messages
My VB6 application uses a ListView which has 4 images. The images have been populated in the ListView using an ImageList. How do I loop through the 4 images in the ListView so that when the Form loads, I can ...
Ian Davies -
7 Nov 2005 7:57 PM - 19 messages
Hello I currently have code in each form in my vb project that opens a connection to a mysql database which takes the connection string from a function in a module (see below). My problem is I the users can be different (different levels of access) so I ...
Dalamar437 -
7 Nov 2005 7:49 PM - 7 messages
I'm a total VB armature and can't find what I'm doing wrong. I have a program that 1) creates a URL 2) sends it to a web browser 3) the content returned in the browser is searched and specific lines ...
pvictor -
7 Nov 2005 5:00 PM - 4 messages
In the IDE, when I display the Project References list for a project, the list contains some obsolete and incorrect references (old projects of mine). The DLL's refered to are long gone or have had their descriptions changed. How can I cleanup the list so that it refers to existant DLL's only? ...
BUNGOLFER -
7 Nov 2005 4:39 PM - 2 messages
Hi all: I am not a hardcore VB programmer so hopefully there are some experts out there who can help. I have a VB6 form with a webbrowser control on it. When the form opens, the control is loaded with an ASP login web page. The user then logs in to the ...
fniles -
7 Nov 2005 4:34 PM - 4 messages
Does the function UCase take a long time to do ? (If I do it in a loop) Thanks. ...
Abdhul Saleem -
7 Nov 2005 3:42 PM - 2 messages
Hi, I downloaded the MSDE release A (MSDE2000A.exe) from below mentioned link. [link] Extracted the MSDE2000A.exe to local directory (C:\MSDERelA). ...
Ben R. -
7 Nov 2005 3:31 PM - 7 messages
I'm curious about the differeng behavior of the "new" keyword when dealing with value versus object types. If I'm correct, when I do: dim x as integer There's no need for "new" to be called since this "value" type is all set to ...
Joseph -
7 Nov 2005 2:58 PM - 2 messages
Years ago (199x) I remember a friend demonstrated how you can retrieve the VB source code from a VB executable. Do such tool still exists? How effective are such tool in allowing you to at least know ...
Robert -
7 Nov 2005 2:22 PM - 5 messages
How do I determine a files size in Visual Basic 6 without FSO. ...
jack -
7 Nov 2005 12:05 PM - 11 messages
hi guys isit possible to create a bmp file at run time please help me in this ...
Abdhul Saleem -
7 Nov 2005 11:29 AM - 4 messages
Hi, It is possible to trap the ALT+S key in the form_keydown event when the caption for the command button is "Save". But could not trap ALT+S key in form_keydown event when the caption for the command button is "&Save". ...
jack -
7 Nov 2005 11:02 AM - 6 messages
hi all is this possible i wanted to send file by using a winsock control .. is this possible . i have a little guess that this can be done by opening a file in a binary format and then sending it through. . please help me ...
Eitan M -
7 Nov 2005 10:16 AM - 10 messages
Hello, I want to update my VB execute programs on my customer side (VB 6.0). Customer side has windows 2000 proffesional installed + Service pack 4. When I run some of my programs I get a message : ADODB.Connection ... provider cannot be found.. It may not be properly ...
|
|||||||||||||||||||||||