WCF with windows 7 Phone mysql connection
Hi all, i am using WCF to connect to a mysql database, which is fine i can retrieve the data that i want but normally when working with databases i would return the data as a dataset, however WP7 does...
View ArticlePassword protect ms-access database using vb.net
Hello everybody, I have an ms-access 2007 database which is created runtime in my small multi-user program I want to password protect that database or the whole folder in which the database is located...
View ArticleSearching a text file for a specific string
I want to use stream reader to search through each line of text for a specific value such as "Name" because it's locating a username.So far I have Dim EmployeeFile As String =...
View ArticleMeasure performance of program, output graph?
Hi, I'm measuring time using System.currentTimeMillis() and looked everywhere for a simple graphing software to portray the results in a graph but could not find anything. Any suggestions?
View ArticleAppending to a text file
public void recordObject() { File myFile = new File("history.txt"); PrintWriter output = null; Scanner in = null; if(!myFile.exists()) { // the file dosent exist try { myFile.createNewFile(); // file...
View Articlei am not able to retrive data from database using datareader
I am not able to retrive data from database using datareader. I am using visual studio 2010 and access 2007. please help me... using System; using System.Collections.Generic; using...
View ArticleMy first Php form program is showing the code as output
Hello there I am trying to run my first piece of php code (well second) but i seem to get the php code output on the browser so i would like some advice on where i am going wrong. Here is the code for...
View ArticleConvert String to Time (date)
Hi All, I'm trying to convert a time input by the user in the format HH:mm into an actual Time so I can compare it to the current time. I thought that one way to do this might be to convert it to a...
View Articlewhat skills would i need to write a 3D game?
Hi, i was wondering what other skills i need to have before i could even think about writing a small 3D game? and also if you could answer, would they teach me some of these skills when i go to get my...
View ArticleScrollable ListView with 2 Columns, and data in each
I am hopelessly confused in doing what I thought would be simple things (in WinForms for instance), in WPF. Any help would therefore be greatly appreciated! I have been using Visual Studio 2012...
View ArticleHttpWebRequest Not Sending Cookie
Hi, so I have a program that's using HttpWebRequests and the user logs in, it stores the login on a cookie, but when i try to navigate somewhere on the site i have it log in on, it wont send the...
View Articlequestion :customize mouse cursor
hi all i want to customize the mouse cursor but i don't want to use the default options i want cursor of my on how i do it? thanks for help
View ArticleMove cursor and left click
When a button is pressed, I want the mouse to move to a predetermined location on the screen, and left click. I have tried: Public Const MOUSEEVENTF_LEFTDOWN = &H2 Public Const MOUSEEVENTF_LEFTUP =...
View ArticleRead CSV file, Ostream/Istream
Hi, I have a csv file that looks like: Anna 1, 2, 3, 4 Bert 4, 5, 6, 9.5 Iga 5, 7, 7, 10 I have the following Header: ##include <fstream> ##include <sstream> ##include <vector>...
View ArticleSilly print logic question
Ive been coding practice problems and troubleshooting them for many hours now- and I have a silly stumper that I cannot seem to overcome. I have a very simple code that prints gets a number of integers...
View Articlequestion on how to convert 20 days, 12 hours and 14 min into minutes
public class UpTime { public static void main(String[] args) { int days = 20; int hours = 12; int minutes =14; Scanner Scan = new Scanner(System.in); am i on the right track?
View ArticleThe displayName() method
So I'm supposed to create a pretty simple program that asks the user for their name. The user will then enter their name and if it is less than 9 letters long, it will display the name. Otherwise the...
View ArticleDisplay data from two tables - one to many relationship
Hello and thanks for your time. I am not well schooled in PHP or mySQL so please bare with me. I have two tables: Events: eventid title description location Dates: eventid eventdate starttime endtime...
View ArticleJframe, auto-maximize screen
hi guys, im starting to program java with jframe, i want to know how to set the app to run maximized when its starting. Here is my code: package alkent; import java.awt.Dimension; import...
View ArticleNeed help with Encryption and networking in c#
hi everyone i need some help i have looked at the tutorials on the site and i have looked on Google but can't really find what i am looking for. i would like to make apps using the network API like...
View Article