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
O

oskardiazdeleon

@oskardiazdeleon
About
Posts
49
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Calendar DayRender
    O oskardiazdeleon

    Guff thanks for the response. I must not be explaining my challenge properly. It seems to me that the calendars render on load right? I need to be able to control when the calendar renders protected void slCalendar_DayRender(object sender, DayRenderEventArgs e) { //inside here is where i am setting all my dates to blackout based on a dataset //i am bringing in from the database. My blackout list is created here. } This is where the date rendering is happening. What I would like to do is add to the blackout list for the second calendar. How do I dissable cells outside of the sl_Calendar_DayRender? Thanks

    ASP.NET question

  • Calendar DayRender
    O oskardiazdeleon

    Is there a way to force a day render? I have 3 calendars on one page. I am using the .Visible feature to hide them until a date is selected ont he first, then second. However depending on the first date selected I need to remove values from the second calendar and so on for the third. How can i force a dayrender on a click event? thanks

    ASP.NET question

  • System Information
    O oskardiazdeleon

    I have been playing with System.Diagnostics and am able to get the event logs from the pc. Can i get other information like CPU usage and Hard Drive Space? Also Can I get this for multiple server on my network? Thanks

    ASP.NET sysadmin question

  • Large Stored Proceedure
    O oskardiazdeleon

    I am building datasets at run time from asn asp.net c# web page. My chalenge is one of my stored proceedures has to harvest an extremely large dataset depending on the date range selected. My question is how to I set the progress of the stored proceedure? Here is a scenario if the data range is this month or this week the proceedure will run in a small period of time maybe 15 seconds. But if they choose to run the dataset going back one full year then it will take atleast 5 mins to generate the appropriate data. How to I make the asp.net webpage wait until that proceedure is done? Thanks

    ASP.NET csharp question asp-net tutorial

  • Report Viewer vs 2005
    O oskardiazdeleon

    I have an existing report I created in Crystal 10. I would like to display this in an asp.net page. It has no parameters simple report. I have also included the .rpt file into the VS project. How do i bind the report to the report viewer? Thanks

    ASP.NET question csharp asp-net visual-studio

  • Bitmap Save dialog
    O oskardiazdeleon

    Hi all, I am generating an image on the fly and I am trying to prompt the user to save this image on their drive. Response.ContentType = "image/gif"; bmp.Save("C:\\signature.bmp", ImageFormat.Bmp); Response.Clear(); Response.AppendHeader("Content-Disposition", "attachment; filename=signature.gif"); Response.ContentType = "image/gif"; Response.Write(bmp.ToString()); Response.End(); bmp.Dispose(); the dialog pops open but when I save the file it generates a file but its no the image its an empty object. How do I prompt the user the save dialog for this bitmap? any ideas?? thanks

    ASP.NET question graphics

  • Export Text File
    O oskardiazdeleon

    I am generating a textfile I would like to drop on the c:\. This web app is going to run in my domain. I am also trying to drop a bitmap file. How so I get access to create these files? thanks

    ASP.NET graphics question

  • DrawString and Font
    O oskardiazdeleon

    I am working with an image similar to a watermark. This is what I am doing Bitmap bmp = new Bitmap(Server.MapPath("Images\\image.jpg")); bmp.SetResolution(120, 30); Graphics g = Graphics.FromImage(bmp); Color customBlue= Color.FromArgb(18, 82, 125); //Create Font Font fn= new Font("Tahoma", 7); //Write g.DrawString("Phone :" + this.txtPhone.Text, fn, SystemBrushes.WindowText, 340, 15); my questions are How do I write the font in my customBlue color? and When i use the font in a smal size th font gets distorted? any insight? thanks

    ASP.NET graphics question sysadmin

  • Create Images from Web Page
    O oskardiazdeleon

    Bitmap bmp = new Bitmap(Server.MapPath("web.jpg")); Graphics g = Graphics.FromImage(bmp); g.SmoothingMode = SmoothingMode.AntiAlias; //set Name g.DrawString(this.txtName.Text, new Font("Arial", 14), SystemBrushes.WindowText, 110, 10); //set Title g.DrawString(this.txtTitle.Text, new Font("Arial", 8), SystemBrushes.WindowText, 115, 30); //set Address g.DrawString(this.txtAddress.Text, new Font("Arial", 8), SystemBrushes.WindowText, 115, 55); //set web URl g.DrawString(this.txtWebURL.Text, new Font("Arial", 8), SystemBrushes.WindowText, Convert.ToInt16(this.TextBox1.Text), Convert.ToInt16(this.TextBox2.Text)); Response.ContentType = "image/gif"; bmp.Save(Response.OutputStream, ImageFormat.Jpeg); I figured out how to make this file. How do I make this applicaion download this file instead of displaying it on the screen? Right now it renders the image but when I try to download it windows OS doesnt recognise it as an image.

    ASP.NET question

  • Create Images from Web Page
    O oskardiazdeleon

    I would lke to generate an image based from my webpage. Only the top 150 pixels by 40. Is there a way to take the designated pixels and take a screen shot into an image? thanks

    ASP.NET question

  • Magnetic Card Reader
    O oskardiazdeleon

    Is it possible to render an event from a USB card reader is the card swiped is not magnetic? Thanks I am trying to display MsgBox.Tex = "Card is not Authorized"

    C# question

  • Variables in Proceedures
    O oskardiazdeleon

    Is is possible to add variables to functions in SQL Server. My issue is I am buildint a dashboard and I am sendint the variables directly from the dropdown menu. what I need to do is have the ability to modify the Datediff function. By changing the type. i.e datediff(@dateRange, getdate())=0 I need to have the @dateRange be a variable instead of (dd, ww, or yy). Any Ideas? thanks

    Database database sql-server sysadmin help question

  • Create Deployment Package
    O oskardiazdeleon

    I am working in VS2003 and I created a project which is properly installing, however I need to add 2 more files, but I need them to go directly to the c:\ Currently the setup package is placing those files inside the application folder. Is this possible? Thanks

    C# sysadmin question workspace

  • Image in DropDownList
    O oskardiazdeleon

    How do I add an image into a dropdownlist? For example I have a dropdown with country names, I would like to add the flag of that country next to it. Thanks

    ASP.NET question tutorial

  • SQL Server Replication
    O oskardiazdeleon

    I am looking into starting a transactional replication process. The company I work for has aquired a property outside this country. I have to figure out how to make both sites function on their independent databases and have real time access to each other. I figured transactional would be the best option. what are some of the factors to consider? Our Corporate system functions with alot of auto generated id numbers and the database is dynamic. If i create a record here and i get id no 5, lets assume someone in the different country tries to do the same thing would he also get id no 5? if the databases have not syncronized since. Please excuse my ignorance for I am trying to learn how this functions. Thank you

    Database database sql-server sysadmin tutorial question

  • Button Control C#
    O oskardiazdeleon

    I am creating images for the buttong in c#. i have managed to use the transparent background in the button to make this images look seamles. however the only challenge I have is when I hover over the I can see the background of the form in the edges of the button. Its not square its bevel. Is there a way to disable that default. Here is an image of what i am talking aboout. http://i106.photobucket.com/albums/m250/oskardiaz_2006/ButtonOver.jpg[^] thanks

    C# csharp com

  • Restore SQL Server UNC
    O oskardiazdeleon

    My database has grown so much that I cant fit the database and the back(BAK file) on the same hard drive. I have tried to place the BAK file on our NAS Server and do a test restore from there. This did not work. Here is the proceedue I am using. ------------------------ Restore FileListOnly From Disk = '\\server_nas\TSW_Resort\TSWDataBackUp' Restore Database TSWData From Disk = '\\server_nas\TSW_Resort\TWDataBackUp' With Move 'W_Data' To 'D:\Data\TSData_Data.mdf', Move 'W_Log' To 'D:\Data\TSData_Log.ldf', Replace ----------------------- This didt not work either. Everytime I try to restore from the UNC path I get a device off line error. I have also checked my SQL Server Agent to make sure the credentials will allow it access to that file path. The last thing I have tried was to give the UNC path the address of the Mapped drive \\server_nas\G$\TWDataBackUp however that did not work either. I am using SQL Server 2000 and Windows Server 2003. Does anyone have any idea on how to do a restore. Any help would be appreciated Thanks

    Database database help sql-server sysadmin windows-admin

  • Registry Scan
    O oskardiazdeleon

    Thank you for replying. I appreciate you sharing your knowledge. Are there functions within the Registry class that would allow me to scan it? Im assuming i have to setup a while statement to read through each key within the the tree. Would you have any idea of how to start off the syntax? Thank you I appreciate your help

    C# csharp winforms windows-admin tutorial

  • Registry Scan
    O oskardiazdeleon

    I have been working with RegistryKeys (Create, Delete, Modify) however i do not know how to read the whole registry. I am looking for certain keys, but they end up being all over the place. I need to be able to identify their exact path. I am working in Windows Forms C# Thanks

    C# csharp winforms windows-admin tutorial

  • System Shutdown
    O oskardiazdeleon

    How can i programatically send a shutdown or a restart command from a On_click event? Is this possible in c#? Thanks

    C# question csharp
  • Login

  • Don't have an account? Register

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