Posts

Showing posts from January, 2012

configuration - how to find which libraries to link to? or, how can I create *-config (such as sdl-config, llvm-config)? -

I want to write a program that gives a list of libraries that link to the given source code (or object) files (For C or C ++ programs). * In Nicos, there are useful tools like sdl-config and llvm-config but, I want to make my program work on Windows. Usage: get-library-names -l / path / to / lib a.cpp b. Cpp c.cpp d.obj Then, a list of get-library-names function names will be received which is implemented from a CPP, BQPP. , C.cpp, and d.obj and, it will do all necessary searches to properly link all library files to the / path / to / lib directory and list libraries. Is such a device already written? Is not such a tool insignificant? Thank you. Yes, which library can you link to? , You can create a PKG-config file that will allow you to run the 'pkg-config-cflags' to obtain compiler flags or 'pkg-config -libs' to get the linker libraries. If you are on Linux, then some examples. To find PC files, try looking in / usr / lib / pkgconfig, wh

objective c - iPad App design decision -

I would like to develop a reader app that connects and adds ownership format documents. Documents are 2D (Some cool pages can add flip effects) The interface is similar to Mobile Safari, I'm trying to decide whether to write it in Quartz 2D or OpenGL or not. I have no experience from either of them any suggestions? If you do not have any prior experience, learning from OpenGL will be very easy and a reader For the app, OpenGL is most likely, anyway, unless you really need to do heavy rendering.

windows - command line tool text output -

I have a small command line tool and after running it, I want to display the text output in that way It's easy to copy / paste a person and save it or email it to someone else. Copy / paste from the command prompt is not done in standard way, so I do not want to copy / paste people from the file, it is possible to save the file to disk, but in the folder where the tool is located. Can not have access rights, so the user must configure the output file location (this can be very difficult for some users). I was thinking of launching Notepad with some text in it, originated from the command line tool. Is this possible? any other suggestions? you can use after your clip, which is given above Can be downloaded from the link, you use the pipe (|) command to copy the output of the previously executed command to the clipboard. Full details, but here are the basics with examples: dir / h | Clip - Copy the help book for DIR command in the clipboard tracert www.labnol.

c# - How can I place zeroes to the left of a given number to a maximum of 6 digits including the given numbers -

I have a method that receives the ID number and downloads an HTML website according to that ID. Generally, an IMDB link is like this: http://www.imdb.com/title/tt0892791/ http://www.imdb Com / title / tt1226229 / http: /www.imdb.com/title/tt0000429/ They all follow 'TT', then 7 digits, fill the left spaces Points due to lack of points for > How can I use C #? I'm kind of stumped. Here's my method: /// & lt; Summary & gt; /// Find Movie Pages Using Your Exactly IMDb ID /// & lt; / Summary & gt; /// & lt; Param name = "id" & gt; IMDb Movie ID & lt; / Param & gt; /// & lt; Returns & gt; Returns an HTML document with the source code. & Lt; / Returns & gt; Public HtmlDocument ByID (string id) {string url = String.Format ("http://www.imdb.com/title/tt{0}/", id); HTML document page = downloader.load (url); Return page; } Thank you very much for your time, and if you are interested in he

c++ - How to use an overloaded function as an argument of function template? -

I think everyone has the experience of working with a code as follows: zero fun type1 & amp; nbsp;); Zero Funny (Type 2 & amp;;); Of vector & lt; Type 1 & gt; Vec; For_each (vec.begin (), vec.end (), fun); Of course it will not be compiled because it is not clear which function will pass. And what is your commonly used solution to the problem? I know this will work: for_each (vec.begin (), vec.end (), (zero (*) (type 1 & amp; )) Fun); But no better idea? Using a solution template function: Lt; Typename T & gt; Zero Fun (T & amp;); // Funny for Type 1 and Type 2 ... for_each (vec.begin (), vec.end (), joy Better method is to use functor with template operator () : struct fun {template's ; Typename t & gt; Zero operator () (T & amp; Const; }; ... for_each (vec.begin (), vec.end (), fun ()); // T operator () will automatically be deducted

NSURLCredential not working for synchronuos request in iphone -

I am using synchronous request and passing credentials, but I am getting an authentication error in reply. Below is my request code and response to server. Requests: - NSURLCredential * userCredentials = [NSURL credential credentials with user: @ "username" password: @ "passwad" firmly: NSURLCredentialPersistenceForSession]; NSURLProtectionSpace * space = [[NSURLProtectionSpace alloc] initWithHost: @ "http://webaddress.inc.com" Port: 80 protocol: @ "http" realm: @ "webaddress.inc.com" authentication method: zero]; [[NSURLCredentialStorage Shared Credential Storage] Set Credential: User Credentials for Protection Space: Space]; NSMutableURLRequest * urlRequest = [NSMutableURL request request with: URL: [NSURL URLWithString: @ "http://webaddress.inc.com"] Cash Policy: NSURLCacheStorageNotAllowed Timeframe Interval: 30]; NSURLResponse * response; NSError * error; NSDT * Return Data = [Send NSRR Connection Synchronous Req

iphone - Adding a customized keyboard in SDK 4.0 -

Hello all I want to add my own toolbar with the button above the keyboard so that I have to customize my keyboard. I want to do this, but I also want to do this on 3.0 4.0 Please guide me how can I thanks in advance If you are using UITextView or UITextField So, use the inputAccessoryView attribute. You can create a view in the interface builder and link it, or you can create visual programs. Here are the links to the document:

windows - Restarting IIS6 - Python -

I serve a Django app behind IIS 6 . I am thinking that I can do restart IIS 6 inside Dragon / Django and what is the best way to do it. Help will be great! In addition to what has been suggested previously, you either class or through its medium , Which is derived from it, a Python WMI is available, which is based on that. Update: A quick check of the below works for me. C = wmi.WMI (): service, service =top.service () for service import wmi C.Win32_Service (name = "W3SVC") I did not test the next piece of code, but anything like this should work: for service in c.IIsWebService (): results, = service.StopService ( ) You can see and documentation for returns values ​​from methods.

c++ - SendMessage (F4) fails when sending it to window -

Working with Visual Studio 6 (VC ++ 6.0) I am using an ActiveX datekeeper control which I failed to show extended by default (). Alternatively, I'm trying to send a keyboard message (F4) in my window to open the control, but nothing happens ... // try 1 : Standard Use Window Handle LRESULT = Result Message (m_hWnd, VK_F4, 0, 0); // Try 2: Use only SendMessage results = SendMessage (VK_F4); The result is always 0 - What can I do to send / test messages? Thank you in a lot of profits ... Oli < P> VK_F4 is a key code, window message is not tried: :: Send message (m_hWnd, WM_KEYDOWN, VK_F4, 0); :: SendMessage (M_Handund, WM_KEEUUUP, VK_F4, 0);

sql - Why doesn't the OFFSETS function respect docid condition? -

Why does select from where offset data = 1 and Data match 'word' take the same time as Select data offset (data) data where data match 'word' And how can I work it fast, that is, for a record? Thanks!

c# - Is it possible to integrate Nokia connectivity API with asp.net? -

Is it possible to integrate the Nokia Connectivity API with ASP.NET? If so, how to get started? Any good reference ... Get started by visiting the Nokia website:

c# - Convert Int List Into Integer -

It's a bit of a weird case that I should accept, but I find a brief and elegant way of converting I'm trying to get a list & lt; Int & gt; For example, if I have 1, 2, and 3 entries in my list, then the final integer will be 123. For example in an actual int I thought about doing so that the only way is to convert the array to string and then parse the string. Any hint? Repeat the list, such as adding a sum, but the total number of times running in the total is 10 in each step. int total = 0; Foreach (entry entry in the list) {total = 10 * total + entry; }

javascript - Downloadable HTML Test Corpus -

I'm working on a browser plug-in for Firefox, and I want to be able to do some automated testing Make sure that it is controlling a variety of different HTML / JavaScript features correctly. Can anyone know of a good downloadable corpus of HTML and / or JavaScript pages that can be used for such testing? In 2009, Torrent files with 14 GB HTML publishes.

algorithm - Given the lat/lon of 2 close points on earth (<10m), How do I calculate the distance in metres? -

I have the latitude / loan of 2 points on the Earth, they are actually close together, I know about equipment (postgis, etc.) that can do it correctly, although I am just doing a thick and ready type, and I am fine with less accuracy such small The difference in size of 1% is only 10cm, which is fine for me. I'm doing this in stock python I am fine with a standard Euclidean distance object. Here is a JavaScript implementation that I have referenced earlier:.

Codeigniter PHP multiwindow issue -

Issue occurs when user opens multiple windows In my application, when the user clicks on project information, then the project The ID will be stored in the session variable and save it will be avoided against the project. But if the user opens Project 2 in Open Project 1 and a separate window, then a problem arises, when users who save on Project 1 click. Saving it to project 2 To solve this problem, HP You have a design error PHP sessions are meant to store data, which should be preserved in later reach. I.e. page language or user login status. The correct way to pass the ID for all your controllers is using the URL or you can also use DB in GET / POT methods but I do not think it fits well is.

tfs - Visual Studio: How do I get a list of files in a project affected by a given changeset? -

Given the number of changes in the Visual Studio Team Foundation System 2008, it is an easy way to find out which files / solutions in my project were edited in changeset? Right-click on the source file at the time of a change, and select View History. The History window will open, and will show you all the changes to that file. Double-click the changes, and you will see a list of items changed in those changes.

python - What are good uses for Python3's "Function Annotations" -

Function Annotation: I took part in a snippet of the display code of the function annotation of Python 3. The concept is simple, but I can not imagine why it was implemented in Python 3 or was used well for them. Maybe SEO can highlight me? How it works: def foo (a: 'x', b: 5 + 6, c: list) - & gt; Maximum (2, 9): ... function body ... After an argument, everything after the colon is an annotation, and -> The function has an annotation for the return value. foo.func_annotations will return a dictionary: {'a': 'x', 'b': 11, 'c': list, 'return': 9 } What is the importance of getting this available? I think this is really great. Coming from an academic background, I can tell you that annotation has proved itself priceless to enable smart static analyzer for languages ​​like Java. For example, you can define words such as access to state restrictions, threads, architecture limits etc., and there are some tools

jQuery find by value -

शीर्षक और कुछ मान के साथ एक लिंक है: & lt; a href = "http://site.com/someid/" शीर्षक = "ctrl + & gt;" & gt; अगला & lt; / a & gt; इस लिंक को कैसे ढूंढें और href को कुछ चर पर डालें? "post-text" itemprop = "text"> var some_variable = $ ("a: [title = 'का उपयोग करें ctrl + & gt;']")। Attr ("href") < / Code> jQuery के चयनकर्ताओं की जांच करें: यहां एक उदाहरण है:

vb.net - Web Service appears as website instead of developer web server -

I recently recycled my PC and once again in our solution from one of our source projects, we have a web Service that usually runs on a server, but we can also create webservice on our local host for debugging. However, nowadays I am creating this webservice as a website instead of developer web server when I save this source from source. It does not have different types of issues, especially I am not able to specify which port I have to use that webservice, as a result, I do not connect to my database through my local webservice can. How can I change this project in my solution that governs the webservice from a website on the developer web server? The project is using these technologies: MS Visual Studio 2005. MS Visual Source Safe 2005. MS SQL Server 2000. VB Net Project Editors: This is just an explanation, I have made a comment below: To further clarify, a solution involves several projects: a project is a web application Which means that there is a web servi

Problem applying data annotation in asp.net mvc2 -

There is a problem in trying to implement data annotation In my case the controller is crossing FormCollection < / P> [http post] Create public functions (string buttons, formulas collection) {if (ModelState.IsValid) {} ​​else {}} and Always in the ModelState.IsValid status is the correct value. Although I left some blank fields in the scene, EnableClientValidation () is also not implemented for View of Client Side Verification but also. What can be the problem Your view must be typed strongly, and in the parameters of your Create Function There should be no object holding your model, not a generic formclation, so if you have a model of my name that you have annotated, then you should be in the form of that parameter. Otherwise, how would a model binary know which class should check its form against?

x86 - Can a WoW64 process create/fork/etc pure x64 process? -

I want to call a 64 exe call from 86 process / exe, for example: itemprop = "text" Li> Open 86 cmd:% windir% \ syswow64 \ cmd.exe Notepad notepad: notepad.exe & lt; - It will be 86 notepad (according to taskmanager = *) Is it possible to execute x64 cmd from x64 notepad? My problem is that the process I am performing is to be run as x64, I do not want to work as x86 (wow) because it works differently ... similarly programmed and I <\ P> many thanks / p> Y B Yes, it is. Before you can launch Notepad you will need to turn on. To get the correct execution to start the sequence, turn off the WOW64 redirection EDIT: Now you have been clarified that this is actually Notepad, but its own 64 bit executable, this code is a Launch as a true 64 bit process: STARTUPINFO C; PROCESS_INFORMATION exemplary; ZeroMemory (& amp;; Exemplary, sizeof (PI)); ZeroMemory (& amp; amp;;; c; sizeof (C)); BResult = FALSE bool_t si.cb = sizeof (ST

ack misses results (vs. grep) -

I'm sure I am misunderstanding / defaming ack's file / directory, but maybe someone It can put some light on me: mbuck $ grep logout -r application / view / binary file app / view / share / ._ header.html.erb.bak.swp binary The file app / view / share / ._header.html.erb.swp matches the app / view / share / _header.html.erb.bak: & lt;% = link_to logout_text, logout_path, {: title = & gt; Logout_text ,: class = & gt; 'Login-menu'}%> Mbuck $ ack logout app / view / mbuck $ while ... mbuck $ ack -u logout app / view / binary file app / view /shared/._header.html.erb.bak.swp Binary File App / View / Share / ._. Header.html.erb.swp Match App / View / Share / _header.html.erb.bak 9 8: & lt;% = Link_to Logout_text, logout_path, {: title = & gt; Logout_text ,: class = & gt; 'Login-menu'}%> Calling without just ack , the result can not be found in the .bak file, but calling with -Applified Options can get results as far a

api - Importing owl files -

I have a problem importing Oval files using Oval API in Java I have successfully imported 2 OWL files However, a problem occurs when I try to import 3 or more OWL files which are integrated for each other. Base. OWL - Base Autology Electronics . OLL - Electronics otology which base oval telephone Owl imports - Telephone otology which base Oll and electronics import OOLL When I just import base.owl and run electronics, it works smoothly. Code is given below: file filebase = new file ("filepath / base.owl"); File file = new file ("file path / electronic."); IriMapper on Simple Iriti = New Simple IIRM (Create IRI ("url / base.owl"), IRI.Credit (filebase); Ollantology Manager Manager = OWLManager.createowLOntologyManager (); Manager.addIRIMapper (iriMapper); Ovlontology ont = manager.loadOntologyFromOntologyDocument (FileElectronic); However, when I telephone. I want to load the OLL, then I just connect the manager to an additional eriimapar. A

objective c - Making 1 UITableView scroll to the same row as another UITableView -

There are 2 UITableViews on my screen. As the user scrolls 1 ... I need it to scroll the other 1 up to the same line. I think I need to find a "tableViewDidScroll" method ... and somehow the "Zorov displayed" value is detected ... and then the second table view " Help! (Edit: Both tables will always have the same number of rows) If you have the same height of rows in your tables, you can use the UIScrollView methods to set the content directly. copy Fund table scrollwidthscroll: Apply for both tables. To set the content offset of other table for match to set you should track while setting offset to avoid unnecessary calls. ScrollView: (void) scrollViewDidScroll: (UIScrollView *) scrollView {if (scrollView! = Table backtrack) {if scrollview == table1} {tableBeingScrolled = Table2; Table2.contentOffset = table1.contentOffset; table backs Scroll = null; } If (scrollView == Table 2) {tableBeingScrolled = table1; Table1.contentOffset = table2.con

asp.net - SiteMap RootNode, get all child nodes where rootnode = "Home" -

I want to write that I will get all nodes for each statement where Routine = "Home" < P> It is that I have done so if (topLevelNode.Title == "Home") {var topLevelNodes = Sitemap ......} foreach (TopLevelNodes in SiteMapNode node) {...........................} if (topLevelNode.Title ==" home ") {var results = header_node. ChildNode; }

dojo - dijit style claro not in Google CDN -

The Dojo theme tester theme is showing Claro as an available theme, but chloro is not available from Google CDN. I have also tried to use Claro from where the themetester is pulling. But the layout does not look the same, but it looks broken though my only code works with other themes Clara will be officially released with Dojo 1.5 (now in RC). Unless it is released, it will not be available from the CDNS & mdash; Only the official releases are pushing for the CDN just wait a bit, and you will be able to use it from the CDN. The theme tester pulls Claro from the test server using optimized build for debugging and is therefore slow. Please do not use it for any of your codes. Instead use local copy.

css - Can someone help explain how the css3 calc() method actually works? -

I am working on a library that converts CSS 3 methods into CSS 2 is. A difficult part is math. The proposal of the CSS 3 (Calc) method blows my brain too much .. I make parax / split / subtract / multiply from EMS or any other fixed unit Enabled, but I do not have any clue how to add 10px to 60%. Say that you have variable setup: $ width1 = 10px; And $ width = 50%; Width: Is there any way to do this kind of mathematics so that fixed width values ​​can be applied to older browsers? Maybe CSS expression is being used as Fallback? With my best guess, you can not do that because CSS3 added that functionality, Because CSS 2 could not do it on its own. There are many CSS frameworks that add functionality as far as unit conversion occurs, you have to make a decision about your priority using your example: $ width1 = 10px $ width2 = 50 Assuming (for this example) a 500px screen, if you take the percentage priority, you will first have a block that is 250px, in which you a

java - How to update a TextView on ButtonClick with Spinner(s) values -

I'm trying to populate a TextView based on the currently selected options in 3 spinners but cant find out This is how to bring the updated function together to retrieve the values ​​selected from the spinners. Here is my current code (quite messy but I am just learning Java), Public class extends ageFun activity {private string [] dayNames; Private string [] years old; Personal Final Static Int START_YEAR = 1990; Private static textview text disp. Personal Button Calcubutan; Private spin spinner, spinner year, spinner month; Private statue array adapter & lt ;? & Gt; Month adapter, day adapter, year adapter; Private int year, month, day; /** Called when the activity is first created. * / @ Override Crate on Public Zero (Bundle Saved Instantstate) {Super. Contents (Saved Instantstate); SetContentView (R.layout.main); Year = 2000; Months = 1; Day = 1; TextDisp = (TextView) findViewById (R.id.textView1); Calcbutton = (Button) findViewById (R.id.button); CalcButton.setOn

php - Snow Leopard mounted directory changes permissions sporadically -

I have an SMB mounted directory: / Volume / MyShear It's mounted through Finder "Connect to connect server ..." smb: // myservername / myshare Everything is fine so far. However, when I try to access the directory through PHP (Apache is running in), then fails with permission, about 10% of the time is declined. This means that sometimes my failure to access my page is a failure, my php page looks like this: & lt ;? Php $ cmd = "ls -la / section / 2> and 1"; Exec ($ cmd, $ execOut, $ exitcode); Echo "& lt; PRE & gt; Exit code = $ exitCode & lt; BR / & gt;"; Forex currency ($ execution as $ line) {resonant "$ line"; BR / & gt; ";} Echo" & lt; / PRE>; ";? & Gt; When it is successful, it looks like: Remove code = 0 total 40 drwxrwxrwt @ 4 Root Administrator 136 June 14 12:34. Drwxrwxr-t 30 Root Administrator 1088 Jun 4 13:09 .. drwx ------ 1 Galen Staff 16384 14 Jun 09:28 mys

Placing paged documents in an Indesign file -

I am referring to an InDesign file with several pages in another InDesign file. When I put it, then select the import option and I select the page of the original document that I want to show. My problem / question is that if I insert a new page anywhere in parent, but the link created in the child document at the end of the document (beginning or middle) is collapsed under one . Instead of adding the page to the original document instead of the Ie, InDesign is linked to the page number. Is there a way to avoid this incident or am I finally trapped in the parents' documentation on new pages? I am currently using Adobe InDesign CS4 Thanks in advance!

How to set C++ environment variable in Linux ubuntu? -

I just installed Ubuntu on my virtualbox on Windows. I was trying to install semiconductor and installation in the CMK website, the guide asked me to do the following steps: ./install from bootstrap But when I just did .bootstrap command I get the following list of errors, can someone suggest me how to set the C ++ compiler on my system I can do As I have just installed Ubuntu, C ++ is not currently set up. Please help. CMK 2.8.1, Copyright 2000-2009 Kitware, Inc. This is the C compiler system: cc CMake error during bootstrapping: This system can not find the appropriate C ++ compiler. Please specify one using the environment variable CXX and use one. Please try cmake_bootstrap.log to try the compiler. Log errors: /home/vikboy/downloads/cmake-2.8.1/Bootstrap.cmk/cmake_bootstrap.log install sudo apt-get build-necessary / html>

Asp.net mvc html melper -

I have found this function as an html helper, which should write the javascript function on the page, The page will call it & lt;% HTML.RenderBaseUrlScript (); %> My problem is that the script is never written on the page, I search in the source and can not see it anywhere, I have to take it from head to body of html Have tried the main page, I am really confused as to why it is not working, please help public static string RenderBaseUrlScript (this HtmlHelper helper) { return string. Format ("& lt; script type = 'text / javascript' & gt; $ .url = function (URL) {{ Do not '{0}' + url;}} ", GetBaseUri ()); } Try: & lt; % = Html.RenderBaseUrlScript ()%> Note = Icon and no semicolons. Since your HTML helpful method is not written directly to the response stream (which is good), you must actually call response.write () on the output of your function. & lt;% =%> Tags Response Deed () . If your helpful method

java - Does Hibernate log the values that it assigns to placeholders in prepared SQL statements? -

Do the hibernate logs that provide placeholders in the generated SQL statement? How can I configure Log4j so that it writes these values ​​in my log file? yes it does this chapter) Activate the logging of the following categories: log4j.logger.org.hibernate.SQL = DEBUG log4j.logger.org.hibernate.type = TRACE

c++ - telnet client connection stops receiveing data, server is still sending -

I am working in an embedded Linux environment. It launches a Telnet daemon which runs on startup, a program is launched at a particular port and when a connection is received. i.e. telnetd -l / usr / local / bin / PROGA -p 1234 PROGA- Some data on irregular intervals Will produce. When this data is not output, every X times it sends a 'heartbeat' type of string, so that the customer will know that we are still active, i.e. "heartbeat \ r \ n" / P> Time after the random amount, the client (use the linux version of Telnet: has been started by telnet xxx.xxx.xxx.xxx 1234) 'heartbeat \ r \ N ' will fail to get the data client sees: the heart's heart Heart beating heart beating ... heart beat [Nothing, heartbeat should be received] [nothing] Heart beats sent: result = print ("% s", heartbeat); Checking the result, it is always the length of the heartbeat . Logging in Syslog shows that printf () is executing at the

php - Concatenation Operator -

This can be a silly question, but it hit me, and here I ask. & lt ;? Php $ x = "hi"; $ Y = "There"; $ Z = $ x $ Y; $ A = "$ x $ y"; "$ Z" echo "& Lt; br / >"."$a"; ? & Gt; $ z uses the traditional concatenation operator provided by PHP and concatenates, the contrast is not $ one, My questions : Does this affect performance, without using the operator? If this does not happen then the insertion operator is not at all. When someone works, why two methods of implementation? Just a little bit, because PHP The entire string has to be parsed in search of the variable, whereas with cocktiness, it slaps two variables simultaneously, then a small display is a hit, but for most things this is not noticeable. Adding variables such as $ _ server ['DOCUMENT_ROOT'] using the concatenation operator (with quotation marks, you have the variable in brackets Must be enclosed or the

c# - VS2010 - How to automatically stop compile on first compile error -

{rant} First of all I would like to say that this is not a duplicate I asked this question first It is, but when it is not, it is closed as a duplicate. This question VS 2010 and respond to the so-called duplicate work in VS 2008, but not in VS 2010 (at least for me or none). So before you stop something as a duplicate, read about the question about yourself carefully and try answer for yourself and see if it actually Works in or not. Sorry for the rant but there is no clear way to contact the SO Police, who stops this issue or it is opened again. {/ Rant} At work we have a C # solution with 80 projects. In VS 2008 we use a macro to prevent compilation as soon as the solution is to build a project (See this question for several options for VS 2005 and VS 2008). Is it possible to do VS 2010? What we have found is that macros do not work in VS 2010 (at least I could not work them) as it appears that there is no fire in environmental events in VS 2010. The default behav

sharepoint - Do people create and use Web Parts connections? -

I am writing some SharePoint Web Parts which are connecting (as providers and consumers) I have many difficulties, and (Comparatively *) from the Web with small books, books or from Microsoft.com, which is quite amazing because the Web Part has been since 2003. It seems to me that although the Web Part connection looks like a first-class feature in SharePoint, some people in practice write to add web parts, and some sharepoint users use it. Is that the case - some developers write to add web parts, and some users use them? * Comparatively: A subjective effect With each specific problem, I usually find only a handful of web pages that address it, and my problems start to be original (i.e. data in iWebPartRow To wrap the type), I hope there will be a lot more search results. For some reason I rarely do anything with Web Part connections ... As you mentioned above, there are little documents and they are painful for implementation overall Our users are not usually configu

non reference-counting dictionary in objective-c -

Is there a simple way of pure purpose-containers, such as NSMutableDictionary or CFMutableDictionary, which does not increase C ++ Reference count of added items without using standard library? Edit: Explanation - The reason I want it to be that I can implement a type of "absolutely one" pattern - a stable GetThing in a class: (NSString *) name method if that method In some static data structures (non-reference-counting dictionary), there is something related to the name, then it takes it back, otherwise it makes one, it adds to the structure under that name, and returns it that item To customer It can be maintained as per wishes, but when its reference is counted on 0 (and called Delok), then it should be removed from the dictionary. Thus, when I delete it while adding it, then it is released Can not do- Delok will be called again, and I do not want that. This is the reason why I need a non-incremental dictionary if there is another way to get what I want, please let m

How do I detect whether the current accessibility setting in the OS -

To support the accessibility requirement, locate the Accessibility settings to modify the UI in Run-U I would like to know how can I find out that the OS is currently in high differential mode and what is the current font size setting. Thank you very much. Your best bet is going to allow your users to select their own topics And then make a lot of them Usually, most of the OSs do not have accessibility information similar to that, and there are lots of methods that allow users to fulfill their needs Can adjust that "normal" OS Accessibility capabilities (such as limiting the number of colors on their display) or

CSS Margin/Padding Issue on Browser Zoom -

I'm having trouble showing my page properly in various browser zoom settings If the user is zoomed in on the page, the content is aligned, but once they zoom too much and refresh the page, or if they are zoomed in and loads the pages , Then the content pane gets transferred. This is not a problem in Firefox, but it is a very serious issue on Chrome / Safari / Eye Explorer and iPad. Regardless of user content settings, what can I do to load the main content in the right position? Thank you, blank all your CSS Define values ​​in Percents so that they are relative to each other The problem occurs when the browsers adjust the pixel value and leave a few digits here and there.

msbuild - Problems with builds on TFS 2010 and resolving dependencies -

I have a project that works great on my machine (and production server). This is a VS2010 running C # project 3.5. When my build server creates a solution, it can not resolve some of my third party DLL pairs. Error message: C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Microsoft.Common.targets (1360,9): Warning MSB3268: primary reference "Third.Party. Assembly , version = 50.11.2.0, Culture = neutral, Sarwajnikkitokn = 056la7c6dbd6f0ea, Prosesrarchaikteccr = MSIL "could not be resolved because it outlines the indirect dependence on assembly" MicrosoftkVisualBasickCompatibility, version = 8.0.0.0, Culture = neutral, Pblikkey Token = B3 f5f7f11d50a3a "which is not currently resolved in the targeted framework Could not go. ".NETFramework, version = v3.5". To resolve this problem, either remove the reference include "Third.Party.Assembly, Version = 50.11.2.0, Culture = neutral, PublicKeyToken = 0561a7c6dbd6f0ea, processorArchitecture =

IPhone .sqlite file place -

How do I change the .sqlite file in my directory structure? Now it is in documents, but I want to put it in library / preferences. Can you help me Assume that your code contains something like this: [NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, yes) lastObject]; Try changing with NSDocumentDirectory to NSLibraryDirectory I'm not sure where and where you are allowed to write files there (Using unacquainted methods, of course).

asp.net - Why dynamically created HTML Input is Empty After Postback -

I add HTML and dynamically tag it on the page but after each postbost, all the values ​​are empty. What can you do to solve? Ensure that any control that you have added to the page is an ID, and that ID Only after posting back

security - Disabling javascript in specific block/div (containing suspect HTML)? -

Is it possible to disable the browser execution of the script inside block / section / element? My scenario is, I make my (future) users "using rich content" (using CK-Editor). Content that can be shown to other users later - with all the threats that show: XSS, redirection, identity theft, spam and what not ... I tried, What I'm really looking for is something like this: & lt; Div id = "userContent"> & lt; ScriptOFF> HTML Suspicious & lt; / ScriptOFF> & lt; / Div> Ideally, do not accept html / javascript from end users. If you are okay with that limit, then you need to make sure that you have the right reference accordingly. Do not re-invent the wheel, just use the existing library for that purpose. But if you have to accept HTML, then use the library or as it was actually created for this purpose.

Magento shopping cart gives out of memory error -

Serious error: Official memory size of tired memory size (tried to allocate 30720 bytes) of 33554432 bytes in home / ssmagnet / public_html / lib; < / Div> > Check your .htaccess file in the Magento directory and your value of php_value memory_limit is very low Give it a little bit. If you do not see a line like this, add it at the bottom of the file. A value that has been worked for me: php_value memory_limit 128M Hope that helps! Thanks, Jo

python - numpy calling sse2 via ctypes -

In short, I'm trying to call in Python Shared Library, more specifically, by numpy. Using CD2 instructions has been implemented in Shared Library C. Enabling optimization, that is, building a library with O2 or -O1, I am facing strange segfelt while calling in the Shared Library through CTIP. By disabling optimization (-O0), everything works as expected, as it happens when the library is directly linked to the C-program (not optimized or not). Attached You've got a snap that shows delineated behaviors on my system. With optimization enabled, GMB reports a segfault in __builtin_ia32_loadupd (__P) at emmintrin.h: 113. The value of __P is optimized. test.c: #include & lt; Emmintrin.h & gt; # Include & lt; Complex.h & gt; Zero test (const int m, const double * x, double complex * y) {int i; __m128d _f, _x, _b; Double complex __trate __ ((aligned (16))); Double Complex B __trate __ ((aligned (16))); __m128d * _p; B = 1; _b = _mm_loadu_pd ((* Double *) and B)

wordpress 500 - Internal server error -

I installed WordPress 2.9.2 a few days ago and it works correctly. Today, I want to use the Permalink feature of WordPress. I have to modify my .htaccess file on my site root. But there is no .htaccess file on my sub-domain root, so I create my .htacess file with the following on the sub-domain root (near the index.php file): < Code> & lt; Files .htaccess & gt; Allow orders, from all & lt; / Files & gt; Servers turn off & lt; Files wp-config.php & gt; Allow orders, from all & lt; / Files & gt; # BEGINWordPress & lt; IfModule mod_rewrite.c & gt; RewriteEngineRescriptBase / RewriteConnect% {REQUEST_FILENAME}! -f rewrite code% {REQUEST_FILENAME}! -D Rewriteul /index.php [L] & lt; / IfModule & gt; # END WordPress Options All-Sequence AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php But after saving this, I missed my blog and got an error : 500 - Internal server error After this I remove the .htaccess file, but it was

java - Android - Over 3g which ports to use and is TCP best connection method? -

As a communication method, TCP gets more data from 3G than many Android devices through many android devices The best way to get it? Are there also ports recommended for use for 3G data transfer? I want to refuse to use a web service mediator because I want this app to be decentralized. Cheers, James / blockquote> Looking at your "any web service" limit, 3G may be useless for many mobile carriers, NATs and related technologies Use, so to create a direct socket connection between the two devices Oi guarantee is not true to the same Wi-Fi - many WiFi router using nets, assign private IP addresses, except the direct socket connection without having to modify the router.

Ruby/JRuby and WEBrick serving requests one at a time -

How to force WEBrick to process multiple requests at one time? I am using some Ajax on my page which acts related to the long-running database and I can clearly see that the requests are being processed in a pipeline. If you use jaaryub, then glassfish gem (glass stripped server as gem ), See Trinidad Mani (the same thing using Tomcat), or Warbler (production files that you can run directly or deploy on any app server). The easiest way to employ a highly concurrent app on Ruby is JRuby, and it looks comparatively outdated compared to the C-Ruby option.

Save a tab in a jQuery Modal Window for future Display -

Long time reader, first time poster. I'm getting an issue which is coming from a lot of you, but I'm tie my head against it for a long time and I can not find any clue on the internet. As a total scroll with Javascript, I am trying to use JQuery.ui smartmodal windows (v 1.8.rc1) to display two football teams in two separate tabs. Like England in France and tabs (1) in tabs (0) When I open this modal window, the first tab (France) is always opened by default. Everything is fine until even here: I'm trying to improve this modal window, remembering that when the user reopens this model, the user will re-open it again Opening (despite default tab) was closed to reopen. Later on I'm already loading "selection and a jquery tab programatically» but without any success, and I'm slowly running out of choice (and time). Thank you for reading me, if you have any idea how I can use a SmartModel call in a parameter, which would be very helpful to me. Yo

android - How can i use RotateAnimation to rotate a circle? -

I want my circle image so that the user rotates in the form of a touch and drag it. If the user leaves it to the right, then he should spin right and vice versa. As you spin a DJ disk, if you know what I mean. I played a bit with ottaichlich and rotate animation, but I am not going anywhere. Any thoughts? Assume that you have ImageView mCircle , which you will rotate. Rotate it to RotateAnimation will use OnTouch method angle where the user determines the finger Example , following its main activity Work private imageView mCircle Private double mCurrAngle = 0; Private Double Empress Angle = 0; Override public null on @reate (bundle saved instainstate) {super.naught (savedinstenstate); SetContentView (R.layout.main); MCircle = (ImageView) FindViewById (R.id.circle); MCircle.setOnTouchListener (this); // Your activity should apply onTouchListener} @Override Public Boolean onTouch (see V, MotionEvent event) {last name XC = mCircle.getWidth () / 2; Last float yc = mCircle

activerecord - belongs_to with a custom class_name not producing proper foreign key in Rails 3 -

I'm updating Rail 3 to an app and I'm having trouble creating a custom foreign key. Is: class product & lt; ActiveRecord :: Base is_to: Owner, class_name = & gt; 'User' ... and Class User & lt; ActiveRecord :: Base has_many: Products ... End Class ProductsController & lt; ApplicationController before_filter: authenticate_user! Def Index = Products = Current_Uz. Products and End View: & lt;% - @ products.each do | P | -% & gt; & Lt;% = p.created_at% & gt; & Lt; Br / & gt; & Lt;% - end -% & gt; I get this error in my rail log: Mysql :: error: selection of 'clause' in unknown column 'products.user_id' Do `products`. Whereas (`products`. User_id = 1) should look at the related_to: owner and a foreign key is called Owner_id . I also tried to establish a foreign key clearly and it is not working. I probably tested the light for a train 3 bug but no luck. You must specify the foreign

Achieving High Availability for java webapplication -

What are the tools to get high availability for Java Web App? The main approach to using is not a device, it is called "quality software" - that means All your resources (including synchronization) should handle properly. There is something that you can use to distribute and scaling your system. But it is for huge applications. Anything is well-tested.

c# - How do I save data without using sessions for postback in MVC? -

I have 2 taxboxes and 1 requires verification. I have this setup with HTML. Legitimate display I want to keep the data that has been posted on the verification post. Instead the page gets refreshed and data is lost, which again records the data to the user. How do I stop without using sessions? Why do not you follow the pattern described in this blog post because technically postback technically exists Not a concept in ASP.NET MVC:

SQL Update Statement in MS Access -

This query is trying to work in MS Access. Update network. Location = enclave Location where enclave.Site = No Network and Alternative location = enclave Location where enclave.Site = Yes I'm not sure how to do this, what I want if the enclave site is not in the field and if yes, in place of the place in the alternative location, It means that it will store empty values ​​in the network space in that row, then the network location has store enclave space. Key field updates : Update the energetic enclosure on the network. Set the ID = Enclave.ID network. Location = enclave Location where enclave. Site = no and network Optional location = enclave. Location where enclaves Place = Yes update on network network Join the enclave ID = enclave.id SET network. Location = IIF (enclave.Site = false, enclave location, ""), network. Optional location = IIF (enclave.site = true, enclave location, "") Note: I found it & amp; It seems, it should wo

java - JTree keep expanding problem -

I want to keep my jTree file extended. I am using the code below to expand jTree: public zeros extension all (jeti tree) {int row = 0; Whereas (line & lt; tree.getRowCount ()) {tree.expandRow (line); Line ++; }} This works, but when I add to a new file or delete the file, how can jTree expand? To save the status of the extension in your own local variables and you can add Jaitari by adding your own Reset the extension from the local variable. Check

In asp.net (c#),storing value to database(linqtosql),sqlexception -

In asp.net (c #), I use linqtosql, in the table, I set the property of a field Isunique True. When the same value is re-inserted, then this error shows (exception) "Duplicate key line can not be inserted into the object 'dbo.student' with unique index ', exception to me Need to capture and display error message .. Sxlexness? Thanks in advance ... The easiest form of this is: Get the error {// code to try to insert} hold (SqlException ex) {// Get the error}

java - Using @Context, @Provider and ContextResolver in JAX-RS -

I am getting acquainted with implementing RAS web services in Java and I ran into the following problem. One of my resource classes needs access to the storage backend, which is far behind the StorageEngine interface. I want to inject the existing StorageEngine example in the processing class related to REST requests and I thought that a good way to do this is @Context annotation and a suitable contextualsolar class. This is what I have done so far: MyResource.java : class MyResource {@Context StorageEngine storage; [...]} In the StorageEngineProvider.java : @Provider class applies StorageEngineProvider ContextResolver & lt; StorageEngine & gt; {Private Storage Engine Storage = New Inomerative Engine (); Public Storage Engine getContext (class I automatically use the com.sun.jersey.api.core.PackagesResourceConfig to search providers and resource classes, and according to logs I'm doing this, the CodeEngineProvider raises the class well (timesta

java - Android OnTabChangingListener -

There is a set of tab tabbed in the Widgets tab, when the tab changes, but I need to run the code before the tab To validate the data entered, is it possible to change? I was thinking of using a click listener but it seems that it would be fair to detect clicks on the item and I still do not believe how you change the tab and show a message. I do not know before you can change the tab, you can check something, though there is an option. When the tab changes, check your, and if the data entered is not valid, change the content of the tab to display the message, or clear it and pop a message box explaining the error. From there, you can set up the dialog when it stops, set it to set the return tab to return to the int index tab, which is pointing to the input. Does that help?

standards - Are there any code libraries or languages with built-in support for Metric Time? -

I am looking for any implementation of the metric timing for Anglo-Babylonian time ( See article link) either in the form of a library or in the programming language. With all the "fun" programming languages, it is possible that someone has done this. PS I know that this is trivial. This question is for music. There is an UMT clock on the page you mentioned, and it's a good place to start the script Looks like it's too low and easy to read. It would be cake to translate it into another language. I somehow doubt that there are so many libraries, and almost certainly there is no language in it.

c# - How to debug silverlight applications? -

I need to find the code when the data is loaded. (VS2010 Silverlight4) & amp; RiaControls: DomainDataSource name = "domainDS" horizontal alignment = "left" vertical alignment = "top" QueryName = "GetPlanQuery" loaded data = "domainDS_LoadedData" & gt; ... & lt; / RiaControls: DomainDataSource & gt; In the back code: Private zeros domains: DS_loaded data (object sender, loaded data events E) {// break points will not be hit here] Any way to debug code has also been compiled into an XAP file and added to some page in another web project? I have all the project source code thanks. You should be able to debug the code via debug -> to process the menu item Attach, then search for iexplore.exe in the available process list. I have been caught several times with debugging because the list was not selected in the list to attach to the Silverlight (Process list attached to the above available Process Dia

wpf controls - Why does WPF toggle button pulse once unchecked -

डेस्कटॉप एप के अंदर मुझे एक टॉगल बटन होता है: & lt; टॉगलबटन x: नाम = "CFStglBtn" चेक किया हुआ = "cfsCBox_Checked" अनचेक किया हुआ = "cfsCBox_ अनचेक किया गया" इस्चकीक = "ट्रू" क्षैतिज एलाइन्मेंट = "वाम" मार्जिन = "5,0,0,0" & gt; & Lt; स्टैकपैनेल ओरिएंटेशन = "क्षैतिज" & gt; & Lt; छवि स्रोत = "आस्तियों \ टेलीफोन.png" मार्जिन = "3,0,0,0" / & gt; & Lt; टेक्स्टब्लॉक टेक्स्ट = "सीएफएस" फ़ॉन्टसिसेज = "10" मार्जिन = "5,5,5,0" अग्रभूमि = "डार्कस्लेट ग्रे" / & gt; & Lt; / StackPanel & gt; & Lt; / ToggleButton & gt; चेक किए गए ईवेंट के लिए मैं एक मान सेट कर रहा हूं और फिर एक विधि को निष्पादित कर रहा हूं FilterView (); // ओममीटिंग कोड अनचेक स्थिति केवल विपरीत है मेरे पास सवाल है कि जब मैं टॉगल बटन को अनचेक करता हूं तो बटन नाड़ी या फ्लैश (नीला से क्रोम तक जा रहा है) जैसे कि अब भी फोकस हो रहा है, जारी रहता है। बट

.net - System.ComponentModel.Win32Exception Message: Not enough storage is available to process this command -

Small to restart our server, can we continue this memory anyway and our website up and running Used to be. Below is a trace from Event Viewer An uncontrolled exception occurred and the process is finished. Application ID: / LM / W3 SVC / 17 / Root Process ID: 14352 Exception: System. Kanpainentmodel. Win32Exception message: This command MS.Win32.UnsafeNativeMethods.RegisterClassEx (WNDCLASSEX_D wc_d) MS StackTrace: There is not enough storage to process. MS32.MessageOnlyHwndWrapper..ctor Win32.HwndWrapper..ctor (Int32 classStyle, Int32 style, ExStyle Int32, Int32 X in (), Int32 y, Int32 width, height Int32, String name, IntPtr parent, HwndWrapperHook [] hook) System. On Windows.Threading Dispatcher .. on the practice () system. Windows threading. Dispacrkgetrant Dispacr () on ISC.MapDotNetServer.MapPrintSupport.BaseTileRequestorResolver.b__0) on System.Threading.ExecutionContext.Run (ExecutionContext ExecutionContext, ContextCallback system callbacks Throiding, object state). Th

sql - Oracle custom sort -

क्वेरी ... myTable से अलग नाम का चयन करें उन मानों का एक समूह देता है जो निम्न वर्ण अनुक्रमों से शुरू होता है ... ADL * FG * FH * LAS * TWUP * जहां '*' स्ट्रिंग का शेष हिस्सा है। मैं इस तरह से निम्न प्रकार से एक आदेश करना चाहता हूं ... एडीएल * लास * TWUP * एफजी * एफएच * लेकिन फिर भी मैं फ़ैशन द्वारा मानक आदेश में प्रत्येक नाम के भीतर सॉर्ट करना चाहता हूं। इसलिए, उदाहरण के लिए, अगर मेरे पास निम्न मान हैं LAS-21A TWUP-1 FG999 FH3 ADL99999 ADL88888 ADL77777 LAS2 मैं इसे सॉर्ट करना चाहता हूं मैं इस वियास को डीकोड द्वारा आदेश कर रहा था (blah) ADL77777 ADL88888 ADL99999 LAS2 TWUP-1 FG999 एफएच 3 ) डीकोड के अंदर कुछ तरह की प्रलोभन के साथ, लेकिन मैं इसे पूरा करने में असमर्थ रहा हूँ कोई अंतर्दृष्टि? नासमझ और वर्बोस, लेकिन काम करना चाहिए: उपस्ट्रैक्ट (नाम, 1, 4) = 'TWUP', तब जब 3, जब substr (name, 1, 3) = 'LAS' 2 तब substr (name, 1, 3) = 1 का चयन करें, Substr (name, 1, 2) = 'एफजी' = 4 जब substr (नाम, 1, 2) = 'एफएच'

c# - Handling return value from Web Service Call Wrapper -

I created this method below, which makes an HTTP call to a third party API, I want to have feedback on handling the way if the call fails, then only I need to return ExistsInList bool values ​​if the response is not zero. But in the last return statement, do I necessarily select any other response = Response == will not be empty? Incorrect: Select Response. Axis Innist; Like the previous return in the catches to check zero already? The way I am reaching it, it looks redundant and I do not know that I really am the last person but I say yes, because you always do not trust the response to give a valid response. Can, even if no mistake has happened. Public Stable Bull UserExistsInList (string email, string listID) {SelectRecipientRequest selectRequest = new selector request (email, listID); Select Respective Space Select Response = Null; Select {SelectResponse = (SelectRecipientResponse). Request Send configuration (); } Hold (exception) {return choice response == is empty? Inco

iphone - Interface Builder wont let me rename the "View" class name to existing Class -

I am following a book "Beginning iPhone Development", chapter 12. There is a section called quartzfuniv with i .h and .m files. If I double click on my blaViewController.xib file, then click on "View" and in the Inspector Identity Class (Class Identity) to QuartzFunView from UIView, my computer is just for the beep and UIView Remains in form I can convert the class to all UI .. I choose classes and any other random letter combination, not just quartzfnview. What am i doing wrong I am writing this as an answer because people do not have to read the comment for it. UIView to set that current class as QuartzFunView as the UIView as the identifier for any UIView should be of class> in Xib file

javascript - How can I append and execute a script inside an iframe in a cross browser way (specifically IE!)? -

Background: I need to load ad scripts after loading the dome. Because many scripts use the document. To run writing () and other potentially bad jobs after the DOM loads, I want to load the script inside an iframe. Therefore, when an advertisement is required to show, an event has started which does the following: var iframe = document.createElement ('iframe'); Iframe.setAttribute ('id', 'iframeId'); Iframe.setAttribute ('src', 'about: empty'); Var adContainer = document.getElementById ('AdContainer'); AdContainer.appendChild (iframe); Var val = '& lt; Html & gt; & Lt; Head & gt; & Lt; / Head & gt; & Lt; Body & gt; '; Val + = '& lt; Scr '+' ipt type = "text / javascript" src = "'+ url +'" & gt; & Lt; / Scr '+' ipt & gt; '; Val + = '& lt; / Body & gt; & Lt; / Html & gt; '; If I do not specify Val a

java - FileReader vs FileInputReader. split vs Pattern -

I'm working with a file with approximately 2g file line by line to find some specific conditions I want to read Can I use lied classes better: FileReader or FileInputStream? And how can I find specific words efficiently? I'm just using the partition () method, but I can use the java.util.regex.Pattern class with the java.util.regex.matcher class. So the questions are: Which class can I use: FileReader or FileInputStream? Can I use split method or regedx classes? Do anyone have the answer to this question? Location The best option would be to use BufferedReader readLine () method) by wrapping a FileInputStream (actually to read the file) by wrapping (for its ability to specify encoding): < / P> BufferedReader br = new BufferedReader (new InputStreamReader (new FileInputStream (name), encoding); Flemish uses platform default encoding, which is usually a bad idea, which mainly creates a network for developers Do not know about the problems being pr

c++ - Compiling a DLL which includes Ogre3D gives an assertion error when used -

I have a framework that I am building and compiled in a stable library used by other projects. Used to be. The library works totally without issues. The problem is that the link time for projects using the library is very long, so I thought I would create a DLL project of the same structure. I started with the steps of the child and created an MFC DLL project through Visual Studio. The project has the following headings: /// ------------------------------ - ------------- #ifndef OGRECORE_H #define OGRECORE_H #ifdef OGREFW_EXPORT #define OGREFW_DLL __declspec (dllexport) #else #define OGREFW_DLL __declspec (dllimport) #endif class OgreRoot; Namespace OGREFW {class OGREFW_DLL OgreCore //: Public OIS :: KeyListener, Public OIS :: MoleList (Public: Ogrecor); ~ OgreCore (); }; }; #endif // OGRECORE_H and this is the source #include "stdafx.h" #include "OgreCore.h" // include "Ogre.h OgreRoot.h" // # includes "OgreRenderWindow.h" // # incl

fluent nhibernate - FluentNHibernate: mapping a nullable int Version property -

How do I map a version property using conventions (such as ICLASAmpassment, Automaper Configuration)? Public intangible class unit {... public virtual int? Version {received; Protected Set; } ...} & lt; Class ... & gt; & Lt; Version name = "version" column = "version" generated = "never" type = "int 32" not saved-value = "0" /> & Lt; / Square & gt; Replace the version with an int? FluentNHibernate automatically identifies a property named "version" or "timestamp" as a variant field. Although it should be one of the few types (int, tall, timespace, byte []) See the version steps in the FNH source. You can customize this column with IVersionConvention (just choose which property is not your version). I saw that this facility may be already in the trunk.

How can I easily make a java application invisible to the user? -

I have developed a Java application, which is currently being run by double-clicking on the ".bat" file, which It does something like "Java-Georges Praozer" This app listens only on one port and writes a database, so there is no user interface (like window) in it. I need to run this application as a background mode, or it was a service, but I am actually nothing other than this. This is sufficient if the application is run in a manner that is not noticeable by the user, so that the user can not be disturbed and in such a way the application can not be stopped by mistake. By the way, it will run on a specific computer, so it's OK to order me to do manual configuration IR order. Also, I need this app to run at startup. Any help / tips about this? Thank you very much for your help in advance! Regards, Pedro java.exe Use instead javaw.exe and you will not find the console window. From to: / P> The javaw command is similar to Java, except tha