Thx 4 ur advice. I tried it and it turns out that it was rasphone.pbk on Documents and Settings\All users\Application Data\Microsoft\Network\Connections\Pbk. Setting it to *not* read-only solves my problem. Thx, Guus
gpa2000
Posts
-
Cannot write phonebook Err:624 -
Cannot write phonebook Err:624Little while ago i read an article on how to prevent autodialers from changing my "phonebook", the file on my harddisk that stores all Network connections. The trick was to set the attirbutes to this file to "read-only". It works perfectly. Now i want to delete a Network connection and i get this error message. The problem is that is have forgotten the name of this file which i've set to readonly. Anyone? Grtz, Guus
-
VB6 date vs SQL Server dateThat's the answer i was looking for. Thx! Grtz, Guus
-
Difference between Height and ScaleHeightIn my resize event i use Height to change the height of the object but i see that sometimes ScaleHeight is used. Why? What's the difference? Grtz, Guus
-
VB6 date vs SQL Server dateThanks for the good advice but it doesn't answer my question. How is it possible that an integer converted to a date results in two different dates on VB vs SQL Server?
-
VB6 date vs SQL Server dateIn any format, dd-mm-yyyy or mm-dd-yyyy 73584 still means December 1st 2003. You have to retrieve the regional settings to get it right. That's why i use integers.
-
VB6 date vs SQL Server dateTo simplify date conversion i was adviced to use to integer converted dates i.s.o. the datetime type. Now i have the integer 37954 which resembles 01-12-2003 (dd-mm-yyyy) select cast(37954 as datetime) as startdate But VB6 thinks it is 29-11-2003 ?Format(37954, "dd-mm-yyyy") How is this possible? What am i doing wrong? Grtz, Guus
-
VB6 date vs SQL Server dateTo simplify date conversion i was adviced to use to integer converted dates i.s.o. the datetime type. Now i have the integer 37954 which resembles 01-12-2003 (dd-mm-yyyy) select cast(37954 as datetime) as startdate But VB6 thinks it is 29-11-2003 ?Format(37954, "dd-mm-yyyy") How is this possible? What am i doing wrong? Grtz, Guus
-
Access VBA questionThe query runs fine but creating a report using the wizard based on the query result in #Error or #Fout in my case. Accompanied by error 3021: No current record. How can i pinpoint the problem?
-
Access VBA questionAfter converting my app from MSOffice 97 to MSOffice 2002 i get an error message 3021 "No current record" when opening a report. The attached query runs fine with no errors. The report opens after a few dozen 3021 errors with a few readable records and the rest #Fout (or #Error which means the same). Anyone? Grtz, Guus
-
wat is subclassing and how is it used?Why should i use subclassing? I am not sure what it is for or how it is used. do you know where i can find an article about this subject? Thnx, Grtz, Guus
-
what is hWnd and how is it usedWell the subject says it all. I believe that every object has a hWnd and using this hWnd you can color the background of a treeview or do all sorts of thing. Do you know where i can find an article about this? Thnx, Grtz, Guus
-
Opening a website when button pressedIn VB:
' ' Procedure voor het opstarten van de default browser met een URL ' ' Zie Q224816, Q174156 voor meer informatie ' Public Sub StartDefaultBrowser(ByVal strUrl As String) Dim lngReturnValue As Long lngReturnValue = ShellExecute(0, _ "open", _ strUrl, _ 0, _ 0, _ SW_SHOWNORMAL) ' Returnvalue <= 32 means error If (lngReturnValue <= 32) Then Err.Raise ERR_WARNING, FormatErrSource(MODULENAME, "CheckFields"), "Can't start default internet browser (" & CStr(lngReturnValue) & ")" End If End Sub
Grtz, Guus -
hosts file readonlyMany thanks. Your link was most useful. Seems that a Trojan.Bookmarker variant, Trojan.Bookmarker.B also found its way to my computer. Had to remove ctrlpan.dll also. Again Thnx Grtz, Guus
-
Sub Main?Why not change the startup module in your project properties? grtz, Guus
-
Creating Custom IconsDid you already try IconXP? Try for 30 days. Then find a crack on astalavista. But my advice is to buy ;)
-
Database CompareYes, you can probably write it yourself but when you browse to www.planetsourcecode.com you can probably find a solution there. Grtz, Guus
-
hosts file readonlyThe solution was: I had to remove msconfd.dll which was in my system32 directory. I am curious how it got there in the first place... pestcontrol.com showed my this and it worked. Grtz, Guus
-
Linux Distro -
Can anyone solve Richards problem?In the package and deployment wizard of VB6 you can enter the name of a program to be executed after installation of the package. This can be the installation of your MDAC version or a bat file containing... whatever. HTH, Grtz, Guus