Posts

Showing posts from March, 2013

PDF to HTML in iPhone -

Is it possible to convert PDF pages into HTML format using any objective-c library? I want to enable text selection on PDF files. @swiecki approach is not valid for pdfs My suggestion is using CoreText Have to do and add an overlay on the pdf view. But this will be a long and difficult process, because you will need to parse the PDF to find the coordinates of each letter.

javascript - Center the DIV Element popup -

I created a page in my page, and it seems - ; Div id = "progressThrobber" style = "display: none;" & Gt; & Lt; Img src = "/ btweb / images / deskTopIconLoading.gif" width = "200" height = "40" /> Loading ... for & lt; / Div & gt; Now the function that appears as a popup on the page is below - function show progress (divId) {var divElement = document. GetElementById (dividing); Divlement.style.display = ''; DivElement.className = 'progressThrobberStyle'; Divlement.innerHTML = '& lt; Table & gt; & Lt; Tr & gt; & Lt; Td align = "center" & gt; & Lt; Img src = "/ btweb / picture / desktopIcon Loading .gif" /> & Lt; / Td> & Lt; / Tr & gt; & Lt; Tr & gt; & Lt; Td nowrap = "nowrap" & gt; & Lt; B & gt; Loading ... & lt; / B & gt; & Lt; / Td> & Lt; / Tr & gt; & Lt; / Tab...

asp.net - Compiler Error Message: CS1002: ; expected but there is a ; -

I am a PHP user and I have found an ASPX site with a problem. I have solved a problem but now have received the following error; Server error in the '/' application. Compilation Error Description: An error occurred during the compilation of the resources needed to serve this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1002:; Expected Source Error: Line 63: & lt;% - -%> Line 64: & lt;% Line 65: Dim MM.XSL Transform mm_xsl = New MM.XSL Transform (); Line 66: mm_xsl.setXML (""); row 67: mm_xsl.setXSL (server.mappath ("wpxsl_fp.xsl")); Source file: c: \ projects \ www_omfax_co_uk \ default_b.aspx Line: 65 Show detailed compiler output: Version information: Microsoft. NET Framework Version: 2.0 50727.3603; ASP.NET Version: 2.0.50727.3614 '' on this page is the code I am using; & lt;% dim MM.XSL transform mm_xsl = new MM.XS...

c++ - Throw (or correspondingly) on NULL function argument versus letting it all blow up? -

In the last large scale applications require high robustness and longer, I always for validating a pointer function argument when it was documented as "should ever be taped". I was throwing a std :: invalid_argument exception, or similarly, if the argument was actually zero in C ++ and error code in C. However, I am doing a crash dump file that appears - what seems to be - it may be better just to have an application that can be blown instantly on the first NULL indicator variation in the same function. To start And a thorough testing process will find bad function calls with a problem not will be found to be zero and letting the application blow, that indicator actually does not dereferenced in that function If it is stored for later use, then the reverse shock-out will be out of context and it will be very difficult to diagnose. Any ideas or best practices on this? Edit1: I forgot to mention that many of our codes are libraries for 3rd party developers, ...

android - Icon menu in application -

Image
I would like to show the mouse with the text under the icons under each icon in the icon. The entire activity should be filled just like the menu launcher menu. For example: I Want to choose from a set of options (static option) with user mouse I was thinking of a grid view, with buttons or images on it)? No problem, I got the answer . Or search Google for a gridview.

Can i have LINEFEED as separator in CONCAT_WS function of mySQL -

To obtain a set of values ​​separated by commas, type a mySQL CONCAT_WS () I am using the function. I need output to appear as a group of rows instead of a CSV How can this be done? Thanks, Chuck select CONCAT_WS ("\ n", "row1", "row2", "row3 "); & Gt; Line 1 row 2 line 3 Do you want to?

intermittent java.lang.LinkageError in Eclipse RCP - Equinox -

I am developing a project with a Equinox execution environment and I use cxf-dosgi-ri-singlebundle-distribution CXF I am using the bundle. I am running my tests within Eclipse RCP (Galileo) when I first started the program with the new CXF bundle when I first added, everything was fine. But in the second try I found a java.lang. The cxf-dosgi-ri-singlebundle-distribution bundle in the linkage sector. I have added some ad hoc "experiment" instructions, and there is a possibility of this problem. But later the linkgererer was again! Then I revised (manifest.mf with touch !!!) MANIFEST and program started correctly. The point is that Eclipse is able to start bundles correctly if and if I "touch" the manifest file of cxf-dosgi-ri-singlebundle-distribution, no one has experienced similar problem ? Thank you very much, Matteo Who can worry for this: I Completely removed and deeply created the workspace from the crawl and I had been using the CCF-Dossi-Re-Single...

Sql Parser in C# for syntax check Oracle statements -

I want to parse the code of the C # code. I want to check the fixed syntax of a file SQL, especially insert, update and delete delete. Is a parser specially available which can parse the SQL code in C # .NET? Better is freeware, source code included, and easy use. I use the Oracle You can try with it. You will find many grammar related to Oracle. Unrelated, is there a way to make "ready" statements without execution? This way you can have Oracle check syntax and then hold the last errors in your code. This will help you to leave the already existing duplicate functionality in Oracle. Not to mention the problem of handling changes between different versions of Oracle. Edit: Comment again about the examples of code: I used to use ANTRR in a nutshell and I used to find a lot of code examples on the Internet It was only a difficult time. The main source I found was that I now see that the author of ARNLR, Terrence Parr, has more information in the source code...

Total/texture accessible memory by DirectX/Cuda/OpenGL -

Can someone please understand the difference in textual memory as used in reference to queued, as in context Contrary to the texture memory used is DirectX. Let's assume that the graphics card has 512 MB advertised memory, how it is constantly divided into memory / texture memory and global memory ex. I have a Tesla card in which 64KB as Total Constmem and 4Gb as Total Globalmom, as quizzed by cudaGetDeviceProperties, but there is no variable which tells me how much texture memory is required In addition to this, how much "textual memory" is when delivering via DirectX graphics API? I do not have experience programming in these APIs, so I do not know what kind of memory they can use. But AFAIK, access to all the memory is hardware cached. Please correct me if I am wrong. After the reply of KoppeKTop: In case of CUDA and DirectX, what does shared memory function as automatic cache for texture memory? I think that having another H / W cache would also mean anyway....

ruby on rails 3 - CouchDB Database per Main Entity -

I am looking to implement the database for the main unit of the system in my application. I want to create and set up a database for this unit in the name of a property value. Like: for a CMS project, to create a couchdate database for each site. Please, as a rest and based on rail: I have the value of the property in the form of the form, so I can make the database and save the document in that database I am But in other ways, how can I get the documents (show, edit, update, delete) in And in the index method, how can be extended to that scenario Besides, how can I check that I have a database with the database that does not exist. Thank you, Shenoda Bertell You add a document to the main database on each site For example: {_ id: "site_sitename", DatabaseName: "db_sitename", and type in the form of the site name (with prefix, e.g., "Site_"), type: Site "} It is impossible to add two documents simultaneously _id so that you...

cron - Why using a cronjob in a cms/website? -

I am working on an existing CMS. We were wondering whether it would be useful to work with a chronobose. While thinking about this, we could only think of updating the search index for chronobos, so we do not know whether we should add a chronobose to our CMS ... What do you think ? Are you asking whether this would be useful or not, I think it definitely is something May be for works. After some droplets have been developed, I know that it uses chronboats for collecting feeds, caching pages, creating logs, and hosting a whole host of other things. For more detailed examples / explanations see.

Is it possible to query the system databases in SQL server without using the names? -

"postprint" itemprop = "text"> A query over multiple databases in SQL Server (2005+) I find it sometimes necessary to exclude the system database Taxes (master, model, tempdb, msdb and distribution) There is no other way to filter out these where the name is not ("Guru" 'model' in, 'tempdb', 'msdb', 'distribution') No, I've seen (sys.databases and master.dbo.sysdatabases!) [Update] which enabled me to logshipping databases Has used an example to query select d.name, p.last_backup_date, s.secondary_server, s.secondary_database the sys.databases left to join the outer d on p.primary_database P msdb..log_shipping_primary_databases = d.name be left waiting outside s.primary_id = not msdb..log_shipping_primary_secondaries s where the name p.primary_id ( 'model', 'guru', 'tempdb', ' Delivery ',' MSDB ') by D.name [Update] Does it feel' least bad ', unless s...

Service Broker And Web services -

I want to implement a Web service call a stored procedure (a service broker within infrasturture). I looked at some examples of the book of Assenbrenner on the service broker, though I could not find anyone with the web service call to help anyone? Thank you Sqlbs We did a similar job in our company and An optimum solution was to use asynchronous triggers with the external activator, which makes webservices calls from .NET and de-queues messages after a successful call. What it means is that you create a regular database trigger that sends a message to the service broker queue for asynchronous processing. Aka asynchronous trigger Here is a sample of the 10 chapters of the book Klause - trigger Create written with T-SQL TRIGGER announcement made by you on to customers as putting OnCustomerInserted @conversationHandle UniqueIdentifier announced @fromService SYSNAME announced @toService SYSNAME announced @onContract SYSNAME announced @messageBody XML set @fromService = '...

c# - WPF: Change background on some combobox items -

I am trying to change the background of some objects in a combobox which & Lt; ComboBox ItemsSource = "{Binding Path = Model.Names, Mode = Oneway}" SelectedValue = "{Binding Path = SelectedCompanyName}" DisplayMemberPath = "aka" /> This is that "aka" is saved in two different places (in company and in order) and if they do not match then we want to highlight it. I want to do something like this: & lt; Style & gt; ... & lt; DataTrigger binding = "{binding path = isMismatch}" value = "this is true & gt; SETOR property =" background "Any help is appreciated. & Lt; ComboBox width = "300" height = "30" itemsSource = "{binding path = Model.Names, Mode = Oneway}" & gt; & Lt; ComboBox.ItemTemplate & gt; & Lt; DataTemplate & gt; & Lt; Grid x: name = "templateGrid" & gt; & Lt; Text box text = "{name of binding}...

sql server - contains search over a table variable or a temp table -

I am trying to add multiple columns from one continuous table to a column variable, so that I can add one "Foo" and "bar") and results, even if it is not in the same column as the foo bar. However, it is not possible to create a unique index on the table variable, so anyone is included to run an integer index. Is there any way, dynamically, to add multiple columns and run one on them? Here's an example: Enter the ID: declare @ t0 table (id uniqueidentifier null, search_text varchar (max)) @ t1 table (id uniqueidentifier) ​​@ t0 (id, search_text) , Select the id from @ id id_table in f1 @ t0 in @ t1 (search_text, '' c ++ * '' and 'programming' '' ') You can not use CONTAINS on the table, which is not configured to use full text indexing Is gone, and this tale Security can not be applied to variables. If you want to use CONTAINS (unlike the less flexible PATINDEX), then you have to be the basis of the entire...

android - A question of time.. and how to manipulate it in java -

I have a question about working with Java over time, and more specifically in Android. I am developing a device to see if updates are made with a remote server today or not. So my code is as follows: calendar now = calendar.jistence (); Long millisecond = now. Get Timinimis (); Long_monit = millisecond% (86400000); Long checkpoint = (millisecond - from_midrite); However, when I change the date using the checkpoint variable: SimpleDateFormat formatter = New SimpleDateFormat ("dd / MM / yyyy hh: Mm: ss "); Last_logged_text = formatter.format; I get a one-time representation for 1 a.m. this morning. I know that this is something with the daylight saving time, but I am sure how it works around it. Any help has been greatly appreciated. thanks The reason for the era and now Different timezone is, effectively, thanks to DST, as you say. There is a better way to do whatever you want, now 'stop' time, leaving midnight last night. Calenda...

c++ - Calling CoCreateInstance during service startup -

I have a service of windows, which makes many COM + calls during the initial At least one service or driver fails during system startup. The problem in calling CoCreateInstance during the service startup may require other services to startup it and SCM in the state running To start waiting for the existing service, to start other services. Person will not. This solution is to ensure that service dependency is properly configured when the service is installed. > Another solution is to provide your COM objects with your The service does not have to start during startup logic. Startup logic creates a separate worker thread or at least one delayed / queued request itself, so the SC prefix can be started after the other services are started according to the requirement.

C++ variable declaration and initialization rules -

प्रकार सी : सी सी 1; सी सी 2; सी 2 = सी (); सी सी 3 (सी ()); सी सी 4 = सी (); क्या ये सब एक दूसरे के बराबर हैं, या इनमें से कुछ C की सटीक परिभाषा के आधार पर भिन्न हो सकते हैं? (यह मानते हुए यह सार्वजनिक डिफ़ॉल्ट और प्रतिलिपि कन्स्ट्रक्टर है)। इसका मतलब है: सी सी 1; // डिफ़ॉल्ट कन्स्ट्रक्टर सी सी 2; // डिफ़ॉल्ट कन्स्ट्रक्टर सी 2 = सी (); // डिफॉल्ट कन्स्ट्रक्टर का अनुपालन सी सी 3 (सी ()) द्वारा किया गया; // डिफ़ॉल्ट कन्स्ट्रक्टर संभवतः प्रतिलिपि निर्माता सी सी 4 = सी (); // डिफॉल्ट कन्स्ट्रक्टर संभवतः प्रतिलिपि कन्स्ट्रक्टर द्वारा नोट किया जा रहा है कि कंपाइलर कन्स्ट्रक्टर कॉल को कॉपी कर सकता है। क्या वे बराबर हैं? - ठीक है, यह उस पर निर्भर करता है जो कॉपी निर्माता और असाइनमेंट ऑपरेटर करते हैं।

eclipse - How Do You Focus The Android Developer Emulator? -

I have created an image button in Eclipse and I took part in it in an Android SDK package with the emulator. & lt; Selector xmlns: android = "http://schemas.android.com/apk/res/android" & gt; & Lt; Item Android: state_pressed = "true" android: drawable = "@ drawable / cat1" /> & Lt ;! - pressed - & gt; & Lt; Item Android: state_focused = "true" android: drawable = "@ drawable / cat2" /> & Lt ;! - Centric - & gt; & Lt; Item Android: Dragon = "@ Draubel / Cat 3" /> & Lt ;! - default - & gt; & Lt; / Selector & gt; Works with "pressed" and "default" mouse, but can you focus it? If you can not, do you need to simulate it on a real Android device? Use the track Ball or arrow keys to move between your ideas.

java - How to refactor this code -

I am currently reapplying some old code I used here to instruct on the best design patterns I am searching. I'm thinking about the pattern of the factory, but I'm not sure whether this is the best way to go. So here's a brief outline of the pseudo-horn, its main business argument in Class Foo. square fu {Private list & lt; Things & gt; Luggage; Private static integer count; // Doc. Setter {this.stuff = stuff; for content public fu (list & lt; items & gt; stuff); This.count = 1; } // The following 3 methods are: 90% equal public list & lt; Newthings & gt; DoSomeThingFirst () uses the // // catalog item and also increases static member count for each entry in the list & lt; NewThings & gt; } Public list on the basis of some situations & lt; Newthings & gt; DoSomethingSecond () uses the {// catalog stuff and lists & lt; NewThings & gt; Strengthen member count for each entry also increases. } Public list on the basis of s...

c++ - Simple recursion question -

मान लें कि हमारे पास एक साधारण पुनरावृत्ति है। int x (int a) { यदि (a & lt; 10) x (a + 1); और! रोक! ख ++; वापसी ख; } ग्लोबैली: int b = 0; मुख्य में हमारे पास ऐसा कुछ हो सकता है: int p = x (1); क्या पुनरावर्ती को रोकने के लिए कोई तरीका है ताकि पी 0 हो, इसका मतलब यह है कि "b ++" को कभी भी निष्पादित नहीं किया जाएगा। अगर आप मुझे इसके बजाय डाल करने के लिए कुछ प्रसार बता सकते हैं, तो मैं आभारी रहूंगा! STOP! लेकिन, मैं इस तरह कुछ नहीं चाहता, मैं बस recursion को बंद करना चाहते हैं, ब्रेक की तरह; थोड़ी देर () लूप में होता है ...: int ok = 0; Int x (int a) {यदि (a & lt; 10) x (a + 1); और ठीक = 1; अगर (ठीक == 0) बी ++; वापसी ख; } अगर प्रश्न के बारे में कुछ भी स्पष्ट नहीं है, तो बस पूछें। आप ऐसा क्यों नहीं करेंगे? int x (int a) {यदि (a & lt; 10) {x (a + 1); ख ++; } वापसी बी; } यह बात है, हालांकि, आप पुनरावर्ती रूटीन में एक वैश्विक को संशोधित कर रहे हैं, जो विशेष रूप से थ्रेसेफ और सुंदर मैला नहीं है। आप एक मूल्य लौट रहे हैं जो हमेशा श...

How to preserve the Content-Type header of a Tomcat HTTP response sent through an AJP connector to Apache using mod_proxy -

मुझे एक ग़लत HTTP प्रतिक्रिया सामग्री-प्रकार शीर्षक के साथ एक समस्या है जबकि एक एक्सिस 2 वेब सेवा एक AJP / 1.3 कनेक्टर के माध्यम से अपाचे के पीछे बिलाव में की मेजबानी की। मैं अपने RESTful इंटरफेस के माध्यम से ब्राउज़र में समस्याओं के बिना वेब सेवा का उपयोग कर सकते हैं और मैं परिणाम देख सकते हैं, लेकिन किसी भी तरह अपाचे प्रतिक्रिया बदल रहा है text / xml से text / plain कोड> सामग्री-प्रकार हेडर भेजा गया है और यह मुझे NetBeans में SOAP के माध्यम से वेब सेवा लेने से रोकता है, क्योंकि असमर्थित सामग्री-प्रकार: पाठ / सादे समर्थित हैं: [text / xml] अपवाद। यहां मेरे अपाचे vhosts कॉन्फ़िगरेशन का संबंधित अनुभाग है: & lt; VirtualHost *: 80 & gt; ServerAdmin me@myserver.example सर्वर नाम myserver.example सर्वर का other.myserver.example ProxyPreserveHost setenv पर बल-प्रॉक्सी-अनुरोध-1.0 1 setenv प्रॉक्सी-nokeepalive 1 & LT; स्थान / Axis2 / सेवाओं & gt; ProxyPass ajp: // localhost: 8009 / axis2 / सेवाओं प्रॉक्सीपैसेआरवर्स एजेपी: // स्थानीयहोस्ट: 800 9 / एक्षी 2 ...

java - Should I be concerned using AWTUtilities.setWindowShape()? -

I am using the AWTUtilities class in my code to create custom window sizes. As far as I know, there is no other way to do this. This is a requirement. The javadoc generation gives me this error: WARNING: com.sun.awt.AWTUtilities is Sun's proprietary API and can be removed in the future. What does this mean? I can use it, but can it stop working with any release? Why put it in, then? More important, and here is the real question, if the sun takes it out, do they take it to another place to do it in another way? What is this warning? I think I could only check the presence of the abutibus class before calling the code. But this is just unpleasant if I do not have to do this. Do anyone have any experience with similar classes? Did they eventually be accepted into the API and the warning was removed or replaced with the second method of doing the same thing? Do I need to worry about it? FYI, I have read it: Oracle says: Note: The com.sun.awt.AWTUtilities c...

objective c - How to have a plugin import UTI types -

I am working on a video sharing application that loads plug-ins in various places (YouTube, Twitter, Facebook etc.) Could. .) I have a plugin that reads in a custom file type. With some information about the video being shared, we call it a .foo file. That's why I have info on Plugin Bundle In the imported UTI type segment of the Plist, this FU UTI type is kept. If I understand correctly, the launch services are visible through Info.plist and when it opens, an imported and exported UTI type of an app registers How can I launch to register my custom UTI type when I load the plug-in? Is there an API call that I can register myself in the plug? I'm pretty sure there is no such mechanism that whatever app you want in your app open panel , And you can set up to accept any file from the launch services and you can reject unknown people on the runtime, but you can not register such types, for example, the searcher can App "believes" "plug-in types, but arbi...

sql - Declaring & Setting Variables in a Select Statement -

I am trying to write a simple query where I declare some variables and then in a select statement in Oracle I am using. I am able to do this in SQL Server with the first: announcement date @ date1 DATETIME SET @ date1 = '03 -AUG-2010 ' With the use of Visual U. (NOLOCK) where U. UTIUM & gt; @ Date1 The research I've done looks like you can not declare such a variable in selected statements. Is it true or am I doing something wrong? The research that I have done shows that you can see such variables in select statements Can not declare. Is it true or am I missing something? There are two different languages ​​within Oracle PL / SQL and SQL, which have two different engines. You can embed SQL DML inside PL / SQL, and from this You will get a variable. Note the following Unknown PL / SQL block as such that / is not a part of PL / SQL at the end, but SQL * plus tells to send preceding block. Announce date of v_Date1: = to_date ('03-Aug-2010'...

flex - Adobe BlazeDS Logo -

I am using blazads and I want to visualize it in a presentation. That's why I'm searching for a BlazeDS logo, I only get 4-5 matches on Google Images, like this: Is this official logo? And if so, where can I find an image with a better resolution? Thanks in advance! The official logo is here:

geolocation - Android - scripting telnet session for sending GPS tracks -

All, I am aware of the ability of fake GPS information through the use of emulator Geographical look late height command is connected through the emulator. What I want to do, is probably running a simulation on a different computer that should send latitude, long, height to the fake emulator on the Android device to think that it has got a GPS update. I get different solutions; It seems that the best solution is in pseudocode: is correct, if the status update was generated / received the open sub process and "echo" geographical right low loop height '| NC Localhost 5554 "Code> It looks like a big hack, though it works on Mac (not on Windows). Is this a better way to do this? (I'm ahead of time Can not generate the tracks and feed them as a route, the Android system is part of a real-time simulation, but as it is running on an emulator, there is no status update. Edit: The alternative method, perhaps more clean, is to use the Dragon's Tel...

visual studio - Expanded/collapsed state not saved after closing file -

In Visual Studio, you can expand and collapse code without using fields, for example code-back In the page you can abbreviate the methods etc ... And in an ASPX page you can erase the tags, tags and so on ... When you have a long page and you have a special part But if you want to focus on your development it is useful. The great thing about it is that you can close the file and open it again and the position of the expanded / collapsed block is saved as you left it. Except for an example, this state has not been saved for tags in ASPX pages, where it would be most useful. I know that there are some good plugins for VS but I do not know this issue. Has anyone found a solution? Before you mention custom control, they are not always convenient or possible when trying to keep a page short, and I solve this problem one by one. It seems that this problem will be unsolved at this time. I've opened a bug report on Microsoft Connect, if this problem is important to y...

python - How can I select and delete all (ctrl + shift + left arrow + del) with shell.SendKeys? -

Hey, I have been having some problems ... How do I delete an entire text ? From any area with sendkeys? How can I send Ctrl + Shift pressed with left arrow and delete the key later? Edit: For example, I have code that is part of ctypes.windll.user32.SetCursorPos (910,475) win32api. mouse_event (win32con.MOUSEEVENTF_LEFTDOWN, 0, 0, 0) win32api.mouse_event (win32con.MOUSEEVENTF_LEFTUP, 0, 0, 0) time.sleep (0.1) shell.SendKeys (inf_firstname) this Select part one field and paste the first name information (like macro), but I want Captain? What to do instead of Ctrl + A? Can you give a short example of the code that is not working for you? Edit: > it seems to me you can try to call SendKeys at the same time. It should be able to: shell.SendKeys ( "^ a") shell.SendKeys ( "{DELETE}")

Dwoo / codeigniter: Is there a way to assign data from php to dwoo vars INSIDE templates? -

शुद्ध दोहरे समतुल्य होगा: $ dwoo-> आउटपुट ('डूओटेस्ट / सूचकांक ', सरणी (' assignedVar '= & gt;' हैलो ')); (मैं फिलिर्जन की लाइब्रेरी के साथ वास्तव में इसे कोडिगनिटर के साथ प्रयोग कर रहा हूं): $ this-> dwooParser- & gt; parse ('दोवोटेस्ट / सूचकांक ', सरणी (' assignedVar '= & gt;' हैलो ')); तब index.php के अंदर {$ assignedVar} // आउटपुट 'हैलो' & lt; php $ localVar = 'LocalVar'; ? & Gt; {$ LocalVar} // आउटपुट: त्रुटि क्या टेम्पलेट के अंदर डीपीओ से डेटा पास करने का एक तरीका है? मैं इसका उपयोग क्यों कर रहा हूं मेरे पास एक ऐसा दृश्य है जिसकी जरूरत है कुछ प्रकार के प्रसंस्करण (यह एक उन्नत दृश्य है, इसलिए मैं हर बार नियंत्रक के अंदर प्रसंस्करण नहीं रखना चाहता), index.php के अंदर मेरे पास 'Index.h.php' // (संकेतन सी + + हेडर फाइलों से प्रेरित) की आवश्यकता होती है। उपरोक्त उदाहरण के साथ में, index.h.php $ नियत वर्क को संसाधित करेगा, और $ LocalVar में डेटा, तब डेटा का प्...

Android dynamic background -

I'm a new Android developer and there is a question about changing the background dynamically on runtime. What I want to do is set a background color in a LinearLayout tag, and later my activity changes the background color in the class. This code is not working below. Am I missing something or is it a wrong approach to trying to change the background color in a linear layout LinearLayout lv = (LinearLayout) findViewById (R.id.ChoiceLayout); Lv.setBackgroundColor (0x000080); Thanks in advance First of all I have noticed that your colors In alpha = 0x00 . Makes it transparent. Try changing to lv.setBackgroundColor (0xFF000080);

iphone - Getting [NSObject description]s for objects holding circular references -

I have an NSDictionary that has many objects in it, including the array of children NSDX, each of them in the @ "Parent" , which is the parent back in NSDition. This circular reference breaks the ability to inspect the object as a classic call: NSLog (@ "% @", [myDictionary description]); Would anyone be so good to recommend the workaround to inspect the object? Can you create the composition of your code on association and the dictionary Instead of relying on the description method, can you print the content manually? There is a big problem here, if you are adding an object to a dictionary in the dictionary to maintain its content, then it will be retained, and then if you use the dictionary containing the "sub" dictionary If you are adding, then retains his parents. This will likely be in the maintenance cycle and possibly prevent any object being deallocated. By "Arrow Coke Programming for Mac OS X" by Aaron Hilleagless...

cocos2d iphone - Box2D and sonic-like physics for platformer -

I am working on a platform for the iPhone which is using Box2D and cocos2D. I am trying to find a way to create a behavior similar to my controlled character, as is found in Sonic Hedgehog Games, but want to keep using Box 2D Physics Library because I Conducting projectiles and some level objects according to realistic physics is some situations related to controlled conditions (Jump, Barringling in objects D). The main issues that I am running are characterized on the earth, from when contacting the ground by going to convex curves and maintaining emotion, unless there is no significant distance from it. Is performed. When I want to react only to the character on the left and right commands on the ground, but if there is a slight decrease, my shape is the habit of leaving the ground, as the reaction time is delayed for a while unless we reinstall it. Apparently there is no separation, but it is enough to change the situation on the ground or not, besides the character "th...

C# Language updates -

How frequently the C # language standard has been updated and what is the current version? There are no ECMA / ISO standards for C # 3 or 4. still. For Microsoft's actual standard compiler, C # 1 in January 2002, C # 2 in November 2005, C # 3 in November 2006, C # 3, I doubt in some way. And C # 4 just this April There is a runtime for Linux and OS X which was support of C # 3 in 2008, but C # 4 is not out yet. There is one on Wikipedia.

forms - How do I bring up a record based on a combobox in Access? -

In MS Access, I have a simple data entry form. At the bottom of the screen, you step through the record And by doing so, you can update the form with each click: & nbsp; & Nbsp; & Nbsp; & Nbsp; How can I do Cambodia on my farm? That is, I want to be able to pick one item quickly from a list and I want to be able to show the form that item. You can use the wizard to add the blankbox to your bound form. One of the wizard's options is "Find a record on my form based on my price in my combo box". If your form is complex, then you can not see this option, in this situation you can create a simple form to look at the wizard and prepare sample code - not always the best code, but certainly a lot Useful. For example, if the user goes into a record without using a combo, then there are some small things that can not or may not bother you, combo, not to show new records. Changes, but it is easy to fix with very little code Current event for the form...

iphone - Modify the URL of the request in UIWebView -

I have tried which is described in Although I was able to change the URL of the request, the original URL was still loaded. What I am trying to do is to insert a validation string in the URL (i.e.) which is not already The URL I am loading, It has its frames, therefore [[WebView request] URL) inside webViewDidStartLoad: webview is always the original URL, i.e. URL containing & lt; Frameset & gt; contains tags that make it difficult to check that the modified request was actually processed. Any suggestions are welcome! I have found a HAMI solution to use Javascript: [Webview stringByViewing JavaScript ScriptWriterString: [NSString stringWithFormat: @ "location.href = '% @'", newURL]]; In my case, there are frames of the site, so I set the frame [1]. Instead place.href.

c++ - template function specialization default argument -

टेम्पलेट & lt; typename T & gt; Void function (T arg1, t min = std :: numeric_limits & lt; T & gt; :: min (), टी अधिकतम = std :: numeric_limits & lt; T & gt; :: max ()) {} टेम्पलेट & lt; & gt; शून्य फ़ंक्शन & lt; int & gt; (int arg1, int min, int max) {} int main (int argc, char * argv []) {function & lt; int & gt; (1); } यह वाक्य रचना त्रुटि C2689 और C2059 को :: टोकन पर फ़ंक्शन डिफ़ॉल्ट तर्क पंक्ति पर देता है लेकिन विशेषज्ञता के बिना, यह ठीक कर रही है और अगर मैं डिफ़ॉल्ट तर्क बदलता हूं और फिर भी विशेषज्ञता करता हूं: टेम्पलेट & lt; typename T & gt; शून्य फ़ंक्शन (टी एजीआर 1, टी मिनट = टी (0), टी अधिकतम = टी (1)) {} टेम्पलेट & lt; & gt; शून्य फ़ंक्शन & lt; int & gt; (int arg1, int min, int max) {} समस्या भी गई अब अगर मैं इसका उपयोग इस तरह करता हूं: फ़ंक्शन & lt; int & gt; (1,2,3); या फ़ंक्शन & lt; float & gt; (1.0f) ठीक है, इसलिए ऐसा लगता है कि यदि टेम्पलेट फ़ंक्शन विशेष है, तो ...

unit testing - How to run single testcase in XCode? -

I know that this is the best practice to run all unit testcases after any change so that nothing breaks Take some time, however, eg. Debugging, I really want to run only one test case. It seems that XCode does not provide such a feature in the UI, while other test frameworks such as Junket have such features. Is there a way to run only a testcase in XCode? PS Most of my test cases are logic tests, so they are not running in the iPhone device. EXCODE 4 Now this feature is just a "run scheme", which has test cases that you run Want to Open menu Edit product ... ... Click on Edit ... In the left pane, expand the Test section. In the right pane, expand the test bundle and uncheck the test cases that you do not need to run.

python - Fibonacci sequence -

संभव डुप्लिकेट: हाय। मैं भी एक सीखने के प्रोग्रामर हूं और मुझे वही सवाल पूछा गया है जो आपको फिबोनाची संख्या के लिए कहा गया था और मैं इसे समझ नहीं पाया। क्या आप मुझे यह कोड दिखा सकते हैं कि आप इन नंबरों को उत्पन्न करने के लिए इस्तेमाल करते हुए उपयोगकर्ता को संख्या देने के लिए कह सकते हैं और निर्दिष्ट संख्या में केवल संख्याएं खोज सकते हैं? धन्यवाद मैं आपको कोड नहीं दे रहा हूं - आपको इसे स्वयं लिखना चाहिए । यद्यपि इसे लिखते समय आपको यह जानने में कुछ चीजें हैं कि (हालांकि रिकर्सन का उपयोग नहीं किया जा रहा है): 1 के साथ 3 चर बनाओ -1 (कोड)> (n1) , 1 (एन 2) , और n1 + n2 महीना । श्रेणी में (i_a_number) के लिए का उपयोग करके एक लूप बनाएं, जहां n1 से n2 , n2 को पुन: असाइन करने के लिए कोड> राशि_ऑफ़_संख्या कितनी संख्या उत्पन्न करना चाहते हैं / Code> से सत्र , और, एक बार फिर से, महीना से n1 + n2। प्रिंट करें शाम (अंदर लूप)। आपको यह जानने की आवश्यकता होनी चाहिए कि क्या वास्तव में इस पर जाना है कि आप कहां से हार गए हैं। यदि आपको विशिष्ट सिंटैक्स के सा...

unit testing - How can I write tests for file upload in PHP? -

I am using simplicity to write my PHP tests. I am writing a file upload plugin and wondering how I can test it. I would like to check that the file has been uploaded properly, in the correct folder, when required, the error is returned properly, etc. How do I simulate a file upload (via $ $ FILES variable)? Are there any issues I should be aware of? I have found an alternate solution, I used the $ _ FILES Along with the array, dummy test files are created in the tmp / folder (folder is irrelevant, but I have tried to stick with default). The problem was that is_uploaded_file and move_uploaded_file could not work with these badme objects because they were actually POST . The first thing was that I had to wrap those tasks in my own moveUploadedFile and isUploadedFile in my plug-in so that I could duplicate them and change their return value. The last thing that enhances the class while doing the test and instead of using moveUploadedFile to move move_upl...

Database connect -

Hello, how do I want to connect the MS Access database via JAVASCRIPT? And I need to put a code about it and remove it and need to update. Javascript is usually running on your user's browser on the Internet, while your access database is definitely the Internet Will not be accessible from, not even indirectly. If you are looking for a lightweight alternative to SQL Server, then the new SQL Server Compact will be able to:

maven release:prepare fails; seems to be confused about svn's UUID -

When I try to use the release release plugin, it fails on mvn release: the following error: [error] build failure [INFO] --------------------------- ----- ---------------------------------------- [INFO] SCM Provider Unable to tag message: Svn tag command failed. Does not match the command output: SVN: stores UUID '3da89ab5-aa79-4544-a1de-ca02bd87a2ce' expect ed UUID '221b71b0-5d3c-7840-b153-25850b4df36e' I'm certain stores UUID Account 221b71b0-5d3c-7840-b153-25850b4df36e, and checkin tested and check out. I have removed all local source code and checked it again, still this is the error. I have confirmed that in the svn entries file, this refers to the correct UUID 221b71b0-5d3c-7840-b153-25850b4df36e. I have run svnlook uuid e: \ repositories \ myrepo and it gives 221b71b0-5d3c-7840-b153-25850b4df36e. But in some way, Maven thinks that when it tries to tag it, the UUID is different. I am able to make my own tag with SVN client. My SVN server ...

visual c++ - Some question to distinguish c++.net cli Managed C++ -

C ++ Net (Visual C ++), CLI, Managed C ++ is the same? Do they need a framework to run? Is Managed C ++ CII or MFC? Managed C ++ is used in Visual Studio 2002/2003 in native .NET C ++ To describe support. C ++ / CLI is the new syntax introduced in Visual Studio 2005. Yes, they require a .NET runtime. MFC is a plain old C ++ framework that is neither managed C ++ and C ++ / CLI and is required to link to MFC Library, but runtime is not required.

.net - Style Sheet Loading Problem -

The use of C # is not loading in my webpage style sheet, I use Google Chrome browser I'm using code. & lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Head runat = "server" & gt; & Lt; Title & gt; Data entry & lt; / Title & gt; & Lt; Link rel = "stylesheet" href = "g: /style.css" type = "text / css" charset = "UTF-8" /> & Lt; / Head & gt; & Lt; / Html & gt; The above code is not loading the style.css file. How to solve this problem. Your HREF is incorrect: href = "g: / Style.css " You need to use a relative path: href =" ../ style.css " Or if you want to use it, use it right one - this means people with just the right browser / operating system and can see the stylesheet with g drive: / P> href = "file: /// g: /style.css"

Are there any module or component for table data type in Joomla? -

I need a component or module that gives me an easy way to enter and show data for products. Fiewld1 | Field 2 | Field 3 Data 1 | Data2 | Data 3 . | . . | . | . . | . | . . | . | . . | . | . Try or there are other people on whom help may be available, but Those 2 are very good.

How can I share a single set of configuration values amongst all instances of my Sharepoint Webpart? -

I have a SharePoint Webpartment that will be present on many pages. The Web portal has a custom editor control that I have developed to present the configuration options in a more favorable manner for the user. Although there are many instances of webpages, I require that in each example there is a consistent set of attribute values. Is there a way to use webpages as a site-level configuration element to define an existing default / per-page configuration instead of defining a property? Store your settings in the property bag of the site / field for example SPFarm.Local.Properties.

smarty variables inside javascript -

I am trying to use smart variables inside javascript inside SPL {Literal} & lt; Script language = "javascript" & gt; Google.load ('Visualization', '1', {'packages': ['geomap']}); Google.setOnLoadCallback (drawMap); Function drawMap () {var data = new google.visualization.DataTable (); Data.addRows (4); Data.addColumn ('string', 'location'); Data.addColumn ('number', 'number of links'); {/ Literal} {foreach = $ last5 item = link name = links key = index} data .setValue ({$ index}, 0, '{$ link.location: replace:' \ '': '\\\' '}'); Data.setValue ({$ index}, 1, {$ link.location_count}); {/ Foreach} {literal} var option = {}; Option ['dataMode'] = 'fields'; Option ['field'] = 'world'; Var container = document.getElementById ('map'); Var geomap = new google.visualization.GeoMap (container); Geomap.draw (data, options); }; & Lt; /...

Bash: how to pipe each result of one command to another -

I want to calculate the number of lines from all files received Total The following commands: shell> Find -name * .info All .info files are nested in sub-directories so that I just can not: shell> ; Wc -l * .info I'm sure this should be in the performance of any Bash users, but I'm stuck! Thanks wc -l search -name * .info ` If you just want to total, then use wc -l` Find. -name * .info` | Piping also works for: xargs , and it is expected that the command line can be too long. Find -name *. Info | Exgs wc -l

Mysql LOAD command -

MySQL लोड कमांड सीएसवी फाइलों से डेटा आयात करने देता है लोड डेटा INFILE 'data.csv 'तालिका में तय की गई तालिका' में तय की गई 'FIELDS'; '; क्या होगा अगर एकाधिक रिलेशन्स टेबल हैं table_main id firstname lastname table_type id table_main_id table_type_id table_type id typename प्रथम नाम, अंतिम नाम, टाइपनाम, जॉन, डो, माइटीपेनम लोड कमांड के साथ नीचे की तरह सामग्री के साथ एक सीएसवी फ़ाइल लोड करना संभव है नहीं, यह कई तालिकाओं में सम्मिलित करने के लिए लोड डेटा वाक्यविन्यास के साथ संभव नहीं है एक संभावित समाधान इसे किसी अस्थायी तालिका में लोड कर रहा है & amp; इसे वहां से ले जाओ।

asp.net - How to know that we come to a page after redirecting from another page -

I am using a single page for two different purposes, by default it is a behavior and one After being redirected through the link button, it has a different behavior when it comes to the same page, such as changing the master page etc ... How can I locate it and change behavior accordingly Can i If you have a page with two different behaviors, then I would suggest that you Query string parameters to differentiate between two objectives (like somepage.aspx? Mode = changeMaster) After this you can check this value and change your behavior accordingly. If you are treating from one place to another, then perhaps its easiest process, instead of requiring mode parameters, you will have to change all your links on the page, just a link button). It will be more reliable than relying on the referer and other such things which are not always sent.

c - sorting in keil -

I want to assume a bubble sort program in embedded C, using code uVision. I did not know exactly what is needed. I have been asked to use the registers and / or ports. If someone can understand what needs to be done then what should I do ... Seem to be the requests. Nail is simply a compiler for embedded systems, uVision said their IDE for compiler. Just type a bubble type, the key / uVision is not responsible And, saying that the use of registers will be too much (it's a matter of embedded work, kissing - Keep it a little stupid). However, the ports do not have to do anything with the request. I recommend that you get clarity on the request and then decide if you need more help. I post a new question, as long as you have completed the above mentioned effort, it will disappear.

c# - how to select all listview items? -

सभी सूची दृश्य वस्तुओं का चयन कैसे करें? foreach (myListView.Items में सूची की सूची आइटम) {item.Selected = true; }

dashboard - Gauges for Compact Framework Applications -

Can someone recommend gauge components for a compact framework application? I have yet to find that the only gauge toolkit is Perpetuum's. Perpetuum gauges are not blindly appealing to me and it is also being supported. Up to NET CF 2.0 Are there any options? At least one option is in Smart Device Framework RoundGauge in OpenNETCF.Windows.Forms although it is very fancy Not, though it can not be what you want.

synchronization - Syncing development environment between OSX and Windows -

I currently have a portable XAMPP server on a USB flash drive, so I can develop on my desktop or my laptop . However, I recently bought a Mac laptop, but I'm still using the desktop on the desktop. Now I can not use the USB flash drives move anywhere in the code. Do you suggest two local development environments (on laptops and desktops), both of which have been synced (even database, server settings. ATC)? I want to be able to work remotely locally, because sometimes I have to work in a place where I do not have an internet connection. Your input is highly appreciated Take a look at SyncMate:

augmented reality - OpenCV: Detect a black to white gradient in an area -

I've uploaded an example image to better understand: In the image you have a few scanlines and one You can see the marker (white latte length with circle in it) I want to go OpenCVi with a specific area (for example, in the trough underlined trough) which should be around 5x5. If there is a black-colored shield in that area, then I want OpenCV to save the situation in that area so that I can work with it later. The difference between the end result marker will be different retagles, different trough black and white lines. Is such a thing possible? I forgot a lot but I got only the edge detectors but it is not what I want, I just need to check the black gradient. Thanks in advance. It would be nice to filter some areas by calculating your histogram. If you can use cvCalcHist for the job, you can set some thresholds to determine whether the black-white pixel percentages correspond to a gradient. This work will not solve, but it will help you to reduce the complexity. ...

c# - Why casting to object when comparing to null? -

While browsing the MSDN documentation on equal overrides, one point caught my attention. , some blank checks are made, and the objects are executed in the system. When comparing the object type: Public override Bull Iqbal (System.Object OBJ) {// If the parameter is Zero the details are false. If (obj == faucet) {returning back; } // If the parameter can not be inserted on the return fate, two deconents as two pointpoint P = obj If ((System.Object) p == faucet) {return false; } // Return the field match if it is correct: return (x == p.x) & amp; Amp; (Y == P.E.); } Is there any specific reason to use this artist, or has it forgotten some "useless" code in this example? == It is possible for a type of operator to surcharge. The cast for the object ensures that the original definition is used.

java - Surrogate Key Generation Across Multiple Tables Using Hibernate -

I want to get the surrogate key for my user table (s) in MySQL. I am convinced that a rising value Configuring + a timestamp I will find a unique key in several tables, but before I get it incremental values ​​for the continuity of the class to continue in the database. "Post-text" itemprop = "text"> One of your main generators To hibernate it to yoga. If you define your key plan, you must write your own generator

drupal - Adding images into blocks html -

I have added some HTML code in my block content and have enabled the full HTML filter. I have used relative paths for my images, like "site / all / themes / zen / zen / image page" I think this is not right because I need to change my path to the home page or "node / id" on page. I think I can not use PHP inside the blocks, thus I can not use $ base_url ... how can I add the image to html only? Thanks The last answer provides a part of the solution, but here one Fuller scoop is: Hand written HTML If your site lives on example.com (i.e. this is the "root" site), then the front slash in your relative path Linking will solve the problem others have suggested: & lt; Img src = "/ sites / all / themes / zen / zen / image.png" & gt; However, if your site stays on example.com/my-drupal-site , then you have to type it in: & lt; Img src = "/ my-drupal-site / sites / all / themes / zen / zen / image.png" ...

java - How to set MessageDigest seed? -

Text after "div class =" itemprop = "text"> implements the MessageDigest class SHA-1 algorithm (among many others). The SHA-1 algorithm allows anyone to use a different "seed" or initial digest initializes the algorithm variable, or the seed: variable start: H0 = 0x67452301 h1 = 0x 9BADCFE h3 = 0x10325476 h4 = 0xC3D2E1F0 Although the message ding class, as described, does not provide the API to set these initial variables. In fact, this does not tell the value of the initial variable. How can I set initial seeds for SHA-1 algorithm? Where is SHA-1 in Java, an example of using an initial seed ? (I'm looking for SHA-1 implementation, unless that for example MessageDigest uses an option with the initial seed.) Where do you see the need for seeds in the SHA-1 digest? Normally the encryption algorithm requires the source of a random number, a seed is "necessary". But in SHA-1 you do not use random numbers at all, so th...

asp.net - how to insert multiple checkbox list values into database in single column using c# -

How do I use a selected checkbox to select from the column I selected, I would call it multiple checkboxes in the same column In this list, I use several methods, 3 days without success Private Zero BindCheckBoxList () {DataTable dt = New DataTable (); SqlConnection Connection = New SqlConnection (GetConnectionString ()); Try {connection.Open (); String sqlStatement = "SELECT * FROM boby"; SqlCommand sqlCmd = New SqlCommand (sqlStatement, Connection); SqlDataAdapter sqlDa = New SqlDataAdapter (sqlCmd); SqlDa.Fill (DT); If (dt.Rows.Count> 0) {checkbox list 1. Repetition column = 4; // Set the number of columns in the checkbox CheckBoxList1.DataSource = dt; Checkbox label 1.datextfold = "name"; Items displayed in the list item checkbox checkboxlist 1. Data value = "name"; // The ID of the items shows the checkbox data Bank (); // Set the selected item in the database based on value in the database, to do so, to rewrite each item in the list (int i ...

vb.net - Replace characters in string with values -

I have a string, which is the paragraph written on the aspx side, it comes like this: The new student, {student_name} has the following grades - Mathematics - {math_grade} Science - {science_grad} ... and I need to get value from database, and {student_name} with with Joe Smith , {Math_grade} wth A or B + etc. How can I do this?

iis 7 - MapRequestHandler issue in IIS for .net websites -

When I'm trying CSS or Javascript through my local IIS and gives me the service, I get the following error is. I am running Windows 7 and IIS 7. The resource you are looking for does not have a handler attached to it. Module IIS Web Corrections Maprush Handler handler is not yet set Error code 0x80070002 Requested URL physical path C: \ XXXXXX \ css \ global.css logon method Anonymous logon user anonymous Any ideas how can I solve it? The problem is with CSS, Javascript etc. The problem is that a StaticFile handler mapping was missing.

open source - Pfstools - compile for Windows -

I am trying to get pfstools (as well as pfstmo and ppscalibration) to work under Windows. These are basically an open source series of command line tools for high dynamic range (HDR) imaging. They were developed for Linux, so the documentation says that they need to compile and run in Sigwin in Windows, which is not a big deal, except that I have to follow them instructions Can not be compiled to Does anyone have any experience using these in Windows here? The project home page is thanks. I can not answer you definately, but I'm having trouble finding them. Creating also also shows this missing symbol issue. This is the first place that fails it when it can not get the symbol __int64. I do not quite understand this because it is all Linux code and I thought __int64 was a Microsoft VC ++ - only symbol. Anyway, I have tried to admit "long time" def in different places and it is not taking it for me. Best of all I can understand that ImageMagic libraries are des...

How to rewrite this Dictionary For Loop in Python? -

I have a dictionary of classes where classes contain attributes of string lists. I created this function to find maximum things in one of those lists for a particular person I made. def find_max_var_amt (some_person) #pass In a patient ID number, retrieve their maximum number variable for a variables of variables = max_vars = 0, value in patients [some_person] .__ dict __ Item (): challenger = len (value) if max_vars & lt; Challenge: Maximum_WARS = Challenger returns max_vars What I have to do, is to write it again so that I do not use the .iteritems () function. This find_max_var_amt function works well, but I am converting my code using a database using DBM module, so the typical dictionary function now assigns syntax to work for me Despite not doing it and reaching the key: the value pairs will be similar thanks for your help! Since DBM does not require you to run the value directly, you have keys To do this, you can modify for loop for the key in patie...

prototypejs - How to mimic jQuery.live(), or use 2 jQuery versions in the presence of a Prototype library? -

We are providing our content inside an HTML 'cover' provided by the client. That HTML cover has a reference of jQuery 1.2.6 so that I'm still using it for my jQuery functionality. The problem I am experiencing is that I am dynamically interpreting the content for which the click event associated with it is required. The click event is associated with elements of $ (document) .ready () Like, I need the function of the .live () function which is available in version 1.3+. So I'm wondering what are my options? Is there any way to easily duplicate the functionality of .live () so that I do not need the function provided by the jQuery library? Do I need to include a new jQuery library with my content? This is not ideal because it is the cause of conflicts that need to be managed, and we are already struggling with prototype libraries that have been included in the following line from someone else: jQuery document) .ready (function ($) { Can anyone show me a...

generics - Java 1.4 to Java 1.5 - Rewrite code and avoid the @SupressWarnings -

I have an old private project written in Java 1.4, which I'm porting to 1.5 (in which I now Also newbie) Version 2. In addition to adding new features and refactoring code in it, I am also migrating for generic collection, annotation etc. A special part of the code that I do not know is that 1.5 and do not want to add a @SupressWarnings to it. It happens in this way: if (value is comparable to the example) {isMatch = ((comparative) value) .compareTo (selectedValue) == 0); } Else {// fallback is equal to match = selected value.equals (value); } This is a simple comparison with a broad match compared to comparison or relative is equal to par () if not, then comparative type. I am getting: Comparative is a raw type of normal type of reference Comparable & lt; T & gt; must be an alert parameter. How do I modify the above code to 1.5 and clear the warning? Or is there no alternative to add @SuppressWarnings? Thank you! I would have to rewrite this piece ...

Need help with VB.NET List Logic -

Hey guys, so I'm making a list (string), always size 9. This list contains true / false values ​​I need to go through this list and find 3 values ​​which are true (more than 3 but can be less) and then In my code, set 3 string value in 3 index of those three values. Here is my current code: Private Sub SetDenialReasons (ByVal LoanData as DataRow) New list (as the string) causes reasons with diminishes. Add (Loyndtakaitm ( "Isdnialreasndti") Ktostring) Kaed (Loyndtakaitm ( "Isdnialrasonemploymenthistori"). Tostring) Kaed (Loyndtakaitm ( "Isdnialreasnkreditistory"). Tostring) Kaed (Loyndtakaitm ( "Isdnialreasnklterl" ). ToString) KAdd (LoanData. ( "Insdeniyl Riesen cache") Tostring. add (Londatakaitm ( "Insdeniyl Reason Inverfeabl Info"). Tostring) (Londatakaitm ( "Insdeniyl region Anum Pt ") Tustring) Kjoden (loan survived. Item (" Insdeniyl Region Mortgage Insurance Dinid "). ToString). Add (...