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
V

Vuks

@Vuks
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Popup blocker window
    V Vuks

    function openMyWindow(){ var PagetoPopup; PagetoPopup= '<%=Session["app_path"]%>' + "MyWindowName.aspx"; var newWin = null; newWin = window.open(PagetoPopup,"MyPopupWindow","toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=no, resizable=yes,titlebar=0"); if ( (newWin == null) || (typeof(newWin) =="undefined") || (typeof(newWin .location.hash) != "string") ) { alert('Please ensure that pop-ups are enabled!'); } else { if (self.name != 'MyPopupWindow') { top.close(); // Use this if you want to close the main/parent window ; otherwise comment out this code } } I hope this is what you wanted.The code notifies the user if the popup blocker is activated, so that the user can de-activate it and try to open the window again. Vuks

    ASP.NET

  • OpenCurrentDatabase..HANGING!!! ...Automation MS Access 2003 [modified]
    V Vuks

    Hi, I am using C#.NET to create an instance of MS Access 2003. I try to open my Access Report, but the Application just hangs as soon as I get to the part where I open my Database. Here is part of my code: oAccess = new Access.ApplicationClass(); //No problem if(!oAccess.Visible) oAccess.Visible = true; //No problem sDBPath = "C:\\Reporting.mdb"; oAccess.OpenCurrentDatabase(sDBPath,false, ""); //PROBLEM IT HANGS!!! // Preview the report: oAccess.DoCmd.OpenReport(sReport,Access.AcView.acViewPreview, moMissing, moMissing, Access.AcWindowMode.acWindowNormal, moMissing) My problem is that it stops on the line that attempts to open the DB AND DOES NOT CONTINUE FURTHER.Ohh by the way I wrote the same code in VB6 and it worked just fine.Please help. Vuks -- modified at 9:15 Thursday 6th July, 2006

    ASP.NET csharp database help testing
  • Login

  • Don't have an account? Register

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