Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score How are strings returned to VB from a C DLL?
Richard Lewis Haggard - 8 Apr 2006 9:30 PM - 16 messages
What happens to a string that is being returned from a C DLL to a VBasic caller? Is the string converted or marshalled in some way? I thought a BSTR was an array of Unicode characters preceded by a 16 bit character counter ...
Score SetPropA & END statement crashes VB IDE
Jeff Givens - 8 Apr 2006 9:15 PM - 10 messages
using: SetProp frmMain.hwnd, "PrevWndProc", SetWindowLong(frmMain.hwnd, GWL_WNDPROC, AddressOf WndProc) when an END statement is encountered the IDE closes. Stopping program execution is no problem. Any suggestions as to how to get around/fix this? Thanks. _________________________________________________________________ JG...                                                 Jeff Givens ...
Score Can't find a DLL when run from Debug
Richard Lewis Haggard - 8 Apr 2006 5:48 PM - 14 messages
I have a very simple project that is making use of a DLL. This DLL has been copied to the same directory that contains the project's EXE and form. If I just double click on the EXE then it runs but if I try to run the simple ...
Score Returning a string from a DLL to VB
Richard Lewis Haggard - 8 Apr 2006 4:22 PM - 5 messages
Is there a problem with how the following code is implemented? I have inherited a VB OCX that is calling into a DLL that was built in C++. The function being called receives an integer and a string. The function ...
Score Place to initialialize globals in an OCX?
Richard Lewis Haggard - 8 Apr 2006 3:31 PM - 19 messages
Given that option explicit is on and that there are global variables defined in an OCX, is there some safe place, event or method where these global variables can be initialized before they are used? The reason I ask is ...
Score how to populate a combox from a sql server db table
wai-tak sit - 8 Apr 2006 6:11 AM - 4 messages
Hi, Can anybody help to teach me how to populate a combox from a sql server db table. Many thanks. WT Sit ...
Score loading bitmap
tomS - 8 Apr 2006 6:08 AM - 3 messages
I have a silly question , When using loadsurface(app.path & "\ bitmap file", where do you store the bitmap that you need to load ?. ...
Score Using variable to reference control array
BruceS - 8 Apr 2006 4:03 AM - 5 messages
Hi, I have a form with 10 different groups of "totals" info.  Each group is a separate control array (textboxes) containing 6 items. To eliminate a lot of almost-duplicate code, I would like to reference a single, specific control by using a variable of the group name along with a ...
Score Select Case for Option values
PeteR - 8 Apr 2006 1:01 AM - 17 messages
I have four option buttons, Option1(0),  Option1(1), Option1(2), Option1(3) in a frame. How do I use Select Case to access the option values?     Select Case [What do I put here?]         Case 0 ...
Score How to tell is a string is empty?
Richard Lewis Haggard - 8 Apr 2006 12:43 AM - 5 messages
Here's an easy one. What is the syntax to detect an unitialized string? Example of what I want to do but with incorrect syntax: ' In the global declarations area Dim str as String ' In a function somewhere... if str = Nothing then ...
Score Check Box in Unbound Datagrid
sam - 8 Apr 2006 12:41 AM - 7 messages
The following line displays as Yes No but I can't work out the check box Datagrid.DataFormats.Item(2).Format = "Yes/No" ' or "True/False" TIA for any assistance Sam Australia ...
Score Variable in an Email Function
TimL - 7 Apr 2006 10:33 PM - 3 messages
I am using VB6 to write the following code.  I have created a variable, XMLOut, that holds a string and I am trying to pass it to the Email Function so that it is the TextBody of the email, but the variable is always blank. ...
Score Controlling a Fuji camera.
Mr Ploppy - 7 Apr 2006 7:29 PM - 5 messages
Hello chaps, I'd like to control my Fuji F610 camera using my PC.  I'm finding it difficult to locate the software to do this, so I'm going to write it myself (!), if it's possible! Does anyone have any idea how to control a camera (take a picture etc) ...
Score Quit my vb6 dll but keep myHelp.chm open
Peter T - 7 Apr 2006 7:28 PM - 6 messages
Although this is a help authoring question I wonder if any of you guys can get me out of a twist with controlling my chm help file. I have a vb6 activeX dll called as needed from my vba Excel addin. The dll ...
Score Help in Copying VB Project
AK - 7 Apr 2006 7:28 PM - 9 messages
Hello, I am trying to Copy my project to another folder. I do this so as to start another version for editing etc. I tried creating the new project in my target folder and then adding (just like I add a new object in design mode, not copying files from one folder to ...
Score Creating an excel spreadsheet from VB6
Sheldon - 7 Apr 2006 6:11 PM - 2 messages
I successfully create an excel spreadsheet using the following code     Set rs = gDB.OpenRecordset("tblCaseSummaries")     strSheetName = "Keep"     eSQL = "SELECT * INTO [Excel 8.0;DATABASE=" & gstrCaseSummariesLoc & "\CaseSummaries.xls;HDR=Yes]." & strSheetName & " FROM [tblCaseSummaries] ...
Score Enum Resists Renaming
Desi - 7 Apr 2006 4:26 PM - 5 messages
I know I'm missing something simple, and could have sworn I've read about this somewhere, but at the moment I don't recall where to fix this. Public Enums, in a MultiUse class module. I want to adjust the spelling on several of them. ...
Score Read/Write Keywords, Rating, and other file attributes
Vista 5308 Tester - 7 Apr 2006 1:58 PM - 3 messages
Are there any code snippets or docs which explain how to access (both read and write) the extended file attributes? ...
Score Communication with Pinpad
pcleiter - 7 Apr 2006 12:53 PM - 5 messages
Hi everyone.  I hope that I am coming to the correct forum with this. I have a VB6 application which communicates with a pinpad (RS232 device) in order to collect credit card numbers and encrypted PINs for POS activities.  ...
Score Stuck in DoEvents
Simon Woods - 7 Apr 2006 8:53 AM - 4 messages
Hi I have a class in which I'm doing some processing. It's raising events back to a form which has instantiated it and it's telling the form progress on processing. I'm waiting to process a bit of data and then wait until a ...
Score Sizable Scrollbars?
Chino - 7 Apr 2006 6:15 AM - 13 messages
Does anyone know of a grid control with a sizable scroll bar? That is, i am developing for a touchscreen and wish the user to interact with a grid which will have the contents being displayed with a font size of ...
Score Help me automate a task
n.hemanthkumar - 7 Apr 2006 6:01 AM - 2 messages
Hi, I have a problem at hand. There is a link [link] Which displays the result of an exam. I want to check the result of all the 2000 candidates for my reference and sort it into passed and failed ...
Score Algorithm
js - 7 Apr 2006 4:28 AM - 37 messages
Hi, i have several Paragraphs in an array or collection: Can I regroup Paragraphs base on a  number? How to do that? For example, I have 3 Paragraphs: 1. Test1 2. Test2 3. Test3 if I pass 2,  will regroup as: ...
Score Populating ComboBox using .AddItem method
Darhl Thomason - 6 Apr 2006 11:22 PM - 3 messages
I'm trying to populate a combo box based on the records in a given table. When I run this code, I get the following Run-Time error:  "Run-time error '3265':  Item cannot be found in the collection corresponding to the ...
Score d/l web age, loop through anchor/link collection w/out webbrowser control, possible?
Mike Scirocco - 6 Apr 2006 9:09 PM - 13 messages
I'd like to download a web page and loop through the anchors (or links if that works better) collection, and return the innerTEXT or outerTEXT of the anchor (or link) I'm looking for. In the past I used the webbrowser control to download web pages, but I'm ...
Score "Memo" type field in an Access DB
Martin - 6 Apr 2006 9:02 PM - 5 messages
I have a need to store 2000-3000 characters of data in a field in an Access database. I'll be using DAO 3.6 to manipulate the database from a VB6 program. I assume that the "Memo" data type is the proper thing to use here? ...
Score How to programmatically to add CommandButton1_click event heandler with VB?
jingsheng.zhou - 6 Apr 2006 8:47 PM - 2 messages
There is a button named CommandButton1 in sheet1 of an excel workbook . How to programmatically to add CommandButton1_click event heandler with VB? I know how to add a macro programmatically using set xlmodule = xlbook.VBProject.VBComponents.Add and xlmodule.codeModule.AddFromString ...
Score Basic VB question
Darhl Thomason - 6 Apr 2006 8:11 PM - 27 messages
What is the difference between these two bits of code?  I'm running VB6 Sp6. Private Sub chkStatus_Click(Index As Integer)   getRecordset End Sub and Private Sub chkStatus_Click(Index As Integer)   Call getRecordset End Sub I know that in my past days from years ago, there is/was a difference.  When ...
Score Application just dies
Frank Rizzo - 6 Apr 2006 7:39 PM - 3 messages
I have a vb6 developed app with a bunch of dlls and 3rd party controls.   When I deploy them to certain PCs, the application just hangs around in the task manager for a millisecond and then just disappears.  I've ...
Score How to use TextStream object
Ben - 6 Apr 2006 7:20 PM - 15 messages
Hi all, I am trying to read a txt file.  I am trying to read in the file line by line until EOF.  For example, I need to test the value of the of column 1 and 5 of the line being read.  How can I check the values of these columns?  ...
Score Factory pressed dvd movies, ps2, psp & xbox backups for sale !!!
glow2 - 6 Apr 2006 5:54 PM - 4 messages
We're offering all the latest factory pressed high quality dvd movies, ps2, psp and xbox silvers with factory printed colour inserts at fantastic prices, whether for personal use or reselling. We're shipping worldwide with various shipping methods. For resellers, please contact ...
Score Class Instantiation Question
Scott H - 6 Apr 2006 5:45 PM - 9 messages
I have a VB.NET application that uses a SQL wrapper class that handles all SQL functions such connection, executing stored procedures, executing select statements and so fourth. The application uses MDI child forms that when opened perform several different SQL actions such as populating data grids on the form. If I have ...
Score Can Indirection be used to get the value of a constant?
BWH_pjd14 - 6 Apr 2006 5:10 PM - 4 messages
I'm setting up custom error messages in my application. I'm defining global constant pairs in a module. For example: global const MyError_1 = 1 global const MyErrDesc_1 = "This is a stupid error." I'd like to be able to pass one value to the cutsom error subroutine and ...
Score Extracting small icons
Jerry West - 6 Apr 2006 4:34 PM - 6 messages
I'm using ExtractIconEx to extract small icons from an ICO file. The MSDN indicates the phiconSmall parameter can receive an array of small icon handles. All the code samples I've seen use a long value to receive a single ...
Score VB 6 Freezes. Please help
Shayaan Siddiqui - 6 Apr 2006 1:35 PM - 2 messages
Hello When I click Compile on my project, VB appears to freeze. This only happens on specific vbp (project) files. Please help Shayaan ...
Score Get filename in alphabetical order
Atenza - 6 Apr 2006 12:03 PM - 3 messages
Hi all, I have a function as following: Private Function GetAllFile(ByVal pDir as String, ByVal pFile as String) as Boolean     Set lvFs = New FileSystemObject     Set lvParent = lvFs.GetFolder(pDir)     Set lvFolders = lvParent.SubFolders ...
Score Renaming a computer in VB6
Richard Goodchild - 6 Apr 2006 10:59 AM - 7 messages
Hello, I am trying to add some code into an application that will rename the computer without requiring the computer to be restarted for the name change to take effect. The following code has been suggested to me to do this, but ...
Score gravity problem
Mike Williams - 6 Apr 2006 10:05 AM - 12 messages
I'm attempting to write some VB6 code to analyze a specific gravitational problem and in order to do so I need to provide an interface to a real world object in order to obtain real time feedback. This is the sort of thing I am ...
Score Install on many computers at once or an alternative
Roshan - 6 Apr 2006 9:44 AM - 2 messages
I have made an election software which uses DAO to access databases. Now we have over a 100 computers in our lab and its nearly impossible to go to every computer and install the election software in VB manually on all computers. My softwares uses an Access Database to keep ...
Score Microsoft WMI Scripting v1.2 Library
Luis Tarzia - 6 Apr 2006 7:39 AM - 9 messages
Hello !!! I need download he version 1.2 of WMI. In Microsoft site only get the 1.1 version. I need install in W98 and obtain the serial number of hard disk. Anybody know the link when download o how install in W98 from XP ?? ...
Score Server application
Pepa - 6 Apr 2006 6:55 AM - 2 messages
Hello, customer needs to design and install a Visual Basic application (including of system libraries) on the server. Application will be start up from Workstation. Workstation has no Visual Basic support. Is it realizable? ...
Score How to check what value has System Idle Process ?
Jack - 6 Apr 2006 2:24 AM - 2 messages
Hello, In another thread Ken Halter said: ==== I have a couple of projects here that start when the OS starts but they "sit and spin" until the 'System Idle Process' reaches (a user configurable) 97% for 3 seconds. Since anything you do on a PC effects the System Idle Process ...
Score vb6 form.frm conversion
Demi - 5 Apr 2006 10:19 PM - 5 messages
If I have a vb6 form and I have Visual Studio 2005 Pro with vb.net is there any way to import the vb.frm and vb.frx files? THe wizard that comes with VS2005 breaks due to the vb.vbp file having ...
Score DateTimePicker - datatype
Sandy - 5 Apr 2006 8:43 PM - 2 messages
Hello - I am using a datetimepicker control on my VB 6 form.  That value is then sent to a Crystal Report which retrieves report items from a Sql Server database.  I have determined that my datatypes are not matching up. ...
Score App Name for Registry
Desi - 5 Apr 2006 8:40 PM - 4 messages
Can someone please point me in the right direction. My DLL component will be used by various applications. User preferences will be set from within each application. How do I get ahold of the application's name for placement in the registry? ...
Score OT: Computer-controlled digital camera?
Martin - 5 Apr 2006 8:11 PM - 8 messages
I realize this has nothing to do with VB but I usually get good answers here and I'm hoping someone here might have some ideas on this. I have a situation where I want to take digital photos (snapshots - ...
Score Floating Point bug
Tim Baur - 5 Apr 2006 7:43 PM - 23 messages
I just spent the last hour tracking down this bug in my code. Int(Log(64) / Log(2)) vs. Log(64) / Log(2) Obviously, this is a rounding error.  What I'm after is the largest integral Log Base 2 of X.  What is a more bulletproof way of doing this? ...
Score Re: Which software do I need to program VisualBasic ?
Michael B. Johnson - 5 Apr 2006 5:23 PM - 3 messages
On 04 Apr 2006 18:24:30 GMT, inn***@hotmail.com (Frank Callone) wrote: Microsoft Visual Basic 6 Enterprise; or Professional [a.k.a. Visual Basic Classic]. For Microsoft Visual Basic 6, you'll have to get that at e-Bay, Amazon or some ...
Score Close Application
TimL - 5 Apr 2006 4:38 PM - 7 messages
I sent a post out with the the following original text.  I do not think I sent out enought information, so I am going to try once more. Original: I am using VB6. I have an application that a someone is running and I want to close the app ...
Score Calling Functions
Tim Bryant - 5 Apr 2006 4:07 PM - 4 messages
Hello All, Using VB6, any ideas how I would call a function whose name is strored in a variable.  eg: Private Sub Main     Dim funcName as String     funcName = "TestFunction"     Call funcName ...
Score Problem with Timer firing reliably
Martin - 5 Apr 2006 3:51 PM - 19 messages
Can anyone suggest a fool-proof way to execute a procedure *reliably* at a certain time of day? I have an app that runs 24/7. There are several activities that need to be done each day at a specified time. To handle this, I have a ...
Score AS400 OLE DB connection
fniles - 5 Apr 2006 3:31 PM - 4 messages
I am trying to connect to AS400 using OLE DB, but either using SNAOLEDB or IBMDA400 it gave me error "Run time error 3706: Provider can not be found. It may not be properly installed". I can connect ODBC Data source to AS400 using "Client Access ODBC Driver (32 ...
Score Trim String Array of empty values
chuckd777 - 5 Apr 2006 1:56 PM - 28 messages
Stupid question in VB6, I have a string array, how do i trim or get rid of all of the empty values? thanks ...
Score Checkbox/pressed button: First click only sets focus
Robert - 5 Apr 2006 1:29 PM - 7 messages
Hello folks, I'm using two checkboxes as buttons (graphical style) that can be pressed and unpressed. They're in a frame, along with some other controls. When a control outside of the frame has the focus, and the user clicks the ...
Score Re: Which software do I need to program VisualBasic ?
David Segall - 5 Apr 2006 12:57 PM - 8 messages
inn***@hotmail.com (Frank Callone) wrote: You are entering the world of Microsoft. You are not required to choose; you might make the wrong choice. If you don't have any money then Microsoft offers this <[link] If you ...
Score error message macro?
belto - 5 Apr 2006 11:52 AM - 3 messages
I am confused and would like some help please every time I open M.S. Office word I get a window titled Microsoft Visual Basic it contains the following message The macros in this project are disabled. Please refer to the online help or ...
Score Maximized app hides taskbar
Andy - 5 Apr 2006 9:42 AM - 9 messages
I'm building an application which has a main form with only two window states - maximized and minimized (I can re-maximize it by clicking its icon in the taskbar).  Trouble is, when it's maximized, it covers the taskbar, so I can't ...
Score Where is a good introduction to VBA (NOT: VB resp. VB.net) ?
Paul Sizzler - 5 Apr 2006 8:59 AM - 11 messages
I am searching for a good introduction to VBA in contrast to full VB? What are the limitations of VBA vs. VB? How do I start to program a VBA script with GUI components in e.g. Excel for Excel? ...
Score Add-In Manager (does not display Package and Deployment Wizard)
Mr. Newbie - 5 Apr 2006 8:25 AM - 3 messages
greetings pros, below is the link bout my problem, but it can be solved if the Package and Deployment Wizard is visible in Add-In Manager in VB6. [link] how can i show it in my Add-In Manager? ...
Score Re: Accounting Software in Visual Basic - Free source code
J French - 5 Apr 2006 8:21 AM - 2 messages
On Tue, 4 Apr 2006 18:54:53 +0100, "RB Smissaert" <bartsmissa***@blueyonder.co.uk> wrote: My main reason is that it makes the code less precise - is one looking at an Object or the property of an Object ? ...
Score automatic drop down on combobox
siep - 5 Apr 2006 4:37 AM - 2 messages
Randy, Thanks, that works. In my program I want to leave that dropdown, click a 2nd cmd button and highlight the 2nd item in the list, and by clicking a 3rd command button select it. The drop down list disappears when I click the command buttons. Any suggestions on how to make this work? ...
Score vb6 listview
gary - 5 Apr 2006 12:39 AM - 2 messages
I’m using listview in report mode with a number of columns.  I want to select an item.  Double clicking allows editing.  I don’t want the user to edit, just select. How can I suppress this behavior? ...
Score Remove spaces in CSV file using VB6
Al - 4 Apr 2006 10:42 PM - 9 messages
I am modifying an existing VB6 application that has worked fine up until the csv file export format changed to satisfy an upgrade requirement of the importing application.  My VB application converts the csv file into a compatible format that is sent to the upgraded application's import feature.  ...
Score Help. VB dotnet windows service dll calling VB6 dll component
Jeff K - 4 Apr 2006 8:38 PM - 3 messages
I have been searching and trying to figure out this issue for several days now but I can not find any answers. I have a windows service written in vb dotnet.  This service is on a timer. It polls the DB for items to execute.  When it finds these items it starts a ...
Score RE: Which software do I need to program VisualBasic ?
ralph - 4 Apr 2006 7:49 PM - 8 messages
In addition to Jeff's reply. Classic Visual Basic (vb6 and below) is discontinued. MS's only Visual Basic offering at the moment is Visual Basic.Net. (aka VS/VB 2003/2005). To do VB6 development you will need to purchase Visual Studio 6. It is no ...
Score Crystal Reports subreports, parameters
Sandy - 4 Apr 2006 7:46 PM - 9 messages
Hello - I don't know if this is possible, but perhaps someone in this group may know. I am upgrading an MS Access project to VB 6, Sql Server 2000 and Crystal Reports.  Part of the table structure is as follows: ...
Score How to get Central Standard Time with no daylight saving ?
fniles - 4 Apr 2006 7:43 PM - 6 messages
How can I get Central Standard Time with no daylight saving ? For example, even though it is already 2:45 pm now, the time I want to get is 1:45 pm, because it is the CST without the daylight saving. ...
Score Re: VB6, VB2005, or Something Else?
Stefan Berglund - 4 Apr 2006 7:07 PM - 2 messages
in <GZWdnWa6xPFELa_ZnZ2dnUVZ_vOdn***@arkansas.net> Unfortunately, that is very true.  I came from C/C++ into VB and frankly I'm spoiled.  I don't really want to go back but I feel that's the only ...
Score Re: Which software do I need to program VisualBasic ?
Jeff Johnson [MVP: VB] - 4 Apr 2006 7:04 PM - 11 messages
The Visual Basic RUN-TIME files are installed on Windows 2000+. This means that you could copy a simple VB executable to your machine and run it without having to also get copies of these run-time files. However, most ...
Score Re: VB6, VB2005, or Something Else?
Dan Barclay - 4 Apr 2006 6:53 PM - 4 messages
That is pretty much right (may be some minor exception).  The pcode interpreter is *in* the runtime and it's not very big.  The interpreter is along for the ride even if you're using a natively compiled exe.  It's so ...
Score GetDSNs
abcd - 4 Apr 2006 5:09 PM - 10 messages
How can I get only the list of System DSN on the machine. I tried using ODBCTool.dll. it gives me the User DSNs too. How can I filter it. is ODBCTool.dll generally available on the machine. I am looking from the ...
Score automatic drop down on combobox
siep - 4 Apr 2006 4:08 PM - 3 messages
I have a form with 4 comboboxes and an command button. Upon clicking the command button I would like to dropdown all of the comboboxes. Any ideas on how this can be accomplished? Thanks, Siep -- siep ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score HELP!!!!! PowerPoint VBA OptionButton Reference
Chris - 4 Apr 2006 3:54 PM - 2 messages
I need to check if an option button is selected (True) and increment a counter if it is True.  My problem is referring to the slide object option button.  PowerPoint does not seem to want to allow a variable in the object ...
Score Newbie question - calling a DLL function returns Type Mismatch error
Misko - 4 Apr 2006 2:44 PM - 4 messages
Hi, I am trying to create a dll with recursive function to generate a categories menu from MSSQL database. But when i call the function from the dll, script crashes with  Type Mismatch error.. Any help would be very appreciated.. ...
Score Launching HTML Help in VB6
Spags - 4 Apr 2006 2:40 PM - 6 messages
Does anyone know how to Launch a HTML Help file in response to a button click without using API calls in VB6 ...
Score RaiseEvent doesn't Raise Event
Tayac - 4 Apr 2006 10:27 AM - 8 messages
Using VB6 SP6 I'm running into the following problem: I want a form (formView) to tell the calling Class (clsResults) the data entered is complete and valid. The RaiseEvent in the following (simplified) code does not raise an event. ...
Score rich text maximum number of lines
ArtOfSpeech - 4 Apr 2006 8:50 AM - 2 messages
hi.... Can anyone tell me plz how to set a maximum number of (lines)  to a rich text control and show only last linse when number of lines exceeds the maximum number??? i've tried to use richtext.lines array to determine lines length but i ...
Score Properties of an object
Ivan Debono - 4 Apr 2006 7:40 AM - 3 messages
Hi all, Is there a COM interface that I can implement in a VB6 class that exposes its properties through a "Properties" property. For example, I have a Customer class with the properties Name & Surname. I would like to access the properties in the following way: ...
Score How to get gradient selection colors used in Outlook 2003 left pan
Maximus - 4 Apr 2006 7:21 AM - 3 messages
Hi all, Has anyone been able to reterive the gradient selection colors used in outlook 2003? Basically, I have a grid showing a list of records and my client wants the selected row to have the same selection gradient back color ...
Score Help doesn't load the second time.
OleG - 4 Apr 2006 6:25 AM - 2 messages
My problem is with the help viewer. In the mainform menu I have the Help button which runs the help.showhelp when clicked. The simple code look like this. Private Sub mHelp_Click(ByVal sender As System.Object, ByVal e As ...
Score REQ More Newbie help please
Clubsprint - 4 Apr 2006 6:22 AM - 3 messages
Hi all I've got a script that writes all Active directory group members "Name" to a file. However I need to write their User Logon Name to the file Here is my script Script start ================== 'Option Explicit On Error Resume Next ...
Score VB Code to read and write .BMP Files
Shuvro Basu - 4 Apr 2006 6:13 AM - 10 messages
Hi All, I am particularly new in the VB graphics world. I would appreciate if someone could be kind enough to point out (or provide!) some code to read and write .BMP files. I am not too confident on the file format, ...
Score Reading a Webpage Source with Cyrillic Characters
memzback - 4 Apr 2006 5:00 AM - 2 messages
Hi all, And thanks for taking a look at my post. I'm trying to input the source of a website into a string in Visual Basic 2005. Heres the code     Public Function GetPageHTML(ByVal URL As String) As String ...
Score ADO Recordset Question
sam - 4 Apr 2006 4:45 AM - 4 messages
I have a disconnected recordset that has duplicate records (partno, desc and qty) based on partno.  I need to combine these records into one record and add the qty together.  Any ideas on how to accomplish this with a ...
Score copying a file from desktop to PPC
Big D - 4 Apr 2006 12:01 AM - 5 messages
For simplicity I will mention the below link to example. [link] I implemented this code into my application to copy a desktop file to PPC device. I made sure I ran into the problem with example below and my code. ...
Score Connecting A DataGrid To SQL Server Result?
Chris Moore - 3 Apr 2006 10:30 PM - 2 messages
I use the following code to look at my data returned from an Access table in a VB 6 DataGrid.  When I switch to SQL Server I get the error "The rowset is not bookmarkable".  What the heck does that mean and how do I fix ...
Score Inserting a blank row and deleting some with specific data
Marlene.Sawhney - 3 Apr 2006 10:05 PM - 3 messages
I've been reading a lot about inserting rows but somehow there isn't much that matches what I need. This data constantly shows up at month end and this would make work a bit easier... Here are 2 things I need.... ...
Score Help: VB6 Connecting To SQL Server & Record Count
Chris Moore - 3 Apr 2006 8:26 PM - 9 messages
I am converting some VB6 code from accessing an Access database to accessing an SQL Table.  I have it working except I need to be able to know exactly # the number of record returned in my result set.  Here is ...
Score how can i create video file of .jpg using vb.net
savan - 3 Apr 2006 6:05 PM - 2 messages
Hello Group Memebers,                                    Myself Parmar Savan i am doing my ...
Score Copy and Paste from Listview
Riley - 3 Apr 2006 5:32 PM - 2 messages
I am using VS2005 and VB to write a small application.  I have a listview control and want the user to be able to (CTRL-C) copy information from it to the clipboard and then paste it somewhere else.  Unfortunately they cannot do ...
Score Unable to KILL files in VB6.
Marko - 3 Apr 2006 5:01 PM - 6 messages
We are trying to do some automation for our imaging system.  The VB6 app first creates a TIF file, then imports the TIF file into our SQL Server DB, then deletes the TIF file. All works well, and in 80% of the the cases, the TIF file deletion ...
Score Universal hex to string conversion (DBCS, ASCII, etc!)
Jimmy B - 3 Apr 2006 5:00 PM - 3 messages
I'm having the most perplexing problem converting hex to a string and getting the same data when using DBCS (Japanese, etc.) versions of Windows. Basically I want to be able to convert hex to a "binary" string (not Byte) ...
Score replacing some bytes of a binary file
Peter - 3 Apr 2006 2:04 PM - 6 messages
Dear All I want to replace a certain byte sequence inside a huge binary file with another byte sequence(same byte length) with a vb6 program. For example, if I look through the file and find the start sequence 0x0A,0x0B,0x0C it should be replaced with the new sequence 0x00,0x01,0x02. ...
Score replacing some bytes of a binary file
Peter - 3 Apr 2006 1:52 PM - 8 messages
Dear All I want to replace a certain byte sequence inside a huge binary file with another byte sequence(same byte length) with a vb6 program. For example, if I look through the file and find the start sequence 0x0A,0x0B,0x0C it should be replaced with the new sequence 0x00,0x01,0x02. ...
Score VB6 incrementing LARGE_INTEGER
Johan_Stäck - 3 Apr 2006 12:06 PM - 6 messages
Hello! An asynchronous disk write wants the file pointer of the following type: Private Type LARGE_INTEGER      lowpart As Long      highpart As Long End Type I will need to increment this pointer 144000 at a time (DV video frames). ...
Score rich textbox, print lines at bottom of page, how to approach?
Mike Scirocco - 3 Apr 2006 5:37 AM - 3 messages
I'm using a richtextbox for printing and I'd like to move a block of text to the end of a page and leave empty space before it. I don't know how to get started with this, any suggestions would be appreciated. ...
Score Runtime error # 53
Dan Hoskin - 3 Apr 2006 1:47 AM - 8 messages
Hi, I have hit a snag with a program that I wrote that uses the Windows Common Controls - 2 6.0 (sp6), MSComct2.OCX. When my program is installed it loads the splash  form and gives the Runtime Error #53 error before the second ...
Score what is local system account ?
Jack - 2 Apr 2006 11:43 PM - 2 messages
Which registry key is equal to local system account ? Jack ...
Score Placing app in the startup lineup
Jack - 2 Apr 2006 9:13 PM - 9 messages
Hello, Is there some way to place my app to be invoked as the last application on Windows startup? ...
Score How to get color values fro RGB?
Andrew - 2 Apr 2006 9:13 PM - 3 messages
Hello, friends, For a given color value, we need to know its Read, Green, Blue values (0-255 respectively).  How can I extract such info from a given RGB value? Thanks a lot. ...
Next »