Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Junior Boy

@Junior Boy
About
Posts
38
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Saving picture on webpage problem. [modified]
    J Junior Boy

    Thank gosh! Thank you very much sir Mr.Fred Smith Now I got it worked. I am so happy :) Thank you million now my school project really done! :) Hope you have nice day:rose:

    junior boy

    Web Development graphics html help tutorial question

  • Saving picture on webpage problem. [modified]
    J Junior Boy

    First,Thank you very much for your replied. Now I have some idea that you might right but I have never done this before. Please you tell me or suggest how can i learn about this. Any code example will be really appreciate. I need to get it work tomorrow my deadline to send this project to my teacher. Please reply this I am waiting for you,sir. Thank you million,

    junior boy

    Web Development graphics html help tutorial question

  • Saving picture on webpage problem. [modified]
    J Junior Boy

    I really have no idear how I get html file when I am trying to save chart picture on my webpage. This is the problem look like.. I sent some variables from page "A" to page "B" those values i need in creating chart process. It worked fine through showing the chart picture and when I moved mouse over the picture it shows the diskette icon to save picture and then I clicked save I got the html file it was "A" webpage. And sound funny every page that i linked from page "A" it got the same problem example page "C" it didn't get any variable from page "A" but it still got the same problem but again when I try to view only page C by set [Set As Start Page] property and then clicked run then I tried to save the picture again it work fine!!! I don't really understand which part of page "A" that make every page doesn't work right ???? What's causing the problem? Oh.. I need to tell you that the first two times it doesn't cause any problem but other times I will get this problem. Here is example code the most likely I wrote...

    ==========================================================================
    Graphics g;
    Bitmap b = new Bitmap(300, 499);
    g = Graphics.FromImage(b);
    Response.ContentType = "Image/Gif";

    g.Clear(Color.Transparent);
    g.FillRectangle(new SolidBrush(Color.Black), 0, 0, 300, 499);
    b.Save(Response.OutputStream, ImageFormat.Gif);
    b.Dispose();
    g.Dispose();

    Any suggestion will be really appreciate,sir. Thank you million, -- modified at 22:49 Thursday 5th July, 2007

    junior boy

    Web Development graphics html help tutorial question

  • ImageButton problem.
    J Junior Boy

    Thank you Luay. I got it. Actually I have tried this ImageButton1.ImageURL=Server.MapPath"???????"; Is there any wrong or can I can programming like above? Anyway, thank you very much again for yr help :)

    junior boy

    Web Development sysadmin help tutorial

  • ImageButton problem.
    J Junior Boy

    I have problem with the ImageButton control it doesn't show image that I already set ImageURL property. Actually it work fine on my local machine but after I uploaded to the server it doesn't display the image but it still worked fine with the Click Event.Another image worked fine example background image that has the same folder path. Any suggestion would be appreciated. Thank you very much,

    junior boy

    Web Development sysadmin help tutorial

  • Error Uploading! please help.
    J Junior Boy

    Thank gosh... Finally my project every thing worked right:) I am really exited and it worthwhile on have been tried hard. Thank you for all help again,sir.:rose::-D If you would like to visit my small project here is the link Click here -- modified at 0:48 Thursday 5th July, 2007

    junior boy

    ASP.NET help database sysadmin data-structures debugging

  • Error Uploading! please help.
    J Junior Boy

    I have been trying to upload all last night:( please see this code: ================================================================================ string fileName = Server.MapPath("~/471463016/TextFiles/"); if(Directory.Exists(fileName)) Response.Write("Existed"); else { Directory.CreateDirectory(fileName); Response.Write("Not Exist"); } ================================================================================ It shows me message: Existed And then please see code: ================================================================================ Response.Write("Path = "+fileName); try { FileUpload.PostedFile.SaveAs(fileName+"mydata.txt"); } catch(Execption ex){ Response.Write("
    Error: " + ex.Message); } ================================================================================ The result : Path = D:\webhost\471463016\TextFiles\ Error: Access to the path 'D:\webhost\471463016\TextFiles\mydata.txt' is denied. I don't really understand why I have the error when it show me the folder path is existed. Believe me, I have been try so hard as i have never tried, I really need help because I have deadline on July 7 Saturday to send my school project,sir. Again, anyhelp will be really appreciated. My email : big_kh@hotmail.com Thank you million,

    junior boy

    ASP.NET help database sysadmin data-structures debugging

  • Error Uploading! please help.
    J Junior Boy

    I am really appreciated all your help sir. I don't get it work yet but I am trying. Thank you for all replied message again sir,

    junior boy

    ASP.NET help database sysadmin data-structures debugging

  • Error Uploading! please help.
    J Junior Boy

    I tried to run on localhost on my computer it work fine but it didn't work on my server. I'm not sure how to coding for proper path on the server please see. FileUpload.PostedFile.SaveAs(Server.MapPath("TextFiles//mydata.txt")); //Is this right? If I have my webhost like this ftp://webhost.example.com/... <-- and I put all file and folder here. And i'm sure I the TextFiles folder is existed. Thank you million sir,

    junior boy

    ASP.NET help database sysadmin data-structures debugging

  • Error Uploading! please help.
    J Junior Boy

    I have been trying all day to upload text file to server but I have this error. Is something wrong? Anybody who know how to solve this problem please help me out. ================================================================================================ Server Error in '/' Application. -------------------------------------------------------------------------------- Could not find a part of the path 'D:\webhost\TextFiles\mydata.txt'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\webhost\TextFiles\mydata.txt'. Source Error: Line 75: { Line 76: fileName = Server.MapPath("//TextFiles//mydata.txt"); Line 77: FileUpload.PostedFile.SaveAs(Server.MapPath("//TextFiles//mydata.txt")); Line 78: input = ""; Line 79: Source File: d:\webhost\471463016\Index.aspx Line: 77 ================================================================================================== Thank you so very much,

    junior boy

    ASP.NET help database sysadmin data-structures debugging

  • Can't change controls name !
    J Junior Boy

    I have experience with this problem! You can try to change its name in HTML tag ID="TextBox1" in source page. Example : id="TextBox1" runat="server"> Good luck :)

    junior boy

    ASP.NET csharp help asp-net visual-studio tutorial

  • I need help! please
    J Junior Boy

    Now I know I need to upload the text file [data file] to the server. Anybody know what article explain how to upload text file? Thank you very much again.

    junior boy

    ASP.NET help csharp sysadmin data-structures testing

  • I need help! please
    J Junior Boy

    I have been trying to read textfile from client side and get the data inside the file add into the table but I have this error all the time:( Anybody who know how to resolve this problem please help me. I am just new in ASP .NET and this is the first webApplication of mine. Thank you million for helps, =============================================================================================== Server Error in '/' Application. -------------------------------------------------------------------------------- Could not find a part of the path 'C:\Documents and Settings\aim\Desktop\DataFile.txt'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents and Settings\aim\Desktop\DataFile.txt'. Source Error: Line 36: Line 37: // fileInfo = Server.MapPath("TextFiles//mydata.txt"); //Testing Line 38: fs = new FileStream(fileInfo, FileMode.Open, FileAccess.Read); Line 39: sr = new StreamReader(fs); Line 40: Source File: d:\webhost\471463016\Table2.aspx Line: 38 ===============================================================================================

    junior boy

    ASP.NET help csharp sysadmin data-structures testing

  • Free trail hosting to test web application.
    J Junior Boy

    Thank you advance for all advices:-D That's really appreciated.

    junior boy

    ASP.NET csharp sysadmin hosting

  • Free trail hosting to test web application.
    J Junior Boy

    Finally I just got my first asp .net web application project done. I used C# and asp .net technology to develop my project. I just want to upload my web application to the server and test it to see how it work:-D Anybody who knows whice website or whice hosting that I can test it,please tell me. Thank you very much.:rose:

    junior boy

    ASP.NET csharp sysadmin hosting

  • Listbox Dropdownlist SelectedIndex resets after postback. [modified]
    J Junior Boy

    Thank you very sir, Not I got it worked:) Actually I have tried to use SelecteValue but I didn't get it work somehow but now I tried it again and it work well. Thank you very much and really appreciated.

    junior boy

    ASP.NET help database tutorial question

  • Listbox Dropdownlist SelectedIndex resets after postback. [modified]
    J Junior Boy

    The listbox dropdownlist still keep and showing what member I selected after postback but when I tried to show what exactly selectedIndex is, it shows me the first index, it wasn't the index of the selected value. Regard,

    junior boy

    ASP.NET help database tutorial question

  • Listbox Dropdownlist SelectedIndex resets after postback. [modified]
    J Junior Boy

    Hi all guys, I am trying to get the index of the listbox, after I selected RadioButton that has Autopostback=true. Here is some code..... string titleColor = this.titleColorList.Items[this.titleColorList.SelectedIndex].Text; And then I tried to show the result: Transparent The Transparent is the first member of list or it has index=0 It took me for hours :( still don't know how to get it work. Anybody know how to resolve this problem? Any help would be appreciated. Thank you very much. -- modified at 6:02 Friday 15th June, 2007

    junior boy

    ASP.NET help database tutorial question

  • How to use tab as spritter in text file. [modified]
    J Junior Boy

    Thank you very much all you guys. Actually I have tried to use \t but when I declared I used '\\t' because I am using C# .net but I got error and I was wrong. Now i know more about \ I am really preciated your help. Thank you million :)

    junior boy

    ASP.NET data-structures help tutorial

  • How to use tab as spritter in text file. [modified]
    J Junior Boy

    Hi all you guys. I have been trying to use tab as spriter in text file. I declared the variable like this... char[] spriter = new Char[] { ' ', ',', ';', '"', '\\', '|'}; In the order i can sprit text with ' '(space) ,(comma) : (semicolon) and others as in the array. but I don't how to declare the TAB. Anybody who knows this please help me. Thank you very much. -- modified at 5:29 Monday 4th June, 2007

    junior boy

    ASP.NET data-structures help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups