Search the Community
Showing results for tags 'visualstudio'.
-
Budget: Under $2000 United States My dad made the mistake of buying a dell computer that has horrid cooling and I can hear the fans ramping up full; he has only had this desktop for 3-4 years; it has a Xeon chip and Quadro graphics card with 64 gigs of ram and 2 m.2 nvme drives. He uses the computer for emails, thunderbird, web browsing, watching Netflix, communication through Microsoft teams, chrome and Microsoft edge open with lots of tabs, one note, etc. He uses visual studio, eclipse, powershell, copilot, esri ArcGIS pro; (spatial data, advanced mapping analytics, 2d 3d and 4d visualizations) IntelliJ idea; JavaScript, typescript, kotlin, react, vue, angular, node.js) He also programs in bash and C sharp He has all of these things open at once on a 4k monitor@60hz He was thinking of an i9-13900 with a score of 48,088 on cpubenchmark.net (passmark) and wants the next pc to be around 50,000 (but it can be lower as long as it can run everything he uses) I was hoping he would build his next computer but he is thinking of buying a dell alienware laptop :(. I told him it wouldn’t have as good cooling as building a desktop. So what parts (cpu) amd or intel would be good for his workload, also what gpu (he doesn’t game) but I was thinking like a cheap Radeon card; an all amd build with smart access memory (or intel build) would be good for his workload? Basically intel or amd with 64 gigs of ram a decent motherboard and would fit in a mAtx/mini itx like this one https://a.co/d/i01WITR And if he did buy a laptop what brand/model would be good for his work? (Please link a couple options)
-
Hi guys, I'd like to create a windows application to keep all my data of my clients in a simple application. I have chosen to use visual studio 2015. I created a fillable form using the windows application template with textboxes in it etc. and now I would like all the data I put in the textboxes, to save in the table in database. I created the database within visual studio, just to try making it myself, but can't get that one to work. Is there anyone that would like to help or guide me? Thank you guys in advance. " Sorry for my English "
- 2 replies
-
- visualstudio
- csharp
-
(and 2 more)
Tagged with:
-
Can I put combo box values in the same column in sql server 2008 with text box values?
- 1 reply
-
- csharp
- visualstudio
-
(and 1 more)
Tagged with:
-
i made a simple .exe application with visual studio then i extracted the exe with 7zip and i get a new folder ,form the .exe application, with materials in it i deleted the exe application and all i have left is the exe folder with materials how do i turn the materials back into the .exe application is it possiple? if so how can i do it?
- 8 replies
-
- visualstudio
- code
-
(and 2 more)
Tagged with:
-
In my university, they've sent us two task but I need help on this one, We need to do an invisible friend game and I am stuck. This is all I have: string[] nombres; int personas = 0; string[] parejas; nombres = new string[personas]; Console.WriteLine("Eliga: 1)Introducir nombres\n 2)Amigo Invisible\n 3)Salir"); int opcion = Convert.ToInt32(Console.ReadLine()); switch (opcion) { case 1: Console.WriteLine("Cuantas personas sois"); personas = Convert.ToInt32(Console.ReadLine()); nombres = new string[personas]; Console.WriteLine("introduzca" + personas + "nombres"); for (int a = 0; a < personas; ++a) { nombres[a]= Console.ReadLine(); } for(int a= 0; a < personas; ++a) { Console.WriteLine("Las personas que jugaran contigo serán:" + nombres); } break; case 2: Console.WriteLine("Ahora toca hacer las parejas."); List<int> indices = new List<int>(); Random gen = new Random(); int i, indice; for (i = 0; i < personas; i++) { if (i == personas - 1 && indices.Contains(i) == false) // si es el último y sólo queda como amigo posible si mismo, lo cambiamos por el de arriba { indices.Insert(personas - 2, i); // insertando el último, que quedará como anteúltimo y éste se corre a último } else { while (true) // itera "infinitamente" hasta generar un índice aleatorio que no esté en la lista y que no sea si mismo (i) { indice = gen.Next(0, personas - 1); // nro al azar entre 0 y personas - 1, que son los índices válidos if (indices.Contains(indice) || i == indice) // si el índice generado es el mismo i, o ya está, continua, o sea lo genera otra vez continue; else // si no está ni es si mismo (i), interrumpe, sale del while break; } indices.Add(indice); // agrega el índice de su amigo invisible } } Console.WriteLine("Lista de nombres y sus correspondientes amigos invisibles"); for (i = 0; i < personas; i++) Console.WriteLine(nombres + " ---> " + nombres[indices]); break; case 3: Console.WriteLine("Salir"); break; } The problem I have is that the first option you can put the names and creat the listing but it doesn't save the names for option 2 when it has to do the pairs. Thanks for the help and HAPPY NEW YEAR! Program.cs
-
Hello, I'm planning to build workstation for Android and Game Dev. I had some ideas for the build but I want to hear your recommendations regarding necessary power of CPU/GPU and overall build... 1. Budget & Location 1200€ EU (Germany/Austria) 2. Aim Mainly work in Android Studio with Emulator and Unreal Engine 4 including rendering. From time to time I'm also using Visual Studio for some C# .NET dev. I'm not playing games on PC so that doesn't matter to me... 3. Monitors & 4. Peripherals Two 1080p 60Hz monitors 5. Why are you upgrading? New build to replace laptop
-
- unrealengine
- androidstudio
-
(and 3 more)
Tagged with:
-
Im making a change maker (program where you enter the total amount of a bill and the total change that a customer has given, and it calculates the exact change you need to give back) And ive run into an issue: At some points, the nickel label doesn't respond to give the right amount of change. eg: Total Bill = 55.44 Cash Received = 60.28 ^ with that example I should get one nickel with the other answers I have, but the label stays at 0.00. Ive tried debugging and still haven't been able to find the problem.. if anyone has any idea it'd be a huge help. Private Sub btnOK_Click(sender As Object, e As EventArgs) Handles btnOK.Click Dim TotalCost As Double Dim CashGiven As Double Dim Owed As Double Dim PaperMoney As Double Dim Coin As Integer Dim Toonies As Double Dim Loonies As Double Dim Quarters As Double Dim Dimes As Double Dim Nickels As Double Dim Pennies As Double TotalCost = Double.Parse(txtTotalCostOfBill.Text) CashGiven = Double.Parse(txtCashRecieved.Text) Owed = CashGiven - TotalCost lbltotalchangeowed.Text = Format(Owed, "Currency") PaperMoney = (CInt((Int(Owed))) \ 5) * 5 lblTotalPaperMoney.Text = Format(PaperMoney, "Currency") PaperMoney *= 100 Owed *= 100 Coin = CInt((Owed - PaperMoney)) Toonies = Coin \ 200 lblTotalToonies.Text = Toonies.ToString Loonies = Coin Mod 200 Loonies = CInt(Loonies) \ 100 lblTotalLoonies.Text = Loonies.ToString Quarters = Coin Mod 100 Quarters = CInt(Quarters) \ 25 lblTotalQuarters.Text = Quarters.ToString Dimes = Coin Mod 25 Dimes = CInt(Dimes) \ 10 lblTotalDimes.Text = Dimes.ToString Nickels = Coin Mod 10 Nickels = CInt(Nickels) \ 5 lblTotalNickels.Text = Nickels.ToString Pennies = Coin Mod 5 Pennies = CInt(Pennies) \ 1 lblTotalPennies.Text = Pennies.ToString Toonies *= 2 lblnotoonies.Text = Format(Toonies, "currency") lblnoloonies.Text = Format(Loonies, "currency") Quarters *= 0.25 lblnoquarters.Text = Format(Quarters, "currency") Dimes *= 0.1 lblnodimes.Text = Format(Dimes, "currency") Nickels *= 0.05 lblnonickels.Text = Format(Nickels, "currency") Pennies *= 0.01 lblnopennies.Text = Format(Pennies, "currency") End Sub
- 1 reply
-
- visualstudio
- visualbasic
-
(and 1 more)
Tagged with:
-
How do I encrypt passwords in such a way that it not only changes the characters of the password but also add extra characters. For example a password as "ABC" would become "12345" instead of "123". Another way is that for each character, the key shift is different. Below are my codes. class CipherMachine{ static private List<char> Charset = new List<char>("PQOWIEURYTLAKSJDHFGMZNXBCV" + "olpikmujnyhbtgvrfcedxwszaq" + "1597362480" + "~!@#$%^&*()_+" + "PQOWIEURYTLAKSJDHFGMZNXBCV" + "olpikmujnyhbtgvrfcedxwszaq" + "1597362480" + "~!@#$%^&*()_+"); static private int Key = 39; static public string Encrypt(string plain) { string cipher = ""; foreach (char i in plain) { cipher += Charset.ElementAt(Charset.IndexOf(i) + Key); } return cipher; } static public string Decrypt(string cipher) { string plain = ""; foreach (char i in cipher) { plain += Charset.ElementAt(Charset.LastIndexOf(i) - Key); } return plain; } }} I'm not looking for something too difficult, this is just a small school work and I just want the encryption to be slightly stronger by having the encrypted password to have additional characters compared to the original password used when logging in.
- 25 replies
-
- c#
- windowsform
-
(and 3 more)
Tagged with:
-
Wenn tryng to install pygraphviz i get this error Building wheels for collected packages: pygraphviz Building wheel for pygraphviz (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [47 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\agraph.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\graphviz.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\scraper.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\testing.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\__init__.py -> build\lib.win-amd64-3.8\pygraphviz creating build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_attribute_defaults.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_clear.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_close.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_drawing.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_edge_attributes.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_graph.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_html.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_layout.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_node_attributes.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_readwrite.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_repr_mimebundle.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_scraper.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_string.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_subgraph.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_unicode.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\__init__.py -> build\lib.win-amd64-3.8\pygraphviz\tests running egg_info writing pygraphviz.egg-info\PKG-INFO writing dependency_links to pygraphviz.egg-info\dependency_links.txt writing top-level names to pygraphviz.egg-info\top_level.txt reading manifest file 'pygraphviz.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.png' under directory 'doc' warning: no files found matching '*.txt' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '.svn' found anywhere in distribution no previously-included directories found matching 'doc\build' writing manifest file 'pygraphviz.egg-info\SOURCES.txt' copying pygraphviz\graphviz.i -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\graphviz_wrap.c -> build\lib.win-amd64-3.8\pygraphviz running build_ext building 'pygraphviz._graphviz' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pygraphviz Running setup.py clean for pygraphviz Failed to build pygraphviz Installing collected packages: pygraphviz, pycparser, pillow, numpy, linkify-it-py, kiwisolver, cycler, chardet, attrs, asgiref, matplotlib, markdown-it-py, Django, cffi, cryptography, pdfminer.six Running setup.py install for pygraphviz ... error error: subprocess-exited-with-error × Running setup.py install for pygraphviz did not run successfully. │ exit code: 1 ╰─> [47 lines of output] running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\agraph.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\graphviz.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\scraper.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\testing.py -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\__init__.py -> build\lib.win-amd64-3.8\pygraphviz creating build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_attribute_defaults.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_clear.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_close.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_drawing.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_edge_attributes.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_graph.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_html.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_layout.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_node_attributes.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_readwrite.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_repr_mimebundle.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_scraper.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_string.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_subgraph.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\test_unicode.py -> build\lib.win-amd64-3.8\pygraphviz\tests copying pygraphviz\tests\__init__.py -> build\lib.win-amd64-3.8\pygraphviz\tests running egg_info writing pygraphviz.egg-info\PKG-INFO writing dependency_links to pygraphviz.egg-info\dependency_links.txt writing top-level names to pygraphviz.egg-info\top_level.txt reading manifest file 'pygraphviz.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.png' under directory 'doc' warning: no files found matching '*.txt' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '.svn' found anywhere in distribution no previously-included directories found matching 'doc\build' writing manifest file 'pygraphviz.egg-info\SOURCES.txt' copying pygraphviz\graphviz.i -> build\lib.win-amd64-3.8\pygraphviz copying pygraphviz\graphviz_wrap.c -> build\lib.win-amd64-3.8\pygraphviz running build_ext building 'pygraphviz._graphviz' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> pygraphviz note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. i have Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.28.29325 installed and am running python 3.8.5. The os is Microsoft Windows web server 2008 R2
- 32 replies
-
- visualstudio
- pygraphviz
-
(and 2 more)
Tagged with: