Dear all,
I have a text file .let name is abc.txt .The file have info like this
jani
stay in USA
karim
stay in France
fara
stay in UK
Now i need to collect the information.the name is as nameString and the address is addressString.I have to put those information on anywhere else.So, i need all the name and address in a for loop.
Can anybody pls help me to collect this info.
Thanks in advance
Riad
repeater.StartIndex = layout == ProductLayout.Grid4Columns ? startIndex - 1 : 0;
I don't get it. What is layout == [expression] doing here in this case as it sets StartIndex
Can somebody help explain what this code is doing?
Could really use with some help here...
I've got a servlet that generates an XML string (relatively long) which I then pass to a javascript variable in a forwarded jsp file:
$(document).ready(function() {
...
var itXML = <% out.print((String)request.getAttribute("xml"));% ;
...
}
This seems to work just fine in Firefox but when I run the same project on IE8 I get a syntax error for this line.
Any Ideas?
Thanks!
Hello all, i need to know how to use an IP address like inet_addr("192.168.0.2"); in C++
where this returns DWORD. My wrapper in C# treats this field as an Int?
Can anyone help on this misunderstanding?
I would like to find some help building a tree interface in Rails. I've tried using jsTree but am having trouble integrating it properly into Rails.
Thanks.
HI folks,
I'm trying to establish connection to a remote server using ruby socket connection TcpSocket.
I started with TcpSocket.new(port,host)
Now, How do I pass the credentials to it.
The remote server needs credentials to allow me to connect.
Any help is very much appreciated.
Thanks
Hey there everyone,
So I'm used to the iPhone API, and I used MBProgressHUD a lot in my iPhone applications, but since I started developing apps for the Mac I noticed that I can't use MBProgressHUD. Is there an alternative that will do the same job as the MBProgressHUD? I notice that apple has it in their OS as well.
If anyone could help me find an alternative for MBProgressHUD, I would greatly appreciate it!!
Thanks,
Kevin
Hi,
I have a problem exporting a flash exe which contains flvplayback with external skin file.
Works fine on swf but on exe, it's not showing the skin controls
I am using Flash CS4.
Any help will be appreciated.
I have a web-based bussines application written in C#/ASP.NET
Recently my boss start pushing to re-write the app as Linux multi-user desktop application.
In his design users will need to connect to Linux server via VNC or alike to use the app.
I am not familiar with this kind of application design.
I'd appretiate any help explainig pros and cons of this approach vs. web and perhaps vs. traditional client-server design
Thank you
Hi Everyone:
I am wondering if there is some way to change a css attribute for the last li in a list using CSS. I have looked into using :last-child, but this seems really buggy and I can't get it to work for me. I will use Javascript to do this if necessary, but I want to know if anyone can think up a solution in CSS.
Thanks for any help!
I'm trying to create a Export method of a VCF file to our CRM application.
I'm running the new VS 2010 but target the project as .NET 3.5
what is the technique to hook up into this context menu?
I'm very new to AddIns but as a logical line of thought is to create an Outlook AddIn, but I'm failing miserably to add a menu item to this context menu :(
Thank you for any help on this
Hi guys,
I'm doing a system for a hospital in my country as the final year project of my degree, my supervisor specially asked me to use php and mysql for this. i don't have any experience with distributed systems and php programming, can any one help me out to build my base and improove my knowledge stating some sites, books to refer to overcome this matter.
regards,
rangana.
I have a List where element is:
struct element {
double priority;
int value;
}
How can I implement my own comparer which allow me sort List by priority ? I try with SortredList... but it don't allow douplicated keys :(
Big thanks for help!
Hi, sorry this is probably a dumb question, but I want to make the background of a normal UIViewController look like the gray, pinstriped background that of a grouped UITableView. Is this possible. Tell me if you need pictures, and I'll post some. Thanks for any help,
I am using godaddy hosting account with windows hosting. Using PHP I am sending email to customers, how do I use my own email address instead of [email protected]
I would like to use [email protected] for all my out going mails and reply to as well. I did by setting a from header in the PHP headers, but its not working.
Any help is appreciated...
Thanks
Vasu
I use a 32-bit image & use it as a value for Image property of ToolStripButton. But I don't know why it displays unlike the original one.
This is the screenshot:
And my project:
http://www.mediafire.com/?3mzmf5r5nnx
Please help me to find the reason. Thanks.
I am a fresher in qt,i don't have much knowledge on qt, but i created some of file in qt for my application (regaurding to GUI format).I was created some .ui files in qt,but i wanted these files into .exe format.I think u had unerstand my problem,so please help me
If a smart device project is set to target CF 2.0, Windows CE 5.0, should this same application run on Windows Mobile 6 with CF 3.5 installed?
I was able to install it (the CF 2 app), but when running received an error stating that the assemblies could not be loaded and that CF might not be installed.
This has led me to belive that smart device projects wil ONLY work on the framework they target, not any versions lower or greater.
Any help would be greatly appreciated.
I have two kind of check boxes. One is a simple check box e.g t:selectBooleanCheckbox and another list t:selectBooleanCheckbox dynamically generated. I want to control this list with the single check box. e.g. when it is selected or deselected, similar action should take place for the list as well. Help please :)
Hi,
In my application I have to search five nearest locations of "medical services" using the user current location and annotate those locations on my MKMapView.
Can any one tell me how to search with a particular keyword (eg. medical services, garages) by using user current locations and annotate onto the map and when the user taps on the annotations it should show the complete address of the locations which is annotated.
Can anyone help me in this?
Noob question, apologies. I'm compiling Java in Windows Vista's command-line and have so many syntax errors that some are being pushed off the top (a lot of 'class, interface or enum expected' errors which leads me to believe it's an obvious syntax mistake early on in the code that I can't spot). Does anyone know how I could get it to display those first errors?
Thanks in advance for the help.
Hi,
I have a asp.net web application and I'm using cache (HttpRuntime.Cache) to save some stuff from db.
I also update db from time to time so that data in db does not match the data in my application's cache.
Is there any way how to clear my application's cache without modifying any source code or republishing the page?
I tried to restart IIS and to clear browsers cache but nothing helps.
Please help.
I am quite new in Python and I am looking for converting numbers from decimal to hex
How to convert float numbers to hex or char in Python 2.4.3?
how can I keep it to write it as ("\xa5\x (here the new hex number)")
any help
Thanks,
Hi,
I have a custom class declared as follows (in vb.net)
<Serializable()> _ Public
Class NumInfo Public n As String
Public f As Integer Public fc As
char() Public t As Integer
Public tc As char() Private
validFlag As Boolean = True Public
Sub New() End Sub 'I also have
public properties(read/write) for all
the public variablesEnd Class
In my service.asmx codebehind class I have a webmethod as follows:
<WebMethod()> _
<XmlInclude(GetType(NumInfo))>
_ Public Function ConvertTo(ByVal info As NumInfo) As String
Return mbc(info)'mbc is another
function defined in my service.asmx
"service" class End
Function
The problem is that when I start debugging it to test it, the page that I get does not contain any fields where I could input the values for the public fields of numInfo. How do I initialise the class? There is no "Invoke" button either. All I see are soap details as below:
ConvertToTestThe test form is only
available for methods with primitive
types as parameters.SOAP 1.1The
following is a sample SOAP 1.1 request
and response. The placeholders
shown need to be replaced with actual
values.POST /Converter/BC.asmx
HTTP/1.1Host:
localhostContent-Type: text/xml;
charset=utf-8Content-Length:
lengthSOAPAction:
"http://Services/ConvertTo"<?xml
version="1.0"
encoding="utf-8"?>
<soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ConvertTo xmlns="http://Services/">
<info>
<n>string</n>
<f>int</f>
<fc>
<char>char</char>
<char>char>/char>
</fc>..etc..
What am I doing wrong? For the record I tried replacing char() with string to see if it was the array causing problems but that didn't help either. I'm fairly new to web services. I tried replacing the custom object parameter with a primitive parameter just to check how things worked and it rendered a page with an input field and invoke button. I just can't seem to get it working with custom object. Help!