473,325 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Posting code

tlhintoq
3,525 Expert 2GB
It helps the volunteers here tremendously when you post the actual code that is causing you problems. Not the entire application. Just the parts you have written that are causing the problem.

1 - Copy the code from Visual Studio



2 - In your question thread, click the [code] tags button. Its the one that looks like # symbol


Code tags have magically appeared in your post with the cursor right between them.

[code]|[/code]

Just paste and you should see this
[code] public void BrokenMethod()
{
// I don't understand why this doesn't work
int Yogi = "Bear";
}[/code]

Which will look like this
Expand|Select|Wrap|Line Numbers
  1.         public void BrokenMethod()
  2.         {
  3.             // I don't understand why this doesn't work
  4.             int Yogi = "Bear";
  5.         }
More on tags. They're cool. Check'em out.
May 5 '10 #1
2 1611
Markus
6,050 Expert 4TB
Some context?
May 5 '10 #2
tlhintoq
3,525 Expert 2GB
It was meant to be a build of something I could copy/paste as quick responses.
Then I thought I would stick in someplace that might get it seen as a gentle hint to people to use code tags.
So the context is ... misc... don't be lazy... wishing the '#' button said [code]
May 5 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ellinghaus, Lance | last post by:
Does anyone know of a ViewCVS type program that is written in Python that would allow viewing CVS files as well as posting new revisions to CVS over the web? Thanks, lance Lance Ellinghaus...
145
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity...
4
by: hugo2 | last post by:
Most of these characters are not on the standard keyboard. Here's a successful contrivance, with comments & cautions, a little page that works in IE6. <HTML><HEAD><SCRIPT TYPE="text/javascript">...
4
by: pauldepstein | last post by:
I am writing code to price some financial options using recursive functions. It compiles but I get a runtime error which is caused by a memory violation. The problem is that the code is much...
29
by: Gernot Frisch | last post by:
Hi, I have no clue. - I want to align the red, green, blue boxes in one line - red,green,blue must be 45px high - red (center) must be as wide as possible - yellow must start exactly below...
13
by: jc | last post by:
I have written a parser using bison and flex to read ASAP2 file for CAN communications. entire development was done in an unix environment and now the code is ready to be integrated to an existing...
3
by: Work007 | last post by:
i am using visual basic express edition and i am very new to it. I have a form 1 which has a textbox. User adds something to this textbox and clicks on the ADD button. User is taken to form 2 and...
2
by: AccessCoder | last post by:
What is the proper way to reference code snippets that are copied from usenet group examples? What about when a developer posts code that is copyrighted and they allow you to use it in a...
8
by: Andy B | last post by:
Before I do a no no on a newsgroup, I need to ask a question: What is the max number of lines of code you can/should post here before it gets too long?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.