I have never used the MS CHART control and I need it urgently.
I scanned my disk and the closest i found was MSCHART02.OCX in the system32 folder.
I tried running regsvr32 "C:\windows\system32\MSCHRT20.OCX" to register the OCX and it replied "successfully loaded".
The application based on the...
I allow user modifications in a long MSHFLEXGRID which affect the formatting of a group of adjacent cells.
I then regenerate the grid display which can be many screens long.
It would be useful to be able to have the changed cells at the top of the display. At present the user has to use the...
I am converting an application using mshflexgrid from vb6 to vb.net.
I had used a routine to resize the row height.
It originally had the text:
'Get the height of the text in the textbox
HeightOfLine = frmGrid.TextHeight(frmGrid.Text1.Text)
vb.net complains that textheight is not a valid...
When right clicking in a cell, I require the cell to change background color.
If the cell is already selected, the color change works well.
If I right click on any other cell, the change still happens to the originally selected cell.
If I use the left click, the cell selection changes to the...
I am developing in VB6 and using MS SQL 2000 as the database engine.
My shipping SQL table has the following fields
1. ContainerReference
2. BoxSize
3. Product
4. BoxReference
For the query I want to know how many of each Box-Size is scheduled for a specific container.
Each box has a unique...
I have placed a constraint on a table to avoid inserting duplicate records.
When I create a duplicate I get an unfriendly error message box complaining about the constraint violation.
I would like to trap that error event, give a nice 'please be careful' message to the operator and then carry...
I want to create a table and add data to it.
I am coding in VB6 and the database engine is MSDE.
I created the table with one field, no indexes.
I then tried to insert one record, I get the following error message
Run-time error ‘-214721833(80040e57)’:
String or binary data would be...
I don't understand the line I found in a sample program.
Can someone please interpret for me the line:
rs!Vfield = Vdata
It appears in the second last line of the sample code below.
Sub ADOXAddRecord(Tab_name As String, Vfield As Variant, Vdata As Variant)
Dim cat As New ADOX.Catalog
Dim...
For a VB6 program I need a datetipepicker object and the CCRP one seem to fit the bill precisely.
I downloaded the sample code with the OCX files. When I open the sample VBP file in the development environment I see the DTPicker object in the tool box for inclusion in a form.
I then opened a new...
I am trying to finalize a setup program.
The setup installs the MSDE2000 , reboots, changes the loginsmode registry entry from 1 to 2, then runs the InstallDB.
When I then run the application, windows XP gives me a message that a problem was encountered and offer to send a message to Microsoft...
I need to update a registry entry from 1 to 2.
I get a return code of 5 which translates as ERROR_CANTWRITE .
I can update the entry manually without problem but I need it in a setup procedure.
Here is my specific code
r = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _...
Using:
RetVal = ExecCmd("ftp -n -s:" & App.path ....
I frequently get errors which I can't determine.
The RetVal gives a value of 2, which I have not been able to trace.
Can someone help?
I was running office 2000 when my drive crashed.
I have a full backup of the disk on an external drive.
With a new drive, I installed (under xp pro) outlook 2003 and now I want to import the emails from the backup.
The backup disk has a .pst in the place I would expect it
C:\..\Documents and...
I would like to create an attachment to an email of type .msg ,containing another email, which I could link to from an html document.
The clicked link should (hopefully) open the attached email using the default email client.
I have found the mime message/rfc822 syntax but I cant get it to...
I need to send multiple files to a server. I use ftp and a statement like
RetVaL = ExecCmd("ftp -n -s:ftpparam ftp.myserver.com")
it takes 20 seconds to initialize the handshake etc on the ftp server and upload even a small file. I tremble to think what would happen with a 2 Meg file.
I would...
In PHP I am using ftp to copy files. I am having trouble with the ftp_put() command. I keep on getting "/public_html/papa/v227: No such file or directory".
Here is the code I use
$source_file = "/home/joeschmoe/public_html/vbbu/v226";
$filename=$source_file;
if (file_exists($filename)) {...
I have written an email relay program.
I had a problem with Exchange 5 in that emails coming from The Exchange server were encoded in winmail.dat format.
Does this happen in Exchange 2003 too?
If yes, is there a way to stop it happening?
My server is set up that any php file can be invoked using http or https.
I want to ensure that for some pages only https is acceptable.
Is there a variable in PHP that will give me the full URL including the protocol. I can then do a test and redirection.
My web host uses Linux and Apache for my website.
I have to have secure access for some files.
I have purchased a certificate for ssl.
How can I make some of the pages open only with http and others with https?
I write in PHP but I think this is a server problem.
I have a web site developed using php.
I now want the site to be accessed using https so that the lock icon shows on the page.
When I ask my host provider, all he can tell me is that I need a certificate.
After that what do I have to do in the PHP source code?
I do not use a SQL database, I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.