Search the Community
Showing results for tags 'visual studio'.
-
Hi, I have recently bought a Lenovo Ideapad S340-15API (Ryzen 5 3500u model). Everything seems to be fine with the laptop except for one thing. After installing Visual Studio 2019 I ran a few tests to see if the code executes as smoothly as expected on a new laptop. To my disappointment, the IDE takes about 3-5 seconds to build and run a program as simple as "Hello World", much slower than my 10 years old desktop does it. So then I ran Passmark Benchmark on it and every component did fine except for RAM. Turns out my memory latency is 192ns, which falls in the 1st percentile :(. I learned that high memory latency is a frequent issue on AMD systems, but I didn't expect it to be THAT bad. Currently my laptop has two DDR4 2666 MHz memory sticks installed, one 4gb soldered on-board and the other 8gb Kingston I added. My question is - could slow compilation occur in Visual Studio due to high memory latency? If so, how can I mitigate the effect? EDIT: Btw I tried disabling the anti-virus to fix the slow compilation but it didn't seem to change anything
- 10 replies
-
- windows
- visual studio
-
(and 3 more)
Tagged with:
-
Hello! So, today I downloaded Visual Studio Community so I can start with C++ programming. I saw this: Does that mean that I won't be able to use Visual Studio Community after 30 days?
- 13 replies
-
- visual studio
- c++
-
(and 1 more)
Tagged with:
-
Hello guys, I am trying to edit C# script for player movement in unity. Trying to open Visual Studio directly clicking script but happens next Unable to find bridge dll in registry for Microsoft Visual Studio Tools for Unity for C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/devenv.exe <UnityEngine.Debug:Log(Object) VisualStudioEditor.VSInitializer:InitializeVisualStudio(String, Dictionary`2) VisualStudioEditor.VSInitializer:Initialize(String, Dictionary`2) VisualStudioEditor.VSEditor:Initialize(String) VisualStudioEditor.VSEditor:.cctor() UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])> Any suggestions ?
- 2 replies
-
- unity
- visual studio
-
(and 4 more)
Tagged with:
-
I'm working on a WPF app, and from what i noticed, i'm missing a lot of the WPF features and controls... I looked at the top of all my .xaml files, and all of them reference this : xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" I'm guessing that is the WPF version from all the way back from 2006 .... which is WPF 3.0 (https://www.codeproject.com/Articles/1035800/WPF-Versions-History-and-Major-Enhancements) I tried tinkering with this, seeing all of the other available options, but none of them are from a different year, all are from 2006 ... which is a bit weird, since it says that the WPF 4.6 is available in .Net 4.6 and Visual Studio 2015 ... The current project uses .Net 4.7.2 and i'm using Visual Studio 2019 Preview 4 ... I was searching around to find an answer to this, but i couldn't find any info, other than people asking how to make an updater for their apps ? My question is : How can i update the WPF version that my project uses ? (it seems to be using *3.5 SP1, but the newest one is 4.6 even tough im using .Net 4.7.2 and VS 2019) *Edit : 3.5 SP1, not 3.0, since it looks like i have stuff like the "Native splash screen" but i also dont have the "Calendar, DataGrid and Date Picker" controls, and i found that there are some schemas.microsoft.com/winfx/2008 references, although not used in the .xaml **Edit #2 : .... looks like it is 4.0, i do have Calendar and DataGrid and that stuff ... i was just blind ... Still, how can i update it to 4.6 ?
- 10 replies
-
- wpf
- visual studio
-
(and 4 more)
Tagged with:
-
As the tital says how do I load an image in C# using .NetStandard. The aim of the function is just to confirm the file is definately a image, be it png, bmp, ico, tiff or webp. Also because it makes it easier for me if it can only use currently inbuilt tools and no NuGet files that would be swell as I plan to build this as a libary to use this externally in other code I am running to check if files have the correct file extension EDIT: Because I forgot to say this before and a number of people have suggested it. I am readeding the magic bytes (the bytes that say Hey I'm a PNG etc.) but in an attempt to error check that these are deffinately correct I want to load it as an image. The entire point of the code is to detect file types, more specifically the file types of files in a chache which do not have file extensions and by just checking for the magic bytes does not always work correctly, e.g. you get mp4s which aren't mp4s, or pictures which aint pictures etc.
- 12 replies
-
- c
- visual studio
-
(and 1 more)
Tagged with:
-
I am a software developer , primarily working with C#, dotnet and Visual Studio 2019 with extensions like Resharper enabled. Visual Studio with Resharper is a memory hog! I currently have the following PC at home where I do my development work : CPU - Ryzen 7 2700x RAM - 2 x 16 gb 3000Mhz Storage - 512 GB SSD - WD Blue Motherboard - Asus Rog Strix B350M-i Gaming GPU - Gigabyte GeForce Windforce GTX1080 8GB OS: Win 10 Pro With a few Firefox windows, and few instances of Visual Studio debugging docker containers I hit CPU utilization 100% and memory utilization 100% for 3-4 minutes. ? The machine came to a crawling speed, even mouse wasn't moving smoothly. Also build-compile-debug-run tests could do with faster speeds... not good for productivity when I sit idle and watch build progress!! I would like to enable auto run unit tests on every code change save. To ensure I haven't broken anything and have rapid feedback loop. I can't run this effectively now because it slows down build-compile-run-test flow. ( I am also thinking of upgrading to 64GB RAM ) I am looking for an answer to the question --> Does Visual Studio build/compile/debug/ run test workflow benefit from Multicore CPUs or benefit from higher single core clock speeds ? ? Seeing results of https://www.cpubenchmark.net/high_end_cpus.html , how does these scores interpret/mean for workflow like mine ? Ryzen 7 2700x has a score of 16,927. Ryzen 9 3900x has a score of 31943 ( almost twice the score ) Ryzen 9 3950x has a score of 35702 ( more than double of 2700x, and around 11% mroe than 3900x) Ryzen 9 3950x is 50% costlier than Ryzen 9 3900x , but the performance CPU Benchmark scores only a 11% increase. Is that synthetic score not relevant for my workflow ? Would having 8 extra cores ( as compared to 3900x ) is going to help me a lot ? So would this mean if my build/compile takes around 60s now, getting a ryzen 3900x would make it near 30s? Right now I have a SATA SSD Western Digital Blue, Would getting an NVME SSD help? Thanks in advance people!!
- 5 replies
-
- cpu
- visual studio
-
(and 1 more)
Tagged with:
-
I have text and csv files which are multiple GiB in size (one CSV is 2.5GiB and another is 3.2GiB presently and growing) and I am only interested in certain lines in these text files. If I load these into an array my programme crashes as I don't have enough RAM, so how do I load only certain lines, lets say the last 50 or the last 100 lines,how do I do this in a way that doesn't require at minimum 5GiB of RAM (C requires 2 byte per character vs CSVs 1 so approx double the RAM). Which for some of the systems I am planning to run this code on won't be possible. Especially when I think the 3.2GiB File will be 50GiB soonish, so at minimum 100GiB of RAM would be needed. Long and short, what is the least resource intensive way to load only certain lines, I don't mind if the code is quite long as long as it uses minimal RAM. (it's a long story what these files are but yea.)
-
I am having issues with the Visual Studio and Forms as I keep getting this error code CS0115 '_.Dispose(bool)': no suitable method found to override I think I caused it by changing the forms name, but it means my programme no longer works. Is there an easy way to fix this as I want it to be called what it is called. Thanks
-
I am fairly new to Visual Studio, and I pretty much have no idea what I'm doing. I need to start a website as part of my code, and I have no idea how to start a website using Basic. I need to start a website after you correctly login. Code: Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If TextBox1.Text = "tip23lev" And TextBox2.Text = "0743gcgc" Then MsgBox("You are Now Logged In", MsgBoxStyle.Information, "Login") (I NEED TO START A WEBSITE HERE)(I NEED TO START A WEBSITE HERE)(I NEED TO START A WEBSITE HERE)(I NEED TO START A WEBSITE HERE) Else If TextBox1.Text = "" And TextBox2.Text = "" Then MsgBox("No Username and/or Password Found!", MsgBoxStyle.Critical, "Error") Else If TextBox1.Text = "" Then MsgBox("No Username Found!", MsgBoxStyle.Critical, "Error") Else If TextBox2.Text = "" Then MsgBox("No Password Found!", MsgBoxStyle.Critical, "Error") Else MsgBox("Invalid Username And/Or Password!", MsgBoxStyle.Critical, "Error") End If End If End If End If End Sub End Class
-
Hi, can someone help me and tell me how to get the individual characters to work in a game of hangman? The lines are where the characters will go but I'm not sure how to make each character work.I'm using Visual Studio -> windows form app! thanks
-
Code won't run in visual studio, but runs on online compilers for c++. Trying to make a program for myself to calculate credit Limits, just for fun. // Example program #include <iostream> #include <string> int main() { float balance = 0; float maxLimit = 0; float needToPay = 0; float desiredLimit = 0; //Balance Finder printf("Enter Your Balance, Max Credit Limit, and a percentage that is under 30. \n"); scanf("%f %f %f", &balance, &maxLimit, &desiredLimit); desiredLimit = desiredLimit / 100; printf("Your Balance is %f \n Your Max Credit Limit is %f \n Your Chosen Percentage is %f \n", balance, maxLimit, desiredLimit); needToPay = ((desiredLimit * maxLimit) - balance) * -1; desiredLimit = desiredLimit * 100; printf("To get your Balance to %f Percent, You would need to pay %f", desiredLimit, needToPay); return 0; }
- 12 replies
-
- c++
- visual studio community
-
(and 4 more)
Tagged with:
-
Hello! I have this website that's a bit dated its all written in ASP (Which is not my strong suit) A big part of this website is done in Flash/Silverlight (believe me I know...) however I need to get the site working enough to show the content to a couple people. Currently, when you go to the flash page it asks if you want to allow Flash to run. when I click to allow the page goes black and no content appears. this only happened after I received the website. when it was hosted elsewhere it seemed to at least load this page. What config could be doing that? Here is the main Index.html for that page : I don't see anything that stands out as being misconfigured. but like I said ASP is something I rarely deal with. index1.html
-
Is there a way to Program a Google Home app in C# / Java
January Memes posted a topic in Programming
I have to decide if I want to buy a google home or an amazon Echo but I want to Program my own Apps/Skills, I now that you can make Alexa Skills using the AWS toolkit and C#, which is one of the languages I now good, but I would rather buy a Google Home if there was a way to program it in C# or Java. So is there any way to make an App for google Home without Dialogflow.- 3 replies
-
- google home
- java
-
(and 4 more)
Tagged with:
-
I have been using a MacBook now since 2012, and have made the decision to get back onto the windows OS. I have never built my own machine but am very excited to do so. I have $1,000 USD to spend on this, also will be able to get windows 10 on campus for free. I use photoshop often and have been using visual studio a lot lately for class. I don’t want to spend more than I need on the computer itself( buy an additional 27” monitor) . I would like to run at least two monitors. The issue I am having is decided if an i5 will be good enough or do I spend more for the i7. Also have been looking into many GPU’s simply to run 2 - 3 monitors at 1080. I do not plan on doing much gaming. There are so many GPU’s I am so confused on what to choose I have : windows 10 OS, Mouse, Keyboard, one 27” monitor, one 19” monitor Thanks for any help
-
I like to make my program more organised, where DLL & EXE in one folder, JSON another folder, etc... Current output like this: I want Visual Studio build like this... bin\ Release\ bin\ ifme.exe FFmpegDotNet.dll Newtonsoft.Json.dll json\ avisynth.json format.json language.json mime.json targetfmt.json lang\ ara.json eng.json fre.json ger.json ita.json jpn.json may.json pol.json por.json rus.json plugin\ ffmpeg\ x265\ x264\ x262\ preset\ custom-set.json predefined.json Thank You...
-
hey guys I'm just creating an 8 ball application and when i debug i get a warning saying the process cannot access the file because it is being used by another process and the file is locked by: (as seen in the image below) I have no idea why I'm getting this problem, any help will be appreciated, thanks .
-
Hi There, I predominately work with front end programming technologies (React/Js/Webpack etc.) However need to run a .NET API and actively develop on it as well. I currently run parallels with Windows 10 in order to do the .NET work, however it's very cumbersome and slow. I'm pretty married to the Mac operating system for my main vocation. Anyone have the same requirements and have found a good solution for developing on both platforms? -Hank
- 2 replies
-
- .net
- visual studio
-
(and 1 more)
Tagged with:
-
I have been webdesigning for almost 5 years and C programming Arduinos and ESP for almost a year, so i decided to enter the realm of hardcore programming and start with loading a grapghic library GTK+ on my IDE. I use 2 IDE, Dev C++ and Visual Studio 2017. But for some reason, i can't make the library work. There is always some kind of issue somewhere. I would really appreciate if someone can answer me to quesions: 1. Why isn't there a decicated C file/project option in visual studio (when C is one of the most important languages)? 2. Why is the installation of libraries so complicated? Can't there be some kind standard? I mean, can't i just download the library? And install it directly from the IDE itself? 3. If GTK+ one of the major Graphic libraries for C, C++, Python, C# , why is it's webpage so crappy? Why are the tutorials outdated?
- 10 replies
-
- c
- visual studio
- (and 4 more)
-
So I was just starting with writing codes in visual studio and it turns out that I couldn't. I know c++ and c and have done some basic programming in both of these languages.(By basic I mean like checking a palindrome, linked lists and queues and all that but I really don't know about the new standards and now that I am writing in visual studio nothing seems to work. For example (I will be talking about c++ from now on) I used to write code without that using namespace std which I see on many sites nowadays. I didn't write code for like 2 years after learning the basics of the language. Also, the cout statement to print the output doesn't work and gives an error. I researched about it and I think I have learnt the older version of the language and these are new things in it. So if there anyone who can help me out with this and tell me where can I start learning things and clear the above doubts. Thanks in advance
- 7 replies
-
- c++
- visual studio
-
(and 1 more)
Tagged with:
-
Why does the installation always get stuck, and it's always Android SDK / NDK, Windows 10 SDK (10.0.10240), or something like that?! Currently Windows 10 SDK 10.0.10240 is stuck for 15 hours at around 90%, and nothing ever happens! There are 2 instances of vs_community.exe, SecondaryInstaller.exe, and sdksetup.exe throughout, and one instance of vs_community.exe is always consuming 3-4% of the CPU time... Any method to atleast make the installation finish? I don't want to kill secondary installer processes either... I've gone through the whole World Wide Web, and haven't found any proper working solution. This is extremely frustrating ! Can you guys help me with this? I am at it for 3 full days, retrying, retrying, and retrying again, trying out every single solution possible! Thanks a metric ton! P.S. Here are my specs: Windows 7 SP1 Visual Studio 2015 Community Offline ISO-based installation method (don't have enough access to Internet, to run the web installer - big story)
-
Oh dear. I am stuck. I recently re-installed windows (windows 10 N, installed media pack fine), and anything that includes a VC redistributable package (x86 or x64, any year) will not work. Unity won't work, it will tell me VC failed with error code 1603. ALL adobe programs give me this message (note, they all say I have a pending restart when I start the installation, restarting doesn't help, but this may be due to other reasons): ----------- Payload: Microsoft Visual C++ 2010 Redistributable Package (x64) 10.0.40219.325 {54B0C34F-18F9-11E2-BC1D-00215AEA26C9} ----------- ERROR: Third party payload installer vcredist_x64.exe failed with exit code: 1603 ERROR: Failed to install Microsoft Visual C++ 2010 Redistributable Package (x64). Please try installing it by double clicking on the executable at (where I installed program), or download and install the latest Microsoft Visual C++ 2010 Redistributable Package (x64) from Microsoft website - www.microsoft.com ----------- Payload: Microsoft Visual C++ 2010 Redistributable Package (x86) 10.0.40219.325 {55B82130-18F9-11E2-8D43-00215AEA26C9} ----------- ERROR: Third party payload installer vcredist_x86.exe failed with exit code: 1603 ERROR: Failed to install Microsoft Visual C++ 2010 Redistributable Package (x86). Please try installing it by double clicking on the executable at (where I installed program), or download and install the latest Microsoft Visual C++ 2010 Redistributable Package (x86) from Microsoft website - www.microsoft.com ------------------------------------------------------------------------------------- I have tried reinstalling the media pack, reinstalling all VC redistributable packages on my PC, installing them directly through their executable (adobe files and directly from the MS website), wiping my temp folders. I have looked at the MS website and I have no idea what it is asking me to do / how to do it. Any help? Thanks!
- 4 replies
-
- visual studio
- windows
-
(and 1 more)
Tagged with:
-
Hi guys. Im searching on components for a programming rig, my job is .Net programming and I'm currently learning Java for Android programming. I want to develop Android on a virtual machine So far I've chosen these Intel 6700K Thermalright Macho Rev A air cooling Asus Z170 Pro Gaming Corsair Dominator Platinum 2*8GB 2400 Evga 650 GQ Corsair Carbide Spec 02 Samsung 850 Evo 120 WD Blue 2TB (probably RAID 5) What is your opinion about these? Any advice is hugely appreciated Thanks in advance
- 2 replies
-
- programming
- virtual machine
-
(and 4 more)
Tagged with:
-
UPDATE: 11/24/16 Happy thanksgiving and I have no idea how to delete this so I'll just leave this here: I HAVE ACCOMPLISHED EVERYTHING I NEEDED IN MY ORIGINAL POST SO DO NOT COMMENT PLEASE UPDATE: 8/10/16 I started school so I'm not gonna have as much time to work on this. ;-; UPDATE: 8/7/16 I fixed the Form1_Activated loop. UPDATE: 8/5/16 I will keep trying to fix the annoying loop that's caused whenever the form is activated. In the mean time I'll make a picture viewer similar to Windows Photo Viewer. I did this before but that was when I was using c# for the first time. Now I have a bit more knowledge and hopefully will improve it. UPDATE: 8/3/16 Here's what I have accomplished so far: 1. Downloading an image from a URL 2. Read and be able to select certain roots of the XML file - thanks to Nuluvius Here's what's left: 1. Close the XML file when a new or similar search is performed. There's no File.Close(); that I'm aware of. Also I'm using XDocument.Load(); to load the XML. 2. Being able to relocate the controls when the window is resized 3. Auto size the groupbox in case the the title is large and doesn't cut off(see the third picture) I will also provide the source code and .exe file's here: Updated: 8/7/16 Login: http://pastebin.com/94iLbkhF Image_Browser: http://pastebin.com/aDsbwb97 .exe: https://mega.nz/#!rAUEQK5C!xg9hjpKnGwMZrlQ4XjT6dkJ9VFhyPBllcAcutrdkJek To login: If you HAVE an Inkbunny account: type in your information and login, as soon as a SID is received, the password is destroyed. If you DON'T have one and do not wish to make one: use "guest" for the username and leave the password blank. Note that users have the option to block submissions from guests. I really hope links are allowed... I've included pictures of the app, just thought you might want to look at it, unless you don't want too. Here's the original post: *I'm just learning c# again as I haven't coded in a while, so don't make your answers too complicated please. Thanks.* I have 3 question for you guys: 1. How would I download a picture from a website? Ex. Image 2. How to read the values that I want from an xml output from a web server? 3. I want to access a variable thats in Form1(Login) from Form2(Image_Browser), how would I do this? Here's my code: http://pastebin.com/94iLbkhF Feel free to improve it, but don't steal it and claim it as your own. .-. I want to be able to get only the name of the submission, the account title, the thumbnail of the submission, the rating of the submission such as "Mature," and the full screen URL of the image from the XML output of the server, everything else is useless for me right now. I have tried nothing yet as I'm still a newbie with c#. Thanks! Here's a sample of the XML from a web server: <submission> <submission_id>...</submission_id> <hidden>...</hidden> <username> <![CDATA[ Kinaj ]]> </username> <user_id>...</user_id> <create_datetime>...</create_datetime> <create_datetime_usertime>...</create_datetime_usertime> <last_file_update_datetime>...</last_file_update_datetime> <last_file_update_datetime_usertime>...</last_file_update_datetime_usertime> <thumbnail_url_huge_noncustom>...</thumbnail_url_huge_noncustom> <thumbnail_url_large_noncustom>...</thumbnail_url_large_noncustom> <thumbnail_url_medium_noncustom> <![CDATA[ https://inkbunny.net/thumbnails/medium/1609/1609080_Kinaj_alex_marie_schlie__die_t_r_noncustom.jpg ]]> </thumbnail_url_medium_noncustom> <thumb_medium_noncustom_x>...</thumb_medium_noncustom_x> <thumb_medium_noncustom_y>...</thumb_medium_noncustom_y> <thumb_large_noncustom_x>...</thumb_large_noncustom_x> <thumb_large_noncustom_y>...</thumb_large_noncustom_y> <thumb_huge_noncustom_x>...</thumb_huge_noncustom_x> <thumb_huge_noncustom_y>...</thumb_huge_noncustom_y> <file_name>...</file_name> <title> <![CDATA[ Close the Door ]]> </title> <deleted>...</deleted> <public>...</public> <mimetype>...</mimetype> <pagecount>...</pagecount> <rating_id>...</rating_id> <rating_name> <![CDATA[ Mature ]]> </rating_name> <file_url_full> <![CDATA[ https://inkbunny.net/files/full/1609/1609080_Kinaj_alex_marie_schlie__die_t_r.png ]]> </file_url_full> <file_url_screen>...</file_url_screen> <file_url_preview>...</file_url_preview> <submission_type_id>...</submission_type_id> <type_name>...</type_name> <digitalsales>...</digitalsales> <printsales>...</printsales> <friends_only>...</friends_only> <guest_block>...</guest_block> <scraps>...</scraps> </submission>
-
So I've been studying web development languages for awhile and decided to move back into software development. I personally have never worked with C++ except on a few rare occasions. I was at one time pretty proficient at Java, but i'm currently looking to try something new. One big problem I'm having is finding good resources, most of my coding references are all catered towards web development, (w3schools, codeacademy, etc.) So I was wondering if anyone would be kind enough to share some of their favorite sites for C++ references. I'd really like something showing "beautiful code", like an example of how to correctly format your code. I personally find this real helpful for HTML for instance: https://css-tricks.com/wp-content/csstricks-uploads/Beautiful-HTML-small.jpg Another thing I could use is some help with using Visual Studio. I downloaded the community edition and am a bit confused on how exactly it works. In total honesty, is it really better to use it over something like eclipse? I'm very comfortable with eclipse IDE and I suppose if there is no downsides, can I just use it instead? Also wanted to know some good projects to create for beginners, something like good practice by creating a poll in javascript. I was thinking as more of a final "project", to try and create a audio player. Is that really realistic you think? Or would it really be something more that required extensive work and not really suited to "practice"? Sorry if I didn't make total sense here, of course i'm a beginner and I want to learn as much as possible! Thanks for everything everybody.
- 3 replies
-
- c++
- visual studio
-
(and 3 more)
Tagged with:
-
Hey guys! I was hoping someone might be able to give me a hand. A friend of my father's has a small business and he wants a way to manage the inventory. I've developed an application on VB.Net that accesses a local XML database (which, I know, is probably not the best solution performance-wise), and I'm in the process of optimising it. During this process, the client said he would like to access the inventory remotely, so as to be able to sell off-site, perhaps during business trips. Anyway, bearing in mind that the application hasn't been deployed yet, therefore no real data has been written to the database: do you think it'd be a good idea, if at all possible, to build a server and have it store the DB there? Maybe using SQL? I am definitely not a pro, so if anyone could point me in the right direction, I'd be very grateful. P.S., I've tried using a MS Access DB on my app, thinking I would gain performance, but I simply couldn't get it to work.