Search results for query: *

  • Users: ExEdzy
  • Content: Threads
  • Order by date
  1. E

    Return Enum string by byte/integer

    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()...
  2. E

    handler problem in custom class

    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...
  3. E

    Question icons from resource file

    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...
  4. E

    Answered file limit in folder

    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...
  5. E

    Question commenting code in custom functions

    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...
  6. E

    Question kernel32.dll BatteryLifeTime <-- what format is it?

    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...
  7. E

    Question Makeing custom classes

    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...
  8. E

    Question external resources file

    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...
  9. E

    Resolved adding images to multicolumn listview

    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)...
  10. E

    Question Use program without form..

    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...
  11. E

    Question get list fo installed frameworks

    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...
  12. E

    Resolved making my dll classes

    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...
  13. E

    Question how to mark post as solved ???

    Hey guys, please tell me, how to mark some post as solved??
  14. E

    Resolved Problem with command line arguments

    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...
  15. E

    Question Copy multiple files showing progress in progressbar

    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...
Back
Top