Forum Array

How To Show Status To User For Long Running Process

Note:- i don't want to use updateprogress etc. control of ajax on button click, long task(e.g thread) runs in my webpage for about 4-5 minutes.I want to show status to user either by a processing image through javascript(image must be shown in a certain part of page other part of page will remain intact) or an exact status of process if possible. i have tried a lot but all in vein.

View Answers

Very Similar Questions

How To Keep Number Of Apache Running Processes Down
www.webhostingtalk.com
I have small issue with load speed of pages when number of apache running processes goes over +-310, during peak traffic of day. IE: They load really slow. Here's pic of what I mean: => [url] Only thing that fixes it temporarily (at least until peak traffic ends) is to stop either httpd or mysql for several seconds, as everything cools down, then start it back up. Stop/starting mysql usually has longer terms temporary fix. Anyway, would you have any ideas on what to configure or change within the system in order to keep the processes under 300? The load is normal. Even at load 40, pages are blistering fast, as long as processes are under 300. So it's got nothing to do with load.

Ajax - Long Process And Sending Updates To Browser
stackoverflow.com
I've asked this before but I was hoping for another answer and perhaps some code samples because I've been having a difficult time with this. I have an asp.net page. The user hits the "Run" button and I have code IN AN ASSEMBLY, not in the APP_CODE folder that is called and runs a long process that moves product info from a file into the database. While the user waits, I would like them to see status updates like what product the import process in on and status info. I'm assuming I'd break off into another thread and use Ajax but I have no idea how to do this.

Running A Command When The User Clicks The Close Button On The Window (X)
www.vbforums.com
Hi I am sure this is very simple I just can't find it anywhere. How would I go about running the code "End" when the user clicks on the "X" (close button) at the top right of my VB application. When they hit the X on my child window I need it to close the Exe. I can't do it just on unload because I have another button that unloads the window and I don't want the application to to close with that button. Thanks

How To Change Html Elements Attribute At Run Time In Web User Control
forums.asp.net
I have a web user control menu of page. Now I want HOME (which is an hyperlink text) in menu to be Bold at the time default.aspx Loaded (Load event)! How can I do that If any one can provide code! I am using VB .Net at back.

Web Forms :: How To Show The Time Needed For A Page To Show
forums.asp.net
I wnat to evaluate the performance of my web page. How can I show the time comsued of a page?

Align Text On Standard Command Button
www.vbforums.com
I had found this code awhile ago, I think from this site, and I never used it until now. I am trying to left or right align some text on a standard command button. I havve searched the forums extensively and couldn't find a solution on this. Does anyone have an idea how to do this?Thanks.VB Code:Option Explicit Public Const GWL_STYLE As Long = (-16) 'these are not true Windows button stylesPublic Const BS_ALIGN_CENTRELEFT As Long = &H100Public Const BS_ALIGN_CENTRERIGHT As Long = &H200Public Const BS_ALIGN_CENTRE As Long = &H300Public Const BS_ALIGN_TOPMIDDLE As Long = &H400Public Const BS_ALIGN_TOPLEFT As Long = &H500Public Const BS_ALIGN_TOPRIGHT As Long = &H600Public Const BS_ALIGN_BOTTOMMIDDLE As Long = &H800Public Const BS_ALIGN_BOTTOMLEFT As Long = &H900Public Const BS_ALIGN_BOTTOMRIGHT As Long = &HA00 Public Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long   Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, _ByVal dwNewLong As Long) As Long Public Type ControlLayoutData   totalRows As Long   totalColumns As Long   rowPadding As Long   colPadding As Long   ctlHeight  As Long   ctlWidth As Long   pgridTop As Long   pgridLeft As LongEnd Type Public style As Long

Link Label Question
www.vbforums.com
how to do when user press the link label, then show the url in the browser and run it?

ITunes Mac :: ITunes Won't Restore IPhone Or IPad / Process Freezes
discussions.apple.com
I'm having a bit of trouble with iTunes on my MacBook Pro. Whenever I attempt to restore my iPhone or iPad, the restore bar gets very close to the end (when displayed in iTunes), and to about 2/3 of the way through (on my iDevice), then the process freezes. I thought this was limited to my iPhone 4. But, after having attempted to restore my iPad, I've encountered the same problem again. The only way I can get my iDevices out of recovery mode and back to work is by restoring them on another computer, then syncing on my MacBook. As you can imagine, this is extremely annoying. Is there a way for me to fix iTunes on my Mac, or do I need to visit a Genius Bar? Information: MacBook Pro Mac OS X (10.6.4)

Process An Array In Function With External Formatting
stackoverflow.com
I want to pass an array to a function and iterate through it in this function. But I would like to be able to change the way the single entries are displayed. Suppose I have an array of complicated objects: $items = array($one, $two, $three); Right now I do: $entries = array(); foreach($items as $item) { $entries[] = create_li($item["title"], pretty_print($item["date"])); } $list = wrap_in_ul($entries); I would like to do the above in one line: $list = create_ul($items, $item["title"], pretty_print($item["date"])); Any chance of doing that as of PHP4?

How To Process A Local File Rather Than Just Read It
bytes.com
I can read a local file with fopen("myFile.php"); However this gives me the source of the file (i.e. php code). I want to get the results of the file after it has been evaluated (i.e. HTML). The obvious way of doing this is include 'myfile.php' However, I want to process the evaluated result. For example: echo htmlentities( include 'myfile.php' ); This doesn't work because the result of the include statement is true or false rather than a string. I'm sure this is very simple, but I'm just learning.

How Do I Run A Sub Func Each Time A User Clicks The Tab Or The Next Button In The Main For
www.vbcity.com
I want my subform to run a Sub Function and get re-queries after the user presses the "Next" Button on the main form, or Presses the "Tabs"(I have three tabs and the subform is placed inside the tabs) or changes theStatus Field in the SubForm. At the moment I have a AfterUpdate Event in the Status combo box with calls the Sub but it doesn't include the Field I change at that very moment in the form.Any recommendations of how can I implement such an event? Thanks,ZubEdited by - vbalearner on 10/4/2007 2:35:41 AM

Motorola Droid X :: Yahoo Mail On 2.2 - Unable To Long Press And Open The Link
androidforums.com
If I receive a link in an email on my yahoo account I am unable to long press and open the link? Is this a known bug?

Motorola Droid X :: Facebook Friends Contacts Profile Pics No Longer Update
androidforums.com
Sync my pix apk sucks. removed some bloat ware using titbck up. I backed all apps b4 removing. But titbck up won't let me restore them. They have a strike through line on them. I need the social networking.apk and motoblur contacts sync apk. Can somebody up loaf or let me know how to restore them. I'm thinking about sbf'or will a factory data reset be ok?

HTC Droid Eris :: No Longer Gets Hot Or Eats Battery But Can't Sync Google Contacts
androidforums.com
So, like many of you, my phone would occasionally get hot, and the battery would just zoom down to nothing. Usually this was just intermittent, and a restart would cure it.On June 10, it was happening, and persisted despite restarts, battery pulls, etc. I finally found that the problem was google trying to sync contacts. It was having some problem and cycling forever. When I unchecked the google contacts sync in the accounts preference panel, problem stopped. My battery life has never been better. Routinely getting 18-20 hrs or more.BUT I want to sync my google contacts! Every time I trial re-checking that box, it cycles and cycles, every few seconds giving a little error at the bottome of the screen (in prefs) "Sync is currently experiencing problems. It will be back shortly".I have 700-something contacts (Only 250 real "My Contacts" but another 500 or so auto-created contacts from gmail use.Presumably one of those entries has some corruption, but I can't figure out which, and I don't want to potentially lose all the contacts.I have seen that for some people this was fixed by factory reset and resync, but then the problem came back a few weeks later.

Sony Ericsson Xperia X10 :: Not Sending Long Txt Messages
androidforums.com
everytime I go to send an sms thats 3 pages long it will send then I get a notification saying unable to send Nd the receiver only gets half the message ! this is really winding me up it happens everytime its 3 or more pages long !

Motorola Droid :: Gmail Contacts No Longer Syncing
androidforums.com
After I installed and evaluated the Companionlink software for syncing Outlook contacts, calendar, tasks and notes to my Droid, I noticed the gmail contacts were no longer syncing via the gmail sync. However, the gmail calendar and mail were not affected. I uninstalled all of the Companionlink stuff but the contacts still do not sync. Anyone know how I can get the contacts to sync via gmail again? Short of "reset user data on phone"?

Professional :: Publishing A Projector No Longer Works?
forums.adobe.com
I've been developing a fairly simple presentation in CS4, AS3, OSX, which runs as a standalone projector.Everything was working for a while, but now for no apparent reason, any file I publish as a projector starts the Flash Player app, but the projector does not appear or play.Older versions that I had already published will play correctly, but if I re-publish them they do not work any more.

Flex :: Playing A Large/long H264 File With NetStream Takes A LONG Time To Begin Playback?
stackoverflow.com
I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can cause this bloated lead in time?

Sending/receiving Emails :: Requested Action Aborted: Error In Processing
www.webhostingtalk.com
Iam having a problem in sending/receiving emails . When i try to send email from c-panel thru SquirrelMail i get this error msg : ERROR: Message not sent. Server replied: Requested action aborted: error in processing 451 Temporary local problem - please try later There is another thing also happens when i type /scripts/fixcommonproblems from SSH Fixing permissions on cgi scripts.....Scanning suexec_log...Done Done Shutting down Mailman's master qrunner Processing cools4u2 /bin/pwd: failed to stat `.': Permission denied Processing videoco .....

How Long To Transfer Server
www.webhostingtalk.com
I just signed up with a new host. How long should I expect it to transfer sites through WHM? I know it depends on the size of the sites but how long does the average 100M site?

SQL Reporting :: Error In Reports: The Full Path Must Be Less Than 260 Characters Long
forums.asp.net
When I call my reports from the .net program, i am getting following error Microsoft.Reporting.WebForms.ReportServerException: The path of the item 'D:/WebSites/DevelopmentWebsite/AP_reports/AP_reports/vent_Full_Div' is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath) at Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() at Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) at Reportviewr.Page_Load(Object sender, EventArgs e) in d:WebSitesDevelopmentWebsiteReportviewr.aspx.cs:line 416   The path of the item 'D:/WebSites/DevelopmentWebsite/AP_reports/AP_reports/Event_Full_Div' is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath

Web Forms :: User Links From One Page To Another Using A Hyperlink, The Site Map Does Not Seem To Show...
forums.asp.net
The ASP.net 3.5 SiteMapPath Control shows the site map but not necessarily the path thru a site.  If a user links from one page to another using a hyperlink, the Site Map does not seem to show the actual path, only the site Map. If this is incorrect, please let me know.If it is correct, do you know of another control that will show the actual path thru the site in a session?

Define A Long String With Linebreaks?
stackoverflow.com
is there a way to define a single long string with line breaks within the string definition code? my string is somethign like this: string sql = "SELECT a.bg_user_56 AS Project, a.bg_user_60 AS SubSystem, a.BG_USER_81 AS AssignedToUserName, a.bg_responsible AS AssignedTo, FROM mytable"

DataSource Controls :: SelectCommand String Is Too Long?
forums.asp.net
My SelectCommand string in my asp:SqlDataSource is very long. Is there a way I can chop it up into different strings on several newlines to make it more readable?

MVC Controller Parameter Processing?
stackoverflow.com
In my application I have a string parameter called "shop" that is required in all controllers, but it needs to be transformed using code like this: shop = shop.Replace("-", " ").ToLower(); How can I do this globally for all controllers without repeating this line in over and over?

How To Clear A Status Message On A Web Form When Starting A Process
stackoverflow.com
I have a web form used for importing data from a CSV file. It contains a result panel and a result label, which either show a success message or an error message after the import process. Let me say here I know the page should not be doing the import, but this is legacy code and the client expects only small changes. My problem is that the result message (label) retains it's previous content and visibility during the next import process, because clearing it during Page_Load or at the beginning of the import method only has effect when the import method is complete and thus the postback is complete. At the moment, the only solution I can see is to move the import code into a separate class (as it should be), call the import method asynchronously, clear the result message, and thne set then result message when the complete or error callback from the import process is called.

Assigning String Text To Variable - Process And Display
forums.asp.net
I need to accomplish a simple task like this: 1. Assigning text of a few lables to corresponding variables. 2. Taking/posting these variables to server and process them. 3. Print the outcome in a message. An example would be:  Take lable1 as variable x. Take lable2 as  variable y.  then process  as z=x+y. and print z on the page.

Visual Studio :: How Long Is Golive License Valid Till For 2010 Beta 2
forums.asp.net
If I download and install VS 2010 Beta 2, then for how long will the VS 2010 be usable? Will it expire after a few months? I know the license is a golive license, which means I can use it to build production websites, but there is no mention of how long the license lasts.

Visual Web Developer 2010 Express Programing Process?
www.vbforums.com
learn to use visual web developer but encountered a problem. I wat to be able to upgrade something and then as the lv goes up the time to do something goes down.

AJAX :: RegisterStartupScript No Longer Working For Partial Updates
forums.asp.net
In previous release, I used RegisterStartupScript method to run JavaScript when UpdatePanel would finish updating.  That would work for both Partial and Full-page updates.  With BETA 1 - javascript doesn't execute  for partial updates. Is there a new model for triggering javascript when UpdatePanel returns new content? I am really thinking of going back to last CTP before any new surprises come up. 

How To Use Server,Xml,email Error Log Store Process On Elmah
stackoverflow.com
using elmah i can save error log on database,email,xml .They are individually works well .I want to work in together.Suppose in my config file i can can active server log than i can not active xml log but i want to work on both .How to do. <elmah> <!-- Change this to 1 to allow remote access. If you do, be sure to lock down the elmah.axd file! --> <security allowRemoteAccess="1" /> [code]... if i cative server log on tag it's work well than i need to deactivate rest of log storage process like : xml,mail-notification etc.If i active Xml log than it's work well than i need to deactivate rest of them .But if i active both of them then it does not work**.I want they active on same time.How to active them in the same time.if i active **mail log it does not work .I don't know why it's not work.**1) How to active Server log and Xml log on same time.2) How to active email log with 1) and individually why it's not work?** I want error log will save on database, save on specified folder as xml formate, and also want to send email notification how to active them in the same time.

Configuration :: "Access Denied" Exception Causing W3wp.exe Process To Crash
forums.asp.net
We recently migrated our ASP.NET 2.0 application to ASP.NET 4.0. It is running on Windows 2003 with IIS 6.0. After migrating, we have found that the ASP.NET 4.0 worker process w3wp.exe crashes intermittently with an 'Access Denied' exception. The stack trace of the exception does not point to any code written in our application. We are clueless as to what could be causing this. The worker process crashes when it makes a remoting call over http. Event Type: Error Event Source: ASP.NET 4.0.30319.0 Event Category: None Event ID: 1325 Date: 2/22/2011 Time: 10:01:03 AM User: N/A Computer: SYS01 Description: An unhandled exception occurred and the process was terminated. Application ID: /LM/W3SVC/1/ROOT/Remoting Process ID: 4660 Exception: System.TypeInitializationException Message: The type initializer for 'ConvertClass_1' threw an exception. StackTrace: at ConvertClass_1.Finalize() InnerException: System.Management.ManagementException Message: Access denied StackTrace: at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementScope.InitializeGuts(Object o) at System.Management.ManagementScope.Initialize() at System.Management.ManagementObject.Initialize(Boolean getObject) at System.Management.ManagementClass.CreateInstance() at ConvertClass_1..cctor() For more information, see Help and Support Center at [URL] We have tried options like giving permissions to ASPNET account in the WMI services under 'Component Services' but to no avail. Has anybody else faced this issue?

How To Process Results From A JQuery Ajax Post
stackoverflow.com
I am making a jQuery ajax post in a javascript function used by a asp:CustomValidator control. The web method returns a boolean. How do I convert the result make the validation script function correctly. Client side code [code].... Web service code [code]....

Web Forms :: Event Handlers Not Triggering Any Longer?
forums.asp.net
I've been working on a web form that has lost it's ability to respond to most event handlers, though code that I write in Page_Load still fires.  No button click or text changed events will fire.  This has been working for months, and suddenly stopped.  I did a windiff comparison to an older version of the webform, and don't see anything suspicious.

Run Shell_exec In The Background Or Other Methods Of Running The Script Without The Page Hanging?
www.phpfreaks.com
I am using shell_exec to call a batch script, I don't need the batch to put any output on the page and - as it takes some time to run - I would love it to run in the background, however currently the page hangs untill the script has completed.. how to run shell_exec in the background or other methods of running the script without the page hanging?

Too Long Time For Performing Script
www.phpfreaks.com
There is a PHP – script on the server, which is worked out for a long time (over 10 min). The connection breaks up while performing the script and the absence of output to the client’s browser since the browser thinks that the server stops answering.  How can I solve the problem that part of the PHP script on the server can not be performed because of connection interruption? 

Jquery :: Multiple PHP Processes - Allowing The User To Continue Browsing Without Having To Open Up A...
stackoverflow.com
I have a page where users enter their email address, click "Send", and the webserver will email them a ~10mb attachment. Right now, I have the page just display "Sending..." and the user waits about 20 seconds on this page. Instead, I want to have it say "Your attachment will be emailed in a few minutes," sending that process somewhere else and allowing the user to continue browsing without having to open up a new tab. I really just need someone to point me in the right direction because I don't even know what to Google at this point.

How To Setup A Batch Process
www.phpfreaks.com
I'm working on a project where if a web user signs up for a 30-day trial, they need to be notified near the end of that trial--let's say 25 days--that the trial is expiring. So I need some kind of batch process that runs in the background, perhaps every night at 1am, that looks at the signup date for all trial users and compares that date to the current date. If the difference is 5 days, then that user should be sent an email. how to set up a nightly batch process that like this? I'm not concerned so much with the date comparison as I am with getting a daily process to run in the background. Coldfusion has something called a Scheduled Task, but being new to PHP, I don't know what would be comparable.

Processing List Of Items In Sections?
stackoverflow.com
I want 3 item per div (the sample has a total of 7 items) like this: <div> <item/> <item/> <item/> [Code].... How do I correctly print out the items in blocks of 3?

Read Long Value From Webservice Using SoapClient?
stackoverflow.com
I'm writing a soap consumer in PHP for a ws written in Java (Jax ws). The webservice exports a function listRooms() that returns an array of the complex data type Room which contains an id (64 bit long) and a description (string). Now whenever I consume the webservice using SoapClient, the id is converted to float (as there are no 64 bit integers in PHP) and I want to avoid it. As I will need the room id to consume other web services I would rather avoid this implicit conversion to float, keeping it in a string.

Automated Email Process
phpbuilder.com
I have an environment where I will be receiving emails with attachments from members. I need a process hopefully using PHP that will be able to recognize new email, take the attachments, and depending on whether the subject line says for example "A" or "B". I need to run a specific code to put the attachments into my MYSQL. The problem is, I'm not sure how to even access the emails, attachments, or even check if they are present using PHP. Is this possible?

Abort All Processes And Unload Form
www.vbforums.com
I had 5 process procedures in a form, they are:process1process2 process3process4process5I also have a "Exit" button when processing is in progress, how to abort all processes then unload the form when user click "exit" buttonplease advisethanks and regardsWinanjaya

CSS - Show Semi-transparent Layer Over Webpage For Disabled Users?
stackoverflow.com
I have a website application that relies heavily on Javascript and JQuery. If the user has JS disabled in their browser settings, the website does not function as well as it should, although it still works.I would like to stop people seeing my website that have JS disabled, but without redirecting them to a non-javascript page. I would like to alert my user that JS should be enabled in a well presented CSS method. If JS is disabled, I would like to show a semi-transparent/white CSS layer, displayed on top of my webpage with a width of 100% and a height of 100%, with some kind words to describe the issue to my user, and possibly instructions to enable JS. My Plan Have a semi-transparent CSS layer 100% x 100% to cover my webpage, on every page. Have an on-load Javascript function, that when the page loads, it removes the layer. So if there is no Javascript found, it won't remove the layer.

Command Button Won't Run It's Code
www.codeguru.com
I am having a very strange problem that I can't figure out. One of my command buttons which was previously working fine has suddenly stopped working. It's not that the code isn't working; it's that the code isn't running at all. When I click on the button, nothing happens. I have proper error checking set up in the click event of the button, and still nothing. I put a dummy message box as the first line of code for the button, and it's not even popping up, so the button clearly isn't running its code. I tried creating a new button and copying and pasting the code into this button, but it won't run either. All my other buttons run fine.Does anyone know how this could be happening? I feel helpless to fix it since I can't debug it - there's no way to debug code that won't run in the first place!

How Would You Link User Genrated Pages To A Database
www.webhostingtalk.com
Lets say i gave user space on my site. They also make there own pages e.g blog or whatver how would that work. Would those blog pages just automatically get added to my host server as if i uplaoded it or would it get stored in a databse. if so how. and wer can i laern do u knw?

How To Run Mysql Create Table Script Into MsSQL
www.sqlteam.com
Dear All, I have the table creation script and insret record script. This is MySQl Format. What changes I have to do so can I run this scripts into SQL Server 2000. If any body has successfully done it then please tell me the procedure. CREATE TABLE `activity` ( `id` bigint(20) NOT NULL auto_increment, `object_type` varchar(60) default NULL, `object_id` varchar(20) default NULL, `person_id` bigint(20) NOT NULL default '0', `activity_dtm` datetime NOT NULL default '0000-00-00 00:00:00', `activity_type_cd` varchar(25) NOT NULL default '', `description_code` varchar(200) default NULL, PRIMARY KEY (`id`), KEY `FK9D4BF30FB4715636` (`activity_type_cd`), KEY `FK9D4BF30F270CDEE0` (`person_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `activity` -- -- -------------------------------------------------------- -- -- Table structure for table `actv_type` -- CREATE TABLE `actv_type` ( `code` varchar(25) NOT NULL default '', `description` varchar(100) NOT NULL default '', `void_ind` char(1) NOT NULL default '', PRIMARY KEY (`code`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `actv_type` -- INSERT INTO `actv_type` VALUES ('job_create', 'Created job', 'F'); INSERT INTO `actv_type` VALUES ('job_update', 'Changed job', 'F'); INSERT INTO `actv_type` VALUES ('job_void', 'Voided job', 'F'); INSERT INTO `actv_type` VALUES ('job_activate', 'Activated job', 'F'); INSERT INTO `actv_type` VALUES ('job_deactivate', 'Changed job to deactive', 'F'); INSERT INTO `actv_type` VALUES ('job_appl_create', 'Created application', 'F'); INSERT INTO `actv_type` VALUES ('job_appl_update', 'Updated application', 'F'); INSERT INTO `actv_type` VALUES ('intrv_create', 'Created interview', 'F'); INSERT INTO `actv_type` VALUES ('intrv_update', 'Updated interview', 'F'); INSERT INTO `actv_type` VALUES ('person_update', 'Update person', 'F'); INSERT INTO `actv_type` VALUES ('person_create', 'Create person', 'F'); INSERT INTO `actv_type` VALUES ('company_void', 'Voided company', 'F'); INSERT INTO `actv_type` VALUES ('company_create', 'Created company', 'F'); INSERT INTO `actv_type` VALUES ('company_update', 'Updated Company', 'F'); Thanks in Advance.

Adding Event Macro To A Command Button At Run-time Causes VB Editor To Pop-up
www.vbforums.com
I'm using Excel 2003 SP2.The premise is I add worksheets at run-time based off of user actions. The sheets then add command buttons and then assign some vb code to be fired when clicked. Everything works great except the VB editor pops up (even when its closed). This is annoying, any way to stop it from doing so?VB Code:Public Sub Test(myWS As Excel.Worksheet)    Dim OLEObj As OLEObject    Dim Rng As Range    Dim WS As Worksheet    Dim CodeMod As Object    Dim LineNum As Long        Set WS = myWS    Set Rng = Range("I13")            Set OLEObj = _    WS.OLEObjects.Add(ClassType:="Forms.CommandButton.1", _        Top:=Rng.Top, Left:=Rng.Left, Height:=Rng.Height * 2, _        Width:=Rng.Width * 2)    OLEObj.name = "test"    OLEObj.Object.Caption = "test"    Set CodeMod = _    ThisWorkbook.VBProject.VBComponents(WS.CodeName).CodeModule    LineNum = CodeMod.CreateEventProc("Click", OLEObj.name)    CodeMod.insertLines LineNum + 1, _        "msgbox(""test"")"        End Sub

User Defined Classes And Command Button Text
www.xtremevbtalk.com
Hi All,I want to know what is the use of a user defined class in VB i.e why would I need to create a user defined class.Can the color of the text on a command button be changed?Thank you.Plzz reply as fast as possible.

Assigning A Run Command To A Command Button
www.xtremevbtalk.com
How would I assign a simple run command (ie. start --> run) to a command button? So that when the button is clicked the window would pop up as if you had went start --> run and hit OK (ex: winipcfg or a targeted .exe).

How To Supress System Menu Popping Up Before User Defined Pop Up Menu
www.xtremevbtalk.com
Hello,Have a question concerning the following:I have a textbox with the MouseUp event: Code:Private txtName_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button=vbRightButton Then PopupMenu mnuEdit End If End SubMy slight problem is that before you actually get the pop-up menu on the screen a system menu ( Undo/Cut/Copy... etc) pop upsIs there any way to get rid of that system menu?Thanks in advance for your help,Shurik.

How To Code For User To Press Enter To Execute Command
www.vbcity.com
Hello All -I have a text box into which the user enters text commands. The way it's set up now, as soon as the requisite text appears in the text box the appropriate command is invoked. It's a very simple series of If...Then statements:Private Sub txtCmdLine_Change()        If LCase(txtCmdLine.Text) = "new" Then        txtCmdLine.Text = ""        mnuFileNew_Click    End If    If LCase(txtCmdLine.Text) = "save" Then        txtCmdLine.Text = ""        mnuFileSaveAs_Click    End If    If LCase(txtCmdLine.Text) = "open" Then        txtCmdLine.Text = ""        mnuFileOpen_Click    End If            EtceteraHow can I "interrupt" the process so that the user must press the ENTER key after typing in the text command?Thanks very much,SZW

OLE Run At The Press Of A Button?
www.vbforums.com
Hello I Want To Make The Object That Is Contained In An OLE Run When I Click A Command Button.Could Someone Please Tell Me How?

Run Your Program When Clicking A Link?
www.vbforums.com
Yahoo! Messenger had this feature. When clicking a link in a web browser, it pointed to something like:ymsg:userie:HTML Code:<a href="ymsg:user">Send an instant message</a>Which would then run Yahoo! Messenger and open an instant message to that user.I want to have the same thing in mine. I've seen code on www.pscode.com/vb before but I can't find it. I remember it was something in the registry.Does anyone know or have any ideas? I basically just want them to click a link like that and have it execute my program.Edit: Here is an example:http://profiles.yahoo.com/danny.guitarBelow my picture, you can see the smiley face and "Send IM" link. It points to ymsgr:sendIM?danny.guitar.And after searching the registry, I found "ymsgr" in:HKEY_CURRENT_USERSoftwareClassescalltoshellopencommandHKEY_LOCAL_MACHINESOFTWAREClassesymsgr

Running A VBA Excel Program From An Intranet Web Link
www.xtremevbtalk.com
Hey all. Here's an interesting one dealing with IE/Excel. I've completed an application I've been working on for a long time now for the most part and I'm having some final issues. What I have done is created an excel VBA program with a main menu that lets you access many different forms. On to the problem.I've put the files out onto our Intranet and they are going to be accessed via the Intranet homepage. My problem is this. When I click on the link to open up the main menu of the application I get my own msg box I created that says: "You have other Excel workbooks open. Please close all workbooks before trying to create a request.", vbInformation, "PHIS Request Forms". This doesn't happen when I run the main menu excel file locally from windows explorer. It runs just fine.The crazy thing is that when I put a break point on the workbook_open event so that I can see how it loads from the start, it doesn't go to the error message ever in the code. When it gets to the line "If Workbooks.Count <> 1 Then", workbooks.count does equal 1 and it goes to the Else statement and loads everything properly. Once it finishes loading everything out of nowhere that error message I created about other excel workbooks being open popped up. I'm fairly sure it has something to do with how IE opens an Excel file from default. The actual Excel application window doesn't show up until the very end which is not how the application runs if you were to run it by double clicking the file in let's say windows explorer. I'm also thinking that the frmMainMenu.show is giving it a little trouble too.Here's the code: Code:Private Sub Workbook_Open()On Error GoTo Err_Handler 'Changes the Caption from saying "Microsoft Excel" Application.Caption = "PHIS Request Forms" FindAppIcon 'Call Change Icon module functions 'Reset the caption for whether or not main menu loaded Sheet1.lblMainMenuLoaded.Caption = "" 'If there are other workbooks open, it will prompt the user to close them If Workbooks.Count <> 1 Then MsgBox "You have other Excel workbooks open. Please close all workbooks before trying to create a request.", vbInformation, "PHIS Request Forms" 'ActiveWindow.ActivateNext Sheet1.lblMainOrOther.Caption = "OtherForm" 'Stops message box in WindowDeactivate event from showing Workbooks("Access Request Form (Main Menu).xls").Close SaveChanges:=False Exit Sub 'If there aren't any other workbooks open, it opens the main menu Else ActiveSheet.ScrollArea = "A1:H40" 'Restricts the vertical scrolling Sheet1.lblMainOrOther.Caption = "Main" 'Tracks which form is being displayed to the user Sheet1.lblMainMenuLoaded.Caption = "Loaded" 'Tracks whether or not the main menu loaded Sheet1.lblMacros.Visible = False 'Gets rid of 'enable macros' error message Sheet1.Unprotect Worksheets("Sheet1").Cells(20, 7).ClearContents ActiveWorkbook.Protect Sheet1.Protect HideBars 'Calls function to remove menu bars SetProgramOptions False 'Calls function to remove gridlines, scroll bars, etc... ActiveDocument.Saved = True Application.WindowState = xlMaximized frmMainMenu.Show End IfErr_Handler: 'MsgBox Err.Number & Err.Description Resume NextEnd SubTo any that at least give an attempt at helpin me out on this one cheers!

Make Field Read Only After User Entered Value?
stackoverflow.com
In Salesforce I have an account. On that account I have a couple of fields that are populated from the PHP SDK after some processes run in the background. The PHP SDK updates a field on certain conditions, when that happens I also would like to lock down that field to read-only. Can I do this from the PHP SDK?

Allow Users / Administrators To Update Content Management Themselves
stackoverflow.com
Is there an option besides Drupal or Wordpress to use to allow the user or administrators of a site to update and manage content on the site themselves? Is it possible to use Drupal or Wordpress for a particular section of the site that I want to allow the above mentioned but not the rest of the site. Basically I am just looking into options to be able to make the site from scratch: without having to make it a drupal or wordpress template without having to handbuild the content management system

Running A Command By Clicking A Button And/or File Name
www.vbcity.com
I have some code that I can run by clicking on a a button if I put the code under "Private Sub Command2_Click()" or by clicking on the filename if the code is under "Private Sub txtFileName_dblClick()" .... how can I code it so you can do either, not just one or the other?Thanks.

Run A Website
www.vbforums.com
How can I run a link from a program?

Force User To Sequence Command Clicks
www.xtremevbtalk.com
With 2 command buttons one being cmdSTART and the other cmdSTOP, how would I allow the user to click the start button and then the next time he clicks the start button and if he hadn't clicked the stop button first, prompt him through a form to first click the stop button before the start function would execute again? I think I make sense!D.

Need VBSCRIPT To Play A Midi When User Clicks On A Graphic/ Or Button
www.vbforums.com
need VBSCRIPT to play a midi(music) when user clicks on a graphic/ or button

Samsung Captivate :: Link To Down Loadable User Manual?
androidforums.com
I have heard others reference a page in a user manual, I assume this is not something they got with the phone but something downloaded. Does someone have a link?

HTC Hero :: Linking Facebook Users To Contacts
androidforums.com
I have to link a lot of my contacts manually to my Facebook friends. I read it should go automatic, but that doesn't seem to work for me all the time. (People -> Updates and Events -> Update now) It seems it only automatically links people who have recently updated any photos recently. Is it possible to force it to go over each of my contacts and see if there is a match? Also, I would LOVE it if the contact would be synced back into Gmail with the information it pulled from Facebook. Is this possible?

Security :: Reset Passwords / Create User / Recover Passwords On An Intranet
forums.asp.net
My issue today is that i have a MySQL Database and am using the security framework provided by the ASP.NET Membership and Role Providers...I override the default methods with my own MySQL. Now the issue comes in when i someone would like to have their password reset. My application is running entirely on an Intranet so i cannot have their passwords emailed to them. Is there a way i can have this information displayed in any way so that the user can use it to Log Reset, Create Accounts or Recover their lost passwords on an intranet without the administrators intervention? Recently i had an approach as follows. In my web.config<system.net><mailSettings><smtp deliveryMethod="pickupDirectoryLocation" and my location was a folder on C drive as c:/SavedPasswords. Now i understand this was such a big security threat and thats why i am looking for a better option. I would have that folder created using my System.IO and then the Mail is dropped into that folder. Then after the process is successful, i tell the user to check into that location and Read its content. Then there is a global variable that is set to true...meaning that the folder at c:/ has been created. then there is a Method in a certain class that once it sees this variable True, it reads the readers c:/ and deletes that folder "save" if it exists;

Hashing User Passwords?
stackoverflow.com
I'm hashing passwords for an app I'm building using this method. I'm using the same database for development and staging while developing the app. The problem is none of the credentials work on the staging box, they work fine on my development box. Are the salt and hash values machine specific?

How Many Users Will My Host/site Be Able To Support
www.sitepoint.com
I know this sounds a difficult question, but any rough answer is better than none. I am sure there are rough expectations. Will it be 10's, 100's, 1,000's, 10,000's etc. I am looking at a dedicated server Intel Pentium Dual Core 2.0GHz, 1GB memory with network speed of 100mb (with gigabyte burst whatever that means). [url]- bronze package - if anyone is interested) I will run one site only. The site has very heavy database usage and normal page views with average images. Video / most photos are hosted and delivered with a seperate, top-quality CDN. Your answer might be... "You should get about 1000 surfing, using database etc. before you notice a slow down" etc. I suppose the thing is.. at what stage would I need a second dedicated server / package upgrade / what will this server get me?

Running A File Hosting Site
www.webhostingtalk.com
going to be starting a file hosting site, i know that the main problem on these sort of sites for the owners is Bandwith and HD space. Just want to know some perhaps some advice on how to run this kind of business as far as the hosting part of it goes. Do i just keep purchasing servers lets say at midphase for example they offer 10TB 250 Gigs of hdspace at 200 a month, so if i go over do i just keep purchasing servers and then load balance the site across all the servers i get? is that the basics ? When sites start to consume massive amounts of bandwidth is their cheaper alternatives then just going with the normal BW that hosts offer, like working out deals with certain companies that specialize in giving BW deals, would CDN networks be an option?

AJAX :: Using UpdateProgress As A ModalPopup / Disabling Webform While UpdateProgress Is Running
forums.asp.net
I have a webform that works the following way: 1. Button_openPanel will display panel Step2Panel through ModalPopupExtenderStep2. 2. Button_runThread (inside Step2Panel) will close Step2Panel and will then run a lengthy process server-side. This lengthy server-side process will cause the UpdateProgress control to be displayed. Similar to the ModalPopup, I want to disable the whole page while the UpdateProgress control (with its animation gif) is running. Currently, the UpdateProgress is displayed, but I can click Button_openPanel (or anything else) which will cause the application to break. Is this possible? This is basically all the code. I stripped anything that was unneeded: [Code].... The code-behind is basically this: [Code].... Everything's working pretty good now, but I need to disable everything while the time-consuming process is running and UpdateProgress is displayed. I was thinking of displaying the UpdateProgress control as a a sort of ModalPopup, but I'm not sure if it's possible. If not, then the alternative would be to disable Button_openPanel while the time-consuming process is running and UpdateProgress is displayed.

Any VPS Host That Offer End-user Support, Free Billing Application
www.webhostingtalk.com
I m planning to host a Good VPS Host that offer end-user support, Free Billing Application, SSL & Domain Reseller Account,

Security :: Keep User From Clicking Verification Link Again?
forums.asp.net
I'm using the following code to send an email verification link (from the security tutorials).  How would I modify the code below so that if the user has already clicke the verification link, it will display "account already verified" and redirect them to the login page? using System;   using System.Web.Security;      public partial class Verification : System.Web.UI.Page   {       protected void Page_Load(object sender, EventArgs e)       {           if (string.IsNullOrEmpty(Request.QueryString["ID"])) [code].....

Does Xen Run Better On A 2 Separate Processor Platform
www.webhostingtalk.com
Does xen run better on a double processor server rather than an intel duo?

Hosting / Number Of Concurrent Users
www.webhostingtalk.com
I am planning to set up a forum. What kind of server do I need? I am expecting to have - 40-50 concurrent users Do I need a dedicated server (2 GB) - which would cost me about - 350$ per month - or is it possible to find a cheaper solution?

How To Get Full Path Which User Selected In File Upload Control
stackoverflow.com
I want to get full path which user selected in file upload control. how can we do it.

VPS Ram Vs Number Of Users
www.webhostingtalk.com
I will generally have around 1-70 people browsing my forums at one time. I would like to know if 128mb of ram would be good enough for average performance?

Web Forms :: Can't Reference An Html Element From Code Behind In A User Control
forums.asp.net
Here is the contents of my test.ascx file: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="test.ascx.cs" Inherits="UserControls_test" %> <p id="XXX">aaa</p> and here is the contents of my test.ascx.cs file: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class UserControls_test : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { this.XXX.InnerHtml = "BBB"; } } I get an error when I refer to the id, "XXX" (underlined above) in code behind which reads: 'UserControls_test' does not contain a definition for 'XXX' and no extension method 'XXX' accepting a first argument of type 'UserControls_test' could be found (are you missing a using directive or an assembly reference?) I have tried XXX.InnerHtml and I have tried this.XXX.InnerHtml and get same problem. How do I successfully refer to ID'ed HTML elements in code behind?

MVC :: Html Helpers / User Controls Dependency Injection?
forums.asp.net
I've just started wokring with Asp.Net mvc and i relay love it. One thing I don't know how to do it yet is: If I want to develope a new user control (e. g. PeoplePicker) how I get the data? I don't want to use allways ajax requests, some controls should be initialized when the page is loaded. So I could use the Html Helpers and create own extension. So far this is exactly what i want and it's working. But now to the real problem. I can't use dependency injection in extension methods (I'm using spring.net, but the problem should be in all di frameworks). So which approche is the most common to use this problem? Must I realy pass in the data from my controller? But then the controller must know how my user controls works, I don't want that!

.NET Pages Run In Web Configuration
forums.asp.net
in asp.net (in .cs file of an .aspx page ) there is no Main() method then how an .aspx page run or  executed ?

MVC :: Action Runs Twice In IE8 Only?
forums.asp.net
We hit the problem in our asp.net mvc application where our controller action method would be hit twice in IE8. This issue does not occur in both FF and Safari. We have also disabled javascript during our test and it still hits it twice. The first time it passes model properly whereas the second time the model is null. It does it across all pages. Has anyone hit this problem before? Bear in mind it's only in IE8 and it's not javascript related.

Running SQL Queries In VB.NET?
www.sitepoint.com
I've created a database and I would like to write a query that uses variables from my application and perform calculations on the resulting data. I'm able to display the results of a simple query within a single table in a listbox, but I'm having trouble figuring out how to attach a sql command to a button press that queries multiple tables. Once I've been pointed in the right direction for how I can do this, I should be able to figure the sql bit out myself.

JQuery Application Running From CD - Convert In A WinForm App
stackoverflow.com
I've developed a very simple ASP.NET (jQuery) application. The RDBMS is MS Sql Server but I could easily convert it in MS Access. My client would like to have it available on a CD, ready to run. I was thinking to convert it in a WinForm app but, still, I have to install the framework on the client. Is there any other "possible" solution?

Show A Text Value In A Column In Gridview In .net?
stackoverflow.com
I have a GridView to show user detail like name,phone,and status(active,suspend).my problem is that in database the user status in from of integer like 1 for Active and 0 for suspend.now while i am showing data to user in GridView I want to show Active and suspend Text according to status in database 1 or 0. I am not getting where to check for this condition in Asp.Net I am new in asp. I have done it in php also.like if($fetch->user_status==1) echo "Active" else echo "suspend"

Running A Script In The Background Without Curl?
stackoverflow.com
Im having a little trouble with running a php script in the background. I have my admin area which has HTTP authentication to access and a mail out script which I want to run in the background. This script will take a long time to execute so I wish it to execute in the background. when I access the "send" page, it executes the send script in the background and redirects the user off elsewhere. However currently attempting to use cURL I cannot cURL into the send script as it returns Authorization required.

Jquery :: Unable To Access Json Array Elements When Running Nested Ajax Request
stackoverflow.com
why I can't access the array keys in the generated json array. Basically, I am doing an ajax call, then on success, doing another one. Everything works fine and I am getting a full, healthy and valid json array return, but I cannot access the keys and values. My jQuery $("#register-form").submit(function(e){ e.preventDefault(); var firstname = $('#regfirstname').val(); var surname = $('#regsurname').val(); [code].....

Running Exe File Using Php
phpbuilder.com
I'm trying to run an executable file (exe) using php. I use exec and system functions. but it runs the exec file in the background. I want the executable file to run and visible to the users. so they can use that exe app.

Put PHP Code Into A File Without PHP Running
phpbuilder.com
I am working on some scripts that create PHP files in PHP. I am having a hard time thinking of a way to put PHP code into a file without PHP running it like it was Code:

Trouble Running .exe File
www.phpfreaks.com
I have installed MediaWiki on my computer (localhost) which is running Windows XP and WAMP. The problem is, I'm trying to install mathematics support for it. I've been troubleshooting for two days and have finally narrowed the problem down to this line: $contents = `$cmd`; This is located in my Math.php file. I believe Math.php generates a command and stores it in $cmd. The line $contents = `$cmd` executes the command and stores the returned output in $contents. Here is what is contained in $cmd before the line I've shown is executed: Quotetexvc.exe "C:wampwwwwikiimagesmp" "C:wampwwwwikiimagesmp" "x+y" "UTF-8"I've found that after the $contents = `$cmd` line is executed, $contents is just equal to "". However, If I paste the exact contents of $cmd into the windows command prompt and hit the Enter key, texvc.exe properly executes, displays output, and creates a .png file. When I try using a different executable for debugging purposes (I copied help.exe from C:Windowssystem32 into C:wampwwwwiki and renamed it to help2.exe) $contents properly contains the output of the .exe file. My question is: what would cause an .exe file to execute properly in the command prompt but not execute through php?

Running Another Script From One File
www.phpfreaks.com
in my PHP file i want to run another php script if a particular if condition is true. how can i do that?

Running Script Before Output To File
www.webmasterworld.com
I've got an HTML emailer system where the user creates an HTML file with their input from a form. I've had no problem with this part, neither with the email sending and display HTML. However, before the contents of the HTML email (the HTML file the user creates) gets applied as the message body and emailed via PHP, I would like the file to be passed through PHP and any scripts run that happen to be on the template. My actual portion of email code is here (where the file is read into a variable and the mail is sent): $emailHeaders = "From: info@domain.com" . "X-Mailer: PHP/" . phpversion() . "" . "MIME-Version: 1.0" . "Content-Type: text/html; charset=utf-8" . "Content-Transfer-Encoding: 8bit"; $emailMessage = file_get_contents(path/filetosend.php); $emailSubject = "Email Subject"; $emailRecipient = recipient@domain.com; mail($emailRecipient, $emailSubject, $emailMessage, $emailHeaders); How do I make any PHP scripts that are in the "filetosend.php" run before the output is stored into $emailMessage and mailed off?

Drupal 6 - Run Code On Form Submission?
stackoverflow.com
I want to run a JavaScript code upon a form being submitted preceding other default tasks that are carried out on form submit.

Jquery :: Run Animation After Link Is Clicked?
www.sitepoint.com
But before the next page loads. Can it be done?

Running As A Service
www.xtremevbtalk.com
How could I make my program run as a service, make it run on startup and yeah, well you guys know what a service is. I'm running XP Home, and yes, i do know there are programs out there (firedaemon) which can set it up, but I was wondering if my program could just configure its self to run as a service.

Running VB As A Service?
www.xtremevbtalk.com
Hello Again,I am looking for input on running Visual Basic as a service. I have done some research on this and I found a microsoft page that gives a control (NTSRV.OCX) to use for this. But it basically says microsoft does not reccomend running Visual Basic as a service even with Ntsrv.ocx.The Article is Below:http://support.microsoft.com/directo...EN-US;Q175948& There so many advantages to running an operations type application as a service. I am still tempted to try it anyway.Does anyone have experience with running Visual Basic as a service? Did you use nstrv? What is your experience with running Visual Basic as a service?Thanks,Beth Barja

Is Service Running?
www.vbforums.com
Is there any way to tell if a windows XP or NT service is running through VB?Thanks!

VB EXE Running As A Service
www.vbforums.com
Help,I have a vb application which will run on an NT 2000 server, the app runs 24/7 and polls several directories for csv file coming in and then processes then (upload to a database). I need to run the app as a service and not just kick it off on the desktop but I have read on the microsoft site that you can not run a vb exe as a service. Does anyone know how I can run my vb app as a service.Thanks for your help,Chris

Running As A Service
www.vbforums.com
How would it be possible to run my VB App as a Win2000/XP background service? Without using any third-party software.

Running As A Service?!?
www.vbforums.com
How do I make my VB App so therefore it loads up when I boot the computer and keeps running even if the user logs on and off...?!?For e.g. I want it to be running non-stop even when the user logs off and it stays in the "Novell Client Logon Window"?!?

Running As Service?
www.vbforums.com
Hello!Is there any way to check if my app is running as a service or not?

App Running As Os Service?
bytes.com
I received one additional piece of information which may help(doesn't help me, but maybe it will help someone help me): someonesuggested that the application, or a part of it, begins running as aservice of the operating system. If this sounds plausible, where doesthe problem likely originate? Is it some part of the program code, orsome program code that is not present (the app. has nothing in it thatattempts to identify its environment), or maybe something in theproject properties?Thanks for any info.Here is the relevant part of my original post:I have a vb6 application which may have been started on Windows95using an earlier vb version, definitely updated on Windows98(inc. SP5). It is deployed on a machine running WindowsXP, and in thisenvironment the user can close the program, yet it (or some remnant ofit) remains listed in the Task Manager. This doesn't happen every timeuser closes the program, and without looking at Task Manager itappears the program is completely gone--no minimized windows in thetask bar, no error or warning messages.

Running VB As A Service
www.codeguru.com
Can VB be run as a service ( possibly with a tray icon )if so would I just set it up as a module and no formany help would be greatThanks

To Know Whether A Service Is Running
www.codeguru.com
Hai Gurus,I want to findout whether a service "RPCSS.EXE" is running or not. I would wait till the service is running, then I want to start my application.How do I know whether the service is running?Pls give your suggestionThanking you in anticipationRavi

Running As NT Service
www.codeguru.com
How to make an application running as service in Windows NT?