Skip to main content

Posts

Customized Page for Printer

Intro How to Create Customized papper (Windows XP) Set the Customized papper as Default paper to the printer. Intro When i was working with several projects; customers are using pre printed invoices for print their bills. For printing invoices i used Crystal Reports. for print particular information on that pre printed invoices i had to waste lots of time with doing alignments. If that pre-printed bill is A4 then its easy for me to set alignments because most of every printer supports A4 papers.(NOT POS PRINTERS) . But if the customer select a Paper which is not supports to the printer then i have to waste lots of time to set the paper alignments. New printers are supporting user to set their own customized paper. But lots of companies still using dot matrix printers for print lots of invoices. It is easy and economical. Most of all Dot matrix printers does not have a feature to customized the paper size. Windows XP has a option to user defined paper on Printer and Faxes in the control

Create RSS with Simple Example

Content What is RSS and Usage How do i subscribe to RSS Creating the XML file Creating the HTML file Testing The Sample What is RSS and Usage RSS - Really Simple Syndication also known as Rich Site Summary. RSS feeds provide Webmasters and content providers to update their site summaries to Readers of the site. example: A blog sites are always updating by new articles daily. If a reader of that blog wanted to read newly posted articles, he or she wanted to go to the site and check whether there are any new posts available. Without going to the blog site if they can check are there any new posts available. If so, readers can check the post's title and description then by selecting particular title and log into that article directly....It'll be easier for that reader. For that owner of the blog site has to do update a xml file with summary of newly posted articles and give a link to that file. Readers have to do subscribe for that link and get that newly posted article's summ

Application Configuration FIle Visual Studio 2005

Through the application configaration file You can easily save values to later usage. you can create a application configuration file from project > Add New Item (Ctrl + Shift + A) example You want to add get string from config file Create a Config file using above step. after that insert following code to the config file. its a XML file. appsettings add key="DatabasePath" value="c:\\projects\data\spider.mdb" add key="SupportEmail" value="webmaster-1@dotnetspider.com" appsettings configuration in the coding add following Dim app As New System.Configuration.AppSettingsReader Dim s As String s = app.GetValue("DatabasePath", Type.GetType("System.String")) MessageBox.Show(s) its very easy when you are handling databases. you can store database connection string in that config for later reusabilty. Please post your comments
How To Disable Export Button In Crystal Report When you are taking crystal report printouts through a program, such as program written using vb6. you might have a problem how to disable Export button in print preview. All you have to change following property to false or Uncheck the Export option in Property Pages. You CR.WindowShowExportBtn = False Crystal Report Object in Visual Basic 6. (CR is refer to Crystal Report Object ) You can go to Property Pages by right click and choose Properties on Crystal Report Object After you done those things you crystal Report print preview will showing like follows. I was face to above problem. We implemented a software program which is written using vb6. Cashier can take daily sale print out. before printing it is showing a preview to the user. So when the time pass user click export button and saved that report as a excel file. Then he modified the values and took printout to the management. That gives Security problem to the program a
MS-DOS Batch Files This Article Contain: Introduction to MS-DOS Batch Files Create a Simple Program How to Get Command Prompt and its commands Matrix Program Introduction to MS-DOS Batch Files Batch files are not a program. It consists of commands and batched in to a one file. That file called as Batch file. It is easy to make batch files. If you can think lot may be you can make an advance batch file. Just Think. Create a Simple Program Example: @echo off C: Cd\ Tree /f /a Echo Did you see directory of your C drive Pause Type above example in Notepad and save it as any name you prefer and extensions should be .cmd of .Bat. Example:- MyBatchProgram.cmd or MyBatchProgram.bat Run that file. That is called Batch program. If you type above command lines in MS-DOS command Prompt then you’ll get same kind of results. Different is you have to type each command by command instead of double clicking the batch program. How to Get Command Prompt and its commands You can learn commands in MS-DOS b

How to connect PDA with SQL Server 2000

How to connect PDA with SQL Server 2000 When we trying to connect PDA with SQL Server 2000 It generate SQL Exception every time. We searched every where to overcome this matter. Our target was connecting PDA to Server Computer via Wifi and does the transaction to SQL Server 2000. We designed program with MS Visual Studio 2005 and Deployed to PDA. We included the Connection String as following. "Data Source=ServerName;Initial Catalog=master;Integrated Security=true;User ID=sa" Server Computer should include following connectivity software. MS .NET Framework 2.0 MS SQL Server 2000 Service Pack 3 MS SQL Server 2005 Compact Edition [ENU] MS SQL Server 2005 Mobile Edition Device SDK MS SQL Server 2000 SP3a Replication Components MS SQL Server 2000 SP4 Replication Components You can download above from the Microsoft site. After you install above software and when you trying to connect PDA with Server maybe you will still get that SQL Exception Error. What you have to do is go to yo

Google Talk Secret Emoticons

Some of the basic emoticon like :) and :D works inside google talk and on typing will turn bold blue like: :) and :D . Some other notably useful emoticons are :( , :P , :O , : , :'( , :x , :-) , :-D , :-( , :-P , :-O , :- , :-x . However, if you use chat feature inside Gmail, there are few animated emoticons which aren't documented and hidden for normal users. One thing to keep in mind is that all emoticons are available for Gmail chat client but Google talk does not supports all of them. Google has beautifully added 'animated smileys' or 'emoticons' to the Gmail-integrated version of Google Talk. These emoticons begin by showing you what you typed, then rotate or morph into a more traditional smiley (Refresh this page to see what I mean). Most of them are black on white (like the text in chat), with a few splashes of color. If you hover mouse arrow over them, they again re-animate to create lovely effect. To use emoticons, you need to click the blue smiley-fac