Skip to content

Visual Studio

Discussions on the Visual Studio .NET IDE

This category can be followed from the open social web via the handle visual-studio@forum.codeproject.com

3.1k Topics 7.8k Posts
  • 0 Votes
    5 Posts
    12 Views
    L
    Sorry, that still makes no sense. What values are you talking about, what programming language are you using, what does "send that value to com" mean?
  • 0 Votes
    2 Posts
    10 Views
    L
    This has nothing to do with Visual Studio, and you already posted the question in the C# forum. Please post in one forum only.
  • QR CODE IN ARABIC

    2
    0 Votes
    2 Posts
    7 Views
    D
    This has nothing to do with Visual Studio. Please stop posting your question to multiple, unrelated forums. "One man's wage rise is another man's price increase." - Harold Wilson "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
  • need help VB.net coding error

    help csharp question
    4
    0 Votes
    4 Posts
    14 Views
    L
    "Student_ID" is an int and you're trying to stuff it with a string? "(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal
  • Visual Studio 2017 nmake build

    visual-studio csharp help
    4
    0 Votes
    4 Posts
    9 Views
    L
    That's OK, but your original message was a bit vague.
  • To add one database include in one projet

    database help
    8
    0 Votes
    8 Posts
    20 Views
    L
    You're welcome :) Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
  • 0 Votes
    3 Posts
    14 Views
    Z
    Wilian Chespir?
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    0 Posts
    2 Views
    No one has replied
  • 0 Votes
    7 Posts
    16 Views
    D
    I am sorry for my post earlier. I am part of a 3 student development team and the model changed while I was working on it and I had an old version. I have since updated my model and I can get my dropdown to show the rooms that aren't occupied, but when I try to pass the data to the view, I seem to not be sending any data from the database. This is my controller [get] // GET: Residents/Create public ActionResult Create() { //Query database for IsOccupied flag// //Query for EastSouth Wing// var availRoom = db.Rooms .Where(s => s.IsOccupied == false) .Select(r => new { r.RoomNum, r.WingName, }); ViewBag.rooms = new SelectList(availRoom, dataValueField: "RoomNum", dataTextField: "RoomNum", dataGroupField: "WingName", selectedValue: null); return View(); } This is my current [post] create method: [HttpPost] [ValidateAntiForgeryToken] public ActionResult Create(ResidentIncomeModel residentIncomeModel, [Bind (Include ="RoomNum")] Room rooms) { Resident resident = new Resident { FirstMidName = residentIncomeModel.FirstMidName, LastName = residentIncomeModel.LastName, Birthdate = residentIncomeModel.Birthdate, ServiceBranch = (Models.ServiceType)residentIncomeModel.ServiceBranch, HasPTSD = residentIncomeModel.HasPTSD, InVetCourt = residentIncomeModel.InVetCourt, //RoomID = rooms.RoomID, Note = residentIncomeModel.Note }; Benefit benefit = new Benefit { Resident = resident, DisabilityPercentage = residentIncomeModel.DisabilityPercentage, SSI = residentIncomeModel.SSI, SSDI = residentIncomeModel.SSDI, FoodStamp = residentIncomeModel.FoodStamp, OtherDescription = residentIncomeModel.OtherDescription, Other = residentIncomeModel.Other, TotalBenefitAmount = residentIncomeModel.TotalBenefitAmount }; try { if (ModelState.IsValid)
  • Installer Options

    announcement csharp database winforms debugging
    2
    0 Votes
    2 Posts
    8 Views
    L
    For varying the physical location you'll need to pass that location as a parameter in the connection-string. Means you could probably get away with simply using a different connection-string in your configuration. A better idea is described here[^] :rolleyes: That way you can specify which database-driver to use (if you'd want to vary) and how to log the statements on those. Might be helpfull for debugging test-versions :) Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
  • 0 Votes
    5 Posts
    10 Views
    Richard DeemingR
    Not sure, but you're not the only one: Visual Studio Extension appears to fail to run PowerShell if execution policy set in GPO, 2.8.6 and 3.0 · Issue #974 · NuGet/Home · GitHub[^] Towards the bottom, there's a link to a NuGet hotfix (v3.1.1 for VS2015; v2.8.7 for VS2013) which is supposed to solve the problem. "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • how get height and width indesign files selecte of dialobox?

    question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • im can not find library type indesigncS6

    csharp com
    6
    0 Votes
    6 Posts
    10 Views
    R
    Is it perhaps here or there abouts: \Local\Adobe\InDesign\Version X.0\en_US\Caches\Scripting Support\X.0
  • 0 Votes
    4 Posts
    12 Views
    H
    Find the motivation like pro Dissertation Writer to complete your homework on time!
  • development software sale

    sales help
    4
    0 Votes
    4 Posts
    10 Views
    Richard DeemingR
    Two years after you posted this in The Lounge[^], and you still haven't made any progress - either on your work, or in the art of asking a question. If you want someone to write some code for you, then there are plenty of sites where you can pay someone to do that. This site is not one of them. "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • Data entry software

    question
    2
    0 Votes
    2 Posts
    9 Views
    J
    This is not Visual Studio related. "Data entry software" is a rather generic term. So there is no "basic way". You have to define first what your software should be able to do. That is what kind of data should be read (file formats, scanning prints), how it should be stored (select database), and what kinds of operations should be performed (reports).
  • Encryption/Decryption of a text, image and folder

    question csharp security
    9
    0 Votes
    9 Posts
    18 Views
    U
    Nice post Applock apk is the best application for locking the screen and Applications in Your android mobils. FingerPrint App Lock Gesture App Lock Applock APk App Lock APK Xcode for windows is an application available for Mac OS. There are a lot of ways to use the Xcode on your Windows operating system. spy phone is an android application which helps users to spy his family if you have one-time access to their mobile. spy phone App has a lot of features but it is limited because of security reasons. Snaptube is the best application that is not available in the play store to download videos from the youtube, facebook. snaptube for pc was initially launched in November 2014. Right now Snaptube App is available in popular app stores like Uptodown, 9apps etc. Snaptube is the only application which is available for all the platforms such as Snaptube Apk For Android, Snaptube For Mac, Snaptube PC Download. In this article, we will explain you the unique features and installation method of Snaptube For PC.Snaptube Application is also available for Snaptube For Windows, Snaptube For Mac, Snaptube For Linux, Snaptube Apk For Android. imo for pc is the latest emerging video calling and chatting app, which will be the best competitor to the social media giant Whatsapp, Facebook, Messenger, Hike, Wechat, etc.Friends the next question arise on all of our minds is How to install IMO for PC?. Yes, of course, it is true. There is a reason behind this to install IMO for Windowsimo for windows.Download Imo for pc Snaptube for pc is the one of the best video and audio download from Facebook, Instagram, and Dailymotion on your pc windows 7/8/10 and other windows device
  • 0 Votes
    2 Posts
    13 Views
    L
    1. Wherever you have Office installed. 2. Microsoft provide the Jet and ACE libraries for accessing the Office file types 3. This is not a Visual Studio issue. There are also lots of articles on the subject that Google will find: reading access files via c - Google Search[^]. [edit] See also How to create an Access database by using ADOX[^]. [/edit]
  • Compiling a Source Code

    10
    0 Votes
    10 Posts
    30 Views
    S
    You're welcome :) The methods I used there use (simply speaking) for-loops internally. It moves the ugly repetitive stuff out of sight. If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson