Hey guys.
I have worked with enums for some time, but i ran in to a little problem..
So i have the Enum:
Public Enum MyStuff As Byte
this_is_zero = 0
omg_this_is_one = 1
YourAss = 255
End Enum
and i have a function that returns 1, 0 or 255, like this:
Public Shared function some_func()...
hi all
I have a little problem with me.handler, well there is no handler in custom class..
so i'm making custom class, where one of functions is to switch off screen.. the code is:
Public Class Display
Public WM_SYSCOMMAND As Integer = &H112
Public SC_MONITORPOWER As Integer...
Hey guys :)
So i created resource file
New --> new file --> Native Resource Template
Then added icons with custom id, like "x", "u_100", .. so i understand,
what the files (in my case icons) is..
And i saved as 32-bit resource file (*.res)
So i have a question, how can i use these files...
Hey guys. :)
So i make a program that saves text files in one folder, but what i need is to make the file limit in folder..
For example, i have limit 200 files, and when i add a new file, how do i delete the oldest one, or if the limit is changed to 100, how do i delete all the old ones, to...
hey guys
So im making dll file (well not actually dll files but, just classes.. but that dosn't change the problem..)
So i want to comment my functions, so i know how to add the description --> just adding 3x '''
but now i have problem with adding now line in the comments..
i read everything...
Hello there :)
Searching about kernel32.dll and battery functions in it, i came across some interesting code:
Public BatteryLifeTime As System.UInt32
The full decleration is:
Private Declare Auto Function GetSystemPowerStatus Lib "kernel32.dll" ( _
ByRef lpSystemPowerStatus As...
Hey there :)
I love to make my custom classes, for easy programming, so i dont have to go trow tons of code..
so i have created this class:
Public Class BatteryStatus
Private Declare Auto Function GetSystemPowerStatus Lib "kernel32.dll" ( _
ByRef lpSystemPowerStatus As...
Hey everyone :)
So i have a little problem..
The thing is im making formless application, thats visible in tray only..
But i have like 21 icons for default functions..
and when my program launches all icons with the exe file is loaded in RAM.
Is there a way to use an external resources file...
Hey guys
My problem is this..
I have
* listview1 (with 3 columns)
* imagelist1 (with images)
i want to add files to cols and subcols, but..
Dim itm As ListViewItem
Dim str(3) As String
str(0) = "Text to col 1"
str(1) = "Text to col 2"
str(2) = "Text to col 3"
itm = New ListViewItem(str)...
Hey guys.
I program with VB.Net some time now..
But i dont know whow can i make a program without form..
And i dont meen, hide form (Form.Hide(),Form.Visible = false) or stuf like that..
I meen, how to make program, without form, but with elements like notifiicon, openfile dialogs and all other...
Hey guys..
How can i get list of installed .Net Frameworks ?
I try'd thes codes:
TextBox1.Text = System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion()
and
TextBox2.Text = Environment.Version.ToString
but they return v2.0...
but i have these versions installed:
.NET FW 2.0...
Hey guys.
Im making my own dll file, where i want to store some codes, that i often use, for easy later use..
Everything is working greate, but i wanted to know how can i write the description for every function in dll file, so that i add it to project, when i write the code, it shows...
Hey guys.
So i'm making application that i want to use to view gif files in windows 7, because there is no viewer (i dont think internet explorer is a good choose..)
So everything seems to be ok..
I made the image, that is send to my application command line argument, to be opened in...
Hey everyone :)
So as it says in title i need to copy several files from one folder to another..
But i dont need to copy folder with files. i need to copy several files to another folder..
And show progress in progressbar..
is there a way how to do it, cos i found only how to copy 1 file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.