I have created an activex dll object and it works fine when registered manually. I want that activex to install in client browser, if already not. I got from searching that, that can be achieved by creating CAB file.
I have created the CAB file and set it the codebase property of the activex object
It asks for downloading, but not getting installed on client browser.
Any one please lead me to the correct way of building the CAB file or where ever the mistake is. Please ...
ok thanks, for instance, I want a user to enter a userid and upon doing that
I want to connect to the database in the background to check if the id exist, if so,
I will then insert the username for the user.
The whole problem is connecting to the database as the user types which is why I think
ajax would do the trick here even though am not sure how to implement this.
Would you have any help please?
Best would be to use XMLHttpRequest(old times AJAX! ) in order to implement such kind of feature...
On keypress, fire a XHR and check on server about the typed in data(connecting to database) and get back response accordingly.
if you need to know about it, just google it, you will get number of articles on it!
i develop a server control that have a property of type List<myitem> where MyItem have a property like List<myitem>.
My intention is to build a control like menu that contains item with list of nested items.
Well, i be able to create the first level of items, but when i insert an item of second level, the designer don't show it.
I don't see the nested item in the aspx page.
How can i create a control like Menu, not deriving from it, and manage in the correct way all the nested collections of items ?
first of all i am new to .NET, when i tried to open a web project which i downloaded from internet i am getting the following error message.
The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/project_name' cannot be opned with the path 'c:\inetpub\wwwroot\project_name'. The error returned was:Unable to open Web project 'project_name'. The web 'project_name' located on server 'http://licalhost' does not exists.
The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/project_name' cannot be opned with the path 'c:\inetpub\wwwroot\project_name'. The error returned was:
Unable to open Web project 'project_name'. The web 'project_name' located on server 'http://licalhost' does not exists.
Have you created a virtual directory for your Web application under IIS?
The error message looks like VS is not able to find the web project under local host.
You can create a virtual directory in 2 ways -
1. Copy your web proj to c:\Inetpub\wwwroot\.
2. Open inet manager and locate the newly added folder under the default website.
3. Then "right click -> Properties", here you would see a "Create" button under "Application Settings", just click on it, Apply and close.
4. Refresh your Default website and you are done.
1. Locate your web proj folder using Windows explorer.
2. Then "Right click -> Sharing and Security -> Web sharing -> Share this folder -> click OK on the new window -> Apply and close".
3. Now your folder would be listed in inet manager.
Proceed with step 2 of the simple process and you are done.
I wanted a RegEx to allow user to enter phone number in #-###-###-#### or ###-###-#### format only. (Eg: 1-888-456-5678 or 888-456-5678)
I have implemented RegEx to allow user to enter Phone Number in #-###-###-#### format.
What changes do we need to make to the existing RegEx so that it allows user to enter Phone Number in the above 2 formats only?