visual basic
19 TopicsC#/C++ console window
Current code: C# Sharp If this can be done another play I am open to that also. Project current code: https://github.com/Haetrox/Project/blob/main/CS I am wanting to make a console window that has the main menu then has submenus. In one of the submenus I want to have the question with a list of options, have the user select the options, receive another question, respond, and end up with the console replying back with what their choices were. Goal: What medications do you need today? BP H1. Atenelol H2. Lisinopril Diabetes D1. Metformin D2. Gabapentin Thyroid T1. Synthroid T2. Levothyroxine Other O1. Please List the Choices: "H2, D1, T1, O1" Other was selected, please type what medications: "Cyclobenzaprine" Do you have the bottles with you today? Please Respond Y/N: "No" Have we prescribed the medication in the last year? Please Respond Y/N: "Yes" You are requesting a refill on "Lisinopril, Metformin, Synthroid, Cyclobenzaprine" I am struggling to figure out how to make this possible. I was using the switch method to move to the other menus but it doesn’t seem to work for multiple selections. Can someone review the code and help me figure out how to make this happen? Everything I find is for a singular WriteLine and reply.1.2KViews0likes1CommentConnect to Firebase
Hi 1) How to Connect my visual studio project to firebase? 2) How to upload my data to the firebase Realtime database? (please give VB.NET Coding please) If Any notes are available about the "Firebase" and "VB.NET" topics please send me : mailto:priyajaipravin4142@gmail.com913Views0likes0CommentsOperator & in VBA badfunction
The operator & have problems with strings. Look at the macro: Sub test( wsimple): wsimple = "T" & "W": End sub. The result of the variable simple must be "TW" but the result was nothing. ¿ May you reproduce the problem ? ¿ Is a real problem ? Probably, I know how to avoid it, but what is it happening ?. It normaly works.911Views0likes1CommentVB 10: Copy from textbox to datagridview cells
I have a datagridview in my app in which two of the cells usually have the same data so I'd like to be able to enter the data just once. Two options as I see it - but always happy to hear of others! Text box on the form with a copy button - contents of text box copied to to the two cells. Enter data into the first cell which is copied into the second cell. In this case, it would be possible to change cell 2s contents on the odd occasions when data differs. The datagridview has a table binding source and data entered is always into a 'new' row. Thanks851Views0likes0CommentsVB.Net MyClass operator bug report
Hi guys, I am new to this forum so sorry if this is in the wrong place. I encountered something I would consider to be a bug in the VB.Net language. I am still using Visual Studio 2019 with a .Net Framework 4.7.2 library project so perhaps this has already been fixed in a newer release but I would like to report it just in case it has not already. When I use the MyClass operator in a class' constructor to target a readonly auto property (which in my particular case is marked as Overloads (it overloads a readonly property of the same name but different type in the base class) and has a generic value type without any constraints) in order to assign it a value, the "Errors" pane in the bottom of my Visual Studio window says "Property '<propertyname>' is ReadOnly". However, it is an auto property so I believe it should be assignable from the constructor. When I swap out MyClass for Me it does work. Is this intended behavior or a bug. For now I will just be using Me instead of MyClass but I am curious whether this is a known bug or not and hope to, perhaps, in the future be able to use MyClass. (Especially in my specific case due to the ambiguity of the property). Thanks. SgtBeen753Views0likes0CommentsSubject: Help & Support Case for MS EXCEL File Schema - Issue.
Help & Support Case From, Abhay Sakunde, Cognizant India Pvt. Ltd. Pune Project Team: MWS CWS Apps Team E-mail ID: mailto:email address removed for privacy reasons mailto:email address removed for privacy reasons Mobile No.: (phone number removed for privacy reasons) To, The Manager, Human Resources Or Development Team, Microsoft India Pvt. Ltd. Pune Subject: Help & Support Case for MS EXCEL File Schema - Issue. Hi Team, In case of Microsoft SQL Server Database Query Editor if select query is run or executed then result gets displayed with row number. But if same result value retrieved from database into .NET data grid view then that row number value doesn’t come. Also, in case of debug mode for data table, row number value doesn’t come. So, can such result be made available with row number? Waiting for reply. Please let me know if any detail information required for mentioned feature. Thanks & Regards, Abhay Sakunde702Views0likes1CommentCan someone create a batch file for me please
How do I create a batch file that listens to a process and once it"s ended, it logs the user out of the guest user account? In windows 10 Pro edition Basically I have set up a guest user account with standard user privileges that has a custom user interface - "shell"- called Playnite which is a game library. Tested if it works, works perfectly. However, I need a batch file that would listen to the process (Playnite.exe) and kick the user out of the guest account once the process (Playnite.exe) has ended. Can someone help me with this please? Edit: Ideally somehow the cmd prompt pop-up part of the batch file would be invisible so to speak so the user wouldn"t see it before he"s kicked out of the guest account.560Views0likes0Comments