Do you have .Net Framework?
-
Kaisen2100
- Enthusiast

- Posts: 121
- Joined: Fri May 28, 2004 4:16 pm
- Location: Madeira Island, Portugal
- Contact:
Do you have .Net Framework?
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 !!!
Thanks !!!
PureBasic File Relocator [NEW VERSION 1.1] ==> http://pbfilerelocator.atspace.com/
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!
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!
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:
http://www.deeem2031.de/PB.Net/WindowExample.exe
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 quitirc://irc.freenode.org/#purebasic
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 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.
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?
It looks like the end result is basically another 20+ MB runtime required ... or are there any future plans for this?
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.srod wrote:How far along are you with this - if you don't mind me asking?
Of course u can use the hole framework stuff, you can add this into the code above to return if the Button is focused:Shannara wrote:But it looks like the "advantages" of .net isnt applicable here? I mean, no access to the .net framework libraries and namespaces.
Code: Select all
Button1..System\Windows\Forms\Button = GadgetClassHandle(1)
MessageRequester("",Str(Button1\Focused()))irc://irc.freenode.org/#purebasic
> 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.
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.
"PureBasic won't be object oriented, period" - Fred.


