Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score General Question on Deployment Stratagies
Terry - 23 May 2009 8:54 PM - 4 messages
I am at the point in converting a VB6 application to VS2008 that it is time to start to think about deployment.  My customer base runs from small office environments to the HR/Payroll departments of fortune 500 companies.  Over ...
Score Help with a bit of maths
Ivar - 23 May 2009 6:14 PM - 14 messages
Hi all. A little bit of code below, two Qs here: What maths (without API) goes on to make the 4 bytes = -455290571 What maths is needed to make the 4 bytes back to the values coded from a long var of  -455290571 ...
Score Open Run Dailog
Abhishek - 23 May 2009 1:17 PM - 2 messages
how to programmatically open the windows Run dialog (Win Key + R) ? thanks! ...
Score Changing a property on a control
Jonathan - 22 May 2009 8:32 PM - 8 messages
If I have a string variable p where p = "Text1.Height=1000" and Text1 is a control on my form, is there a way to execute the contents of p as if it were just a line of code? Thanks ...
Score Finding out the width of a tab on the SSTAB control
Randem - 22 May 2009 5:58 PM - 3 messages
How would one go about finding out the width of a tab not the tab window, just the top portion. I need to replace the tab with a control that displays unicode since the SSTAB control does not support unicode. ...
Score Vista and AutoRedraw
Lorin - 22 May 2009 4:25 PM - 4 messages
VB6 apps that run fine on XP with a 1G Ram. but on Vista, the same app, compiled or in IDE fail with a message that it cannot create the AutoRedraw. This applies to forms and to pictureboxes with AutoRedraw set true. ...
Score Phone system integrated in vb app
Sheldon - 22 May 2009 3:39 PM - 5 messages
Hello - I need to automatically pop up a screen when an operator receives a call that has among other things, the phone number field filled out with the phone number of the caller. Does anyone know how to do this with an Avaya phone system or any ideas on ...
Score VB 6.0 windows form not displaying properly in windows server 2008
windows server 2008 - 22 May 2009 12:13 PM - 3 messages
I am facing problem in displaying VB 6.0 windows form when it is accessed from activeX control on windows server 2008 Is there any work around or any patch available to resolve this issue thanks Renil ...
Score Sort UDT vs Database
David - 22 May 2009 2:12 AM - 4 messages
Looking for feedback. I have a UDT array less than 1000 elements. I need to sort it on various properties of the array. Debate is whether to read the UDT array into a DB table and use it to sort ...
Score Does the Print Server Migration Tool Work Across Domains?
Razor7Tech - 21 May 2009 10:13 PM - 2 messages
Hello-- Just spent 5 minutes trying to find the right forum to put this questions in--so I hope I have a good one. We just need to know if we can use the the print server migration tool 3.1 ...
Score How do I stop opportunistic record locking from causing massive de
Mark Schroeder - 21 May 2009 6:32 PM - 3 messages
I am using a VB6 application on two workstations to concurrently access a data file on a server. The exact steps that are happening are in the following msdn article: [link](VS.85).aspx in the first ...
Score calling (and deleting) a string from an unmanaged dll
GiuseppeDini - 21 May 2009 9:37 AM - 4 messages
I need to call a string from a dll written in c++. My (simplifed) vb code is: sub call()         Dim ptr As System.IntPtr = readx()         Dim str As String = ...
Score Out of memory errors if PAE (physical address extensions) enabled
Antonio Diaz - 21 May 2009 8:35 AM - 2 messages
Hello I want to know if anyone else has this issue and how can be solved: -We have a group of software applications, some developed with Ms.Visual Basic 6.0 and some others with Ms.Visual Basic. NET 2003 (Framework 1.1). ...
Score OT: The bloated get bloatier
Kevin Provance - 21 May 2009 1:27 AM - 74 messages
Have ya'll checked out the download for the 4.0 Shamework? [link] x86 full download:  76 MB x64 full download: 157 MB ...
Score MBF to IEEE (Beg. Q)
Webbiz - 21 May 2009 12:12 AM - 17 messages
Greetings! Can someone explain this conversion routine in a language an 8-yr old can understand? Public Function MReal2Single(M() As Byte) As Single Static IEEE_Exp As Byte, IEEE(0 To 3) As Byte   If M(3) = 0 Then Exit Function ...
Score Toolbar Dilema
Bee - 20 May 2009 11:35 PM - 4 messages
VB6 app with toolbar holding four buttons and no other things like sep. all set to vbdDefault button. all code handled in the same sub to use the button settings. Private Sub tbFontStyle_ButtonClick(ByVal Button As MSComctlLib.Button) The first button depresses and calls the sub to do its task when clicked. ...
Score Where are the VB6 Reference entries kept?
Randem - 20 May 2009 9:51 PM - 9 messages
I have searched the registry to remove a reference name that no longer exist and it is not in the registry, so where are these sorts of things for VB6 kept? ...
Score write a bitmap into an array of picture boxes
caver_dave - 20 May 2009 9:00 PM - 9 messages
I have a small app that writes an array of pic boxes to a picbox in order to save it as a bitmap *sample code for one line * Picture5.PaintPicture Picture1(0).Image, 0, 0, 1, 1 Picture5.PaintPicture Picture1(1).Image, 1, 0, 1, 1 ...
Score Free or low cost PDF viewer ocx?
Al Reid - 20 May 2009 6:16 PM - 10 messages
Does any one know of a free or low cost PDF Viewer control.  I need to update an app that used the one provided with older versions of the Adobe Reader.  This is a one time app so I can't spread the cost over a number of ...
Score First time tabstrip attempt
MP - 20 May 2009 1:36 PM - 4 messages
I just copied sample from msdn help and get syntax error at Dim statement... ??? what's up with that? Private Sub Form_Load()    'this was copied from help but next line is syntax error!?!?!?!    Dim tabx as Tab ...
Score Sending email without client
Privado - 20 May 2009 7:48 AM - 6 messages
Hi there, I'm trying to send email through a VB application without having an email client installed and configured. Is there any way to do so? I've tried to use the MAPI control, but it calls my email client to request premission to ...
Score VSFlexGrid 8 for VB 6
Super Steve - 20 May 2009 3:44 AM - 14 messages
A few years ago I was doing some VB 6 programming work and someone recommended to me the Component One VSFlexGrid 8 control.  This (and many other controls) was available for free in the VB .NET Resource Kit.  See [link] ...
Score How to correctly invoke next DLL from Visual Basic?
Eduardo - 19 May 2009 10:41 PM - 2 messages
I have next C/C++ source DLL library (heading, definition and C++ files): c_dll_4_vb.h ======== class stNivAut { public:    long nivel;    long uniOrg;    char txtUniOrg[41];    long pernr;    char nomCompleto[81]; ...
Score Passing a value to a form
Rich - 19 May 2009 8:21 PM - 5 messages
I am using VB6. Years ago, I passed a value to a form. For the life of me, I don't remember how I did it. I could use property get or let. Or use the user defined Type object. ...
Score Comdlg32 Not Properly Registerred on Vista Box
Brian - 19 May 2009 3:53 PM - 7 messages
First Try on Vista...  My VB6 app uses the Common Dialog (comdlg32.ocx)...  launching my app and trying to open the ComDlg throws an error that the ocx or one of it's dependencies is not properly registerred. ...
Score I'm looking for liberies to *.wav, or to speech
ptpwjp - 19 May 2009 2:22 PM - 5 messages
I'm looking for library having such functions or procedures: to stick several *.wav, to  do loud *.wav,  to change speed, tone, or something similar. I want to used  searched library in Visual Basic. The searched library must be free for individual user. ...
Score ActiveX control cleanup in IE
Bob Butler - 19 May 2009 2:21 PM - 5 messages
I've been working on an activex control to be hosted on a web page.  The control contains several other user controls which provide unicode-capable labels, command buttons, text boxes, and list boxes. Because I'm creating windows and subclassing them it's critical that they be ...
Score Newsgroup Access
Bee - 19 May 2009 1:51 AM - 14 messages
After typing my diatribe in, I got this response and lost all my typing. Thanks a lot MS. Twit programmers. Service Temporarily Unavailable We apologize for this inconvenience. Please try again later. Inconvenience?  My fingers are sore from retyping.  I will send you my ...
Score A quote for Karl
Kevin Provance - 19 May 2009 1:49 AM - 12 messages
From this article about the latest version of Visual Studio: [link] =============== ....Soon after the preview edition was released, the company revealed that it ...
Score Private objects cannot be used ... as parameters..
MP - 18 May 2009 8:58 PM - 3 messages
Regarding this compile error "Private object modules cannot be used in public object modules as parameters or ...etc" Given the desire to use an object as a parameter... Sub Main     Dim oParam as cUsefulObject     Set oParam = CreateParameterObject() ...
Score Force Refresh of Associated Icons
k_zeon - 18 May 2009 8:36 PM - 6 messages
Hi I have created a way to change the Default Icon for a Filetype. They wont display the correct Icons until I reboot my WinXP Pro I have seen somewhere that you can Force the Icons to Refresh but cannot ...
Score Refreshing
Paulo - 18 May 2009 7:05 PM - 4 messages
Hi, on the ListBox I added the FileName + Date/Hour of the file. If the directory (Dir_Change) changes, the listbox is repopulated. But if the user modifies the file on other program, I'd like to repopulate (refresh) the listbox with the new file Date/Hour... ...
Score Contemplating the Migration
Brian - 18 May 2009 6:23 PM - 25 messages
I have been developing a suite of VB6-SP6 Apps for the path 2+ years.  These apps are fairly robust and have been deployed operationally on a limited scale.  There is approximately 30 to 40K lines of code.  A big question of ...
Score Enumerate Processes and Terminate Selected
Abhishek - 18 May 2009 5:26 PM - 4 messages
Hello everyone, I want to enumerate open processes in a listview and terminate the selected process. I found a code which can enumerate but termination doesnt work. any input is welcome, thanks! here is the code ' Enumerate open processes Private Sub EnumProcess(Optional ByVal sExeName As String = "") ...
Score NewEnum in Interface
Simon Woods - 18 May 2009 9:15 AM - 4 messages
Hi I was wondering if there is any way of specifying the NewEnum enumerator mechanism in a VB6 interface class and then delegating to the  iterator implemented by the underlying implementing collection class (without having to use the IEnumVariant approach) ? I was hoping(!) for a more ...
Score Control Focus
Bee - 17 May 2009 5:00 PM - 20 messages
Other than setting the focus to another control when a control is clicked, is there a way to not get the focus rectangle to show on a control? e.g. when an OptionButton is clicked it is depressed and a focus rectangle ...
Score public object throughout the project
NR - 17 May 2009 10:51 AM - 3 messages
I am new in .NET application but have developed many applications in Visual FoxPro and Visual Basic. In my first .NET application, I have a USER class which keeps record of user privileges. Is it possible to instantiate this object once in a project(To ...
Next » 2 3 4 5 6 7 8 9 10