i have a really basic java program just one .java/.class file (.java uncompiled .class compiled i guess) how do i make something that i can have run on someone elses computer?
Hello. Currently I have a very basic file viewer working as follows :
- in JOptionPane I browse for files, and set some variables to display (colors, line connecting etc)
- previous windows loads a frame with drawn points
Code :
http://paste.pocoo.org/show/220066/
Now I'd like to throw it into one window, with JMenu for selecting files and changing display parameters. How to get started ? Should I rewrite everything to JDialog ?
So I was attempting to encrypt my (Windows 7) system drive with Truecrypt and it stopped at around 15% and said that there was a segment error and that it could not proceed until it was fixed. So, I restarted the computer and ran HDD Regenerator which subsequently fixed the bad sectors on the drive, but now my system cannot boot.
So, I run a number of recovery disks to no avail (Windows repair is unable to fix) and the drive won't mount on a linux version run from a CD because the drive is encrypted. So I tried mounting the drive using Truecrypt under the Linux distribution on the disk and selected "Mount partition using system encryption without pre-boot authentication" so I can decrypt, but I get an error message about it only being possible once the entire system is encrypted.
How do I get out of this mess? I need to be able to back up the data that's on that partially encrypted drive so I can reinstall my operating system.
I install SQL Server 2005 EXPRESS edition on one computer, Computer Name = 'MyServe' and Database name='MyDB',take it as database server. it is configured as both Database and Windows Authentication Mode. with username=sa and password=adminaa.
I have application in C#.Net
my connection string is
ConnectionString = "Data Source=MyServe\SQLEXPRESS;Initial Catalog=MyDB;Integrated Security=True;User ID=sa;Password=adminaa";
when I run the application on the computer called MyServe, the database server, it works well, while when I install the application on different computer, when it tries to connect the database it gives an error called "login failed for user 'MyServe\Guest" what is wrong with configuration in the database server or other mistakes. please help me. thankyou in advance.
Metasebia
We have a few Macs in our office which are bound to our Active Directory (Server 2k8R2) domain for login authentication and access to file shares. For the most part this has worked without trouble.
I recently changed my AD password (from the Windows box that is my main desktop machine), and my iMac still wants my old password for logins—even after a reboot. It correctly prompts for the new password when I attempt to connect to Windows smb file shares.
The last time I changed my password, the iMac was running Snow Leopard and picked up the password change as expected.
I'm a little bit of an OS X n00b, so I apologize if this should be obvious. My searching has turned up numerous issues people have had with Lion and Active Directory, but not this particular problem.
Possibly related, we do have mobile accounts enabled for AD in the Directory Utility options. I assume this causes credentials to be cached locally, but it's not clear to me how to get them to update.
I've got basic page templates working in ASP.NET from master pages and can include pages in ASP.NET - however, I'm having difficulty extracting from pages and paginating them.
This is the design structure (i.e. the model for my site) I'm trying to base it on:
http://library.digiguide.com/lib/programmenextshowing/Medium-319648
I have an SQL Driver installed, my ODBC Advisor says it is MySQL ODBC Driver 5.1.
How should I get this project to work, now I have the basics under way?
I've heard that given a programmer with enough time and skill in any particular language and enough lines of code, then any program could be created with any given language. I know its certainly not going to be cost-efficient, for instance, to rewrite Adobe Photoshop in BASIC, but could a good enough and patient enough programmer potentially create any program in any language?
Hi I have a site that uses flex and calls controller actions which returns json to the flex. This works fine in a dev server , the folder that has the flex app lives inside the web project and in the dev ennvironment, makes calls hostname, ie www.someurl.com
in the actual live scenario, this will be an intranet so not hostname to call, the flex app seems to have trouble calling http://localhost/Virtual directory name
it seems to totally miss the virtual directory name. I am obviously missing something basic, any help?
I've always been fascinated by microcontrollers and I'm planning to do a few hobby projects just to satisfy my inner geek :)
I'm looking for ideas and motivation, so what did you develop using a microcontroller?
If possible please state the microcontroller and/or development environment and an estimate on hardware costs beyond the basic equipment (if applicable).
I'm interested in both successful and failed projects and any problems you encountered.
Just finished reading ch23 in the excellent 'Beautiful Code' http://oreilly.com/catalog/9780596510046
on Distributed Programming with MapReduce. I understand that MapReduce is a programming system designed for large-scale data processing problems, but I have a hard time getting my head around the basic examples given and how I might apply them in real world situations.
Can someone give a simple example of MapReduce implemented using either java, javascript or actionscript?
Trying to follow some basic examples and getting stuck by this code that is EXACTLY like the example I am following:
[[NSUserDefaults standardUserDefaults] setObject:@"Sample Text" forKey:kWordsOfWisdom];
gives me the error:
expected ']' before ';' token
i want to animate 3d model in xna programmatically ,i tried to transform bones but nothing to happen only the whole model transform not individual bones as i want
i read the 3d model by basic model processor
so how i do this ?
and is there any need to extended model processor like skinnedModelSample
please explain the steps
hello!
I'm trying to output multiline text with GD+PHP but can't get it working. my php knowledge is really basic.
here's the code, any idea on how to output 2 or 3 lines of text?
$theText = (isset($_GET['caption']))? stripslashes($_GET['caption']) :'';
imagettftext($baseImage, $textSize, $textAngle, $textXposition, $textYposition, $textColor, $fontName, $theText);
How can I connect to a Samba share with authentication using Windows 7?
We have a bunch of Linux, HP-UX and AIX servers on our network with folders shared using Samba. These are not connected to our Active Directory or anything, we just type a user name and password when we connect to them. They still all work fine from Windows XP, but we've upgraded a couple of machines to Windows 7 and they can't access the shares. You get prompted for a password but it says "The specified network password is incorrect" (it's not).
I'm using an email client for the first time - for the most part I've always used gmail via the web interface. Now I'm setting up thunderbird to connect to an email server of my own (on my own server, own domain name, etc).
The server machine (and the email server on it) was preconfigured for me. Now i figured out away by which I'm able to send and receive email, but I noticed that in the outgoing and incoming servers section, the connection type was STARTTLS (and not SSL/TLS), and the Authentication Type was "Normal Password".
Does this mean that the password will be sent across in plain text? I'm very paranoid about security - its the only way that it works for me.
Can someone please post links that explain how SMTP (my outbound server) and IMAP (my inbound server) servers work, and what connection type means what?
Thanks!
PS: If this question does not belong here, please redirect me.
I'm interested in learning about what additional features and APIs an app has access to when an iPhone is jailbroken. Can someone provide me with some basic resources to learn about this? I would be most interested in:
documentation on the private APIs
filesystem layout
app configuration, e.g. how did WinterBoard replace SpringBoard? Apps that replace the lockscreen?
tools needed
Suggestions appreciated.
Hi, i have a php web application.This application works on windows server but doesn't work on linux server.I think this is about php.ini or file permissions.Whta can be other reasons for this situaion?What must be the basic php.ini configurations for this situation?Thanks for advance...
i would need to know the past 7 days record. i want to wrote a query for that in where condition. i have very basic knowledge in sqlite. Please help me for this query.
Hello,
in my app I have 49 points with x,y and I wnat to display them on the screen. I've seen a lot of library that can help me (core plot, s7graphview, etc.). But since I'm doing very basic stuff (just draw points), what is the simplest way do to that ?
Thanks !
I am looking at integrating a C# application with a barcode scanner.
The last time I did this was with Delphi 1 (win 3.11) using a scanner that plugged in-line into the keyboard cable.
Looking around it appears most scanners are USB based these days and assume they emulate keyboard entry.
Anybody know of more sophisticated/programmable scanner that can call a webservice or even just do a basic POST/GET this would eliminate the C# application and the computer to support it?
I've seen developers use various methods to prevent spam on a basic html contact form
Method 1 is where the developer uses a Captcha image and Method 2 where only a Question is asked eg. Are you Human? with a radio button.
Which one is the better one to use and why?
What's the simplest way to create and write to a file in Java?
I know this is a very basic question, but the web is full of different answers for different versions of Java and it would be nice to have an answer here on StackOverflow.
Now that Samba 4 has finally been released we find ourselves in new position of having a choice of of either upgrading our Samba 3 domain to either a Samba 4 domain on Linux or a Windows AD domain on Windows 2012.
Given that we are equally expert at managing Windows and Linux servers, is there any reason not to use Samba 4 over AD on Windows; specifically:
Are there functional differences from a Windows/OS X client perspective?
Are there issues with other services that use AD, such as storage appliances that use AD/Kerberos for authentication/authorisation.
Will the Microsoft "System Centre" suite of tools and other similar products work seamlessly?
How will Samba 4 handle AD's Multimaster DC model and FMSO roles.
Are there any other issues to be aware of, such as vendor support?
Does anyone have any good pointers on designing the UI for an android application and some good practises?
Obviously I'm aware of the basic principles involved with designing the layout in XML. Also, that you have a stack of activities. But I'm interested in some approaches to creating the interfaces and also how to design an application around those intentions.