Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~4K People Reached
Favorite Tags
Member Avatar for Diogo Martinho

Hello, Recently I've been having some issues with the CultureTypes.SpecificCultures as for a reason I don't know I can no longer retreive United Kingdom Culture from it everytime I ask GetAllCultures() Method. Did they change this?

Member Avatar for kvprajapati
0
113
Member Avatar for Diogo Martinho

Hello, I am working on a project and I'm having a bit of trouble trying to localize my resources outside my MVC application. I currently have a MVC Application where i've defined my Resources in App_Global_Resources, and I have a C# Project where I've defined my Models with all the …

Member Avatar for Ketsuekiame
0
108
Member Avatar for Diogo Martinho

Hello, I'm trying to define the route for my application and so far I've set the following route routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home", action = "Start", id = UrlParameter.Optional } // Parameter defaults ); This allows me to do things …

Member Avatar for Shecheat
0
91
Member Avatar for Diogo Martinho

Hello, I'm trying to build an application and I've created a DB Table Users for Membership purposes. What I'd like to do is allow two columns in that table, UserID or Email as the Username for Login. This means an user would be able to login using either his ID …

Member Avatar for BMXDad
0
61
Member Avatar for Diogo Martinho

I'm currently having an issue while trying to pass Data to my controller in my MVC application. Here is my code $('#idNumber') .autocomplete( { source: "/@Resources.Global.Lang/Client/AutoComplete?ID=" + $("#idNumber").val() + "&country=" + $("#country").val(), select: function (e, ui) { var temp = $("#idNumber").val(); var temp2 = $("#country").val(); $.ajax({ type: 'POST', url: "/@Resources.Global.Lang/Client/searchClientByID?ID=" …

Member Avatar for iamthwee
0
116
Member Avatar for Diogo Martinho

Hello. I'm currently facing an issue with my code related to the way CultureInfo.GetCultures method is sending me the list of countries. I have this in my getCountries method: System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB"); System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB"); var cultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures); Which retrieves me a list of Cultures in associated …

Member Avatar for pritaeas
0
168
Member Avatar for Diogo Martinho

Hello, I'm currently developing an application that will have to support Globalization, meaning that it will have to support different languages. I've been doing some research since this all new to me and I want to take the best approach, and for now all I've been doing is following some …

Member Avatar for annaharris
0
545
Member Avatar for Diogo Martinho

Hello, I'm currently creating a website in C# and I'm trying to add Globalization to my application, however there is an issue I'm currently facing related with the fact that I must change some labels for some buttons I've created in a javascript file, and I was thinking about using …

Member Avatar for LastMitch
0
235
Member Avatar for Diogo Martinho

Hey, I'm writting this topic to ask you guys if there is an alternative to findall in Prolog that allows me to search not for all solutions but for a X number of solutions instead. I'm kind of new to this language so I'd like to ask for your help. …

Member Avatar for TrustyTony
0
268
Member Avatar for Diogo Martinho

I'm having some trouble with selecting the Max values of three different tables in my SQL. I have 3 tables Car [CarID, Name] - Price [CarID, Price] - Group [GroupID, CarID] With these Values Car: CarID --- Name 1 ------- Car1 2 ------- Car2 3 ------- Car3 Price: CarID --- …

Member Avatar for blocblue
0
159
Member Avatar for Diogo Martinho

Hello, i'm currently struggling to solve a very annoying issue that appeared when I was programming my HTML page I'm getting an error in this function function Tags() { if ( xmlHttpObj.readyState == 4 && xmlHttpObj.status == 200) { var docXML = xmlHttpObj.responseXML; var tagsElem= docXML.getElementsByTagName("name"); alert("check"); var tags = …

Member Avatar for adam.adamski.96155
0
201
Member Avatar for Diogo Martinho

Hey guys, I'm about to start a project in which I'll have to implement something simillar to an ordinary excel sheet, and one of the aspects that will be focused is related to the creation/implementation of Macros which allow me to record a number of actions and then perform those …

Member Avatar for JamesCherrill
0
161
Member Avatar for Diogo Martinho

I made a function that would allow me to get the current date and put it on a string in YYYY.MM.DD format. [CODE]string Date::getCurrentDate(){ char datenew[8]; char currentdate[8]; string s; int size; _strdate(datenew); currentdate[0]=datenew[6]; currentdate[1]=datenew[7]; currentdate[2]=datenew[5]; currentdate[3]=datenew[0]; currentdate[4]=datenew[1]; currentdate[5]=datenew[2]; currentdate[6]=datenew[3]; currentdate[7]=datenew[4]; size=sizeof(currentdate); s.assign(currentdate,size); return s; }[/CODE] I keep getting a …

Member Avatar for Diogo Martinho
0
112
Member Avatar for Diogo Martinho

Hey guys, I really need your help on this, because I'm either being really dizzy or I just can't figure out why my code isn't working at all. I've wasted around 4 hours trying to turn around this problem so far and I just can't. here is the part of …

Member Avatar for WaltP
0
211
Member Avatar for Diogo Martinho

Hello everyone. I'm having quite a rough time with my program because my code isnt just working [CODE]#include <string> #include <iostream> #include <string> #include <stdlib.h> #include <windows.h> using namespace std; #include "DBase.h" #include "Client.h" list <Client> l; DBase *example; int main (void) { string user= "my username"; string pass = …

Member Avatar for Narue
0
272
Member Avatar for Diogo Martinho

This is probably an easy thing to do but I don't know how. How can I declare in the .data section one pointer to an integer?

Member Avatar for Diogo Martinho
0
70
Member Avatar for Diogo Martinho

Hello, I am currently trying to work on a project, however I will not ask for any sort of Coding since I want to implement that myself. I am working on a project in which I deal with various contracts and I have to [B]keep updating the total price of …

Member Avatar for JamesCherrill
0
105
Member Avatar for Diogo Martinho

I'm having a really hard time trying to figure out how to make the following search: "Find the sellers specialized in selling cars of the year (They can only sell cars produced during a specific year, example 2010). The tables I have are: Seller: {[U]Seller_Id[/U], Name, City_Residence} Business: {[U]Car_Id,Seller_Id[/U],Year_car_Produced, Business_Date, …

Member Avatar for Diogo Martinho
0
87
Member Avatar for Diogo Martinho

Hey I'm trying to set a Strategy in my program that should allow me to do something I've never tried before and have no idea if it's either the best approach to the problem or if it is possible or not. I have a class with some fields and one …

Member Avatar for arkoenig
0
76
Member Avatar for Diogo Martinho

[CODE]void BinarySearchTree::inorder(tree_node* p) { if(p != NULL) { if(p->left) inorder(p->left); cout<<" "<<p->data<<" "; if(p->right) inorder(p->right); } else return; } [/CODE] This sample of code works fine if I use it to test valuables that are primitive, example: integer I wanted to be able to transform that, so, if for example …

Member Avatar for Diogo Martinho
0
94
Member Avatar for Diogo Martinho

I am facing a very simple problem that many of you will be able to solve, however I'm having a hard time trying to figure a method to program this. I am trying to create a dynamic array with the many prices of different clothing for a shop I'm creating. …

Member Avatar for Fbody
0
163
Member Avatar for fantasma

Greetings from Portugal to everyone. I'm building a project to a course in my university and i've stucked in some compiling error given by NetBeans and g++ in my dynamic array implementation. Glad if someone could give a hand to this. Here is the code [ICODE]#pragma once #include <iostream> #include …

Member Avatar for fantasma
0
120