will someone please tell me why I'm getting the 'type mismatch' error on this piece of code. the error comes from the 'for i= 0 to ubound(sysmods)' line. thanks
DIM QRY2, RST2, SYSMODS
QRY2= "select P.PRE_SYSMOD_NO, F.TAPE_NO from FIXPRE P, FIX F where P.SYSMOD_NO ='" &...
i guess i found the solution to this problem myself. instead of using .net matrix, i put the code in a text file and it no longer gets rid of the reference.
i want to include this code snippet in an asp.net file and include it in every page where I need to open up my database. it was straightforward in asp. how do i get it done in asp.net? thanks
'this opens up my database
sub page_load(sender as object, e as eventargs)
Dim strConnectionString As...
also new to asp.net. but i'm using webmatrix instead of the visual studio.net. But i believe you can use visual interdev as well to develop your apps as long as you save the txt files with an aspx extension, that if, if you love a lot of coding.make sure you save the files in your server...
i downloaded the .net odbc dll from microsoft.com. i was able to access data from my interbase database by making a reference to the dll.
putting in your code
<%@ Page CompilerOptions='/R:"C:\Program Files\Microsoft.NET\Odbc.Net\Microsoft.data.odbc.dll"' Debug="True"...
Hey Baddos,
I just registered it in the registry. How do you register it with component services? Anyway, I found that vbscript can interact with the registry by using the server.createobject("wscript.shell") code. This also works excellently when i run it in vb but not on...
this is the code that i'm trying to execute
<%
dim WshShell
Set WshShell = Server.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\ADOBE\Acrobat PDFwriter\PDFFileName", "c:\pdfwriter\test.pdf", "REG_SZ"
Response.Write...
Hey People,
Does anyone know why i'm getting this error. I know the root is correct. I'm using an IIS server and my platform is windows 2000 professional. Please help.
Error Type:
WshShell.RegWrite (0x80070005)
Invalid root in registry key "HKEY_CURRENT_USER\Software\ADOBE\Acrobat...
I have dumped the local computer idea. I'm no longer interested in having the dll access a local computer's registry from the server. But now, the dll doesn't work on the server machine either. it recognizes that the dll is there but won't do anything with the variables that i'm passing. I could...
Hey Guys,
I'm new to COM. I don't even know if what i'm trying to do is possible. I want clients to be able to change their registry settings from a server. The code that i'm using works as a vb standard exe. but then, when i make a new project and then use the same code to make a dll which...
Hey,
Reading your postings also helped me explain somethings about xml. i'm new to it and I've been wondering why i should use it instead of the database. it just seems to be an extra and unnecessary step to take in presenting data. I'll continue to delve into it. Thanks
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
End tag 'note_body' does not match the start tag...
I have special characters such as &,<,>," already in the data i'm trying to read from my database. I am using ASP with xml. I can use a "Replace function" to replace some of these characters with the replacement entities such as "<" as I loop through to output the...
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.