Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score reg.savesetting error
Norm - 29 Oct 2005 11:46 PM - 10 messages
I keep getting an error when trying to use reg.SaveSetting or reg.GetSetting, but only in WinME. I get an error message that the Object variable or With variable is not set. Am I missing a reference setting that I am not aware of. The procedue works ...
Score Trapping Listview column changes
Kjell - 29 Oct 2005 11:46 PM - 3 messages
Hi reg. a Listview in lvwReport view style. How can I trap when user changes a ListView's Column Width property?? (i.e. dragging the handle between two column headers) Kjell ...
Score Problem with User defined type
Kjell - 29 Oct 2005 10:11 PM - 12 messages
Hi Is it possible to add var objects declared as 'user defined types' into a collection? in a similar way as working with class objects something like this: 'At module level Public Type MYPROJSTEP   StepID As Long   CreatedBy As String * 20  ...
Score change shortcut icon
FM - 29 Oct 2005 5:38 PM - 2 messages
Whats the recommended method of changing the icon of a shortcut (shell link) to another icon image? Thanks ...
Score writeline to file
SiouxieQ - 29 Oct 2005 2:52 PM - 3 messages
Hi, I'm new to VB and am trying to write code to send data to a file. So far all I've been able to get to the file is a row of commas and the date, and now I have lost the data also. ...
Score Use of Crystal Report 11 in VB6.0
Shivendra - 29 Oct 2005 12:43 PM - 3 messages
I am using Crystal Report 11 in My Vb6.0 Application. I want to know  which component required to add for  using  Crystal Report 11. Thanks in Advance ...
Score VB mobile
Joe - 29 Oct 2005 8:34 AM - 6 messages
I have doubt is it possible to program the mobile using VB ...
Score How set TreeView to right to left
Igor - 29 Oct 2005 6:43 AM - 3 messages
HI! I have a problem to set a standard TreeView control to right to left direction. In VB6 there is no such property, but in VB.NET the existing one does not works. Is there any possibility to set VB6 TreeView control to right to left ...
Score Animated GIF!
Arpan - 29 Oct 2005 6:37 AM - 3 messages
I want to place an animated gif in my VB6 application which makes use of the Microsoft Internet Control (WebBrowser). Before posting my query, I had gone through a few posts on this topic wherein a few people have said that as such, animated gifs cannot be loaded in a Form ...
Score BlockInput Failed~ Help!!
o1j2m3 - 29 Oct 2005 2:52 AM - 12 messages
The winapi BlockInput function dunno why... not really function well... in Visual Basic 6.... BlockInput True or BlockInput False also will block the input.... none of them can release the keyboard and mouse, unless I press CTRL-ALT-DEL The system I am testing on is XP SP2 Professional... ...
Score Trig Math Help
DanS - 29 Oct 2005 12:36 AM - 5 messages
How do ? I'm working with a flat 2D image and projecting it on a 3D plane. The result's were puzzling since they weren't as I expected and made no sense. (You can skip down to the actual question if that all your ...
Score Bitwise Operator Help
HLong - 28 Oct 2005 10:29 PM - 5 messages
I am trying to understand an example where the Least Significant Bit is replaced.  The code is in C# and I am having problems with a line that reads: B= (byte) (Value == 1 ? B | (1 << poss) : B & ~ (1 << poss)); ...
Score Microsoft Internet Controls!
Arpan - 28 Oct 2005 10:28 PM - 2 messages
I am using the component Microsoft Internet Controls (WebBrowser) & am encountering some problems. In the "Properties" window, I have set the "AddressBar", "MenuBar" & "StatusBar" properties of the WebBrowser control as True but when I run it, I don't find either of them in the browser. I even hard-coded it ...
Score Weird behavior in VB6sp6
Tim James - 28 Oct 2005 8:21 PM - 5 messages
The left shift key on my keyboard sometimes sticks for just a second. The other day I was writing code and it stuck when I was typing ".Top"... And It turned out ".TOp" Now that I diddnt catch this mistake and VB diddnt catch it... ...
Score Can VB6 get a picture's Dimensions...
Jeff Harbin - 28 Oct 2005 7:45 PM - 8 messages
In WindowsXP in the Windows Explorer window there is a column of data if you choose the Details view that lists the picture dimensions.  Can VB6 read a picture's dimensions so that I might build a list of dimensions for all ...
Score VB.NET 2003 << How to disable intellisense? >>
ChairShot - 28 Oct 2005 6:40 PM - 2 messages
I am a college student working on assignments. I'm finding it difficult to get anything done because intellisense is uncooperative. I just want to turn it off so I can finish what I am doing here. Thanks, dos-man ...
Score I must be going crazy....
Bryan Dickerson - 28 Oct 2005 6:29 PM - 5 messages
This is basic stuff, but I'm getting a Run-Time Error 6 on the For statement in the following sequence...                n = mvarsrcLineItems.Count                For i = n To 2 Step -1 ...
Score On Friday's Only...
Ken D. - 28 Oct 2005 6:26 PM - 8 messages
I have a small vb file that I run in Windows Scheduler to remind the user to perform a backup to a locally installed database.  Since the user needs to be logged on to run the job, I wanted to fire the job At Login but only on ...
Score Passing Data Between Different Apps
tom - 28 Oct 2005 6:02 PM - 3 messages
Hi, I have a VB6 app that launches a C# app for the user to interact with.  The C# app gets user input for the VB6 app.  The reason fot the app to be written in C# is because the form is highly configurable with many different ...
Score Help With VB6, MS Access and text files
andy.mcvicker - 28 Oct 2005 5:35 PM - 4 messages
Hi Gang I have a new (small) project at work where I have to open a few text files that have input data from multible inputs.  I need to take this data and put them into an Access 2003 database where the data will be ...
Score MySql/VB .NET --> Updating/printing
thenewgeek - 28 Oct 2005 5:13 PM - 2 messages
I have a MySql database. this database has two tables (customers and Invoices). I created a VB .NET application which allows me to access the database. I created a tabcontrol. The first tab is invoices, second tab customers and third tab search. ...
Score Newbie
mb - 28 Oct 2005 3:30 PM - 2 messages
Can someone point me in the right direction for the newbie discussion folder? Thanks, mb ...
Score Control Arrays
Antony - 28 Oct 2005 2:36 PM - 5 messages
Hi, I am enumarating through the form.controls collection an using a select case to determine the type of control select case typename(c) case "label" If member of control array do this else do this end if case "textbox" ...
Score Counters
Rick - 28 Oct 2005 1:49 PM - 16 messages
In vb6, How can I create a "counter" that keeps track of the number of times an application had been opened, without showing the user a file the he can delete? ...
Score Folder/Drive existance
Wyne - 28 Oct 2005 12:44 PM - 4 messages
Hello, Currently, I am using FileSystemObject  to check the existance of a specific folder (or drive). The functions I'm using are    objectname.FolderExist(folderpath)    objectname.DriveExist(drivename) Because I frequently excounter problems with ScrRun.DLL, I want to use some ...
Score VB6 coding style checker
Dirk Theune - 28 Oct 2005 12:33 PM - 2 messages
Hi, I am looking for a VB6 coding style checker which checks rules like: - existence of comment blocks for methods, events, ... - existence of error handlers (On Error Goto) - existence of Option Explicit - max. length of methods - ... It should be possible to customize the rules and define own rules. ...
Score activex - one more :)))
_john_ - 28 Oct 2005 11:31 AM - 2 messages
I forgot about this one:)) On my custom controll I have textbox that is shipped with vb. When I use my controll in code I have to use for example this line: myTextBox.text = "sample" insted (with standard textbox) of: ...
Score activex - using object as parametar
_john_ - 28 Oct 2005 11:25 AM - 4 messages
Hi ppl, I'trying to create custom controll that has object as parametar. When I declare it on controll as object then every time I use this controll on creation I get error like "Object not set". Purpose of this parametar of ...
Score Re: Copying file from hosted remote sever to local machine
Ian Davies - 28 Oct 2005 10:37 AM - 2 messages
Eureeka Ive found a solution. Visual basic offers functions that use the 'Internet Transfer Control' which can communicate with remote server and manipulate, put and get files to and from it as well as other interesting things. If anyone is interested do a search on Microsoft website for 'Internet ...
Score Moving to beginning of a text file in vbscript
Andy M - 28 Oct 2005 10:24 AM - 8 messages
I want to open a text file and read all the info in there. then instead of closing and opening it to get to the start,  I want to "rewind" to the beginning. ?? Any help or suggestions would be appreciated. ...
Score modal/modeless form
PC - 28 Oct 2005 9:24 AM - 11 messages
is there a way that a form can know whether it is shown modal or modeless to elaborate: in form1 i can say: form2.show vbmodal or in form1 i can say: form2.show is there any way form2 can know if it is modal or modeless, without form1 ...
Score detect all drivers Windows is using, approach?
mscir - 28 Oct 2005 7:50 AM - 2 messages
I would like to write a program that would detect all of the drivers my Windows 98 is using, and back them up to a folder on my hdd. There are times in the past when my system crashed and having the drivers backed ...
Score Create Process API
Kamran Ali - 28 Oct 2005 6:04 AM - 2 messages
Hello All, I cannot able to solve problem while using CreateProcess API in visual absic 6.0. I want to open a new .exe (e.g notepad.exe) file with CreateProcess API and it never take parent id from the parent process and open as on same level ...
Score How to mouse click on a command button of a running application from a VB program?
Athena - 28 Oct 2005 4:52 AM - 21 messages
Hello,     I want to control an application (3rd party) by using a program I am developing in VB. What I want to do is the following: 1) Place the mouse cursor over one of the command buttons of the running ...
Score Changing array dimensions at runtime
Amit Mohod - 28 Oct 2005 4:49 AM - 2 messages
Hi, how can i change the dimensions of arrays at runtime? ...
Score Log on as Another User
Robert Lie - 28 Oct 2005 4:39 AM - 2 messages
Dear All, I want the users of my application to log on as administator temporaryly. Pls see the code below. strbarcode = strwarehouse & "-" & strdtreceived & "-" Set btApp = CreateObject("Bartender.Application") btApp.Visible = True '===> Need to Log on as Administrator, need help!!! ...
Score commondialog
inquirer - 28 Oct 2005 2:30 AM - 9 messages
I am using the commondialog to save a file. If I leave the dialog form by clicking Cancel or close it by choosing "X" (or any other way) so that a file name is blank, how can I trap this condition? ...
Score CPU is too fast when saving file to hard drive!
Jack - 28 Oct 2005 2:06 AM - 14 messages
I have the following problem: FileCopy File1, File2       'copy Out.txt into Out.bak     If Dir(File2) <> "" Then       Call TrimLogFile(File1, File2, "Out")     End If ...
Score Class Termination Woes
Kevin Provance - 28 Oct 2005 1:45 AM - 19 messages
Okay, here is the deal: I keep all my Internet read/write functions in a class module.  I keep the Init stuff in Class_initialize and the clean up in Class_Terminate. Everything works fine. Now.  In the form which reads an image off the Internet and places it into ...
Score WINSOCK and VB6
jerry_ys - 27 Oct 2005 10:34 PM - 2 messages
i have heard that .NETSockets extend WINSOCK functionality to VB. My question is has anyone attempted this with success and if so, where do i get the .NET Framework classes. It would then be possible to use asynchronous I/O methods and many other things for higher performance. ...
Score web based database
Guillermo - 27 Oct 2005 9:41 PM - 18 messages
Gentlemen, My VB6 application works great on my PC. Now I have to upload it to my website, together with the database. How do I set the Data1.Database property?. Will it take an "http"://www....." URL as valid?. Thanks. Guillermo. ...
Score User control questions
Bryan Dickerson - 27 Oct 2005 7:42 PM - 11 messages
I have a user control in which I have some code as follows: Private Sub UserControl_Paint()    On Error GoTo ErrHandler    If UserControl.Ambient.UserMode And (Not bInitDone) Then       MsgBox "UserControl_Paint: Initializing..." ...
Score chimstry
fima - 27 Oct 2005 5:17 PM - 4 messages
Hi, I'm planning on building a program that will simulate some processes in biochemistry labs does anyone know about books, guides or other stuff which can help in coding the algorithms ill need? such as the ones ill need to simulate an electrophoresis for example and ...
Score Setting ActiveX control properties with <param> tags
Chris Lieb - 27 Oct 2005 4:00 PM - 5 messages
I am writing an ActiveX control that gets information from the serial port and displays the results in a label.  I have declared the property "value" that will hold this data.  This control is going to act as a ...
Score Installation of MSMQ - Message Queueing
Bill Baker - 27 Oct 2005 3:55 PM - 9 messages
Is there an installable version of MSMQ available, and is there a silent install mode available? Thanks, ...
Score Running VB6 app produces Office error "The feature you are trying
Michael Cook - 27 Oct 2005 3:31 PM - 7 messages
I have a VB6 app that works on most machines. On a few Windows 2000 computers, launching the program produces a message from MS Office that "The feature you are trying to use..." and it prompts for the CD. I can have the ...
Score MouseMove!
Arpan - 27 Oct 2005 3:17 PM - 7 messages
A VB6 Form has a CommandButton with an image (i.e. no caption, the Picture property of the CommandButton has been assigned a gif image). Assume that when the Form loads, the image on the CommandButton is named 'Img1.gif'. ...
Score Image On Buttons!
Arpan - 27 Oct 2005 1:44 PM - 11 messages
How do I make a gif/jpg image cover the entire area of a CommandButton? By "entire", I mean not even a millimeter of the CommandButton should reveal the desktop color? Thanks, Arpan ...
Score Getting around a restricted connection from an external computer
Ian Davies - 27 Oct 2005 12:29 PM - 3 messages
Hello Stefan or anyone else who can help Some time ago you suggested a solution to my original post about connecting to data on a remote server from a VB application where my host doesnt allow a direct external contact. Your solution is below. However my host doesnt ...
Score B/W Image!
Arpan - 27 Oct 2005 12:11 PM - 3 messages
Can a colored image/picture (gif, jpg etc.) be converted into black-and-white programmatically in a VB6 Form? Thanks, Arpan ...
Score How can I get Screen Resolution?
Amit Mohod - 27 Oct 2005 11:31 AM - 8 messages
hi all, Can any one tell me how can I get the current resolution of the display? I m i wrote a code which resize all controls when resolution is changed at run time or form is resized. But at design time I hard coded the Starting ...
Score Reading data from Outlook forms
Dave - 27 Oct 2005 10:43 AM - 9 messages
Hi I need to extract some data from a custom form in Outlook, there are several hundred of these so I don't want to do this by hand but I only need to do it once so I am not too worried about elegance or efficiency. ...
Score Weeks in VB6
Tor-Magne - 27 Oct 2005 8:32 AM - 3 messages
Hi I have problem finding how to converting between week number and date - using functions in vb6. If I have a date how do I find the week number - and if I have the week how do I find the start/end dates? ...
Score Non-compatibility of a VB6 dll although code unchanged
Kaat - 27 Oct 2005 7:44 AM - 12 messages
Hi I have the following situation: I have a (quite large) VB6 dll which I compile in VStudio. Then, without changing anything, I recompile with binary compatibility set to the dll compiled just before. I get a message about broken compatibility, ...
Score SQL Parser
Frank Rizzo - 27 Oct 2005 6:52 AM - 3 messages
Is there a implementation somewhere (in VB preferably) of tokenizing an SQL string into constituent pieces?  I am not looking for complicated SQL, just relatively simple stuff (select, update, delete, etc...) Thanks. ...
Score creating text file in vb6
inquirer - 27 Oct 2005 6:08 AM - 6 messages
I am trying to create and open a text file in VB6. I have used the example in the Help: Dim fso As New FileSystemObject, fil As File Set fil = fso.CreateTextFile("c:\testfile.txt", True) but whenever I try to run it I get ...
Score Detect Dependency Software
Ted - 27 Oct 2005 1:41 AM - 4 messages
Any software recommendation that detects dependency ? Thanks ...
Score Databases
Sharp - 27 Oct 2005 1:17 AM - 7 messages
I've managed to get set up with a data control that lets me view the contents of a database file and step through it manually. I need to be able to have my program do the stepping through the ...
Score Need to Write to a text file on a different computer from a webpage
LaliberteC - 26 Oct 2005 8:57 PM - 5 messages
Does anyone have any tips on how i would go about doing this i need to create a webpage that will have a submit form that will write to a text file on another computer whose ip address and filename i have access ...
Score Getting the file length
MikeG0930 - 26 Oct 2005 8:23 PM - 9 messages
Hi everyone! I have the following code: Private Sub Command1_Click() Dim Name As String Dim CalDay As Integer Dim EEP1 As String Dim i As Integer Dim r As Integer Dim c As Integer     Adodc1.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;" & _ ...
Score XML Escape Sequence routine
Frank Rizzo - 26 Oct 2005 7:03 PM - 6 messages
I have an app that builds an XML file manually (without the XML DOM).  I know I could use the XML DOM but it is not an option in this case. Is there a routine somewhere out there that converts XML special ...
Score Change Debug Starting Directory in Visual Basic IDE
guxu - 26 Oct 2005 6:54 PM - 8 messages
My VB application needs be run in a directory other than my source since it looks for some other dlls in the current directory.  I could make the exe and put in the other dir, but it would be hard to debug ...
Score A Q about OS
Rick - 26 Oct 2005 6:38 PM - 4 messages
In vb6 I created some codewhich depends on the OS(Windows 95, Windows 98, Windows XP, etc. I used the environ Function and the sysinfo.ocx control to get the operating system. It works fine for Windows NT based OS, but it doesn't for Windows 95 nor ...
Score Copy a Directory to a CD-RW -- Problem
Sam - 26 Oct 2005 5:09 PM - 4 messages
OS=Windows XP Professional, VB6 Enterprise Edition I have tried several examples of code (from this BBS and others) using the API SHFILEOPERATION. On my system, I have the following drives: A, C, D, E, F, and G. Drives F ...
Score Where to purchase VB 6.0
Sandy - 26 Oct 2005 4:25 PM - 5 messages
Hello - Any suggestions on the best place to get a cheap copy of VB 6.0?  If so, should I get Enterprise edition or Professional, etc. and how much should I expect to pay? ...
Score Is this ETC (Evil Type Coercion) ?
Jack - 26 Oct 2005 3:03 PM - 5 messages
Just one more question: When using GetPrivateProfileInt() API  the return value is the integer. Can I cast that value into variable which is declared as Long or Byte? or it will be ETC?  :) and I should redo all my variables declarations? ...
Score Toolbars
James - 26 Oct 2005 2:50 PM - 4 messages
We have multiple customized toolbars for the VB6 IDE.  DOes anyone know where they are stored so we can coy them simply to other machines instead of recreating them? ...
Score VB Code - Increment non-standard number
linda.h.jackson - 26 Oct 2005 1:25 PM - 17 messages
Hi, I need help with VB code to increment a non-standard number field. For example: Pkg_ID=2008.1000 I need to have the first value for Pkg_ID=2008.1000.  Then I need the second record for Pkg_ID=2008.1001, third record Pkg_ID=2008.1002, and ...
Score Create DSN in Runtime
Joe - 26 Oct 2005 10:57 AM - 11 messages
Is it possible to create DSN in runtime. ...
Score Question on Permissions
Peter Newman - 26 Oct 2005 10:03 AM - 3 messages
vb6 (sp6)  & SQl 200 (sp3) im running the following code in order to try and track down a problem oPKG.LoadFromSQLServer ServerName:=sServer, Flags:=DTSSQLStgFlag_UseTrustedConnection, PackageName:=sPackageName I have a simple AxtiveX task which executes ok, however when i ask the ...
Score string concatenation efficiency
MP - 26 Oct 2005 1:50 AM - 31 messages
Hi, There is always much discussion on the inefficiency of vb string concatenation. The following is adapted from a recent post on this by Mike Williams. I often concatenate strings in multiple locations through a project to build a report string for debugging purposes. ...
Score Form_MouseDown
Jack - 26 Oct 2005 1:30 AM - 17 messages
Form_MouseDown is not activated when I click on form's edge to resize it. (Form_MouseUp is also not when I release the mouse button) Which event can be used for that? I want to stop screen from flickering when resizing the form. ...
Score Develop an application which run from a CD
Eduardo - 26 Oct 2005 1:27 AM - 12 messages
Can I develop an application with Visual Basic which run from a CD without the need of installing on the target machine. I want to develop an applicaction which run when the user insert the CD in its computer, without any problems about install the application on the ...
Score whats an .obj file?
MP - 26 Oct 2005 1:20 AM - 5 messages
Hi Just noticed a whole gob of .obj files magically deposited in one of my working folders a few days ago? Is that trash left over from when i was crashing all over the place due to a bad api declare? ...
Score Newbie: algorithm - code help
stanto123 - 25 Oct 2005 9:02 PM - 5 messages
Hello, I have the following problem that i am trying to get a "clean" solution *before* my code becomes totally spaghetti. I'll try to describe it: Not giving too many details, i have a set of parameters (temperature, pressure, etc.) and various things associated with them in a tabular ...
Score Parse bmp to get "average" color?
Doug - 25 Oct 2005 8:14 PM - 8 messages
Anyone know of any algorithms/code snippets that will analyze/parse a bitmap and come back with a color that would best "match" the palette? I found a wallpaper program a long time ago that did that to set the ...
Score Q: Breaking out of paused code
newsposter - 25 Oct 2005 7:55 PM - 3 messages
I'm working on a video system, where the user clicks a button and it plays video from a video server.  The code works perfectly fine, except that I can't quite get the page to stop execution when the user clicks ...
Score Globalization & numbers & SQL Server
Jon - 25 Oct 2005 6:54 PM - 5 messages
What is the recommended way to handle the following issue? I have a VB 6 app that is being localized.  It uses SQL Server 2000 as the backend database.  It uses RDO as the data layer protocol, it's an old app! ...
Score How to return value from ActiveX EXE ?
fniles - 25 Oct 2005 6:35 PM - 13 messages
I have a main program who calls ActiveX EXEs that gets data and send the data to a client program. There could be many concurrent clients requesting different data, so there could be many ActiveX.EXEs running at the same ...
Score creating activex controll in vb 6.0 - again
_john_ - 25 Oct 2005 5:41 PM - 2 messages
Im trying to create controll that is based on textbox controll that is delivered with vb 6.0. I have been using add-in ActiveX Control Interface Wizard. I have created my custom property and this works fine. But... I'm still missing DataField, Multiline, ...
Score Active Directory Universal Group Caching
throck25 - 25 Oct 2005 5:19 PM - 2 messages
Is there a way to read the Active Directory local Universal Group Cache using VB 6. I know it can be done with .Net but the clients using the application do not have the framework loaded. Thanks in advance. ...
Score Configuring Services
Bill Baker - 25 Oct 2005 4:48 PM - 5 messages
I know that NET START can be used to start a service, but are there commands and/or a utility for automating the configuration of services through VB6 (i.e. setting the Startup Type and Log On parameters)? Thanks, ...
Score shelling to another program,users choice
SteveC - 25 Oct 2005 4:31 PM - 8 messages
On an app I'm finishing up I have "open text editor" on the menu, currently just use windows notepad,  Dim Notepad As Variant Notepad = Shell("notepad.exe" ,1), but it hit me that others use different text editors. Is there a way to let the user set their own ...
Score Structure implementation
musclpete - 25 Oct 2005 2:04 PM - 2 messages
I have a structure called Stitch that has an x,y coordinate, a maincolor mc and a secondary color, sc. I want to render these @ the x,y coordinate. I've already done that without it being in a structure. ...
Score Outlook Automation
RonnieB - 25 Oct 2005 1:48 PM - 9 messages
I have a VB application which runs continously on a desk top and "looks" in the inbox of the Outlook account and then performs a task depending on the Subject of the E-Mail.  If I VNC to that desk to and am "logged" on to that ...
Score XP Service Packs and Updates effect on VB 6 controls
GY2 - 25 Oct 2005 1:21 PM - 5 messages
I have a problem with a small jpeg image within a Scrollbar & PictureBox 'viewport' setup (as the VB Help file calls it) not being repainted in response to a scrollbar event. I used a machine running XP SP2 to develop ...
Score debug problem in vb6
Wally McClure (MVP) - 25 Oct 2005 1:10 PM - 6 messages
I am not sure if anyone knows anything about this type of issue or can help, however, I thought I would put this out to both newsgroups and see where it goes. I have a very complicated VB6 application that I have inherited a while ...
Score Form_load and .top
John - 25 Oct 2005 12:07 PM - 9 messages
I have an aplication that loads on the top of the screen (Me.top = 0). One of my clients runs Naturally speaking which sits up there so the top of my form is hidden even though NS is set to be on top always. If ...
Score Active-X dll can not be called by Active-X exe when compiled
Kaat - 25 Oct 2005 10:21 AM - 7 messages
I have a standard exe, an activex dll and an activex exe. The standard exe references the dll, as does the activex exe. From the standard exe, I call the activex exe. The activex exe runs fine as standalone. When I call the activex exe (as component) from the standard exe, I get an ...
Score Connection problems SQL
Tor Inge Rislaa - 25 Oct 2005 7:31 AM - 9 messages
Hi I have developed an application that I have been running against MS SQL Server 2000 for several years with no problems. I have tested it against several servers with success. But on this new server I am testing it on it ...
Score COMM control refresh
Abdhul Saleem - 25 Oct 2005 7:08 AM - 4 messages
Hi, Is there any way to refresh COMM control without unloading and reloading the form? The code snippet currently used is below. Option Explicit Private Sub Form_Load()    'Debug.Print IsDeviceConnected(1, 0.5) ' Wait up to 0.5 Seconds ...
Score Common Dialog Control
Joe - 25 Oct 2005 6:57 AM - 4 messages
I am using CommonDialog1 control in my project. In properties i changed the Dialog Title to "Choose Picture". Is it possible to open only JPG or GIF Format files. I tried to edit Filter property to .jpg but i didn't get the result what may be the problem. Can anyone please help ...
Score Using VB to check IP Address subnet
Luke Bellamy - 25 Oct 2005 4:56 AM - 5 messages
Hi - I'm just looking around for a piece of VB6 code that you can pass in an IP address and check if it's in the subnet range? Thanks mate. --------------- Luke Bellamy Newcastle, Australia ...
Score Use TextBox Text As Function Name!
Arpan - 25 Oct 2005 2:21 AM - 10 messages
A VB6 Form has 4 OptionButtons - A, B, C & D & a hidden TextBox. When the Form loads for the first time, by default, the 1st OptionButton "A" is checked & the text in the TextBox is "A". Now when another ...
Score Could not find the answer in VB help document?!
Andrew - 25 Oct 2005 2:17 AM - 5 messages
Hi, friends, I tried to convert a hex value to long using VB6, but I could not find how to do it in VB help library. I found Hex() to convert a long to hex number, but could not find. I tried CLng("C3E") or CLng(C3E), or CLng(0&C3E), etc., ...
Score Sort currency column in Datagrid
Vanny - 24 Oct 2005 9:10 PM - 3 messages
I have a small application in VB6 connected to MS Access database.  I like to sort the column (which the datatype is currency) on the datagrid by doing the headclick. The sort function does not work correctly (e.g. ...
Score How to get hold of files inside opened WinZip window?
Jack - 24 Oct 2005 9:06 PM - 3 messages
Here is my problem: I created small update.exe file which task is to copy 3 files to some folder on hard disk (overwrite existing files). I created compressed update.zip package which contains update.exe + 3 additional files There is NOT a problem if I unzip first all the files to some folder on hard ...
Score Which API to use to retrive the current user name?
Jack - 24 Oct 2005 8:32 PM - 10 messages
...
Score Problem ending a socket connection
Martin - 24 Oct 2005 7:50 PM - 5 messages
How can I terminate a winsocket connection (from the client side) such that the server-side will know it without actually shutting down the client-side process? If (on the client-side) I do a Winsock.Close without shutting down the ...
Score Writing to file - CPU usage
fniles - 24 Oct 2005 6:31 PM - 22 messages
When I use PRINT to write to a file, it takes up CPU. Is there any way to write to a file without using a lot of CPU ? Thanks. Open App.Path & "\Log.txt" For Append As #1 for x = 1 to 100000 ...
Next »