Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey,

 

As I reply to some posts, I paste my code using the [ VB ] code tags of course.

But when I paste it, it randomly squishes my words together.

 

[size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Class[/color][/size][size=2] clsText

[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] TheFont [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Direct3D.Font = [/size][size=2][color=#0000ff]Nothing

[/color][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] rect [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]New[/color][/size][size=2] Rectangle(0, 0, 0, 0)

[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] x [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Vector3

[/size][size=2][color=#0000ff]Dim[/color][/size][size=2] y [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Vector3

[/size][size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2][color=#0000ff]New[/color][/size][size=2]([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] d3ddev [/size][size=2][color=#0000ff]As[/color][/size][size=2] Microsoft.DirectX.Direct3D.Device, [/size][size=2][color=#0000ff]Optional[/color][/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] fontname [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]String[/color][/size][size=2] = "Courier", [/size][size=2][color=#0000ff]Optional[/color][/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] Size [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]Integer[/color][/size][size=2] = 10)

TheFont = [/size][size=2][color=#0000ff]New[/color][/size][size=2] Microsoft.DirectX.Direct3D.Font(d3ddev, [/size][size=2][color=#0000ff]New[/color][/size][size=2] System.Drawing.Font(fontname, Size))

[/size][size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub

[/color][/size][size=2][color=#0000ff]Public[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2] Drawtext([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] text [/size][size=2][color=#0000ff]As[/color][/size][size=2][color=#0000ff]String[/color][/size][size=2], [/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] Color [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Drawing.Color)

[/size][size=2][color=#008000]' TheFont.DrawText(text, rect, Microsoft.DirectX.Direct3D.DrawTextFormat.NoClip, Color)

[/color][/size][size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub

End[/color][/size][size=2][color=#0000ff]Class

 

Notice the squished words?

Edit: to be more specific, it seems that it squishes any subsequent keywords(represented by blue)together.[/color][/size]

Also, i'd have to mess with the fonts within vb tags, and then change the size! Shouldn't the forum do that automatically. Another issue i'm having is the automatic double spacing of code. .. This gets really annoying, When you don't have any doublespaces, it should appear without doublespaces. And in your code, when you do have a line break between a line, it appears as 2! The last issue with the code is that it should be automatically indented.. but whatever. If I type in text, and I just want to indent a line just a bit (without usign the indent tool) it'll delete the spaces that I typed in ....

The text that I'm typing in right now appears in Verdana size 2 - but when I preview it, it appears in size like... 3 or 4. This isnt WYSIWYG isnt it ;p.

 

 

 

Another issue is with the smileys. When I was making my tutorials for the tutor's corner, my post was ~20,000 characters, so I had to split it into 2 ~10,000 character posts. I added a smiley or 2 (a total of 3 smileys), and hit preview. The thing inserted the URL for the smileys (www.xtremedotnettalk.com/blah/blah/smile.gif/)! I went back to change the smileys. I typed in the smileys manually and i hit preview and it happened again! Then I tried again with the dropdown menu, and it finally worked..

 

I thought this problem was caused by the preview, but unfortunately, the preview button actually "edits" your post to how you see it in the preview.

For example I told you about the URL being shown rather than the smiley - this wasn't just in the preview, this was in the post I was typing in as well...

 

 

Edit: and notice my font changing randomly?

Edit again: quick fix for this - hold control and scroll with your mouse until the fonts are the same size... or do otherwise to see what my problem is (you need to make it slightly bigger to see what i mean)

 

Is there any known reason for these problems? And is there a solution?

 

Thanks,

-The Pentium Guy

 

 

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Posted

I've just been annoyed by the way the code tags remove your formatting.

 

It used to hold your tabs and indentations found in code, but now it strips them out and it's all flat against the left hand margin.

  • *Experts*
Posted
We have been after the owners of the site to fix this for months, but they simply will not do it. Unfortunately we're powerless to fix things of this nature right now.
Posted

Ah - then this means that the other forums by iNet are having this problem as well?

I'm sure if we all (the forums owned by iNet) collaborate and ask, they will surely have do it. Sort of .. nonviolent protest ;p.

 

Pent

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • 2 weeks later...
Posted

I don't understand how this forum is or used... but can't you simply change the code ? We are all (or almost) VB.NET and C# proficient, master or guru programmer here. Can't we do the job ?

 

Want more detail plz.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

  • Administrators
Posted
The forum's are owned by iNet Interactive and are largely in their control. The Forum's Administrators have some access to the systems but not enough to just go and re-write chunks of the forum code on a whim - such things need approval. Unfortunately as simon mentioned above we are having a hard time getting them to recognise the issues we a re suffering.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Yeah... I see. Good product with bad support isn't it ?

 

Maybe they shall more hear what all of their buyer say. It's worthwile to have a good support.

 

Anyway... good luck ! Hope it will be fixed because it really sux some times... and it's not hard to correct bug (seen from the outside).

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted (edited)
I've just been annoyed by the way the code tags remove your formatting.

 

It used to hold your tabs and indentations found in code, but now it strips them out and it's all flat against the left hand margin.

They should realize that this is a programming forum. This is the kind of thing that we need :D.

 

Has anyone from XVBF(Sister site) complained yet? I was hoping maybe we both can ask them - seriously we're their(iNET's) community - they should at least privide us with some support, trying to upgrade their forums as such.

 

I realize that other forums(such as their "OC forums") don't need this coding support. But man, all forums need smileys lol. I hate it when it replaces the smileys with the hyperlink to the image of the smiley.

 

My suggestion: Email them once in a while asking them to patch up some minor issues(make it sound wicked minor, "we just want our code to be indented and not doublespaced". And do that for other problems as well)

 

- The Pentium Guy

Edited by ThePentiumGuy

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...