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
B

bigmacrox

@bigmacrox
About
Posts
14
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Print multiple PDF files at the same time
    B bigmacrox

    Hi, no i am not creating the pdf files, but if you can send me the api anyways i will appreciate it. thanks. just pm me and i'll give you my email address.

    ASP.NET question csharp asp-net sysadmin help

  • Print multiple PDF files at the same time
    B bigmacrox

    My website has a listing of pdf files that clients can access by opening them in the browser or saving them to their hard drive and then opening it. Now they want to be able to print the pdf files altogether at one time through the website. How can I print multiple pdf files at the same time or one after the other without any user interaction in asp.net 2.0? I have thought of merging all the pdf files in to one pdf file and then displaying it in-browser where the user can then hit the print button and print in essence all the documents at once but this approach is not feasible because if the number of pdf documents is too high or if the individual pdf files are too large in size, the server will hang and the session might time out plus there are IO exceptions to consider, etc, etc. I would appreciate any help or advice. Thanks.

    ASP.NET question csharp asp-net sysadmin help

  • How to get Internet Explorer Security Setting
    B bigmacrox

    How do you get the security settings, i.e. Medium, Low, or High, for Internet Explorer through ASP.NET? I don't need any detailed security settings information, but only need to know if its Low, Medium or High. I am using ASP.NET 2.0. Thanks.

    ASP.NET csharp asp-net security tutorial question

  • Spacer Image URL error
    B bigmacrox

    Hi, I tried to initialize a new TreeView control in ASP.NET 2.0, so I could display its HTML output through the RenderControl method. But when I run the website I get the following error: [NullReferenceException: Object reference not set to an instance of an object.] System.Web.UI.Control.get_SpacerImageUrl() +59 System.Web.UI.WebControls.TreeView.RenderBeginTag(HtmlTextWriter writer) +147 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +17 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +53 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +280 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24 Test.button1_Click(Object sender, EventArgs e) in c:\... System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +97 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4919 Since the stack trace terminates at the method get_SpacerImageUrl(), I assume that I didn't set some property of the TreeView control when I was intializing it. Anybody know which property I have to set to avoid this error? Or am I completely off the mark? I initialized the TreeView control as follows: TreeView tv = new TreeView(); tv.ImageSet = TreeViewImageSet.Inbox; tv.ShowLines = true; tv.ID = "treeViewTest"; tv.Nodes.Add(new TreeNode("test")); StringBuilder sw = new StringBuilder(); //stores the HTML of the TreeView Control StringWriter st = new StringWriter(sw); HtmlTextWriter writer = new HtmlTextWriter(st); tv.RenderControl(writer);//outputs the html of the treeview control to writer labelContent.Text = Server.HtmlEncode(sw.ToString()); Thanks.

    ASP.NET csharp html asp-net design sysadmin

  • Auto-Register ActiveX object client side
    B bigmacrox

    I have an activex object, testObject.dll, under my website. I instantiate the activex object under javascript like so: "var obj = new ActiveXObject("testObjectNameSpace.testObjectClass");". But the only way this will work is if I register the .dll on the local machine otherwise I get this error: "automation server can't create object". I tried putting in the tag with classid and everything, but then I get a "object not defined" error when I run the javascript (i.e, if the object has id "objectTest" and one of the methods in the activex object is displayRandomText, I get the error on the javascript: "objectTest.displayRandomText();"). How can I make it so the client can automatically register the activex object without having to do it manually using the regasm command (i.e. regasm testObject.dll /tlb:testObjectNet.dll /codebase)?

    ASP.NET com question javascript sysadmin help

  • Transfer local files to ftp through javascript
    B bigmacrox

    Is there a way to transfer local files to a ftp server using javascript? I've tried using the FileSystemObject's File.Copy method, but it does not recognize the ftp path, i.e ftp://example. thx

    ASP.NET javascript sysadmin tutorial question

  • Custom Control Troubles
    B bigmacrox

    How can I create a control or object in asp.net whose public methods I can access through javascript? I tried creating a web user control, but that didn't work. I don't know if COM objects is the way to go or not. I know this covers a lot of area, but if you know of any tutorial websites or articles at codeproject that may help, please include them in your reply. I'm using MS VS 2005 and .net 2.0. thanks.

    ASP.NET question csharp javascript asp-net visual-studio

  • Automation Server Can't Create Object
    B bigmacrox

    I have an asp page that gathers the file and folder listings of the local client's hard drive by using the ActiveX Object Scripting.FileSystemObject, but I get an "Automation server can't create object" error when I run the site. It throws that error when I try to instantiate the following, "var fos = new ActiveXObject('Scripting.FileSystemObject');". I googled this error and almost everyone says to upgrade Windows Scripting, which I did to version 5.6, but I still get the error. Weird thing is that if I run the page locally I get no errors and it works, but if I run the page under my IIS I get this error, so is there a way I can update windows scripting under my IIS or is there an alternative solution to this?

    COM announcement com sysadmin windows-admin testing

  • Client-Side File Explorer
    B bigmacrox

    thx for the advice guys, I'm using javascript to populate the treeview by a combination of the Scripting object Script.FileSystemObject and .net 2.0 callback events, but I get a "Automation server can't create object" error when I run the site. It throws that error when I try to instantiate the following, "var fos = new ActiveXObject('Scripting.FileSystemObject');". I googled this error and almost everyone says to upgrade Windows Scripting, which I did to version 5.6, but I still get the error. Weird thing is that if I run the page locally I get no errors and it works, but if I run the page under my IIS I get this error, so is there a way I can update windows scripting under my IIS or is there an alternative solution to this?

    ASP.NET question csharp asp-net sysadmin

  • Client-Side File Explorer
    B bigmacrox

    I am creating a webpage in ASP.NET 2.0 where a client can browse through their hard drive in an explorer-like treeview control and select the files they want to upload, but how can I populate the treeview control with the client's hard drive and not the server's?

    ASP.NET question csharp asp-net sysadmin

  • Appointment Reminder Alert/Notification?
    B bigmacrox

    Thx for the reply. I don't think they would go for SMS and most of the clients have outlook express, not ms office outlook. I guess I have to use the quick and dirty option of having the client logged in to the website at all times and a simple javascript alert will remind them of upcoming appointments. thx for the advice and help fluxtah and ista.

    ASP.NET javascript help question

  • Appointment Reminder Alert/Notification?
    B bigmacrox

    Hi, I created an appointment website where you can create and manage appointments, but I need a way to remind the client of an upcoming appointment. I figured out a few ways to do this but there are problems with them. 1) I use a normal javascript alert window to remind the client of an upcoming appointment, but that would require the client to be logged in to the website 2) I create an ICalendar file from scratch with the appointment details and email it as an attachment to the client, so when they open the attachment Outlook treats it as an appointment. Problem with this is that the ICalendar file does not work with Outlook Express, only MS Office Outlook I'm fresh out of ideas, so if anyone can think of a better way to remind the client of an upcoming appointment, I would appreciate it. Thanks.

    ASP.NET javascript help question

  • How to get valid IPs from an IP Range?
    B bigmacrox

    Thx for the reply tylerl. I was hoping there was some other way to find out which IPs are used by computers besides pinging each one. I don't know if you have used Look@Lan, but somehow it figures out which IPs are used by computers and which IPs just don't exist. I've tried looking around the net for the program's source code but even though its free, the source code is unavailable. I've also looked at quite a few ping applications in c# but they still can't differentiate between an IP that is being used by a computer or one that doesn't exist on the network. They just send a packet and check for a reply. If you can think of anything else, please don't hesitate to reply back. Thanks again.

    C# csharp question visual-studio sysadmin help

  • How to get valid IPs from an IP Range?
    B bigmacrox

    I wanted to know if given an ip range, i.e 192.168.1.0-192.168.0.255, how do I find out which IPs are actual machines connected to the LAN without having to ping each IP? Even if I ping each IP, I wouldn't know if a timed out IP is an actual machine connected the network but offline or if the IP doesn't even exist on the LAN. If anyone has used the program Look@Lan, they would know that when you input an IP range it automatically figures out which IPs are valid and discards the ones that don't exist on the LAN. How do I accomplish this using C#? I'm using Visual Studio .NET 2005 with framework 2.0. I would appreciate any help or advice. Thanks.

    C# csharp question visual-studio sysadmin help
  • Login

  • Don't have an account? Register

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