Forum Array

How To Execute Application

Hi, Would anyone can tell me how to launch or execute other application from visual basic. I think something like this but I forget it. Can you help me. execute("c:/da/cc/xx.ex2") thanks shan

View Answers

Very Similar Questions

How To Execute A File/application By Command Button
www.codeguru.com
Hello all, I'm a mechanical Engineer working with CAD softwares and new to the VB Programing. I'm working with Excel VBA Applications. I don't know how to dothe following 2 things. I would like to create a command button, which could execute a file or an application, if pressed. How to read a rext file and write in the Excel Cells?Please advise me on this.Best Regards,Viswa

Android :: Making Application Link Appear In Other Applications Context Menu
groups.google.com
Is it possible to appear in link for say launching one application in some other applications. Typical example would we on desktop when we right click and get option Open With and see all choices of applications to open with.

Controlling Outside Applications - Resize Multiple Applications And Send Keystrokes To Each One
www.xtremevbtalk.com
I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another. [Code]...

Open A Website On Clicking A Command Button In VB 6.0 Windows Application
visualbasic.ittoolbox.com
Hi I have developed a windows application using VB 6.0.When the application is run for the first time a License activation Form pops up with a Command button Activate.All i want is to open a web site for registration when clicking the Activate button.Can some one tell me how to achieve this.Thanks

Applications :: IPhoto And IPad - Can Sync IPad And IPhone Without Having To Create A New Library
forums.macrumors.com
Also, is it possible to share an iTunes library between my MBA and my PC so I can sync my iPad and iPhone without having to create a new library? The library file is currently on the NAS and just wanted to use the same one. Would it allow me to sync my iPhone with the PC and the iPad with the MBA using the same library on the NAS? I know this is more of an iTunes question, but figured I would post it here instead of starting another thread.

Ubuntu :: Application Launcher To Follow Symbolic Links?
ubuntuforums.org
Does anyone know how to get an applications launcher to follow a symbolic link. I got it to work using the absolute path name to the executable, but the other doesn't seem to work.

Button Link To Another Target Application
visualbasic.ittoolbox.com
Dear Expert,I'm sorry, I'm a newbie with the group and VB software. And I urgently need help about GUI using VB. I'm sorry, if this is the right place to ask advice for my problem.My problem is, I want to use button link to another application at dos command. When I double click at button, they will target link to dos command i.e C:RebolRebol Follow.r. How can I possible to do this?Where can I find sample program or references to do this?Thanks in advanced for the help and very much appreciated.Regards,

Link Files To Application
www.xtremevbtalk.com
Hi.How can I link a file to my application. Like .txt files are linked to Notpad. How can I link my files .abc to my application so when I double click on it it opens in my application?

Disabling Command Button Of Another Application
www.vbforums.com
I am executing an external application using shell command from my application........the external application when executed show an alert with two button YES and NO........Now my Problem is I have to Stop the user from Clicking the NO Button or is it possible to disable the NO button of that application using Handle.........

Cannot View My Command Button In My First Web Application
www.vbcity.com
Really need help on this matter.. I am really new with VB.net.. I've installed VS.Net.. Try to create my first web application. In my web form form, I've added a label, text box and command button for testing.. In my Label property, I've set the Label's text and text box's text to "Testing" (for example").. When I build and browse my web form, I could only see my label text and my text box text (Testing). However, I've couldn't see my text box border and command button... Anybody.. pls help me...

Pushing A Command Button On A Poorly Designed Application
www.xtremevbtalk.com
I've got to automate the pressing of a button on an application that apparently was written by someone who wanted to break all the rules.It's a modem-on-hold application that pops up when you're on line and another call comes in.The things that are problematic with this application are the fact that there's no text in its title bar so I can't use vb's "appactivate" to bring it in focus.Also, the buttons don't respond to ANYTHING but a direct click of the mouse; i.e. none of the shortcuts work. NONE.So here's my challenge:I need my vb app to DETECT when this modem application pops up on the screen and then my app needs to push one of the buttons with the mouse.I'm in over my head with this one.I know I have to resort to using API's but there's so many...Can somebody give me a hand please? Thanks,John

Pushing A Command Button On A Poorly Designed Application
www.vbforums.com
I've got to automate the pressing of a button on an application that apparently was written by someone who wanted to break all the rules.It's a modem-on-hold application that pops up when you're on line and another call comes in.The things that are problematic with this application are the fact that there's no text in its title bar so I can't use vb's "appactivate" to bring it in focus.Also, the buttons don't respond to ANYTHING but a direct click of the mouse; i.e. none of the shortcuts work. NONE.So here's my challenge:I need my vb app to DETECT when this modem application pops up on the screen and then my app needs to push one of the buttons with the mouse.I'm in over my head with this one.I know I have to resort to using API's but there's so many...Can somebody give me a hand please? Thanks,John

Link Code In VB Application
www.vbforums.com
any one know how to write a link in VB ??i mean the same as html link < a href="http://www.vbforums.com"> VB Forums </a>i think it's easy but i am still learning VB thanks

How To Link .chm File To VB Application
visualbasic.ittoolbox.com
Hi All I have a .Chm help file which i need to open through VB application. Anybody can give me hint or any help hw to do that?thanks in advancecheersyogesh email@removed India.

Application Link To Data File
www.vbforums.com
I am using data environment & adodc for data accessingData environment & ADODC I am given the link with the path & file name in the properties (right click menu ) of the data environment. Here it ask for the data base path and name indata link properties ->connectionAfter installation of the software in the other machine using packing & development setup. While running of the package it ask for the same path for the database which was given during the programming time, it is not taking the application path where the database file (MS-Access) was installed. For this I have to manually create the same path and put the database there. Then the package work.What is the solution so that the application automatically find the application path not the path mentioned in the forms data file link to ado or Data environment.Rahul 2K india

Command Button - Capturing It After Executing The Program Also
www.vbcity.com
hai friend,   Did any one noticed while clicking the command button. While pressing, the command button would dotted line of the rectangle line.  In my project, ( i had attached it as " cmd.zip " )while executing the program, when the user clicks the control array of command button & then presses the command button named as " Capture ", for me, the control array command button capture is going off.   also, while exit the program & re-executes it, the control array command button has to be set to capture ( ie, the rectangled dotted line)anjali

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

Building An Application
www.xtremevbtalk.com
Hello World,I am looking for advice on starting a project. I am a Engineer by background, and more or less dabble in computers. Over the past 12 years or so I have used spread sheets and MS databases to do my job, since there don't seem to be applications to fit. I am now interested in building an application to sell, but need to work out some details on how to go about it.I am somewhat competent at VB6, and MSAccess; however, I would like this project to be substancial. I would like to have the user draw a flowchart with various objects, and from that, my program will do calculations in the background. The program will have daily, monthly input and reporting duties too.I have a few ideas that I would like to throw out and see what people with more development experience would recommend:1) I have not done object oriented programming, though, it seems that may be the way to go; ie, assign physical/engineering properties to say a "tank" and calculations required. The programming process should be similar with each type of equipment.2) Can Visio be incorporated within VB6? I have made a flowchart with Visio before, can it be used in a GUI I build?3) Are there GUI's out there that do what I want?4) Thinking about Crystal Reports, I have no experience with Crystal, but the application needs a reporting feature and I don't care to write code for one.5) Still open on database selection, not sure what issues should drive choice. DB2??6) Programming Language-VB6, .Net, C, Java????? I only know VB6, is it robust enough ? I know Java has alot of widgets and things out there. The faster I can put this together the better; however, I want a quality project.7) Maybe I should find programmers that are willing to go in on it as partners??Anyway, give me your thoughts.Happy Trails,PonyExpress

Executing A Vbscript From A Command Button In Access
forums.devshed.com
couldn't decide where to post this one, but i have a vbscript that i am trying to execute from a command button in access 2000. the help says that i am supposed to execute "functions" through a macro. this means that in addition to writing the script, i have to compile a macro also. does anyone have a way of making the script run without the macro?

Android :: Application For Merge Of SIM Contacts With GMail Contacts
androidforums.com
i've been looking for an application for merging the SIM contacts with the GMail contacts but can't seem to find any. Does anyone know if such an application is available? The result now is that i have a huge list of contacts (GMail + SIM) with many duplicates and information spread around different entries. Remark: i'm not sure if this question belongs here, but i had to choose between the G1 T-mobile and this forum.

Link Executes Program ?
www.xtremevbtalk.com
Ok so in IE6 or something I type MyProgram:load=C: .txt or MyProgram:load=C:file.doc how would I get the program to start and then read the file?I seen this done many times and I belive I have to write a DLL to detect this but not sure where to start.Can someone give me a few pointers?

Script In The Command Line, Does Is Execute With The Read/write Permissions
stackoverflow.com
When you run a php script in the command line, does is execute with the read/write permissions of the current user or what?

Make A Link Open My Application? *Re-Solved*
www.vbforums.com
Hey ya,If i have a link on a webpage, such as :twc://Host:Port | TWC://Host:PortHow can i make this launch my application, passing the Host:Port to it?Sorta link:Shell(AppExePath & " Host:Port")Its sorta like "The Palace Chat" Does with: Palace://MyServer:0000 Links...

Launching My Application With A File Type...
www.vbforums.com
Okay, I have a specific format for my program (.shw).I know how to make my app launch when somebody clicks the file, but not how to make my app realize what to do with that file.Any info is appreciated!

Executing A Click Method Without Clicking The Command Button
www.vbforums.com
HelloI have developed this program in VB6, iit is based around a 4 tab form, with each form containing a bunch of parameters which need to be filled in using the textboxes provided, navigate buttons(back,forward and save) are provided which enable the user to navigate using the buttons rather than clicking on the tab. i was wondering say if the next button on the first tab is commandtab1nextis there any way i can do the commandtab1next_click() within the program itself, i mean can i actually do the commandtab1next_click() within the code?

Finding Another Application And Clicking A Button
www.vbforums.com
Hi guys i need some help with thisI wanted to click another app's button through vb6let's say another messagebox from another applicationand i needed to press the 'ok' or 'cancel' button whatevercan someone help me with this?thanks in advance

Clicking A Button On An External Application
www.vbforums.com
Hello, I'm trying to click a button on another application, but I can't get it to work. The button is a few layers down, but it never finds the button. What am I doing wrong?I've included a screenshot of Spy++ to show the structure.VB Code:Option Explicit 'API Declarations to Find Parent and Child windowsPrivate Declare Function FindWindow Lib "user32" Alias "FindWindowA" _(ByVal lpClassName As String, ByVal lpWindowName As String) As LongPrivate Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _(ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long 'API Declarations to send messages to Parent and Child windowsPrivate Declare Function SendMessage Lib "user32" Alias "SendMessageA" _(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long 'Constants DeclarationsPrivate Const BM_CLICK As Long = &HF5    'To click a button   Private Sub Command1_Click()    Dim hParent As Long    Dim hChild As Long        hParent = FindWindow("#32770", "eMule Plus v1.2")        If hParent <> 0 Then                hChild = FindWindowEx(hParent, 0&, "#32770", vbNullString)        hChild = FindWindowEx(hChild, 0&, "Button", "Reload")                If hChild <> 0 Then            Call SendMessage(hChild, BM_CLICK, 0, 0)        End If    End IfEnd Sub

Minimise Or Maximise Any Application Window By Clicking On Button
www.vbforums.com
actually i want to minimise or maximise any application window by clicking on button

How To Close The Application When Clicking On The Close Button In Title Bar
www.vbforums.com
guys,how to close the application when the user click on the close button on the title bar?pls suggest

Execute A File Via A Command Button
www.vbforums.com
Hi guys and girls,I have saved some registry settings as a .reg file using the method similar to the way you would write a text file.The file is called backup.reg.What I am looking to do is using a command button. The reg file is going to be located on a floppy disk. When the command button is clicked, I would like to execute the .reg file as if you were going into the floppy disk and double clicking on it to execute.I would like to know if this is possible and if you can provide any samples. Have searched VBF without success so far. Thanks in advance.

Visual Basic 6: Executing File From Command Button
forums.aspfree.com
I need to a code to open a .doc file (with its default program e.g Microsoft Word).. when you click on a command button...Can anyone help?Thanks in advance.

VB6 And My Website
www.vbforums.com
Can I create an application that will dial a modem in VB6 and Build a website then inside the website run the application?

Execute A Command Button In Excel Via VB
www.vbforums.com
I'm sure this is simple, but I just can't find anything on it.Another designer produced an excel sheet for data and put some code behind a button on that sheet to generate queries.Rather than port all the code into vb I'd rather leave the file and simply execute it through the vb app.So, can anyone tell me how I might execute a command button ("cmdCreate_Click") on an excel sheet in visual basic.Many Thanks

Disable Access Application Close Button
www.vbcity.com
I want to know how to disable the access application close button. Not the form close button, but the application close button. I have a program here at work that does it, but I can't find where the heck they do it. Thanks a bunch!

Option Button Click Event Not Executing
www.xtremevbtalk.com
I have 3 option buttons on a form. The middle one executes the click event only if the first button's value was true prior to the click on the second button. If the third buttons value was true and then I click on the second button it doesn't kick off the click event. Is anyone aware of any circumstances under which an option button's click event won't run ?? Thanks if you can help. - Gretchen

HTC Desire :: People Application Keeps Force Closing Due To Facebook
androidforums.com
My People seems to be syncing with Facebook fine (their status updates show up, and it uses their FB profile photo), but when I select "View Facebook Profile", I get the following error message: "The application People (process com.android.htccontacts) has stopped unexpectedly. Force Close."

Sony Ericsson Xperia X10 :: Getting Timescape To Use Facebook Application And Not The Browser
androidforums.com
Is there any way to get timescape to open the facebook app instead of the web browser when a facebook "leaf" is touched. I have it set that Twidroid will open for twitter "leaves" but I can't figure out how to get it to use the Facebook app.

Android :: Completely Delete Unwanted Applications
androidforums.com
is there anyway to completely delete things like "gtalk" and "corporate calendar" from the device? SOmethimes when I click on my Running applications, they are being used and I have never once used them. Thanks in advance for the help

Android :: Statically Link Sqlite To Droid Application?
stackoverflow.com
I need to statically link the 3.6.2 version of SQLite against my android application due to a bug that affects the dynamic library bundled with Android < 2.2. I've already compiled and installed 3.6.2 on my development machine, but I'm not sure how I go about linking it to my Android app (developing with Eclipse). I'm not familiar with building and compiling options, so if someone could walk me through step-by-step.

Android :: Link To Eclipsed Application - Introdution - Part 1
androidforums.com
I would like to attach a link to short article - "how to create application by Eclipse plugin". Link do Eclipsed Android Application - Introdution - Part 1

Motorola Droid :: Overclock - Need Link To An Application?
androidforums.com
I am running stock 2.1. I do not want to downgrade and root. But, i would like to overclock. People say this is possible and to just find the app on the market. All the overclock apps i have found show that it MUST be root. Can anyone provide a link to an app that will do this? Or even the title of an app that can do this WITHOUT root?

Android :: Profiles Applications And Vibrate
androidforums.com
I've had my Droid for about 5 months now, and I've tried many of the profile apps. Unfortunately, the one thing that I'm annoyed with when it comes to the Android system is how it handles profiles-- specifically in regards to Vibrate. I simply want to be able to have sounds on and vibrate off, and sounds off and vibrate on. However, you have to set each program (gmail, email, messaging) to have vibrate on, to utilize vibrate. BUT-- what if you want to quickly switch to a low volume sound only? I haven't seen an app that offers this yet. So, you have to go in and turn off the vibrates... Really dumb shortful on Google's part in my opinion. It's actually causing me to consider going back to a windows phone *shudder* (windows 7 perhaps). Anyways, if I'm missing something, please enlighten me. I've been through EVERYTHING (rooted, not rooted, DroidMod, Cynogen, etc, etc, and back to 2.1 OTA).

Android :: How To Implement Profiles In Application?
stackoverflow.com
I'm coding an app that uses configurable profiles for different user preferences: many different users will use the same app on the same device. The problem is that I can't use Android's Preference Activity because it just support one user per application. Is there an easy way to generate the user interface for configuration, or I have to code everything from 0, including the user interface?

Android :: Best Application / Widget To Change Profiles In 2.1
androidforums.com
I have a Motorola Milestone running Android 2.1. What is your best app/widget to switch profiles? I want something that allows me to switch among: completely silent, vibration without ringer, vibration with ringer. I currently use the free app "Profiles' by "egg 'n stone". It's ok, but I was wondering if there's anything better. I know there are plenty of widgets to enable/disable ringer and vibration; I tried several, but most didn't work well, especially when I tried to combine ringer and vibration: i.e. they were ok if I only wanted to enable or disable one of the two, but not both. Coming from Nokias and the Iphone, I must say I'm really disappointed there isn't soemthing integrated in the OS to switch profiles (like with Nokias) or at least a physical button to enable/disable the ringer, like in the Iphone.

Flex :: Adobe Air: Drag Application Crash - Error #3200: Cannot Perform Operation On Closed Window
stackoverflow.com
Now I set dragEnabled="true", dropEnabled="true" and dragMoveEnabled="true" to archive the ability to reorder my Items via Drag and Drop. But as soon as I start to Drag an Item the whole Application crashes with: [Code]....

Flash :: Securing .net Web Services For Flex / AIR Applications
stackoverflow.com
What would be the best way to secure .net web services used by a flex application (both desktop and browser) that requires login? I thought about requesting the user and password in every method of the web service, and having them stored as variables in the flex app, but I don't feel like this is the most elegant way.

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,

What Are The Events Triggered After Clicking On A Href Link In A .Net Application
stackoverflow.com
My client wants to pass values through the query string, but they don't want the query string to be displayed in the browser's address bar. The values being passed are for tracking purposes. I know that postback doesn't happen after you click on href link.Is there any way I can get the value out of the query string without displaying it in the browser's address bar? I think this may be impossible, but I may be wrong; I'm hoping to see if anyone has any answers.

How To Return The Full File Path In A C# Web Application
stackoverflow.com
I have a VS 2008 web application that I need to capture the full file path (directories and file name) from the selected file. So user selects a file and then clicks on one of the buttons which transfers control to my code for processing. So how do I get the file path? I can get the file name, but not the path.

Retrieve The Full Application Path Within Code?
forums.asp.net
I need to be able to get the root directory for my site within my code. If my site is http://xyz.com, how can I retrieve this information within code?

Call Javascript Function From Code Behind After Server Side Code Executes
stackoverflow.com
I have an asp.net button, that when clicked calls a code behind function. The function does some evaluation, and then I want to call javascript from within this asp.net function.

MVC2 Application With Forms Authentication Is Blocking Access Even To Images - Styles And Scripts
stackoverflow.com
I'm developing a MVC2 application and using Forms Authentication on it. The scripts, images and styles are all blocked to unlogged users and, consequently, the login page looks awful. It works well local, the problem is when I publish to the server. Does anyone has any idea WHY? The server IIS is version 7.5 <configuration> <system.web> <globalization culture="pt-BR" uiCulture="pt-BR" /> <httpRuntime requestValidationMode="2.0"/> <customErrors mode="Off" /> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </assemblies> </compilation> <pages> <namespaces> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <add namespace="Admin.Models" /> </namespaces> </pages> <authentication mode="Forms"> <forms name="AGAuth" loginUrl="~/Home/Login" timeout="120" /> </authentication> </system.web> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> <connectionStrings> <add name="DBContainer" connectionString="metadata=res://*/Database.DB.csdl|res://*/Database.DB.ssdl|res://*/Database.DB.msl;provider=System.Data.SqlClient;provider connection string="Data Source=thewebserver.com,5158;Initial Catalog=thedatabase;Persist Security Info=True;User ID=theuser;Password=thepassword;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" /> </connectionStrings> </configuration>

Web Forms :: How To Share Master Pages / Ascx Files Across Applications
forums.asp.net
We are developing a framework which will be shared accross applications. What is the best way to share master pages, user controls accross applications by preventing other developers to modify the master pages and the user controls ? Is the following way suitable one ? Embedding masterpages and the user controls in a dll and using VirtualPathProvider to load the master pages and user controls dynamically. But in this approach developers can not view the design. Is there any other way to convert master pages and user controls to a different format as developers can able to view design?

Forms Data Controls :: Specific Code Search Through Tool And Application
forums.asp.net
I have 25 websites in which each website have 500 pages. I want to know in which page the specific code was implemented let say if i want to know in which page <span>test<span> is implemented under each website. Is there any way to know through any tool or application.

Visual Studio :: Find Memory Leaks In 2.0 Application?
forums.asp.net
I am using Asp.net 2.0 for developing my web application,after deploying i found server is using lot of memory and some times IIS server getting down,I am using in-proc session management and my session time out is 4 hours,i found in server this also taking more number of resources,Can some one tells me how i can monitor the memory leaks caused by application.as per my knowledge Garbage collector will collect all unused objects and frees up the memory,why this thing is not happening in my application,

Printing Several Files Of Different Formats Within Application?
stackoverflow.com
We have a business application where users can upload documents and where admins later review them. These admins want to print these documents, preferably by just ticking checkboxes in the file list form and clicking a "print button". My problem is how to append the different documents, which of course can be of different formats, and send them to a printer in one go. I am currently thinking of converting them into a common format (like xps of pdf, or even good old PostScript) and send that file out. I have not yet found any conversion tools though. Has anyone had any experience in these matters, and if so, what were your conclusions? Are there any good conversion tools out there, or am I going in the wrong direction?

Iis - Can Use Windows 7 Home Edition To Develop Applications
stackoverflow.com
I am planning to buy a new laptop to learn asp.net web applications and also windows applications. Do we get IIS7 installed when we buy the home edition of windows 7 or should we buy windows 7 professional version?

How To Get Some Currency Rate Values From A Specific Site And Display Them In Application
forums.asp.net
I don't know if this was asked before. How do I get some currency rate values from a specific site and display them in my application?

Architecture :: Exception Handling In Multi-tiered Applications?
forums.asp.net
Even though I'm trying to implement exception handling in a multi-tiered Windows application, catching and throwing exceptions should be the same for Windows and Web (sans global.asax and web.config custom errors). I have a webform with a texbox that displays exceptions. So my webform invokes a method in BusinessTier class which then invokes a method in DataTier class. How can I throw my DataTier method exception so it reaches my webform?

Architecture :: Dynamic Exception Handling In Saas Application?
forums.asp.net
Dynamic Exception handling in Saas application

Generic Parameter - Pass Another Control Type And Execute Exact Same Logic
forums.asp.net
I have a class constructor which accepts a Listbox. [Code].... I need to be able to pass another control type and execute the exact same logic in one of the methods... Seems like a use for Generics... I'm not so sure about the syntax... The type of control that I will pass is a rad combo box which has many of the same properties of the listBox control. However, RadComboBox does not inherit from listBox or dropDown so I am unable to cast. When changing the signature of the constructor to As RadComboBox as well as the property and field the method works as expected. I am trying to avoid duplicating code here. 

Web Forms :: Clear The OutputCache Across Web Applications?
forums.asp.net
Is it possible to clear the output cache of one asp.net web application from inside another asp.net web application? Reason being... We have several wep applications structured like... [URL] Pages in /area1/ and /area2/ are cached and are managed through /intranet/cms/. When a page is edited using /intranet/cms/ I want to clear it out of the cache in the appropriate /area#/ application. I already tried using a VaryByCustom that looks up a guid stored in the HttpContext.Cache but that seems to be cached per web application, that doesn't work. Really if there were any way of passing data between web applications on a single server, that would solve my problem, since I can use that + VaryByCustom. One thought was to create some file and useHttpResponse.AddFileDependency to make it a dependency in both applications- but this is less than ideal because I have many pages and therefore would need many files. Another idea is to create some URL in the /areaN/ apps that clears the cache for a given page and just make a request from the /intranet/cms/ app to that URL to clear the cache.  This would work, but seems a bit clunky.

How To Determine If The Executing Assembly Is A Web App Or Winform/console
stackoverflow.com
I would like to write a helper function which build the exception message to write to a log.The code look like: if(IsWebApp) {       use HttpContext to get the Request Path and RawUrl [code]....

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?

C# - Getting Geographical Coordinates From Web Application?
stackoverflow.com
I want to learn a user's location from his mobile device by web application. When user opens the website, with the help of a script we will learn if the device has a gps hardware.And if the device has gps hardware what are the current coordinates? I'm developing my project using ASP.NET

Web Forms :: Setup / Configure ELMAH On Website Application?
forums.asp.net
I would like to configure ELMAH to my website, so I can log the error message on my SQL Server Database. I have tried and put all the required configuration on the web.config file and copied the files to bin folder but no luck nothing is getting logged on my database. Let me know if you require me to upload my web.config file. The article link as below. http://code.google.com/p/elmah/ http://dotnetslackers.com/articles/aspnet/ErrorLoggingModulesAndHandlers.aspx

Configuration :: Deploy VWDE 2010 Application To Shared Host?
forums.asp.net
I have a single contact.aspx application I want to use on a web host but am confused with the publish feature in VWDE 2010. I can't run any commands or packages and was hoping just to upload the .aspx and .cs files and have jit compile to run them. Why does VWDE 2010 create a .dll and .pdb in the bin folder of my project? I thought the Express versions of VS didn't produce DLLs? On previous editions of VWDE all I needed to do was copy the .aspx and .aspx.cs pages to the host.

Web Forms :: Way To Highlight Error In 2nd TextBox Like Typing Tutor Application In C Sharp
forums.asp.net
When I am building my typing tutor application the errors user made I want to show it in RED into his textbox. I created a LIST to have the index values stored but cannot figure it out how to retieve it and make them display as RED COLOR in UserTexbox. [Code]....

Page Level Security And Control Level Security In MVC Applications
forums.asp.net
how to implement page level and control level security in MVC applications. Also I would like to know the definition for Page Level and Control Level Security in MVC. Please refer me if any third party tools avilable to implement security in MVC.

Accessing ASPX Page From DeskTop Application?
forums.asp.net
I need to access an aspx page from desk top applications, and read a specific controls value (textbox, label).

Routing With Parameters In .NET Application?
stackoverflow.com
I need to use routing with parameters in my ASP.NET application. public class Global : System.Web.HttpApplication { void Application_Start(object sender, EventArgs e) Then, by navigating to "/Profile" I want to get on Page_Load method Request.Params["Id"] as null and by navigating to "/Profile/1", Request.Params["Id"] as "1".

Getting Error Message While Calling Web Service Method From Application
forums.asp.net
i am getting this error message while calling a web service method from my application The underlying connection was closed: The connection was closed unexpectedly i am using asp.net 2.0.

MVC :: Javascript Not Executing After Ajax Post?
forums.asp.net
I'm working on a prototype that makes heavy use of partial views and jQuery. When I use jQuery to do the post and updates to the page my javascript fires as I would expect. If i let Ajax.BeginForm handle it the javascript doesn't execute. An example partial view would be [Code].... The form is initially loaded using jQuery and the masks work. When the partial view is updated after the post, the ready function doesn't get executed. If I create an OnComplete handler and update the page using jQuery it works. Not sure if I'm doing something wrong or if it is a bug/feature of MVC Ajax.

Web Forms :: Passing Multiple Parameters To An Exe From Web Application
forums.asp.net
I need to execute the following exe file with multiple arguments from asp.net web application "C:Program FilesSysteminvoke.exe" /project "UPLOAD" /app "Default App" /task "XMLGEN" /parm.OutputDirectory "c: emp" I tried the following asp.net code, [code]....

SQL Server :: Execute Dynamic Query From The Resultset?
forums.asp.net
I've a resultset that returns some 55 rows which is typically a dynamic query like [Select column_name from table_name where column = condition]. I need to execute this query which is in resultset and insert the value of column_name into another table. I dont get the way as how to make it. Kindly suggest me as how can I execute it.

How To Handle User History/Log Module For Web Application Interaction
forums.asp.net
How can I store the operation of user in the database. like User Web interaction like Insert ,delete,update operation in the datatabase. How can I create history/log  module for web application?

How To Handle Exceptions In A 3-tier Web Application - Specifically Sql Database Exceptions
stackoverflow.com
I'm building the standard 3-tier ASP.NET web application but I'm struggling as to where to do certain things - specifically handling exceptions. I've tried to have a look around on the web for some examples but can't find any which go as far as a whole project showing how everything links together. In my data-tier I'm connecting to SQL Server and doing some stuff. I know I need to catch exceptions that could be raised as a result but I'm not sure where to do it. From what I've read I should be doing it in the UI tier but in that case I'm not sure how to ensure that the connection to the database is closed. Is anyone able to clarify how to do this? Also if anyone knows as to where I could find an example 3-tier web application that follows best practices that would be great too.

Jquery - Web Application Accessing SharePoint Object Model?
stackoverflow.com
I have an asp.net 2.0 web application that will run on the same web servers as SharePoint Server 2007. The application should run in its own App Pool (IIS 6.0). The Web Application needs to call the SharePoint Object model API. Is there a resource that explains the required configuration / security settings and other considerations? It is possible that I need to make some settings in SharePoint Admin Console itself; aswell as config files. Script files might need to be located in a specific location in order to be accessible. Assemblies may need to be signed. I can only get partial success running my Web application. But only if it is deployed to a Virtual Directory that resides under the SharePoint Website (in IIS & File system). Even with this setup, I JQuery / Javascript throw errors when accessed (object null); and also images not loading. I have made some changes to the Web applicaton web.config file which have allowed me to run the application albeit the above mentioned issues with scripts and images (Virtual directory properties also set to allow scripts and executables to run). Ajax functionality appears to work OK.

C# - How To Display Windows.Form.MessageBox In Web Application
stackoverflow.com
I want to display my validation error messages in the MessageBox. I have Four TextBoxes and One Button control. When I click the Button Control, the TextBoxes without the text to be shown in the MessageBox. I have almost done this, but the problem is When I click the Button, the MessageBox is opened as a minimized window. So it is difficult for the end user to realize. I want to display the MessageBox to the user when button clicks. Here is my code, In the Button Click Event [code]....

Built A Hosted Web Application?
stackoverflow.com
We have built a hosted web application, that is developed in a way that each customer is connected to an individual database. This application is a web plattform/publishing system, and has been working very well so far with this design. We also have a main database.Now we are about to make some changes in our pricing model, which would introduce free accounts. This should (hopefully) generate a lot of more accounts.Is there a problem having a lot of databases, say many thousands (currently about twenty)? There are lots of advantages: security by separation, scalability, easily extract customer specific data (part of scalability too), etc.

Design An Application That Allows Data To Be Input Over The Web Via Php
bytes.com
I am a scientific programmer new to PHP. I am trying to design an application that allows data to be input over the web via php to a mysql database and retrieved and displayed. The server runs apache on a linux box. There must be some templates or such-like for this simple sort of thing (what I am trying to do is purely functional rather than pretty)?

Abstract The Database From An Application?
stackoverflow.com
My question is how does one abstract a database connection from the model layer of an application? The primary concern is to be able to easily change from different types of databases. Maybe you start with a flat file, comma-delimited database. Then you want to move to a SQL database. Then later you decide an LDAP implementation would be better. How can a person easily plan for something like this? For a simple example, let's say you have a user with a first name, last name, and email. A very simple PHP class representing it might look like this (please ignore the problems with public instance variables): <?php class User { public $first; public $last; public $email; } [Code]..... My problem with strategies like this is when you want to change your database, you have to change every DAO class' create, update, load, delete functions to deal with your new type of database. Even if you have a program to auto-generate them for you (which I am not particularly a fan of), you would have to edit this program to make it work now. My current idea is to create a super class for DAO objects with its own create, delete, update, load functions. However, these functions would take arrays of the attributes of the DAO and generate the query itself. In this manner, the only SQL is in the SuperDAO class rather than being scattered about several classes. Then if you wanted to change your database layer, you would only have to change how the SuperDAO class generates the queries.

Regex - Execute Code With Restrictions?
stackoverflow.com
We have a CMS editor where php is allowed to be used inside it, however we need to restrict access some commands such as file_get_contents, file(), and global. boolean response regex for that? The text from the template is stored in a string.

Ajax :: Web Applications - How To Do Search Engine Optimization
stackoverflow.com
How is the relationship between crawlers and ajax applications? Do the web crawlers or browsers read dynamically created meta tags? I thought about: -Adding anchors to the page -Creating permalinks to the content -Dynamically adding meta tags. [URL]

Interacting With Webpage From C++ Application?
stackoverflow.com
i want to access HTML DOM object from within my application to update certain parts of web page through javascript commands at run time.It is a local webpage opened in FireFox which would be accessed by my application, so that the final output is always shown at the webpage which is updated by appliation. I have similar requirement like the webmonkey extension of firefox but need to do it outside of browser from my application.

Current Directory
www.xtremevbtalk.com
how about in a vbscript web application?

Delete A File From Server After Is Read. Unlink() Is Executed Before?
stackoverflow.com
I'm trying to delete a picture (.jpg) from server after the first time showed.But the file is deleted (unlink();) before showed. I've already tried with sleep() but this only delay the loading and after all the file is deleted before showed.

Valid Query
www.xtremevbtalk.com
Any suggestions as to why this query is invalid?Set MyRecSet = MyConn.Execute("SELECT email, name FROM names WHERE email = 'jared@cdn7.com' LIMIT 1")

WCF / ASMX :: How To Execute WebService Asmx Link From Default.aspx Page Link Using HTTPRequest And ...
forums.asp.net
I have spent a couple of days on this one.  I have an ASP.NET website that has Linkbuttons on the Default.aspx page..  I added a WebService to the Website because later on the WebService will subscribe to a Provider(Feed) of News, Sports and Weather and things like that.  So when a Linkbutton on the Default.aspx page is clicked it will connect to the link in the WebService which will load the News, Sports or Weather onto  the Default.aspx web page.       The problem is I can't get the LinkButton to execute the Link in the WebService.  The link will call the page up to where you see all of the Web References.  But then if you want to execute one of those references you have to click its link and the Invoke button that will follow. My questioh is how can the link on my Default.aspx page execute the link in the WebService.  Now I changed the LinkButton into an <a href> but I still can't execute the link in the WebServices.  I always use www.Microsoft.com as the link when testing and I wasn't sure about the return type so I put "void" for an HTTPRequest,  so below is the link from the Default.aspx web page and below that is he asmx file: [code]....

Visual Studio :: Created A Class To Execute Dynamic Code But It Does Not Generate The New Code In The...
forums.asp.net
I created a class to execute dynamic code. The problem is that it compiles correctly but does not generate the new code in the DLL.  I keep running the code and getting always the same output from my first compilation. let me know what am i doing wrong?! how can i make it a true dynamic code generator! Here is the code: Imports System Imports System.Text Imports System.Reflection Imports System.CodeDom.Compiler[code].....

.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 ?

SQL Server :: Stored Procedure Works Wrong When Invoked From C#?
forums.asp.net
I have this stored procedure: but everything works fine when i execute it from the managment studio, but when i execute it from my asp.net aplication only update the column "status" but not the column "FAbandono". I have this stored procedure: [Code].... but everything works fine when i execute it from the managment studio, but when i execute it from my asp.net aplication only update the column "status" but not the column "FAbandono". here is the asp.net code: [Code]....

Web Forms :: Start Two Asynchronous Database Access Calls That Are Executed Onto The Separate Thread?
forums.asp.net
i have the code for asynchronous call to the database. i execute the sql command into the begin method that will executed onto the separate thread. now i want to execute the another database call asynchronously so that this also execute onto the separate thread. code for one database cal is here.... private SqlConnection con, con1; private SqlCommand cmd, cmd1; private SqlDataReader dr, dr1; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { AddOnPreRenderCompleteAsync(new BeginEventHandler(Begin), new EndEventHandler(End) ); } } /////////////BEGIN METHOD IAsyncResult Begin(object sender, EventArgs e,AsyncCallback cb, object state) { string connect = "Data Source=.\SQLEXPRESS;Asynchronous Processing=true;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True"; con = new SqlConnection(connect); con.Open(); cmd = new SqlCommand("SELECT FirstName,LastName,Age,Company,Profile FROM Person",con); return cmd.BeginExecuteReader(cb, state); } //////END METHOD void End(IAsyncResult ar) { dr = cmd.EndExecuteReader(ar); Label2.Text = System.Threading.Thread.CurrentThread.GetHashCode().ToString(); GridView1.DataSource = dr; GridView1.DataBind(); }

Forms Data Controls :: Select Query In Vb.net In Multiple Conditions?
forums.asp.net
i create  view in sql server and execute a select query using AND operator on it using vb.net and bind data with gridview...but i am not getting result in grid

What Is The Difference Between These 2 Objects
www.vbforums.com
Have a C# application. When I look in the project folder I see an .exe in bin/debug folder, when I click it executes the application fine. I also see the same .exe in obj/debug folder, when I click it executes but gives me error. What is the difference between these 2 objects and why do I have 2 of them?

Can Import And Execute A Macro Into An Excel File?
forums.asp.net
Is it possible to have an .aspx page open an Excel file, import a macro (saved in a .bas text file), and then run it? I've been able to do this in the past from a MS Access application, but I have no idea where to begin with asp.net. 

SQL Server :: Error While Executing A Dynamic Insert Sql Storedprocedure In Sql Server 2005?
forums.asp.net
assist me rectifying the error in following sql stored procedure? Sql Query:- [Code].... I have created the above Stored Procedure for inserting datas into any table but while I execute the above proceedure its throwing some error.

Asp.net - Send Status Information From A Web Service While Is Being Executed?
stackoverflow.com
I'm new to web development so I'm not sure what's the best option for the problem that I'm having.Basically I have a web application that calls a web service for processing some data.This process may take a long time (hours) and I would to know if there is an easy way to send some status information to the client from time to time.Right now, the client makes the request from the browser and it just waits there until it finishes. How can I send some information from the web service? I would like to send a percentage and some additional text specifying what is being done.

JQuery :: Perform / Execute So And So, When Anchor Element 'clicked'?
forum.jquery.com
as you can tell by the following statements, i'm new to jQueryI'm trying to do the following (in plain english) without too much success.. ) when document ready.. 2) find the element with id 'next'.3) pull / take all 'li' elements, and perform so and so, all whilst excluding 'last' element. $(document).ready(function() { $('#next').click(function() { $('li').each(function() { //for each li .. [code]....

Jquery :: Execute Other Action Than CRUD By Ajax In Rails?
stackoverflow.com
So I'm new to Ajax in RoR and having first problem with executing .js.erb file after some action ends. By 'some action' I mean not default generated by Rails, because those seem to work fine.[code]...