Looking to create an asset for the Unity Asset store in C#. I don't want to give away the source code, yet I want users to be able to purchase + download my work and use it in their projects. I'm not sure what this is called or how to do it. Any ideas? Much appreciated!

Member Avatar
+0 forum 0

I have a CSV file with a bunch of columns, but I only need the information for the 11th column. How do I read through each line and skip to the 11th column and then store those values in a vector? I'm struggling to find clear information on how to read files in c++. This is what I have so far: #include<iostream> #include<fstream> #include<vector> #include <sstream> #include <string> std::string readStock(std::string fileName){ std::vector<std::string> ticker; //create vector std::ifstream f(fileName, std::ios::in|std::ios:: binary|std::ios::ate); std::string finalString = ""; if(f.is_open()){ std::string str; std::getline(f,str); //skip the first row while(std::getline(f,str)){ //read each line std::istringstream s(str); //stringstream to parse …

Member Avatar
+0 forum 0

Hi, I am getting an error while making a vector. frame.h #include <wx/wx.h> class Frame : public wxPanel { public: Frame(wxPanel* parent, int xx, int yy); ~Frame(); private: int x; int y; } frame.cpp #include "frame.h" Frame::Frame(wxPanel* parent, int xx, int yy) :wxPanel(parent) { x = xx; y = yy; } Frame::~Frame() { } in another wxPanel , I am creating a vector- std::vector<Frame> vFrames; And using it in a function- FinalFrame::addFrame() { vFrames.push_back(Frame(this, 20, 40)); } And I am getting this error- `error: use of deleted function 'Frame::Frame(const Frame&)' ` Is this related to wx or I am coding …

Member Avatar
+0 forum 0

I am trying to write a C++ solution for a problem which is written C, I have learnt C++ very long ago(may be 15 years), and the way C++ is evolved now is kind of taking long to understand and not easy as 'C' to develop a solution. Would request any experts help in solving the problem . Actually, the problem is quite big , but i broke down into small , so i that i can reuse from learnings here. I have already started with a small class here to store a list of strings and print them. But …

Member Avatar
+0 forum 0

I am developing an app to android and ios, which purpose is get directions to a certain clicked marker (point) in the map. So, I am using the Google Maps API with node.js, and I have the data from the points stored in a MongoDB. I've been serching but I can't find anything that solves what I want to do. I want now to get those points coordinates from the data base object and then use the coordinates to when I click a marker (a point), then appears a infowindow with a button saying "go to location" and when I …

Member Avatar
+0 forum 0

Hi all, I have an application which saves data (books details like book title, author and location) to a mySql db and performs CRUD operations. I thought I'd use hibernate to take care of the ORM side of things and everything was OK when it came to create a record, but for RUD operations I had an issue. If I'm a user, I'm likely to be willing to find a book by its author, title or location, certainly not by its ID and yet as far as I can see, hibernate uses IDs for these kind of operations. I dug …

Member Avatar
+0 forum 0

Hi guys. And doing a system in spring. I want to cascade a dropdown list such that the selection on the first dropdown affect what appears in the second dropdown. All these data should come from a database. What I am getting online is using php is not what I want. Any help will be appreciated. Attached is what I have done. 1. Html <fieldset class="row1"> <div> <p> <label>3rd Party Category</label> <select th:id="selectCategory" name="selectCategory" th:field="*{category}" path="category"> <option value="">Select Category</option> <option th:each="category : ${category}" th:value="${category.id}" th:text="${category.name}" /> </select> </p> <p> <label>3rd Party Name</label> <select id="selectThirdParty" name="selectThirdParty" path="thirdParty"> </select> </p> </div> </fieldset> …

Member Avatar
+0 forum 0

hi everyone can someone help me on vb.net code on how to load selected row from datagridview and transfer in to combobox or radio button.. i will appreciate your help so much

Member Avatar
+0 forum 0

I am a beginner in C# database developing. I am developing a payroll application with four (4) user roles (i.e. Admin, Accountant, HR and ReadOnly). There is a Dashboard that displays four buttons that link their respective access pages. Though when logged in based on the user's role, he is directed to the Dashboard successfully. Now, what am expecting are that when the Admin logs in, all buttons on the dashboard should be active. But whenever any of the other users logs in, all other buttons should be disabled, except his. Below is the code I used; please can someone …

Member Avatar
+0 forum 0

Hi, I have an idea of building an API for **Machine-to-machine payments.** The API will enable to assign wallets to connected devices, record available amounts of something valuable, as well as all incoming and outgoing movements of value. Would love to hear back from developers who are seeking to address the issue of M2M payments. * Which challenges around M2M payments are you trying to solve? * Which technology do you use? Appreciate your feedback a lot!

Member Avatar
+1 forum 0

Any WRONG WITH THIS CODE? I AM BEGINNER TO THIS .>>> #!/use/bin/env python3 import os import tkinter import webbrowser from tkinter import * from tkinter.filedialog import asksaveasfilename from tkinter.scrolledtext import ScrolledText from PIL import Image, ImageTk from PIL import * window = tkinter.Tk() window.geometry("520x800") window.title("STARLABS BIOSCIENCE SDN BHD") window.resizable(False, False) window.config(background="#150051") MENUBAR = Menu(window) window.config(menu=MENUBAR) image = Image.open("s.jpg") photo = ImageTk.PhotoImage(image) label = Label(window, image=photo, text="").pack() venuelabel = Label(window, text="Venue: ", background="#150051", font=("bold", 13,)).place(x=0, y=660) contactLabel = Label(window, text="Contact: ").place(x=0, y=720) dateTEXT = Entry(window, width=35, ).place(x=170, y=380) Venue = ScrolledText(window, width=35, background="#150051").place(x=57, y=660, height=60) person = Entry(window, width=35).place(x=57, y=720) # …

Member Avatar
+0 forum 0

when i am trying to insert date into the datefield of the oracle then date value are stored in to database but each date value are same like DOB 01-JAN-70 01-JAN-70 01-JAN-70 public class practicdate { JDateChooser dateChooser,dateChooser1; practicdate(){ dateChooser = new JDateChooser(); dateChooser.setBounds(200, 200, 150, 20); getContentPane().add(dateChooser); public void actionPerformed(ActionEvent e) { java.util.Date utilDate=(java.util.Date) dateChooser.getDate(); java.sql.Date sqlDate=new java.sql.Date(utilDate.getDate()); try { java.sql.PreparedStatement ps=con.prepareStatement("insert into examdate values(?)"); ps.setDate(1,new java.sql.Date(sqlDate.getDate())); ps.executeUpdate(); ps.close(); con.close(); }

Member Avatar
+0 forum 0

I have created one table in access with field site,dealer and D_date my data is like as follow site dealer d_date delhi asian 23-10-11 delhi led 24-10-18 so on....... now i want haveing two combobox list of site and dealer in form when i press show button in form i need if todays date is mor then 3 years of d_date then show msg. " out of warranty.... i am using access 207 and vb net basic 2008

Member Avatar
+0 forum 0

Through Web Search I found [this link](https://www.daniweb.com/posts/jump/1740388) but I want to know is there a way to do it so the sub items in the dropdown would be colored?

Member Avatar
+0 forum 0

I've started my b2b e-commerce website with Magento. Can anyone share with me popular Magento extension that you know or have tried for b2b ? I've collected a list that I might need for my website. [Magento 2 Request For Quote](https://bsscommerce.com/magento-2-request-for-quote-extension.html) - allows wholesale customers to request for quote when placing big orders [Magento 2 Wholesale Fast Order](https://bsscommerce.com/magento-2-wholesale-fast-order-extension.html) - help wholesale customers save time by allowing import CSV file to choose desired items and put them into shopping cart by only one click. There might be many other effective extensions that I don't know, so please help me. Thank you!

Member Avatar
+0 forum 0

Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and write the barcode in Text field or excel sheet. But in the sales screen , all the field of item/product should be populated from database When barcode is scanned. I implemented an interface(I get this code form internet) in the my Sales Screen Constructor. It workded perfectly for me, but …

Member Avatar
+0 forum 0

Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and write the barcode in Text field or excel sheet. But in the sales screen , all the field of item/product should be populated from database When barcode is scanned. I implemented an interface(I get this code form internet) in the my Sales Screen Constructor. It workded perfectly for me, but …

Member Avatar
+0 forum 0

I am trying to apply an automatic scrolling down and up in Datagridview Scrollbar. I've seen a related topic (using scrollbar panel) but I dont know how to convert for datagridview auto scrolling up and down. I'll be using Timer for autoscrolling. Here is the code from another topics forum. Please help. Private scrollUp As Boolean = False Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick If scrollUp Then Dim scrollY As Integer = -Panel1.AutoScrollPosition.Y - 1 If scrollY < 0 Then scrollUp = False Else Panel1.AutoScrollPosition = New Point(Panel1.AutoScrollPosition.X, scrollY) End If Else Dim scrollY As Integer …

Member Avatar
+0 forum 0

I have an assignment to create a card game that compares to dealt cards between players to see who has the highest valued card. It must first be determined by the cards value, then only if it is tied, the suits value. The code below is what I have so far. It is working, but it isnt how I need to compare the two cards together. string card(unsigned int card) //Assigns suits to values { if (card >= 52) { return "Invalid"; } return values[card % 13] + " of " + suits[card / 13]; // where card ranges from …

Member Avatar
+0 forum 0

I have a class A like this: public class Article { public Tag Test1 { get; set; } = new Tag(); } public class Tag { public List<News> Test{ get; set; } = new List<News>(); } I have a list like this: News 1 Tag 1{ News 1 **Tag** { News 1 Tag {....} News 4 Tag {....} News 5 Tag {....} } News 4 Tag {....} News 5 Tag {....} } News 2 News 3 I want to set null "Tag" 2nd on that list = null to avoid loop infinitely. like this: News 1 Tag 1{ News 1 …

Member Avatar
+0 forum 0

I am optionally display some content in the Unity Editor based on options chosen for a given component, this will be used when displaying a summary of options chosen on this current Component. How I can make a function inline that returns a string, I want this function to be inline because there will be many of these and they will only useful in the line they are used in. I have provided a code snippet that may clarify what I am trying to do. I have used lambda functions like this in c++ and JavaScript, but not in c# …

Member Avatar
+0 forum 0

please i want to be able to move down and up my textboxes in vb.net with the arrow keys and i want to also use the enter key to move to the next textbox and with that i did and it has been working but i recently place a group box unto that form and suddenly it stops working

Member Avatar
+0 forum 0

I need an answer for this question ( write 2 program that takes grade as input and display the range of marks use the select case and if() A. 90 to 100 B+ 80 to 89 B. 70 to 79 C 60 to 69 D 50 to 50 F. F

Member Avatar
+0 forum 0

When creating a new WebAPI Project in Visual Studio 2019 and changing authentication to Individual User Accounts, the only option is to connect to Azure but back in WebAPI projects in the .NET Framework, user accounts can be stored in-app. How to achieve this in .NET Core 2.2?

Member Avatar
+0 forum 0

I have a C# project that creates a COM object for use with a POS terminal. Before I give it to the customer, I want to make sure that it will work as a COM dll. The RegAsm says it works. using System; using System.Runtime.InteropServices; namespace POS { [Guid( "0135bc5c-b248-444c-94b9-b0b4577f5a1a" )] [InterfaceType( ComInterfaceType.InterfaceIsDual )] [ComVisible( true )] public interface ITwoWay { // The Initialize method is called to establish the communications connection... [DispId( 1 )] void Initialize( String IPAddress, long Port, long MaxPacketSize ); // A convenience method that allows the POS to test the Third Party’s back-end... [DispId( 2 …

Member Avatar
+0 forum 0

hello everybody who can help with this task Now I will talk little about monoalpahapit cipher This is cipher is based on substitution the characters with another characters So in the encrypt.java file it counts how many the characters appeared in the cipher text , so in the picture that I sent to you it contains the statistics of most frequently characters, an example : suppose in the cipher text the character ( O ) appeared 16 times and it’s the most frequently character so you will back to the picture of the statistics and see what is the most …

Member Avatar
+1 forum 0

I have simple .NET Core 2.2 Web App that I have deployed to Azure App Service. App contains a simple HomeController with Index Action and Index.cshtml file. When I try to browse the page it gives me InvalidOperationException with message The view '~/src/Views/Home/Index.cshtml' was not found. I have verified the path of the file and build action (Content), but due to some strange reason it cannot find the view. However surprisingly if I change the name of the View to Index1.cshtml it works. Can anyone explain why this is happening? public class HomeController : Controller { public IActionResult Index() { …

Member Avatar
+0 forum 0

I have an sql database names SubJobs with a column named Date. The data type is Time(7). I have a datagridview named DataGridView1. I want it to display a time like 04:30 PM. I’ve tried the following command to format the column but it gives me an error saying that it can’t be converted. dataGridView1.Columns[3].DefaultCellStyle.Format = "hh:mm tt"; Any help would be appreciated! Thanks, Steven

Member Avatar
+0 forum 0

I like Agile, I really do but a few times it has me walk out on the process as a few think that everyone must "buy in." That's just part of the problems I've run into and kind of glad I'm no longer on such teams. In fact if a company does go "all in" on Agile I may want to short their stock. I think it works until they try to forget what the real goals are. The real goal is to get the product out the door. Some folk love to get wrapped up in the process. The …

Member Avatar
+1 forum 0

The insurance business was conservative quite a long time; however, the appropriation of new advances isn't only a cutting edge pattern, but a need to keep up the competition. In our computerized era, Big Data innovations help to process various data, improve work process productivity, and reduce operational expenses. Learn more about the advantages of Big Data for insurance from this material. # How Big Data is Revolutionizing Business # Current society is constantly delivering noteworthy measures of ongoing data. Processed by AI, it turns into an important data source which is crucial for most business models, as well as …

Member Avatar
+0 forum 0

The End.