Hello
This is not homework, I need this for my program :)
I ask this question, because I searched for this in Google about 1 hour, and I don't find anything ready to run. I know that is trivial question, but if you will help me, you will make my day :)
Question:
How to copy text in string (from for example 8 letter to 12 letter) and send to other string?
I have string:
string s = "RunnersAreTheBestLovers";
and I want text from 8 letter to 17 letter in next string
Alice90
Hi all,
In considering several possible solutions to a recent task, I found myself considering how to get a php file that includes it's own MD5 hash. I ended up doing something else, but the question stayed with me.
Something along the lines of:
<?php
echo("Hello, my MD5 is [MD5 OF THIS FILE HERE]");
?>
Whatever placeholder you have in the file, the second you take its MD5 and insert it, you've changed it.
Hello,
I've a C# Windows Form Application that contains multiple Panels , each panel contains group of Radio Buttons.Is There a simple way to get just the checked RadioButton by code instead of checking every Radio Button in each group whether it is checked or not ? please help. Thanks
Hello,
I write simple application in C++/Qt. And i have a text and some octal number in it. My app splits this text by spaces. And i need to check octal numbers from text. How can i select octal numbers from this text with regular expressions?
Thank you.
Hello,
I need to develop an iPhone/iPod Touch application that creates a server to send some data stream (characters or bytes) to a Windows C++ application via Bluetooth. I'm thinking of creating a TCP connection, but don't know where to start.
What iPhone API should I use do to something like this? Does anyone knows some code examples that i can use to do this?
And in Windows, what should I use to support this kind of communication?
Thanks
Hello, Im searching for ideas to solve the following problem:
I'm loading an URL (any for that matter) into an iFrame, and then block (server side) all image tags, o object tags before sending the page to the client.
--
What I was thinking to do is: fetching the URL, and then manipulating the fetched content using a Java library (any recomendation on that matter?). And after that, send the modify content to que client.
Would that be the best approach to solve this problem? suggestions are wellcome :)
Hello everyone
There are a series UIViews arranaged very close.
I hope when my finger touchs some of them, my app can detect which UIView touched.
Maybe one or two or three.(because the displayed parts of each UIView are too thin).
I hope to get the middle x value of the touch, then spread the UIView where the middle x value locates and the UIViews near it.
Welcome any comment
Thanks
interdev
hello,
GOOGLE has yet to find an answer for me, so here goes:
In FORTRAN, is there a way to determine the TYPE of a variable? E.G., pass the variable type as an argument in a function, to then be able to call type-specific code with that fuction; eliminating the need to have seperate similar functions for each data type. thanks.
Hello,
Im evaluating trial version of xerox docushare. Supplied documentation is very strinc and isnt helpfull when You havent got an experience so I would liek tto ask if any of You have got such good tutorials or code samples ??
thanks for help
Hello,
in short i need to convert following C# code into SQL stored procedure
foreach (var e in Entity)
{
if (File.Exists(e.Filename))
File.AppendAllText(e.Filename,e.Content);
else
File.WriteAllText(e.Filename, e.Content);
}
Hello,
I have a rather simple question but i can't seem to find an answer to it.
I want when i click on any place on web page a div is opened. how can i accomplish that CSS style.
Thanks.
Hello
I'm looking for a piece of relatively simple software to browse large C++ project. What I would like is something that is somewhere between a simple text editor and a full-blown IDE like Eclipse. I would like syntax highlighting, a way to see all classes/methods defined in a file, a way to find where a particular method is called from and where a variable is declared/defined.
Any ideas?
Thank you!
Hello,
I have multiple textareas and only want one toolbar. How would I be able to achieve something like this:
<div id="Editor">
<!-- Toolbar will go here -->'
</div>
<textarea>Some content...</textarea>
<textarea>Some content...</textarea>
Hello fellow front-end web h4X0|2s,
I was wondering if anyone had any resources, proof, or personal experience in using the age-old http/https JavaScript hack:
<script src="//someserver.com/js/script.js"></script>
Has anyone encountered issues in any of these browsers (IE 5.5+, FF2+, Chrome, Opera 9+, Safari 3+)? Has anybody had success stories?
Thank you for your help.
Hello,
A class A possesses an instance c of a class C. Another class B has to modify c through C::setBlah(); method.
Is it bad to create an accessor C getC(); in A and then use A.getC().setBlah() ?
Or should I create a method A::setBlah(); that would call C::setBlah(); ? Isn't it annoying if there are several methods like that ?
Hello,
nowadays I have this piece of code:
#import "C:\Users\Public\SoundLog\DLLs\ForPython\SoundLogDLL.tlb" named_guids
but I want to substitute the C:\Users\Public part by the %PUBLIC% environment variable.
How can I do this ?
Hello, I'm working on a c++ code that uses SDL/opengl. Is this possible to create a pointer to a quadric with 'gluNewQuadric()' before having initialized opengl with 'SDL_SetVideoMode'? The idea is to create a class with a (pointer to a) quadric class member that has to be instantiate before the 'SDL_SetVideoMode' call. This pointer is initialized in the class' constructor with a 'gluNewQuadric()' call.
Hello,
Im using wxGrid which has 3 columns. I would like cursor to be
differen (Hand) when mous is over cells from 2 and 3 column. How can I
do that ?
Thanks for help
Hello,
I was looking for PHP TV guide scripts with it's Database structure.
Or at least the Database Structure by itself.
Any help or infomration would be really appreciated, I just don't want to start from scratch.
Thank you,
Hello,
I am binding a collection of MyItem class instances to a DataGrid. The MyItem class has a property called "IsSelected". This property can get changed programmatically. How do I propogate that change back to the UI such that if this value is true, the row associated with MyItem is highlighted (selected) and if it is false, the row associated with MyItem is not highlighted?
Thank you,
Hello friends,
can anyone tell me main steps to consider while migrating 1.1 to 3.5 windows based applicatoin?
what are the steps need to consider at initially while planing for migration?
as per i know this applicatin i need to migrate like wsf and wpf and soo on.
thanks
hello all i hav a table named address which has id, title and parent_id fields. in title column the name of regions and districts are inserted. the regions have parent_id zero and parent_id of the districts are id of the regions. i want a query which display regions in one column and its respective districts in another column. hope u guys understand what i mean..
thank u all.