Do you have .Net Framework?

Everything else that doesn't fall into one of the other PB categories.

Do you have .Net Framework?

Yes. .Net Framework Version 1.0
0
No votes
Yes. .Net Framework Version 1.1
8
14%
Yes. .Net Framework Version 2.0
37
63%
No. I dont want to install it.
13
22%
No, but i am plannig to install it in the future
1
2%
 
Total votes: 59

Kaisen2100
Enthusiast
Enthusiast
Posts: 121
Joined: Fri May 28, 2004 4:16 pm
Location: Madeira Island, Portugal
Contact:

Do you have .Net Framework?

Post by Kaisen2100 »

Hello i am thinking in make programs using VB.Net Express Edition. I just want to know how many people have installed the .Net Framework.

Thanks !!!
PureBasic File Relocator [NEW VERSION 1.1] ==> http://pbfilerelocator.atspace.com/
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Yes I have it but if I see a program that uses .Net I'm not downloading.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

For a limited time, the .NET framework was a critical, required download by microsoft (first of many screw up and legal troubles). After a huge backlash, they decided to correctly label it has optional ...

Needless to say I have .NET 1.1, 2.0 and 3.0 (msdn subscriber). 2.0 is required for my day job. And at home, 2.0 is required for SQL Server 2005 install .. blah..

I don't run "third party" .NET applications and only do web development in C#. I usually steer clear of third party .net applications unless I want to show them how exposed they are :)

In short ... yes!
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Post by Deeem2031 »

Yes, i have .Net 2.0 - without it, it would be difficult to develop PB.Net ;)
irc://irc.freenode.org/#purebasic
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Does PB require .net or should this be offtopic?
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Post by Deeem2031 »

:?:
Freds PB does not require .Net, but PB.Net does. This are 2 different Compilers.
irc://irc.freenode.org/#purebasic
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Yeah, havent heard of PB.net before. I heard of the fake announcement for purebasic.net :D I think it's in either Announcements or off topic.
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Post by Deeem2031 »

PB.Net really exits, for about 10 months now. Of course its not released now, (not even beta) but its getting more and more features.
Little example of PB.Net's Window/Gadget-Lib:

Code: Select all

CreateGadgetList(OpenWindow (0, 1, 0, 800, 600, "Window0"))
ButtonGadget(1,5,5,100,40,"Gadget1",#PB_Button_Left)
wnd2 = OpenWindow(#PB_Any, 0, 0, 800, 600, "Window(PB_Any)")
CreateGadgetList(WindowID(wnd2))
ButtonGadget(2,5,35,100,20,"Gadget2",#PB_Button_Right)
CheckBoxGadget(3,5,55,100,20,"Gadget3",#PB_CheckBox_Right)
ComboBoxGadget(4,5,75,100,20)
ContainerGadget(5,5,95,200,200)
StringGadget(6,5,5,100,20,"Gadget6",#PB_String_Password|#PB_String_BorderLess)
TreeGadget(7,5,25,100,20)
AddGadgetItem(7,0,":)",0,0)
TextGadget(8,5,45,100,20,"Gadget8")
DateGadget(9,5,65,100,20)
OptionGadget(10,5,85,100,20,"Gadget10")
TrackBarGadget(11,5,105,100,20,0,100)
CloseGadgetList()
WebGadget(12,305,125,100,60,"")
SetGadgetText(2,"Test")
CreateImage(0,64,64)
ImageGadget(13,305,205,100,100,ImageID(0))
ButtonImageGadget(14,305,305,100,100,ImageID(0))
EditorGadget(15,405,305,100,100)
ProgressBarGadget(16,405,285,100,20,0,100)
ListIconGadget(17,405,205,100,80,"Gadget17",60)
AddGadgetColumn(17,-1,":)",40)
ListViewGadget(18,505,5,100,80)
CalendarGadget(19,505,105,100,100)
Frame3DGadget(20,505,400,110,20,"Gadget20")
PanelGadget(-1,405,5,100,80)
SetGadgetColor(19,#PB_Gadget_FrontColor,$FFFFFF)
SetGadgetColor(19,#PB_Gadget_BackColor,$000000)
SetGadgetColor(19,#PB_Gadget_TitleFrontColor,$FFFFFF)
SetGadgetColor(19,#PB_Gadget_TitleBackColor,$000000)
SetGadgetColor(19,#PB_Gadget_GrayTextColor,$0000FF)

Repeat
  Select WaitWindowEvent()
    Case #PB_Event_Gadget
      If EventType() = #PB_EventType_LeftClick
        x + 1
      EndIf
      If EventType() <> #PB_EventType_Focus And EventType() <> #PB_EventType_LostFocus And EventType() <> #PB_EventType_LeftClick
        MessageRequester("Window: "+Str(EventWindow()),"Gadget: "+Str(EventGadget())+" EventType:"+Str(EventType())+" LeftClicks:"+Str(x))
      EndIf
    Case #PB_Event_CloseWindow
      quit = #True
  EndSelect
Until quit
http://www.deeem2031.de/PB.Net/WindowExample.exe
irc://irc.freenode.org/#purebasic
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Is this an interpreter running under .net 2.0 or are you compiling to msil and then using the i.l. assembler?

An interesting project either way.

(Unless this is a wind up of course! :) In which case I'm a donkey's ass!)
I may look like a mule, but I'm not a complete ass.
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Post by Deeem2031 »

The Compiler translate the pb files into MSIL and then its assembled to exes. You can see that also if u use dilasm on the Example-Exe - this is a real .Net Exe! (why u dont believe me.. :roll: )
irc://irc.freenode.org/#purebasic
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I can't run your example because my machine only has Net 1.0 installed. I haven't bothered updating because, well, because I couldn't be bothered! :)

I believed you, I was just covering myself... just in case!

:)

How far along are you with this - if you don't mind me asking?
I may look like a mule, but I'm not a complete ass.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

What are the advantages (if you dont mind me asking)? It takes existing PB files, translate them to MSIL, and assembles them. But it looks like the "advantages" of .net isnt applicable here? I mean, no access to the .net framework libraries and namespaces.

It looks like the end result is basically another 20+ MB runtime required ... or are there any future plans for this?
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Post by Deeem2031 »

srod wrote:How far along are you with this - if you don't mind me asking?
The compiler itself is nearly finished, only the Libraries are taking a long time to finish. So for example the hole DirectX/OpenGL things still have to be done.
Shannara wrote:But it looks like the "advantages" of .net isnt applicable here? I mean, no access to the .net framework libraries and namespaces.
Of course u can use the hole framework stuff, you can add this into the code above to return if the Button is focused:

Code: Select all

Button1..System\Windows\Forms\Button = GadgetClassHandle(1)
MessageRequester("",Str(Button1\Focused()))
The Syntax is maybe a little bit strange, but i had no better idea and its no problem to change the syntax til release again.
irc://irc.freenode.org/#purebasic
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Most of what I run is .netmaestro.

I like to keep up with the times.
:D

cheers
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Yes I have it but if I see a program that uses .Net I'm not downloading

Same with me. I don't care what the app is: if it requires .Net then I won't
bother with it at all. Ever. Well, maybe I would if paid one million dollars. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply