User Profile
Collapse
-
Yes, I did ran debug and deployed my application. I actually created my database in VS and is located in the application folder. What must I do to make sure that the database table is really updated? -
Thanks. I can finally connect to my database, I tried to create a function that will add record to my table tblProducts which is empty at first
Private Sub add_record()
cn = New SqlCeConnection (Data Source=" + (System.IO.Path .GetDirectoryNa me(System.Refle ction.Assembly. GetExecutingAss embly().GetName ().CodeBase)) + "\\productsDB.s df;Persist Security Info=False;)
cn.Open()
...Leave a comment:
-
Thanks Mark. This is better. Just a few question though. Suppose I created the database on runtime based on your code, where can I find it? Or suppose i have created the database somewhere(like SQL server 2005), where should I place my SDF file to avoid problems in my connection string? Actually I think my problem here is my connection string.Leave a comment:
-
Connect to SQL Server CE
I am new to mobile development and for now I'm trying to create a mobile application using SQL Server CE as database. Could someone please provide a sample code in vb that will connect to SQL CE? Or the connection string at least?
Any help would be greatly appreciated -
Upload failure
here is my code that is supposed to upload files and save it to web server but somehow didn't work. Please help. I'm new in php and I'm using version 4
$thumb_loc = "../Folders/".$myfolder ."/";
$thumb_loc = $thumb_loc.base name($myfile);
if (!file_exists($ thumb_loc)){
if (move_uploaded_ file($myfile,$t humb_loc)){
echo "<script language='javas cript'> location.href=' default.php?mes sage=File... -
That is exactly what I'm trying to get. thanks guys! By the way do you any ways of searching a file from a specific directory? including its subdirectories? and display a list of search results. As of now I'm thinking of using a database for that but I'm still hoping for a better alternativeLeave a comment:
-
It didn't work. i received a "call to undefined function" error. is this has something to do with my PHP version? I'm using PHP 4...Leave a comment:
-
Get folder name
How can I get all folder names from a specific directory and list them using PHP? -
PDF in Browser using ASP
Is it possible to open a PDF file and display it to browser using ASP? Please help -
FSO(creating .asp text file)
[code=asp]set fsoslide=server .CreateObject(" Scripting.FileS ystemObject")
set fslide=fsoslide .CreateTextFile (tPath & "\" & "slidecount.asp ", true)
fslide.WriteLin e("<%")
fslide.WriteLin e("lowerslide=1 ")
fslide.WriteLin e("upperslide=" & lslide &"")
fslide.WriteLin e("%>")
set fslide=nothing
...Last edited by jhardman; Oct 13 '07, 06:03 AM. Reason: put code in code tags. Please use code tags in the future. -
Thanks, I'm already using the FSO in my code. I just want to know the default directory where my HTML file will be created if I don't specify a folder, because I always get a "Path not found" error when I include one. Thanks in advance ^^Leave a comment:
-
I am now filling my code with those replace() statements. Thanks guys!Leave a comment:
-
oops...sorry. What I mean is a code that will attach HTML tags on a plain text specifically from a <textarea>. I do hope I stated it right this time. ^^Leave a comment:
-
plain text with html as output
Could someone provide a code in asp that converts string input to html source code? Thanks in advance ^_^ -
No activity results to display
Show More
Leave a comment: