.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

implement functionality like "word art"?

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :Windows Application


I want to know is it possible to open word art option by clicking on button ?

and if so how can i do this ?and after that i also want to convert that into image.

please help me.ITS VERY URGENT.

Any help will be appreciated.

Thank You.

View Complete Post

More Related Resource Links

way of calling "javascript function of parent window from child window."

The article way of calling "javascript function of parent window from child window." was added by raja.s on Sunday, June 06, 2010.

Hi,Here i am going to explain how to call the javascript function of a parent window from the child window(pop-Up).Some may know before reading this post.Parent Java Script Function:script language="Javascript" type="text/javascript">

Implement Google Book functionality??

I would like to implement Google Book functionality similar to http://www.billboard.com/archive#/archive ??Functionality Similar to http://www.billboard.com/archive#/archivearchive#/archive?I couldn't find the code in google api's. Requirement as IT IS from billboard,1) Search Box2) Scroll bar with magazines archive [Ebony Magazine Collection]3) on click on the magazine in the scroll bar should bring up viewer at the bottom of the page.

Regular Expression to match "="(45167)" and retrieve only the code inside parentheses



Need a Regular Expression to match "="(45167)" and retrieve only the code inside  parentheses say 45167

thanks in advance

How to implement add/remove functionality in Custom Control


Hi, I am new to CustomControl and need some help to understand it. I am trying to create a custom control derived from Control class. This control will have two collelction (FromItems and ToItems). Now I have to move item from one collection to other after selecting it(kind of picklist control). I have created dependency properties for both item sources and selctedItems in the collections. I am thinking to bind these sources and selcted items in Style. Can you anyone suggest, how to implement the add and remove behavior from the itemSources? I feel this behaviou should be part of control as this is a fix behaviour. I tried to create some routed event but not sure how to raise it. I am planning to style this as Two list boxes and two buttons(to add and remove from destination list). Is it a correct approach? How to proceed?


replace "


when i look into my list and recieve the field data.

i recieve "30""

the output must be 30".

i'm dooing the following, but my result is 30\".

String modifyWord = SPEncode.HtmlEncode(proditem["code number"].ToString());
String productCodeNumber = modifyWord.Replace(""", "\"");

what im i dooing wrong?


How to implement Maker Checker Functionality


Dear Friends,

I just want to ask about what is the best way to implement maker and checker record authorization feature in an financial application. I mean a way to allow the user to add or edit customer record , and then all these customers (added, edited) go to the checker for approval. The update will be committed to system once the checker approves it and will be roll backed once the checker rejects it.




Activation error occured while trying to get instance of type Database, key "DBName"


Im using Enterprise library 5.0
I have a scenario, where I have to access two different databases in my application.

Basically this application is a webservice,delployed on my local for testing purpose.
I'm trying to access this web method from diffent windows application, default connection works fine but the other database throw's exception.

Problem is only my defaultDatabase is works fine, if I change defaultDatabase="MYCON1" with "MYCON2" it works fine, if I try to access the other database which is not default, throws exception.

<dataConfiguration defaultDatabase="MYCON1" />
<add name="MYCON1" connectionString="Data Source=server1;Initial Catalog=dbName1;User Id=Username1;Password=password1;"

" />
<add name="MYCON2" connectionString="Data Source=Server2;Initial Catalog=dbName2;User Id=Username2;Password=password2;"
providerName="System.Data.SqlClient" />

Database myDB=EnterpriseLibraryContainer.Current.GetInstance<Database>(); --> works fine for the default database (MYCON1)

Database myDB=EnterpriseLibraryContainer.Current.GetInstance<Database>("MYCON2"); --> Error message, see below

Activation e

how to close underlying DbConnection without using "Using" statement


Here's my  code,  I am using "Data Access Application Block"  in ObjectDataSource's class file.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Web.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;

namespace cHospital
    public class Hospital
        private Database _db = EnterpriseLibraryContainer.Current.GetInstance<Database>("Conn");
        public SqlDataReader sDR;

        public SqlDataReader GetHospitals()

            RefCountingDataReader dr = (RefCountingDataReader)_db.ExecuteReader("GetHospitals");
            return (SqlDataReader)dr.InnerReader;

in my code, I didnt dispose the dataReader.  will it mess up my connection management ?  I want to make sure that DbConnection is properly closed.

I found this from "hands on lab".
"You are not doing any connection management here, but it is very important to Dispose the data reader returned. This is accomplished by the using statement in the code above. When the data reader is disposed, the underlying DbConnection is also closed."

please let me know if what I did is ok, i

Help me error "An operations error occurred" !



 I am trying write function to check User in Active Directory 

This my code :

            DirectoryEntry de = new DirectoryEntry("LDAP://myDomain");
            DirectorySearcher deSearch = new DirectorySearcher();
            deSearch.SearchRoot = de;

            deSearch.Filter = "(&(objectClass=user)(sAMAccountName=" + userName + "))";
            deSearch.SearchScope = SearchScope.Subtree;
            SearchResult results = deSearch.FindOne(); //-->Error here

            if (results != null)
                return true;

            return false;
        catch (Exception ex)
            throw new Exception(ex.Message);
When I run on Localhost (with IP : it very well, but I get other PC (in the same domain with IP : connect to PC (

PRB - ASP.NET "White Screen of Nothing" "Internet Explorer cannot display the webpage


PRB - ASP.NET "White Screen of Nothing" "Internet Explorer cannot display the webpage"

Please help,

We have a ASP.NET website that some times gets pages to lock up, with no content, all white screen, that eventually time out in IE to return an IE error page title "Internet Explorer cannot display the webpage". Note the spelling. We refer to this as the "White Screen of Nothing". 

Logs from IIS, show no errors (no 400+ status codes), and in fact, show the page that IE goes into the "White Screen of Nothing" for, as status code 200 in the IIS logs. Also, internal server-side ASP.NET tracing, show all code running as expected.

Trying to reproduce this error is difficult. It does not occur consistently. At best, if we open pages, close them, and repeat this as fast as we can, it will eventually happen on attempt to open a page and/or the refesh of a frame. It is not always the same page twice.

Some pages use AJAX controls. Most use GridViews. A few use Responce.Redirect. Nothing consistant.

Searches for causes of the "White Screen of Nothing" or the "Internet Explorer cannot display the webpage" are all over the place, and do not seem to be related.

We have managed to trap one instance of the "White Screen of Nothing" while in a Visual Studio 2008 debug session, where a weird, unknown thread was locked with the call

Adding Dynamic Rows in ASP.NET GridView Control with TextBoxes and with Delete functionality

In my previous examples, I have demonstrated on how to add dynamic rows in GridView control with TextBoxes and how to save the values into the database. Now, seems that most of the developers are asking if how to add a delete functionality with it. So in this example, I'm going to show on how to delete a certain row in the dynamic GridView with TextBoxes.

PrintPocketCE Print Pocket Excel, Pocket Word and email files

Version 3.560 (May 15, 2009):

Important bug fix: a slight difference in how some devices create fonts was causing a few devices to have significantly longer print times for large print jobs.

Adjusted PocketJet printer paper feed commands

Other minor fixes and enhancements.

Version 3.559 (Mar 5, 2009):

Added support for Martel MCP78xx printers

Version 3.558 (Aug 20, 2008):

Added support for Martel MCP78xx printers

Version 3.557 (June 27, 2008):

Fixed error in Canon printer support

Fixed COM0 port selection

Version 3.556 (June 15, 2008):

Added support for Brother MW-260

Added support for Sato MB400

Version 3.555 (Aug 8, 2007):

Added support for Pentax RuggedJet 3 and RuggedJet 4 printers

Changed Epson TM-P60 support to maximum page width of 1200 dots

Version 3.551 (Aug 1, 2006):

Added Peripheral Nomad printer support

Version 3.550 (Mar 23, 2006):

Added Panasonic JT-H200PR printer support

Added Pocket Spectrum printer support

Fixed problem with WM5.0 "inverted image" problem

MS Word style comments in asp.net



I need to create a system, that will be similar to ms word style comments. So the idea is the following: on the page there are a pack of text boxes labels and so on, and user need have the way to comment each control, and save commented text, for example to DB, so the others can reed comments too.

I tried PopUpControlExtender, but it works in single way, and i cannot view all the popups in one time. Or may be i missed something and there is a way to popup all the controls at one time? 

Therefore, are there any known solutions for a discribed task, based on PopUpControlExtender or something else?

how implement transformations in slideshow extender.



i am working on ajax slideshow extender.

can anybody help in coding for 

1) implement transformations between slide to slide.

2) and the direction means orientation in changing of slides.

I hope u got my querries.

please help in this regard.

thanks in advance.

how implement this code


check this link

and how can i implement on aspx page to get value on textbox




Is it possible with SQL sorted in descending order according to the word?
In Table I shrajeno Mastercard, Visa, Diners etc ...

All Visa are the first in the order, another Mastercard, etc. ...

Something does not work: ORDER BY PaymentType = 'Visa';

I would not want to work in one field PaymentId (111,222,33, etc. ..) and then use the ORDER BY.

Is this possible in such a way?

how get only two word in database?



i have a feild in database where we store data like







i want only first to word to show in textbox1 like(only PT).

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend