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
I

IrishSonic

@IrishSonic
About
Posts
177
Topics
124
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How do I run my SQL script from .msi ??
    I IrishSonic

    Colin You are a star!! Cheers.

    Database question database tools

  • How do I run SQL Script from .msi installer??
    I IrishSonic

    Hiya I have a script that I want run when installing my app. This scripts adds my database table. How do I do this?? Thanks.

    .NET (Core and Framework) database question tools

  • How do I run my SQL script from .msi ??
    I IrishSonic

    Hiya I have a script that I want run when installing my app. How do I do this?? Thanks.

    Database question database tools

  • Generating Product Key...
    I IrishSonic

    Hi could anyone give me some source code or tutorials on generating product keys in c#?? Also need advice. I want to generate a product key and have some way to detect if the licence count is at its maximum. So therefore the program can not be installed again. How do I do this?? Thanks.

    C# question csharp

  • Creating SQL table with installer.
    I IrishSonic

    Hi I now have my sql script which generates the database and tables. I have my setup project and added a custom action for the script. But the script will not run when being installed.. Help!!

    C# csharp database question dotnet

  • Creating SQL table with installer.
    I IrishSonic

    Hiya I have created an installer for my c# and ado.net app, but want to create a new sql table when the installer runs, if the sql table in the database does not exist. I also need to add assemblies to the gac when the installer runs. How do I do this?? Thanks.

    C# csharp database question dotnet

  • How do I display byte[ ] image on webform??
    I IrishSonic

    Thanks chris. Would you have any links for these articles?? Sorry asp.net beginner here.

    ASP.NET question database data-structures

  • How do I display byte[ ] image on webform??
    I IrishSonic

    Hi all Need some advice. I have a byte array that contains my image taken from a database. I need to put this byte array into some control on a webform to display the image. I have tried using the Response.BinaryWrite() but that clears my webform and places the image in the top-left corner. How do I display this image in a certain position on my webform?? Thanks.

    ASP.NET question database data-structures

  • Urgent - Need help inserting line into text file.
    I IrishSonic

    Ok guys, comments definitely taken on board!! But can't believe that if you want to insert a new line at a specific point, it means rewriting the file to a new file and deleting the old one. Is this the industry standard way its always done?? So what if I wanted to just update a line?? Would I still have to write to a new file and delete old?? Also could I trouble you for maybe a quick example of placing everything into a StringBuilder with the new line. Thanks.

    C# help debugging

  • Urgent - Need help inserting line into text file.
    I IrishSonic

    Hi I have a text file with the following layout: [PROFILE1] SYSTEM=home DEBUG=true [PROFILE2] SYSTEM=laptop DEBUG=true What I want to do is insert a new line after the FIRST DEBUG LINE in PROFILE1 so the whole of PROFILE2 then moves down a line. My problem is that I keep overwriting the start of PROFILE2 e.g [PROFILE1] SYSTEM=home DEBUG=true testline 2] SYSTEM=laptop DEBUG=true Can you take a look at my code and see what I am doing wrong!! if( File.Exists( "d:\\networld.ini" ) ) { long lFilePos = 0; string sLine = null; FileStream fs = new FileStream("d:\\networld.ini", FileMode.Open, FileAccess.ReadWrite); // Create a new streams to read and write to the file StreamReader sr = new StreamReader( fs ); StreamWriter sw = new StreamWriter( fs ); while( sr.Peek() > -1 ) { sLine = sr.ReadLine(); if( sLine.CompareTo( "[" + "PROFILE1" + "]" ) == 0 ) { lFilePos = sLine.Length; while( sr.Peek() > -1 ) { sLine = sr.ReadLine(); lFilePos += sLine.Length + 2; if( sLine.CompareTo( "" ) == 0 ) { fs.Seek( lFilePos,SeekOrigin.Begin ); sw.Write( "testline\r\n" ); sw.Flush(); break; } } } } sr.Close(); fs.Close(); MessageBox.Show( "Finished Writing To File." ); } Thanks a million.

    C# help debugging

  • How do I load image binary string into image control??
    I IrishSonic

    Hiya I have a binary string that contains my graphic (from database) and want to load it into my icon asp.net image control. The only property I can see to make the image display is ImageURL, which takes a URL. How do I load my binary string into the image control?? Or is there another control I can use?? Thanks

    ASP.NET question csharp asp-net database

  • Web app not calling Application_End
    I IrishSonic

    Hiya I have a normal web app with many forms. My problem is that when I close the web app with the red X in internet explorer, Application_End in Global.asax does not get called to clean up my varibles. Am I doing something wrong?? Thanks

    C# help question

  • Urgent Advice needed - What do I need to set for fastest page and data grid load??
    I IrishSonic

    Hiya I have a web form that contains a number of data grids. The grids display about 600 hundred database records each. The grids contain Select,Update and Delete buttons. The data is retrieved using DataSets and DataTables. My problem is that the grids load the records VERY VERY SLOWLY!! Sometimes over 1 minute!! What properties can I set on the web form and the data grids to make them display the fastest speed possible??? Thanks

    ASP.NET css database performance help question

  • How do I close ALL open asp.net app forms and .htm pages??
    I IrishSonic

    Hiya I have an asp.net app and when the user chooses "log off", I want to close all open pages of the app. How do I do this?? Thanks

    ASP.NET question csharp asp-net

  • How do I set the center page of a frameset??
    I IrishSonic

    Hiya I have a asp.net app that contains a frameset (banner and content). For the left most page (my button panel), I have set a form that contains image buttons. When the user clicks an image button, another form should open in the center frame. My problem is that I do a Reponse.Redirect() but the page opens in the left most page (my button panel). How do I tell the page to open in the center frame?? ------------------------------------------------ header form ------------------------------------------------ button1 | FORM SHOULD OPEN HERE!!! button2 | button3 | ------------------------------------------------ Thanks.

    ASP.NET question csharp asp-net help

  • How do I let the server know the web app is running and active??
    I IrishSonic

    Yeah sorry Andy, didn't explain myself very well. Nothing to do with web server or server app. I have a asp.net web app that contains many forms. In the web app, I have a frameset and a contents.htm file for my frameset. So on startup, the first screen they meet is the log on screen. So they log on and a new web form opens containing the frameset so they can browse between different web forms. Now I also have a log off screen, so when the user clicks "Log Off" button, in here I need to kill of the screens the user has opened and return them to the log on screen, incase a different user wants to log on. How do I do this??

    ASP.NET question sysadmin tutorial

  • How do I let the server know the web app is running and active??
    I IrishSonic

    Sorry, one last question. I am creating a log on/off web app. How do I close all open web forms??

    ASP.NET question sysadmin tutorial

  • How do I let the server know the web app is running and active??
    I IrishSonic

    Hiya Andy, thanks for that, has helped abit. The Server app is written in VB. New to asp.net so will try to understand what you mean.

    ASP.NET question sysadmin tutorial

  • How do I let the server know the web app is running and active??
    I IrishSonic

    Hiya I need to send a server a heart-beat message from a web app every few seconds to tell the server that the web app is active and running?? Does anyone have any ideas how to do this?? Thanks

    ASP.NET question sysadmin tutorial

  • How do I close all windows open in app??
    I IrishSonic

    Hi I am doing a log on/off screen and need to log the user off. How do I close all of the open windows (whether its .aspx or .htm) currently running in the app, and reopen my start up page?? Also How do I close an running asp.net app?? Thanks.

    ASP.NET question csharp asp-net
  • Login

  • Don't have an account? Register

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