Hello guys .....i am actually new to VB and am trying to create a system which must be used by teachers to grade pupils marks that is if a teacher imputs a mark in the system it must show whetehr the mark grade is an A GRADE OR B GRADE , OR U GRADE so ........can you help me ASAP
Help you how? Show what you have done and where you are stuck. If you are really new to VB then maybe you would be better studying a book or online tutorials first, see introduction to vb.net - Google Search[^].
I an running Windows 10 Home edition on a 64-bit machine with 16gb of memory. Windows Build version 1703 Build # 15063.413
On Jun 15-16 a notification popped up on my screen indicating that Windows need to do some prep work for the upcoming Windows Creator update. I responded affirmatively and there after Windows installed an update which took several hours.
Now all of a sudden Visual Studio 2010 has started crashing when loading a solution/project or executing a project.
This does not happen every time. Also Visual Studio seems to take longer to load and when building/compiling a project it seems to take a lot longer.
I reinstalled Visual Studio 2010 but that did not seem to help.
I looked at program that counts the line and
maybe I am searching for the wrong thing or using wrong words when searching but.
I have a program that has a lot of text boxes and list boxes and it works. i just need to be able to unhide or hide or make it visible not visible but I not know which is which in the frames. the codes has like 10,000 lines or or around there. been using it for years. Thanks.
Thank you for the quick response.
I downloaded a program that counts lines in a vb6 projects but I wish to exposes the containers in a running vb6 IDE.
I not want people to do the work for me. I want to learn and do as I go. I tried active dll and activeX thinking to hook into exposed properties of the running vb6 IDE. if you know of a program or a partial program that attempts to do that then maybe it will show me something I not think of before. what would you do. (If possible point me in the correct direction or where to look and learn. What I am trying to do is to open and run the program and then run the 2nd program which is compiled which will look in the first vb6 IDE running program and look for the exposed properties in the vb6 IDE running and turnoff frames or makes invisible or this way because it is running the results are almost right away and I can see where the controls are and decide what to do with it. I hope I am not too confusing. Sorry I am deaf and really not use speak English. I used vb3 to vb6. Used Dos all the way to windows 10. Will continue to look and ask around and read vb6 programming books in pdf formats.
Looked at the reflect in net framework and I ran into several (lack of better word) widgets or sample or tutorials for vb6 acting like reflections for network frame. I have download some codes from programmer heaven and DevC and and getting the idea if there is a word thundervb then I can grab it and put it in a list box and then once that is done, make another form for each control that I listed and repeat. Once I get that done then I can try to exposes the property. I found another program open source vb6 written program that will send message to the picked window and control. Hopefully I can change visible true or false and change the frames visible true or false and change the command buttons visible true or false. If you want, I can send you the file and stuff i found and maybe you can give me an idea. If you know of any Api text file to explain deep explain. please let me know where to down load that. Thank you for all you teach.
I use this code to try to sort my desktop icons, but noway...
Public Declare Function SendMessage Lib "user32" _
Alias "SendMessageA" _
(ByVal hwnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
LPARAM As Any) As Long
Public Const LVS_SORTASCENDING = &H10
Public Const LVM_SORTITEMS = (LVM_FIRST + 48)
'and others declarations...
'code in sub procedure
Public Sub sortIconsByNameAsc()
h = GetDesktopWindow() 'hwnd for desktop
Call SendMessage(h, LVM_SORTITEMS, LVS_SORTASCENDING, h)
So you want to create a kind of Music-Keyboard ?
Why do you want to use a Combobox for that ?
What is exactly the goal ?
English is also not my first language ... but if I have a question and want an answer it is necessary to explain what I want or need. So it is up to you again ...
OK ... I wouldn't do it like this ... but it is your 'game' and you decide how to go ...
Actually I don't understand where your problem is.
You decided via the ComboBox-Selection which Keys from your Keyboard should work with which drums OK ... So ... where do you stuck now ?
Are you generally able to play different sounds with different Keys ?
All right man..well i changed the code a bit the NoteNum and bPlayDrum are not needed..
Now it looks like this:
PrivateSub Form1_KeyDown(sender AsObject, e As KeyEventArgs) HandlesMe.KeyDown
Dim SDrum1 AsString = ComboBox2.Text
Dim keyPressed AsString = e.KeyData.ToString
Dim vol = volu.Value
MidiPlayer.Play(New NoteOn(0, GeneralMidiPercussion.AcousticSnare, vol))