BeetleDev.com
info
contact
Monday, August 19, 2019
Beetle Blog
1
By: douglas - Misc - 4/13/2013 4:22:47 PM

At the command prompt:

powercfg /batteryreport

It should save an html report and tell you where to find it.


If you are using the command prompt on Windows many directories and file names have spaces in their names.  This does not work well with the command prompt.  One solution is to put double quotes around paths with spaces:

"C:\Program Files\My File.exe"

 


By: douglas - Misc - 12/14/2007 6:37:16 PM

In VS.net 2005:

  1. Create a dataset file
  2. Drop a database table in the dataset
  3. Generate stored procedures
  4. Generate database insert, update, delete methods
  5. Close dataset file
  6. Open dataset file
  7. Configure dataset
  8. Go through wizard
  9. Now the generator does not generate the insert, update and delete methods
  10. This also happens if you create a new data set based on existing stored procedures

Possible workaround:


Creating a new TableAdapter in the DataSet Designer by right-clicking on the designer surface and choosing Add->TableAdapter. Then go through the wizard choosing Use Existing Stored Procedures. The checkbox will still be disabled but it will be checked and the DBDirect methods will be created. You will also be able to turn on/off the GenerateDBDirectMethods property in the properties window by following this workaround.


By: douglas - Misc - 11/12/2007 1:55:10 AM

Recently I've been working on animalpedia.com.  Animalpedia.com is a web site all about animals and I plan to make it a cross between a blog and wiki type site.  Hopefully it can be developed enough so that people will be able to use it as a resource for animal information and pictures.

Check it out at www.animalpedia.com.


By: douglas - Misc - 10/18/2006 1:45:37 AM
Recently I tried out Ubuntu (www.ubuntu.com).   I found it to be very easy to install and use.


By: douglas - Misc - 10/28/2005 2:32:37 AM

Subversion is a source control system.

Subversion main link:
http://subversion.tigris.org/

 


By: douglas - Misc - 10/28/2005 2:28:54 AM

CruiseControl.net is a server that is used to run builds on software projects.

It works together with source control, NAnt, NUnit and other tools to build projects.

Here are some links to CruiseControl.net sites:

CCNet Main Site:
http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET

How to set up a CCNet project:
http://joefield.mysite4now.com/blog/articles/146.aspx

 


By: douglas - Misc - 9/24/2005 2:18:01 PM

A friend of mine emailed me this link a couple of years ago.  It's an index on the popularity of programming languages.

http://www.tiobe.com/tpci.htm


By: douglas - Misc - 6/17/2005 1:07:33 PM

This is how to do the meta refresh tag in plain HTML.

<meta http-equiv="refresh" content="0;URL=http://www.beetledev.com">

You can also use relative urls:

<meta http-equiv="refresh" content="0;URL=Home/default.aspx">


By: douglas - Misc - 6/10/2005 2:23:59 PM

I recently found a nice DNS lookup web site that allows you to look up information on a domain name.

http://www.dnsstuff.com/

Here is also another site that explains how DNS settings work:

http://www.rscott.org/dns/


By: douglas - Misc - 6/11/2004 2:15:00 PM

To add a favicon to your web page:
Create a favicon.ico file. http://www.htmlkit.com/services/favicon/ is a useful site that allows you to create an icon from a picture.

Once you have a favicon.ico file, upload it to the root directory of your web site (the directory where your home page is).

Some browsers will search for favicon.ico automatically when you bookmark a web site. You can also add this tag: <link rel="shortcut icon" href="favicon.ico"> in the <head></head> portion of the web site to tell browsers where your favicon.ico file is located.

 


By: douglas - Misc - 5/21/2004 9:31:00 AM

Problem:
File name is too long for WindowsXP to move, rename, copy or delete. WindowsXP command prompt will also not allow you to move, rename, copy or delete file.

Solution:
Go to DOS command prompt:
Start Run type in 'command'

Note: type in 'command', not 'cmd'.

'command' will allow you to access files in DOS long file name format. You may still see files and folders with their full names, but will need to access them using the DOS long file name format.

DOS long file name format:
First 6 characters of the filename, excluding spaces, followed by ~1 and the extension.

Examples:
Actual File Name: this file name is too long for DOS.txt
DOS long file name format: thisfi~1.txt

Actual Folder Name: this folder name is too long for DOS
DOS folder name: thisfo~1

You should be able to rename the file to a shorter file name using this format.


By: douglas - Misc - 4/18/2003 12:00:00 AM

In order to prevent your page from caching in your visitor's browser, you can try these methods:

Write meta tags into your HTML header. Set the "expires" date to some date before today's date:

<meta http-equiv="no-cache">
<meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">

Using ASP:

< %
Response.ExpiresAbsolute = #2000-01-01#
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
%>

Using ASP.net (C#):

Add these lines of code to the Page Load method:

Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetAllowResponseInBrowserHistory(false);

.net code from http://www.dotnetbips.com/displayarticle.aspx?id=288


By: douglas - Misc - 1/8/2003 12:00:00 AM

Dreamweaver MX does not recognize .ascx files as ASP.net files. When opened they are not color coded as ASP.net files.

This problem can be solved by editing the server model configuration file. Be sure to backup any files before modifying them.

Open C:\Program Files\Macromedia\Dreamweaver MX\Configuration\ServerModels\ASP.NET_Csharp.htm. The VB.net file is named ASP.NET_VB.htm.

Find the function canRecognizeDocument(dom).

Edit the line var langRE = /@\s*page\s*language\s*=\s*(\"|\')?c#(\"|\')?/i;
to accept the "Control" header.

Or set the function to return 1 always.

This solution was provided by julesr on the asp.net forums.

 


Dreamweaver MX does not display double quotes in .ascx files correctly on Windows XP. There are 3 ways that may correct this problem:

  1. Windows XP may not display italicized double quotes correctly if clear type is turned on. Turn off clear type.
  2. Windows XP may not display italicized double quotes correctly if the font is too small. Increase the font size using Dreamweaver MX's edit preferences.
  3. Dreamweaver MX does not interpret .ascx files as ASP.net files. Instead it interprets these files as normal HTML files. Modify the HTML color coding preferences in the edit preferences section so that JavaScript Strings are not italicized.

Using any one of the methods above may resolve the problem. Thanks to Jules from ASP.net forums for help on this issue.




By: douglas - Misc - 5/3/2002 12:00:00 AM
Telnet
set Local_Echo
open < machinename > 25
helo me
mail from:email@domain.com
rcpt to:youremail@yourdomain.com
Data
Subject:This is a test

Testing. This is the message body.

.

1

Beetle Blog v0.2.2


Copyright © 1997 - 2019 BeetleDev.com. All rights reserved.