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
D

Diana Rhoades

@Diana Rhoades
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • remove toolbars from browser window that's open or how to close parent window if remove toolbars requires two windows be open [modified]
    D Diana Rhoades

    We run Lawson software and are upgrading to a new version. The asp and html/js that worked in the former version no longer work. Here is the issue: Ops puts a file "gllogin_status.txt" in the Lawson index directory if the database is down. The js checks the document.referrer and then , if successful, the browser needs to appear without toolbars (messes up Lawson users). In my research so far it seems the js can either: FYI: new_url = asp page which checks for gllogin_status.txt 1) window.location.href = new_url; the problem with this is that I have not found a way to turn off the toolbars after this code runs 2) window.open(new_url, "name", "status=1,location=0,menubar=1,titlebar=0,scrollbars=1,resizable=1"); this way I get the toolbars turned off, but I have two browser windows open and they both look like Lawson windows. I would like to close the parent window but we do have IE as the browser standard. Is there a way to do this? If no way to close the parent window in IE, is there a way to redirect the old window to the user's home page to avoid some confusion? Any help would be greatly appreciated!

    modified on Wednesday, October 7, 2009 11:53 AM

    Web Development help database javascript html tutorial

  • Making money as a web developer (or, how the web killed the software entrepreneur)
    D Diana Rhoades

    Making money working from home seems to be the theme. There's lots of web development in companies who are not only trying to get useful home websites with information, but are also creating web apps for their customers (software companies) because people want to access their work apps from anywhere. It lends itself to team programming but that's where a lot of web app development is being done.

    The Lounge question com business sales help

  • VS2005 C# error message 1)"starting a second loop on a single thread is not a valid operation" or 2)"Child list for field Authors cannot be created" (many-to-many relationship)
    D Diana Rhoades

    I'm sorry. I have Googled for a couple days now and tried various things. This is my first C# project, I am teaching myself, and I have a many-to-many relationship between books and authors tables (linked by bkauthlink table) in SQL Server. No doubt it is not a good first project but it is what I have (a problem I need solved). There is not a great deal published on this scenario or I am googling the wrong terms. I have googled my error messages as well. And I did read how to post but have added to the subject and the body. I noted in the body of the code where the issues(s) happened but it seemed like a humongous subject line. I have one of two errors depending on how I call the form in my project. Any help would be greatly appreciated and if it were pleasant, all the more so. Thanks!

    C# help csharp database sysadmin security

  • VS2005 C# error message 1)"starting a second loop on a single thread is not a valid operation" or 2)"Child list for field Authors cannot be created" (many-to-many relationship)
    D Diana Rhoades

    VS2005 C# This is my first C# project. I have books, authors and a bkauthlink table linking the other two tables creating a many-to-many relationship. I get an error in Program.cs: one is a problem with the way I'm calling my main form; the other error may mean I have program.cs correct but there's a problem in my data class--specifically with the data relations involving a many-to-many relationship. Program.cs class: namespace BooksAuthors { static class Program { // The main entry point for the application. [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //error re single thread if use this //"Starting a second message loop on a single thread is not a valid operation. //Use Form.ShowDialog instead." //Application.Run(new BooksAuthors.MainForm()); //error "Child list for field Authors cannot be created" Application.Run(new MainForm()); } } } Here's the class for the data: namespace BooksAuthors { internal class ClassDataHandling { public void MainDataClass() { string connString = @"Server=RHOADESD;Integrated Security=True;" + "Database=BOOKS"; SqlConnection conn = new SqlConnection(connString); SqlDataAdapter booksAdapter = new SqlDataAdapter( "Select * from books", conn); SqlDataAdapter bkauthlinkAdapter = new SqlDataAdapter( "Select * from bkauthlink", conn); SqlDataAdapter authorAdapter = new SqlDataAdapter( "Select * from authors", conn); conn.Open(); DataSet BookAuthDataSet = new DataSet("BookAuthors"); booksAdapter.Fill(BookAuthDataSet, "books"); bkauthlinkAdapter.Fill(BookAuthDataSet, "bkauthlink"); authorAdapter.Fill(BookAuthDataSet, "authors"); conn.Close(); DataRelation book = BookAuthDataSet.Relations.Add( "BookRel", BookAuthDataSet.Tables["books"].Columns["booksID"], BookAuthDataSet.Tables["bkauthlink"].Columns["booksID"]); DataRelation author = BookAuthDataSet.Relations.Add( "AuthRel", BookAuthDataSet.Tables["authors"].Columns["authorsID"], BookAuthDataSet.Tables["bkauthlink"].Columns["authorsID"]); New to C#

    modified on Friday, February 27, 2009 2:31 PM

    C# help csharp database sysadmin security
  • Login

  • Don't have an account? Register

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