73 Discussion / Question Topics

Remove Filter
Member Avatar for castajiz_2

For the last 5 months I've tried to organize myself and my friends in order to collect some relevant information on news sites (information about global warming, pollution, ecology etc.) The only solution that I've found was to use a local search engine from the news site and type in …

Member Avatar for jwenting
0
251
Member Avatar for castajiz_2

Hi there, I' ve got some data in my database and I' m using PHP to fetch it and would like to transport it to client side via JSON. The problem that I'm facing is the folowing: I have a timeline which was built in html and css and I …

Member Avatar for TexWiller
0
316
Member Avatar for castajiz_2

I've started here at DANIWEB almost 3 years ago. Helped a lot of people altough most of them did not give any feedback (votes, mark question solved ect.). I must say that DANIWEB created me as a programmer in one way. I still remember spending 3 and half hours on …

Member Avatar for diafol
3
684
Member Avatar for castajiz_2

Hi, I was wondering if anybody is willing to share some information on how much can you earn from implementing add ons to your application? I know that I can not find such info on the web so I want to ask people who actually earn from app advertising. And …

Member Avatar for Dennis Sheil
0
182
Member Avatar for castajiz_2

I believe everyone heard the news from November the 11th-"Opening up Visual Studio and .NET to Every Developer, Any Application: .NET Server Core open source and cross platform, Visual Studio Community 2013 and preview of Visual Studio 2015 and .NET 2015". Maybe some people will disagree but I think that …

Member Avatar for ryantroop
0
293
Member Avatar for castajiz_2

Hi, I have developed a application for students that retrieves data (eating menus) from a official eating website of the whole University (13 restaurants located around the city). Actually I spend a month and a half of doing some reconnaissance and programming (getting information of that site) so that I …

Member Avatar for hericles
0
210
Member Avatar for castajiz_2

For the past 3-4 years I can say that I m very active in programming (programming on daily bases and trying to compesate my education wich is not 100% related to programming). After this 3-4 years of daily programming I can say that I feel like I can make anything …

Member Avatar for vegaseat
0
267
Member Avatar for castajiz_2

I would like my app to go to another page when i slide it horizontaly. I don't know the appropriate name of such an action and therefore am not able to find any refference on google. Can anyone point out the keyword that I missing and give some links for …

Member Avatar for castajiz_2
0
239
Member Avatar for castajiz_2

The title says everything, I was searching through google why this is the case but haven't been able to find any answers. Any reference would be greatly apreciated...

Member Avatar for castajiz_2
0
221
Member Avatar for castajiz_2

I ve made an windows phone app in c# and now I m making equal android app. I ve come to the problem where I have to compare some times. In c# there is a well known TimeSpan class but I see that java(Android) does not have such class. Could …

Member Avatar for castajiz_2
0
853
Member Avatar for castajiz_2

I developed a website actually a simulation of a program on my 17.3 inch laptop. When I come to another machine for example a 15 inch laptop witch has a different screen size(diagonal) my html tags won't compensate, so I have to scroll through the website to see all my …

Member Avatar for diafol
0
239
Member Avatar for castajiz_2

I ve been searching for various algorithms for the past few days and I came accross this one. Is this the right solution to it (Greedy algorithm), or am i missing something. static void Main(string[] args) { int[] array = new int[71]{ 72, 79, 84, 46, 14, 4, 62, 88, …

Member Avatar for castajiz_2
0
788
Member Avatar for castajiz_2

I ve been trying for the last 3 hours to get my autocompletetextbox working and tryed all sort of code. My Web service is working from wich I m actually fetching all the stuff but the jquery seems not to work, I m always getting the error when typing the …

Member Avatar for nikkitata
0
302
Member Avatar for castajiz_2

Hy guys, haven't been here for a while, and I m having a problem that I didn't use to have before. When I was uploading via filezilla ftp client program a month ago a asp.net built website I didn't have any problems whatsoever. Now I'm facing problems and always getting …

Member Avatar for JorgeM
0
2K
Member Avatar for castajiz_2

I m new to javascript and I m little bit confused on how does a webpage read the actual script. let's say I have the folowing code: <script> vrijeme = document.getElementById("Label7").innerText; minute = vrijeme.substring(0, 2); sekunde = vrijeme.substring(3, vrijeme.length); alert("fuck you"); var start_time=setInterval(secondFunction, 1000); function secondFunction() { sekunde = sekunde …

Member Avatar for [NOPE]FOREVER
0
318
Member Avatar for castajiz_2

What is the best way to download the html content from another site and display it into my website? What is the best built in class to use for this case?

Member Avatar for castajiz_2
0
106
Member Avatar for castajiz_2

Is there a easier way to move and postion the object from the toolbox in visual studio asp.net framework.When I say easier i reffer to windows forms framework object positiong where moving objects accross the form is a piece of cake.

Member Avatar for castajiz_2
0
291
Member Avatar for castajiz_2

Ok, I ve been struggling for the last two weeks to get my webservice working on somee.com. I managed that. Then my database corrupted but managed to get it migrated it to mysql before that and everything' s fine. Now the final problem that I have and just can't solve …

0
132
Member Avatar for castajiz_2

public string Data() { string dohvat_podatka = ""; using ( MySqlConnection con = new MySqlConnection("Server=xxx.000webhost.com;Port=3306;Database=xxx;Uid=xxx;password=xxx;")) { con.Open(); using (MySqlCommand cmd = new MySqlCommand("SELECT ime FROM `nastavnik` WHERE prezime=@prezime", con)) { cmd.Parameters.Add(new MySqlParameter("prezime", "Carić")); using (MySqlDataReader dr = cmd.ExecuteReader()) { if (dr.HasRows) { while (dr.Read()) { dohvat_podatka = dr.GetString(0); } } …

Member Avatar for castajiz_2
0
1K
Member Avatar for castajiz_2

I ve built a simple webservice just for testing and whenever I implement it on my windows phone 8 solution(I add a refference) my methods which are decorated with the [webmethod] naturally seem to convert from type string for example to type void and at the end of the method …

Member Avatar for Ketsuekiame
0
457
Member Avatar for castajiz_2

Does anyone here know what programming languages does the military usually use to make sumbarine softwares? If anyone can point to some links because i wasn't able to find anything on the net.

Member Avatar for rubberman
0
912
Member Avatar for castajiz_2

I' ve converted mssql database to mysql database (locally). I ve created a free subdomain and found a free webhoster on 000webhost.com. I m trying to import my mysql database onto the server using phpmyadmin interface but am unable to do this. I get the following error-->#1044 - Access denied …

Member Avatar for castajiz_2
0
2K
Member Avatar for castajiz_2

I m getting the following error when trying to add a .mdf file and .log file to my account on somee.com ERROR--> "You don't have the permission to open this file, contact the file owner or a administrator to obtain permission". I need to get my database on the server …

Member Avatar for JorgeM
0
377
Member Avatar for castajiz_2

1. For all the accounts that have authority="admin", set permision to modify all of the files (attribute changes is datatype YES/NO),,, so basically a user can set yes or no depends on his will. 3. For each directory, print out his name, in which directory it is located, and how …

Member Avatar for castajiz_2
0
222
Member Avatar for castajiz_2

There was a user named Mitja Bonca wich spent a lot of his time on the C# section. Before a year ago i ve seen a algorithm that he did for a guy providing him help in that way. This algorithm was tremendous (was then) and i can t locate …

Member Avatar for castajiz_2
0
239
Member Avatar for castajiz_2

Hy guys, I managed to upload my winzip archive online and unzip it. However I can not access my website (I have the Default.aspx file which should be automatically recognized as the startup page, and lots of other files that go with the webapplication upload) however I get an error …

Member Avatar for JorgeM
0
237
Member Avatar for castajiz_2

Why isn't the Microsoft built in class Random class an type static class as the Math. class is. Why didn't they make this class static?

Member Avatar for Ketsuekiame
0
368
Member Avatar for castajiz_2

I ve been searching google for a long time now but I m not sure what kind of application (gps) should I develop. I would like from you guys to give me some trendy suggestions on what kind of gps app would be interesting to make and the most important …

Member Avatar for castajiz_2
0
202
Member Avatar for castajiz_2

I have a database wich i made in SQL server managment studio (Microsoft based). I m curious on how would i export my entire database to a webserver? My application is built in visual studio 2012 with C# (c# complitely). It s a University database without cotaining the student's entity(Table) …

Member Avatar for castajiz_2
0
153
Member Avatar for castajiz_2

if (ts1.CompareTo(DateTime.Now) == -1 && ts2.CompareTo(DateTime.Now) == -1) { MessageBox.Show("...."); } the function asks for a object, i gave an object...

Member Avatar for ddanbe
0
175
Member Avatar for castajiz_2

cmd = new SqlCommand ("select beggining_school, end_school FROM Student,student_weekend,Weekend WHERE Student.ID=student_weekend.studentID AND student_weekend.WeekendID=Weekend.ID ", con); I just want to say that i don't have any problem concerning my code functionality. I would just like the design to be like the above example.That is, I dont'want my whole sql expression to …

Member Avatar for deceptikon
0
161
Member Avatar for castajiz_2

I have read pretty much about xml. I know that it is good to save data inside but i just can t get it why wouldn t I save my data into a .txt file once finished with my program tasks. Is it because xml offers a structural and more …

Member Avatar for deceptikon
0
224
Member Avatar for castajiz_2

I ve always had a problem with this but never coped with it. Let s say I bring a button to a form and click on it two times a event will appeaer in the code section. EXAMPLE: private void button1_Click(object sender, EventArgs e) { } Let s say i …

Member Avatar for deceptikon
0
144
Member Avatar for castajiz_2

private void Form1_Load(object sender, EventArgs e) { cn.Open(); } ERROR:Cannot open database "Persons" requested by the login. The login failed. can anyone tell me how to fix this?

Member Avatar for castajiz_2
0
209
Member Avatar for castajiz_2

If someone can provide a link with the use of Parameters instead of concatenation

Member Avatar for JorgeM
0
146
Member Avatar for castajiz_2

I would like to convert Control objects wich are in my array to progress bar Objects if possible. I know that the reverse conversion can be done explicitly without a problem but this one seems tricky. If impossible then please suggest something else instead. TNX

Member Avatar for castajiz_2
0
322
Member Avatar for castajiz_2

I combined mouse events o move my drawn rectangle object. Everything was fine i could move it and when i released the mouse button it stopped moving and settled down. However after rotating that object and then trying to move it around I just could not perform the action again. …

Member Avatar for castajiz_2
0
270
Member Avatar for castajiz_2

So i want to hodl my mouse and by moving the mouse i want my vector to rotate around, which of the built in events should i use? i tryed mousedown event but that s not what i m looking for obviously.Maybe i should combine two mouse events instead?

Member Avatar for castajiz_2
0
160
Member Avatar for castajiz_2

int main(int argc, char** argv) { FILE *f; char string[100]; int counter=0; f=fopen("New Text Document.txt","r"); if (f==NULL) { printf("error"); } while(!feof(f)) { fscanf(f,"%c",&string); } fclose(f); for(int i=0;i<100;i++) { if (string[i]=='a') /*doesnt work, why?*/ { counter++; } } printf("\n the number of vowels a is : %d",counter); getch(); return 0; } …

Member Avatar for deceptikon
0
151
Member Avatar for castajiz_2

As it is said in the title i can not get the keyword string. I finally found a version of C for windows 8 but now i can t get the most important thing types int, double char,bool ect... work perfectly and always show as a keyword but somehow i …

Member Avatar for Ancient Dragon
0
293
Member Avatar for castajiz_2

I would really appreciate some help here and some serious answers. I work at a coffe shop and an man came up to me if i could charge his iphone (his battery was a 0%). He looked suspicious, i ve never seen him around the community. At first i was …

Member Avatar for rubberman
0
285
Member Avatar for castajiz_2

Is there any option which i can activate when using ECLIPSE so that when i m typing S... for String or i.. for int etc... to automaticly give me suggestions that i want a int if the first letter is i or i want a String if the first letter …

Member Avatar for JamesCherrill
0
183
Member Avatar for castajiz_2

Just wondering how popular is Daniweb compared to other forums (if i may ask the question in this way)? If I type in google search anything that has to do with programming the first genereated result will be stackoverflow, i mean daniweb has a much more better design and organization …

Member Avatar for Warrens80
0
292
Member Avatar for castajiz_2
Member Avatar for castajiz_2

I ll give my best for this post not to be too long. I would like to make a program for my colleagues, students so they can check their results when they finish there task or if they want to check results first and then give it a try (doesn …

Member Avatar for ddanbe
0
192
Member Avatar for castajiz_2
Member Avatar for castajiz_2

I would like to know if there is a class wich generates RANDOM words which have sense(are in use in the daily language in englis). I am making a project where uppon a given random generated word i would like to collect letters for that given word so once i …

Member Avatar for castajiz_2
0
283
Member Avatar for castajiz_2

I was wondering is there any way to put my e.Graphics.DrawString() method into a variable(object) so that i can do some actions aftewards. The thing is that I ve got my words falling and rotating on the form. I ve also got a object wich is a Image which moves …

Member Avatar for castajiz_2
0
142
Member Avatar for castajiz_2

I have a method which does something. However to do the desired thing i must call the CreateGraphics method. I Created a new class (added a new class) and now inside my method i can t call this method. What am i missing? I can call the CreateGraphics method inside …

Member Avatar for castajiz_2
0
196
Member Avatar for castajiz_2

for (;n!=0;n/=10) { do something till n==0; } Is this something like a while loop or do while loop or some kind of imitation?

Member Avatar for Ketsuekiame
-1
173

The End.