vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Create new thread using C# (https://vborg.vbsupport.ru/showthread.php?t=145815)

Forobet.com 04-26-2007 01:24 PM

Create new thread using C#
 
I want to create a new thread using .Net framework. I was looking for examples but only see php samples.

It's posible to do that?

ElfMage 04-29-2007 04:13 AM

I think that this forum is limited to discussions on vBulletin... :rolleyes:

But, to answer your question, you can create a thread in C# as follows:

Code:

using System;
using System.Threading;

Thread t = new Thread(new ThreadStart(ThreadProc));
t.Start();

Where ThreadProc is the name of the static function that the thread will execute.

Lays 05-04-2007 06:51 PM

I don't think that's what he means. He wants to make a C# program that can make posts and threads, etc, etc.

Michael Morris 05-05-2007 11:08 PM

He might as well right his own bulletin board software. I bet he'd make a cool penny off it too except for this little problem - .NET sucks. Long live Linux :D

ElfMage 05-06-2007 12:36 AM

Quote:

Originally Posted by Lays (Post 1241504)
I don't think that's what he means. He wants to make a C# program that can make posts and threads, etc, etc.

:D, that's a bit more complex.. :rolleyes:

In that case he will need to use MySQL's OLE DB Provider. It is easier to do it in PHP.

Quote:

Originally Posted by Michael Morris (Post 1242157)
He might as well right his own bulletin board software. I bet he'd make a cool penny off it too except for this little problem - .NET sucks. Long live Linux :D

... that's already done: www.communityserver.org ..... :rolleyes:

And they do charge a pretty penny for it. $400 for Small Business, and $2000 for the Pro version. And then there is a bunch of add-ons costing some more.

Michael Morris 05-06-2007 05:15 AM

Not surprising. Anything built to run on a M$ platform is overpriced. I mean, if you can drop $1000 for the OS, you must be loaded enough to drop half that for a forum package eh?


All times are GMT. The time now is 10:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete