Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score Is this safe?
Richard Lewis Haggard - 6 May 2006 9:18 PM - 4 messages
I would have thought that this would be safe: private sub Sub1     Dim s1 as String     s1 = "Some long value to take up room."     Sub2( s1 )     ' upon return, s1 is now loaded with the bigger string that Sub2 loaded ...
Score Open a file into a VB6 TextBox
DACCS - 6 May 2006 9:01 PM - 19 messages
Can anyone provide the VB6 code to open a file and loading it's contents into a TextBox?  Tho I am trying to load a text file into a VB6 TextBox, I would welcome other formats, in particular, Word ".doc", ".rtf", etc. ...
Score Moving array data to defined array
Marv Wade - 6 May 2006 7:22 PM - 2 messages
Why would this not work.  . In a general General Module I have the following:      Type Record2A         CategoryDescr As String * 25         CategorySymbol As String * 2 ...
Score How is that possible?
Jack - 6 May 2006 7:04 PM - 9 messages
My app is hooked to Windows and receives callback messages. One of received messages is designed to open another form (frmDisplay) belonging to my app. Sometimes, when there are fast, repeated callback messages, I have not one but 2 instances of frmDisplay on my screen!!! ...
Score message box non modal?
Jack - 6 May 2006 4:08 PM - 18 messages
Is it possible to have message box as non modal window, or should I create my own? Jack ...
Score Reading a file directly into an array
John Hatpin - 6 May 2006 2:16 PM - 26 messages
This is a follow-on from the byte-swapping thread. So, I'm reading 55MB data files directly into an array, wonderfully quickly, using this code: Private Data() As Integer ....   ReDim Data(FileSize)   FileNum = FreeFile   Open FileName For Binary As FileNum ...
Score Smart client
jack - 6 May 2006 3:30 AM - 3 messages
Hi all i have heard about smart client and read few articles on net. but majority of articles were related to Dot Net framework. I just wanted to know that is it possible to create vb6 smart client application with a web service which is made in dot net . i guess what ...
Score Sending email in VB using only the Win32 API
Dan - 5 May 2006 11:52 PM - 18 messages
I have an app that I am considering adding an email feature to.  I've had a few users say they would like my software to send them email alerts based on certain events it monitors.  I know there are plenty of third party controls ...
Score CSV File Mapping
tim - 5 May 2006 9:52 PM - 5 messages
Hi, I need to build an application that will take data from a db and store it into a CSV file.  The CSV file has to be mapped to the correct order and field.  There a serveral different mappings(needs different fields and ...
Score Graphics question
bartj - 5 May 2006 9:48 PM - 2 messages
Hello, I have an interesting graphics problem and am unsure of how to move ahead. First the "spec": "Vb5/6 program shall generate a 3d representation of a rectangle on the form (or picture box) which shall be capable of being rotated at least ...
Score Looking for zip - unzip source code
frodereck_fronkonsteen - 5 May 2006 9:09 PM - 2 messages
I am trying to add a zip/unzip function to our application.  I know there is a lot of free code out there but have been unable to find the source code to do this in VB6.  I am not looking to add another dll or ...
Score Tracing
Richard Lewis Haggard - 5 May 2006 8:46 PM - 3 messages
I have a VB control that is calling into a VC DLL and I need to debug the interaction between the two of them. I can start VB, start the program and attach VC to VB and it breaks in the VC DLL with no problem. At the same ...
Score How do I save in plain text format?
garmat - 5 May 2006 8:45 PM - 3 messages
Hi. In my program I want to be able to save the contents of a text box or rich text box to a file in plain text, not rich text.  I also want to be able to name the file with the extension .z80, so I can run it ...
Score Deployment problem on W2K3 Server
Andy - 5 May 2006 4:37 PM - 4 messages
Aplogies in advance for multi-posting - this is really a deployment problem, but it looks like that group doesn't see much traffic.  Perhaps there's someone on this one who can help? We have a problem here which we haven't a clue how to solve. ...
Score Registered component list?
Craig Buchanan - 5 May 2006 3:25 PM - 10 messages
Is there a way to generate a list of COM components that have been registered on a machine, similar to the list that the VB6 IDE displays in Project | References...? Thanks for your time, Craig Buchanan ...
Score MS-DOS ActiveX Control in VB 6 ?
Vee - 5 May 2006 12:48 PM - 5 messages
Hello, I have been banging my head against the wall on this problem for quite some time now, and am unable to find a solution that is suitable for my needs...Here is what I am trying to do.... I am developping a full-screen application in Visual Basic 6.  At one ...
Score problem running code twice
vonClausowitz - 5 May 2006 8:56 AM - 4 messages
Hi All, I have a code that opens word documents inside a powerpoint presentation and saves them under a certain name. When I want to use the code for a second time my program crashes. It always gives me the ...
Score Windows sound recorder
Rick - 4 May 2006 11:32 PM - 2 messages
I want to embed windows sound recorder on an application. How can I extend the recording time? (for VB6) ...
Score User presses and holds keyboard key
Tech - 4 May 2006 10:15 PM - 3 messages
Hi, how do I track an event when user presses and holds arrow keys? I only get one KeyDown event which is probably true, however I would like to get multiple events (just like many symbols would appear when somebody is typing ...
Score non-recursive quicksort for 2-D arrays?
RB Smissaert - 4 May 2006 10:15 PM - 31 messages
Could anybody post a non-recursive quicksort for 2-D arrays or tell me where I could find it? RBS ...
Score Event Viewer Warning when I launch VB 6
D. E. Carter - 4 May 2006 10:06 PM - 3 messages
When I launch VB or an executable created in VB I am getting a warning in the Event Viewer: Detection of product '{8041BEBA-C558-4480-B7A5-5A3507022E17}', feature 'Complete' failed during request for component '{A8A1495F-36E5-11D2-B15A-00C04F990B2B}' This just started happening within the last couple of weeks. ...
Score Error 3260, could not update
Saga - 4 May 2006 9:27 PM - 3 messages
Hi all, I have a VB6 (SP5) application that I developed that is generating the following error: Error 3260, Could not update; currently locked by user 'ADMIN' on machine 'Win2003SRV' More info... I am using DAO on an Access mdb that resides on the above ...
Score Is Scripting.Dictionary considered as evil as FSO?
MP - 4 May 2006 8:58 PM - 15 messages
i noticed this simple recordset example in another post I'm wondering if I can use something like this for a project I'm working on. I have my system working but am probably doing it in the worst way possible. ...
Score text1.text = "list1.?"
Tim-86 - 4 May 2006 8:11 PM - 4 messages
hi I am a noobie at VB6 I have a listbox and a textbox on my form1 what am trying to do is have all list1 items go to the text1 box I have text1 set for MultiLine = True the code that I keep trying looks like this ...
Score Name parsing routine
Matt Williamson - 4 May 2006 7:27 PM - 26 messages
I'm looking for some input on the best way to accomplish this. I have a data extract from Outlook that I'm parsing to go into a SQL table. I need to take a Full name and put it into 6 fields. PrimaryFirst, PrimaryMiddle, ...
Score vb6 dictonary or collection or ?
bp - 4 May 2006 6:42 PM - 6 messages
hello, i am using vb6.  i am looking for some type of collection.  where i can have a key and then some information. so i have an unique id.  and then some info.  i want to be able to lookup ...
Score Problem refreshing recordset
Sandy - 4 May 2006 4:57 PM - 9 messages
Hello - I am trying to refresh records after someone adds a new record.  For some reason, it isn't returning the last record (the one added).  The stored procedure, when I run it in Sql Server returns exactly what it's supposed to ...
Score Way to check logged in by week HELP!!!
KT - 4 May 2006 3:54 PM - 5 messages
In need of a way to check whether or not a person logged in every day within a week (week starts Monday through Sunday).  Does anyone know of a good way to accomplish this? In the table below, User #2 did log in each day within the week.  I would ...
Score MSMapi Controls
Antony - 4 May 2006 3:38 PM - 4 messages
HI, I am using the MAPISession and MAPIMessages controls to add email functionality to a app running on a client server. Problem is whenever the app tries to send a notification email through my app the msoutlook box appears saying that firstly another application is ...
Score WebBrowser Control read HTML Tags
Jenny Han. - 4 May 2006 3:05 PM - 3 messages
Hello I have a page displayed in the webbrowser control and i want to read the texts inside some tags. I'm using the getElementsByTagName("tagName") but it gives me "" The same function returns values for the FONT or TITLE ...
Score Unloading a DLL WEP
Gonzosez - 4 May 2006 2:57 PM - 2 messages
I have used vb6 to write a DLL. The problem is that I need it to release from memory when it is finished or on error. How can I do this? ...
Score Sourcesafe's ACCURSED 'share' feature - any workarounds?
FUspammer - 4 May 2006 2:23 PM - 11 messages
I have to use VSS because it's the standard at the office. My VB source, class libs, & custom controls are in 3 separate top-level branches in my hard drive. You can sense where this is going - whenever I want to include a common ...
Score Simple ocx question(VB6)
Rick - 4 May 2006 1:56 PM - 2 messages
How can I load parameters to an ocx for the following events? - On(or before) the UserControl_Initialize - On(or before)UserControl_InitProperties - before UserControl_ReadProperties (wirthout initializacion) Notice that on theses events, the user control hasn't read the properties set by the host application. ...
Score vb 6 adodc.recordset problem
ayaari - 4 May 2006 1:12 PM - 2 messages
Hi, i am writing this code on vb6: Private Sub cmdexcel_Click() Dim str1 As String adoreport.Recordset.MoveFirst While Not (adoreport.Recordset.EOF) If adoreport.Recordset!IM_Number Then    str1 = ""    Else    str1 = adoreport.Recordset!IM_Number ...
Score browser and vb script
ina - 4 May 2006 10:51 AM - 12 messages
hello, Need I a browser to execute vb script? Ina ...
Score Clear Array Question
Ken Uzzell - 4 May 2006 10:38 AM - 7 messages
Hello, Is there a better, more economical way to clear arrays than ... For i = 0 to 5000     dynDes(i) = ""     dynCom(i) = ""     dynFreq(i) = 0 Next i Our machines are so fast these days, that it doesn't seem to matter, and I ...
Score How to check the validity of an executable from VB program?
its_faiz - 4 May 2006 10:33 AM - 15 messages
Hello, Is there a direct way to check the validity of an executable program before launching it from within another program? In our case we have developed a program (e.g. AA) in VB6. This program (i.e. AA) then calls another program (say BB). Now we want to check the ...
Score Always show last grid row on MSHFlexGrid
Brian - 3 May 2006 8:40 PM - 3 messages
As I add new rows to my grid, I would like the scroll value to be set at the max value so that the last entry is always visible.  (verses being hidded below the height of the grid) I can't seem to find a way to control this effect.  Can someone help? ...
Score Problem!
Neol - 3 May 2006 7:59 PM - 3 messages
Hi Guys, I am new with this group. I have problem with my application. Application run in Visual basic 6 and SQL server and amd my other application is for report generat in web,I am using vb5CGI. and try to ...
Score Personalized Menu??
Arpan - 3 May 2006 7:46 PM - 9 messages
In IE, there is a "Enable Personalized Favorites Menu" checkbox in the Advanced tab under the Internet Options menu. Checking this checkbox ensures that the Favorites menu shows only those Favorites in the menu which are being used by the user often; the rest aren't showed. So, if ...
Score Atbash translation anyone?
Matt Williamson - 3 May 2006 6:40 PM - 9 messages
I'm just curious as to what other ways people can come up with to translate Atbash coded text. Atbash is like a Caesar cipher where A=Z, B=Y, C=X etc. Here is what I came up with a few minutes ago, but I'm already thinking of a ...
Score fastest way to sort 2-D variant arrays?
RB Smissaert - 3 May 2006 6:29 PM - 26 messages
What would be the fastest way to sort large (up to a few million rows) 2-D variant arrays? I am working in Excel VBA, but never found a good answer on this in the Excel programming group. My particular arrays nearly always have long numbers in the first column and ...
Score compare tiff and corresponding image of doc file
sai - 3 May 2006 5:50 PM - 3 messages
hi every body l like to know the following things. please help me if you can       i had a tif file and the corresponding doc file.       now i like to read the contents of tiff file and compare it with ...
Score New SqlConnection
ssflynn - 3 May 2006 5:42 PM - 3 messages
I've just created a new program in Visual Studio 2005, Visual Basic. I can publish, install, and run the program just fine as long as the user is a member of the "Domain Admins" group.  My problem is when a ...
Score Functions and arrays
shade - 3 May 2006 5:08 PM - 3 messages
Hi. Can anybody tell me the code on how to do this problem, I'm using VB6 I got an array which I need to pass to a function, in the function there is code that will change parts of the array, then I pass the edited array back. ...
Score VB.NET Socket Programming?
Greg - 3 May 2006 4:47 PM - 3 messages
What is the best newgroup to ask questions or post comments about socket programming in VB.NET? Thanks, Greg ...
Score Admin privilege
Lizardo - 3 May 2006 4:09 PM - 10 messages
Got a seemingly simple question. Our network staff resists the idea of users having administrative privilege on their own machines - so they can't install stuff. I can't for the life of me see how I can be expected to program in ...
Score Calendar Control 8
jhagerty - 3 May 2006 3:30 PM - 3 messages
Hi all, I am supporting an old VB6 app that uses version 8 of the MS calendar control. I am translating the entire app into German, any chance the calendar control will display german days, months, etc... on a german ...
Score ComboBox and Index value
joker197cinque - 3 May 2006 2:57 PM - 2 messages
Is it possible to add an item to a combobox this way: ComboBox1.Items.Add("Cool!") AND assign to this new Item a unique index ? As in HTML <option value="1">Cool</option> I would like to override standard indexes (0,1,2,3,...) and write mine. ...
Score Having app run as an system service.
Andrew - 3 May 2006 1:57 PM - 6 messages
I have seen a few different ways to run you app as a service. What is the most effective way to have your app run as a service? Is the NTService.OCX control any good to use? and if so, is there an example ...
Score Error Help
Alastair MacFarlane - 3 May 2006 11:41 AM - 3 messages
Dear All, I have implemented a comprehensive error system which makes use of Erl, line numbering and creating a virtual call stack of the code called. I was wondering if the if the production version of the software should not use ...
Score VB open excel
roberta.inalbon - 3 May 2006 9:56 AM - 6 messages
Hello guys, I am new to vb and I would like to create a little application that lauch excel (file and launch the macro associated to the file) and another software at the same time. Could you help me with some tips and information? and I am using a ...
Score check user priviliges in VB
vamshi krishna - 3 May 2006 8:30 AM - 4 messages
hi all I want to check whether a given user has Registry & Write Privileges in VB. i tried NT4AcceptSecurityContext2 function but it's for user validation only,but i want to check for privileges too.. can anybody give info or functions related to registry ...
Score How to save data to a new excel file?
Boki - 3 May 2006 7:57 AM - 2 messages
Hi All, Could you please adivce how to save some data to a new excel file ? Best regards, Boki. ...
Score PDF API: Loop through each object in PDF file
Emily - 3 May 2006 2:15 AM - 3 messages
Hi All, Sorry if this is the wrong place to post this question because I don't know where else to post it. I'll need to come up with a program (in VB or C# or C++) to loop ...
Score Setting a textbox to multiline at runtime
Dan - 3 May 2006 1:10 AM - 9 messages
I'm adding textboxes to a control dynamically, and sometimes need to set their multiline property to True.  Unfortunately, it's a readonly property.  I then tried setting it with SetWindowLong: 110 dwCurStyle = GetWindowLong(hwnd, GWL_STYLE) 115 dwCurStyle = dwCurStyle Or ES_MULTILINE Or ES_AUTOVSCROLL ...
Score Throw Two Error in Same Procedure?
Brian - 2 May 2006 10:56 PM - 9 messages
And yes this is a VB question... I'm slogging through some XML using the XML DOM.  When I try to set an object ... set nodeList=xNode.Childnodes if there aren't child nodes for this node, I get an error.  Which is what I ...
Score Byte swapping efficiently
John Hatpin - 2 May 2006 9:45 PM - 49 messages
Anyone good at low-level data manipulation? I'm working on an app that reads 16-bit signed integers in Motorola (MSB-first) format, and needs to swap the two bytes into Intel (LSB-first) order and return them as a Single.  Currently, it uses the ...
Score Edit HTM in Webbrowser window
getinfo - 2 May 2006 9:20 PM - 3 messages
Hi, I am trying to load an htm file in a webbrowser in a way that I can edit the text and save it. Initially I tried to make it open the file as a frontpage file, like it happens with Word's doc and Excel's xls ...
Score Loading an ocx from file
James Carroll - 2 May 2006 8:50 PM - 2 messages
Say I am given an .ocx in a file.  I need to read the cab, extract the ocx, and load/display it on a form with out preregister the component. Thanks, ...
Score Constructing a more precise "Now()" and "DateDiff()"
Bob O`Bob - 2 May 2006 8:11 PM - 23 messages
Has anyone already done some work (or even just research) in this area? A trivial demo app can show that Now() isn't very precise: Option Explicit Private Sub Form_Resize()      Text1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight ...
Score Making forms full screen........
John Morley - 2 May 2006 6:57 PM - 8 messages
Hi All, I use this subroutine each time I load a form to make it it full-screen. This has always worked 100% of the time, but recently a customer reported that his software was not starting up in full-screen mode. I ...
Score VB6 MSDN CD
Dale - 2 May 2006 6:47 PM - 9 messages
Does anyone know how to download this CD from MSDN subscriber downloads? I have no help available for VB6 without it. Thanks, Dale ...
Score Windows media player
tomS - 2 May 2006 6:05 PM - 7 messages
I am trying to use windows media player in vb6 to play mp3 ,wav, etc files .I have media player on form1 and opened it, associated mp3 files to it, on running the media player comes up, but a message comes up saying object doesn ...
Score ScrollBars on a window with a bigger canvas
mtedeschi - 2 May 2006 5:28 PM - 2 messages
Hi, I'm kindof novice so, in case, forgive me :). I'd like to build an app in VB6 with a main window that I would run as maximized. On this window, along with some common controls, I'd like to have ...
Score SendKeys
Duvida com SendKeys - 2 May 2006 5:08 PM - 3 messages
Hello...can someone send me the script to build (vb6 or vb.net) a script that holds down 'W' key for 'n' seconds(like 5 seconds for example) ... please Thanks for all ...
Score Writing Content of Text File In the Last of EXE (Binary) File
Prabhat - 2 May 2006 4:43 PM - 17 messages
Hi Friends, I want to Append / Write some text (Content of some small text file having 2 lines: Ex:- "MyText.txt" having 170 bytes of DATA) in one of the EXE file (Binary File) Ex: "MyApplication.exe" using VB. I think every file has End Of File MARK, So I want to write Just Above the ...
Score String conversion
Sheldon - 2 May 2006 3:52 PM - 2 messages
In VB6 I exported a date/time field from Access to Excel.  However to make the export work I had to change the date/time to a string format in MM/DD/YYYY hh:mm format.  Now Using Office automation from VB6, I reformat the excel spreasheet.  that ...
Score Circular dependencies between modules
Jed - 2 May 2006 3:38 PM - 2 messages
I am getting a Compile error: Circular dependencies between modules.  The problem seems to result from the following condition. Module A: Option Explicit Public Enum AEnum    ... End Enum Public Sub ASub(X as BEnum)    ... End Sub ...
Score Window focus issue
Scott Ure - 2 May 2006 1:37 PM - 6 messages
Hi, I am trying to track down a problem where an application is losing focus to other random applications when a child window is closed. I have a simple reproduction of it which I think represents the problem I am seeing. ...
Score VB6 checkboxes with MS access problem
Ed - 2 May 2006 12:59 PM - 4 messages
hi, i use vb6 connect access2003 with ADO DATA Control. My database is contain one table and many fields My form is contain many checkboxs and radio controls as; 1.chkCheck(0) 2.chkCheck(1) .. .. .. 18.chkCheck(18) and 1.opt1(0) ...
Score DDE Help
Peter Plumber - 2 May 2006 10:05 AM - 4 messages
Hi, I have a problem with DDE. I shall transfer the following VBA code to VB6 using API functions, but can't get it right      lHydrasID = rsHelp.Fields("HYDRAS_ID").Value      On Error GoTo Open_Err ...
Score full screen button
Dragos.Batista - 2 May 2006 9:31 AM - 6 messages
hi can anybody help me ....how can i make o button than when i click on him a picturebox goes full screen on a position chosen by me? I use visual basic 6 yhank you ...
Score How can I make the selected text of a RichTextBox bold?
Javad - 2 May 2006 6:14 AM - 3 messages
Hello How can I make the selected text of a RichTextBox bold? I read the MSDN help and it said that I should write: RichTextBox1.SelectionFont.Bold= True but there is no "SelectionFont" property or similar thing in my RTB ...
Score Is there an easy way to write a video cutting program?
Javad - 2 May 2006 6:09 AM - 8 messages
Hello I am a VB6 beginner. Is there an easy way for me to write a video cutting program or it needs advanced programming skills? I want my program to cut and split some parts of my video and audio files. ...
Score Variables declared as New not created until first use?
Ney_André_de_Mello_Zunino - 2 May 2006 3:26 AM - 39 messages
Hello. The following code sample and subsequent paragraph were taken from the documentation on the life cycle of forms. ***** BEGIN ***** Dim frm As New Form1 frm.ANewMethod Because frm is declared As New, the form is not created until the first ...
Score WaitForMultipleObjects XP/2000
nik - 2 May 2006 1:30 AM - 2 messages
I am updating an application  that ran on Windows 98/ME..., but I can't seem to get the transfer of packets to work in a new version running on XP and 2000, so I am wondering if anyone else has encountered problems ...
Score Using with
gary - 1 May 2006 10:23 PM - 98 messages
MySub requires a listbox as an object MySub lstList1 How do I code it using a with statement With lstList1     MySub ? End With TIA, Gary ...
Score VB 6 Globalization
sameer - 1 May 2006 9:35 PM - 3 messages
guys, Environment: VB6, Sheridan controls( now Infragistics) All i want to do is Globalize this application by reading the cultureinfo from the the database. I can do all this in .NET real fast but how shoudl i globalize the application in VB6? ...
Score resize treeview and listview on MDI form
vonClausowitz - 1 May 2006 8:34 PM - 6 messages
Hi All, I have created an MDI form with on the left side a picturebox. On the picturebox at the top I have a treeview and at the bottom a Listview. I use following code to set the width of the treeview and Listview but ...
Score xist,_do_you_want_to_create_it?"
Andrew - 1 May 2006 8:28 PM - 7 messages
I am using code to cut or move files from one location to another. I want it to be all silent, or show no MsgBox’s or dialogs. When I start to move the files, every thing is quiet except for the message “Directory does not exist, ...
Score convert double to decimal
mlafarlett - 1 May 2006 6:47 PM - 5 messages
In the example below, the 'convert.ToDecimal' removes the last 5. I'd like to get the number, in tact, moved to the decimal veriable.  Any help would be greatly appreciated.         Dim dcml As Decimal ...
Score Typename function leaks memory in VB
Santh - 1 May 2006 6:39 PM - 3 messages
I am using a TypeName(control) to check the control type in my activex controls collection. If Typename(m_Ctrl) = "ComboBox" then          ..... End if I am using this in Activex control and used that Activex control in ...
Score Erase portion of form
George - 1 May 2006 5:38 PM - 3 messages
Hi all, I am fooling around with a card game and I need to redraw a players hand.  I would rather not redraw the whole screen, but would rather erase/claer the portion of the scrren that is reserved for the particular player.  I am using ...
Score how to restrict text to digits and commas using RegExp?
Rich - 1 May 2006 4:09 PM - 3 messages
Hello, I need to restrict some text in a text box to only digits and commas. '123' is OK '123,12345' Is OK '334599992' is OK '3929292983,1,123' is OK '12332323,1,123,23323,a' is not OK because there is an 'a' char ...
Score Capture events of dynamically created controls
Matthew Connor - 1 May 2006 1:08 PM - 3 messages
Hi all! I have an ActiveX control that I wish to dynamically instantiate at runtime in my VB6 project and I would also like to respond to events that control raises. Presently I have this *which works*: '-------------------------- Private WithEvents ucMyControl As MyClass.MyControl ...
Score Invalid use of Me Keyword
blinky44 - 1 May 2006 12:47 PM - 3 messages
Hey Guys, I have this code in a standard module that references the keyword 'Me'. I know Me can not be used in a standard module but I am not sure what I should use instead of this.  Can anyone give me a hand with this? ...
Score pointer to pointer
Dhandapani - 1 May 2006 8:06 AM - 12 messages
Hi, I have to call a function which is in dll in VB6.  The declaration of the function in the dll is something like this: int **hadmat1(long r) The function returns a pointer to pointer to an integer. How to declare ...
Score Is VB right for developing a small app?
Ben Holness - 1 May 2006 12:10 AM - 3 messages
Hi all, I am primarily a PHP programmer, although I have programmed in many other languages, including C++ (unix) and Visual Basic 2 (a long time ago). I need to develop a small application, that will sit in the systray and ...
Score Pass a control into a .BAS?
Richard Lewis Haggard - 30 Apr 2006 7:24 PM - 24 messages
In a VB6 OCX, I have a .BAS module that is being shared between two forms. Each of the forms has a timer. Sometimes, it is necessary to be able to enable or disable the timer from within the .BAS code. What is the syntax ...
Score drawings
petehill789 - 30 Apr 2006 7:19 PM - 3 messages
I am drawing plans (gardens, kitchens and things) into a picture box and I would like to change from using normal VB methods to using API methods so that I can gain some speed. The problem is that I use my own ...
Score Sharing variables and code in an OCX between two ctl's and a .bas
Richard Lewis Haggard - 30 Apr 2006 6:48 PM - 3 messages
I have an OCX which has two CTL's in it. I'd like to create some code that both of the CTL's can make use of. The shared code and the two CTL's all need to share some global variables. The problem is, I'm having a bit of ...
Score Check code? Params and stored procedures
Sandy - 30 Apr 2006 5:46 PM - 8 messages
Hello - I am using stored procedures to add, update, etc.  Some of my code (specifically for loading and updating and record navigation) is listed below.  It seems to do the job, at least when I test it.  ...
Score My.Computer.Network.IsAvailable question - VB 2005
J - 30 Apr 2006 4:22 PM - 4 messages
Hi can someone tell me if the My.Computer.Network.IsAvailable will show true if dial up is connected? thank you, Ed ...
Score How can I get the size of a file?
Javad - 30 Apr 2006 2:45 PM - 2 messages
Hello I am a VB6 beginner. How can I get the FileSize of a file that is shown in my FileLIstBox? Is there a way to show the file size in the same FileListBox? Thank you ...
Score Microsoft Word / Visual Basic editor
Richard - 30 Apr 2006 2:28 PM - 3 messages
Who has used the Visual basic editor in Microsoft Word 2003? ...
Score Datagrid refresh problem
Martin - 30 Apr 2006 1:05 PM - 6 messages
I'm having a problem refreshing a DataGrid. I have an app that receives and sends data via a couple of socket connections. I temporarily store the data in a table in an .MDB file. I want to provide a way for the user to view this table for ...
Score the well known VB6 setup.exe crash problem
kileran - 30 Apr 2006 5:49 AM - 12 messages
The problem is well documented, and has multiple fixes, none of which are working. for those who dont know, i'm talking about the (confirmed by microsoft) bug that crashes setup.exe as soon as it's run. Two fix reports i've read and tried. the first involves changing some ...
Next »