instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Can someone provide me a working example which gets reports from jasperserver using it's SOAP API.
Actually I know how to run it to a file.... but I need to get report data directly.
Thanks in advance!
| stackexchange/codereview |
I'm having a lot of trouble writing a select statement to compare two values in t-sql which are of type image. This is what I have so far:
SELECT a.UserId, b.UserId
FROM [dbo].[aspnet_Profile] as a inner join [dbo].[aspnet_Profile] as b on
(a.UserId = <some string> AND b.UserId = <some other string>)
WHERE BINARY_... | stackexchange/codereview |
i want to create an anonymous type inside a function, when the anonymous type properties are the function parameters.
for example, for the function:
private bool CreatePerson(string FirstName, string LasName, int Age, int height);
i will have an anonymous type with the properties: FirstName,LasName,Age and height.
and ... | stackexchange/codereview |
I am trying to parse some dates that are coming out of a document. It would appear users have entered these dates in a similar but not exact format.
here are the formats:
9/09
9/2009
09/2009
9/1/2009
9-1-2009
What is the best way to go about trying to parse all of these? These seem to be the most common, but I guess... | stackexchange/codereview |
Im about to create a very simple online event reservation application and currently have 3 tables:
User
PK_UserID
UserName
Event
PK_EventID
EventName
EventDescription
EventStartDate
EventEndDate
SeatsAvailable
BookedEvents
ID
FK_UserID
FK_EventID
Do you have any experience of how to handle SeatsAvailable? I me... | stackexchange/codereview |
i'm trying to work out how i can stop zend or redirect zend to go to a different zend controller and action if a check within the boot strap fails.
for example a get variable does not exist or more likely a session does not exist meaning the user must log in.
so the user had originally requested index/someaction
but i ... | stackexchange/codereview |
I have a few UILabels in my view with their height set using sizeWithFont:.
I set the autoreszingMask to flexible width and height, however on rotate the width changes (am assuming because self.view's width changes and its set with a width relative to self.view) but the height of it doesn't change to fit the content ag... | stackexchange/codereview |
I want to create an app which would monitor changes to data in a folder on SD card.
For example if a file is put in a folder, as soon as file is copied, my app would send this file to server and delete this file.
Is it possible to do this?
Thanks.
| stackexchange/codereview |
I have web application that runs on Tomcat (and gets HTTP requests) and some other backend standalone application that gets only TCP. For some reasons, I can use outside only port 8080. So, I need to get all TCP requests (from outside) to port 8080 and forward HTTP ones to web application on Tomcat and all TCP pure req... | stackexchange/codereview |
In http://www.icefaces.org/main/downloads/os-downloads.iface after log-in when clicking any download link a modal panelpopup will open ,and if the whole of page is refreshed the modal popup still opened,how that?!
| stackexchange/codereview |
I am confused about variables scope when calling a view from within a view.
I tested a bit and found:
If the variables are originally passed from a controller, there is no need to do something to pass the variables from a view to a view.
If the variables are declared in a view, I have to explicitly pass the variables ... | stackexchange/codereview |
When I tried to run my project in NetBeans 6.9, I got this error:
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
Incrementally deploying localhost:8084/hastaneBilgiSistemi
Completed incremental distribution of localhost:8084/hastaneBilgiSistemi
Incrementally redeploying localhost:8084/hastaneB... | stackexchange/codereview |
I have this contacts that needs to be imported directly to a particular group that i created in which AFAIK that adding of contacts in an Account ,in the api seems to be broken(can't add other fields) so i implemented my own Activity to add accounts.
how do i add them directly to a group?
| stackexchange/codereview |
Is there any API to make video conferencing calls in Iphone sdk or any third party tools to make this.Guy's I need some documentation or tutorials to implement the video conferencing calls.
Anyone's suggestion will me much appreciated.
Thanks in advance,
Monish.
| stackexchange/codereview |
i want to set a variable to a particular date like this in php..how to write this function in php? jsmyStartDate = new Date('April 1, '+curYear+' 1:59:59');
| stackexchange/codereview |
I am usign Eclipse PDT Helios and it sometimes freezes for 2-3 seconds even when working with small PHP files, like 10 rows without any includes in them or any complex statement that may cause a problem while parsing. My machine has more than 3GB RAM and I have setup the HEAP size to 990MB. The CPU is Intel E7500 2.9Gh... | stackexchange/codereview |
Continuing from this question: Why can't you reduce the visibility of a method in a Java subclass?
I need to create class B that is almost identical to class A, except that B cannot do certain things that A can.
Being a lazy programmer as I am, I tried to inherit A, only to greet with error that B cannot reduce the vis... | stackexchange/codereview |
Implementing a "play video" function on a web site. Each video content item can have a different image. Each of these images will have the same width, but potentially differing heights (they are resized on upload to maintain aspect ratio to meet standard width requirements).
The plan was to display another transparen... | stackexchange/codereview |
I am using Binding IsAsync property to keep UI responsive and loading data from the get accessor of the property and proved to be a good option while using MVVM. This approach is great and doesn't need any manual code for async operations. There are few instances where my dataload is taking few seconds and during this ... | stackexchange/codereview |
...
$(document).ready(function(){
$('form').submit(function(){
$('input#second').focus();
return false;
});
$('#first').blur(function(){
alert('blur');
});
});
...
<form>
<input id=first><br>
<input id=second><br>
<in... | stackexchange/codereview |
We use Jakarta Taglibs to ouput some basic HTML form elements like selects. It appears this library has been retired.. are there any good alternates? Looking for something simple that will take a Java Map and output it to HTML.
| stackexchange/codereview |
I have to do a program where I need to index the files in a specified directory. I've gotten the indexing part down, but what I'm having trouble with is how to navigate to the directory.
For example, say when I start the program, it will ask "What directory would you like to index," And then the input would be "usr/Do... | stackexchange/codereview |
The OpenCV library is great. Most functions have the required functionality, however, I would like to modify some of the functions and recompile so that it fits my specific needs. how would we recompile the dlls and other files? is there a built-in script or do we need to write all the scripts ourselves?
| stackexchange/codereview |
what is the difference from setting the responce status in php
header("HTTP/1.0 404 Not Found");
and
header("Status: 404 Not Found");
What is the difference from the client point of view (aka browser or a client implementation for RESTful WS). I understood that the second one has to do something with CGI.
| stackexchange/codereview |
I'm very new to Mocking. In the below example i'm using Moq and trying to create a _companyRepository. However the second test has a null ref. ie Company is not instantiated.
Assert.AreEqual(viewModel.Company.Name, "MyCompany");
Think i'm missing something silly here.
[TestClass]
public class ErrorController... | stackexchange/codereview |
is it possible to show my Town (find by IP) / Town of my Provider in Flash File?
Maybe there are some libs for this.
Thx
| stackexchange/codereview |
How can I validate a South African cell phone number?
The number must start with the country code like +27 and be max 11 digits long - total 12 with the "+" sign.
| stackexchange/codereview |
I just want to understand the following scenario. Where I am implementing a <TabControl> bound to a ObservableCollection<TabViewModel>
No Data Templates
When I don't have any DataTemplates, the text WpfApplication1.TabViewModel appears in the Tab Header and Content. Ok I understand this part.
Just ItemTemplate
When I ... | stackexchange/codereview |
I want to use a stack in C, anybody recommend a library?
For example for a hash table I used UThash.
Thanks!
| stackexchange/codereview |
i was wondering how can i change the iAd black background image ?
| stackexchange/codereview |
I've got two points on a google map and I want to transition between them using a smooth animation. Using the map.panTo() method I can pan to them but the animation only works if the second point is less than the width/height of the map.
So the idea i've come up with is to break the transition up into something like:
... | stackexchange/codereview |
Php updates the xml files in certain period of time. Is there any possible way to send a change of content notification from php to flash application.
Thanks in advance
| stackexchange/codereview |
I have a "user" model that "has_one" "membership" (active at a time). For auditing and data integrity reasons, I'd like it so that if the membership changes for a user, the old/current record (if existing) has an inactive/active flag swapped, and a new row is added for the new changed record. If there are no changes to... | stackexchange/codereview |
How can we switch off notification from device?
| stackexchange/codereview |
As it was highly recommended in one of the books I'm reading I've started to write tests for each of the class I'm creating. I'm not really sure what is a good practice to cover setters and getters or not. If yes I'm not sure how because to verify the setter method you need to call the getter for this variable and vice... | stackexchange/codereview |
I'm using ASP.NET MVC 3 Beta and for some strange reason, if I change a controller's action and load the action in a browser, it doesn't recompile the assembly to incorporate the changes made. Maybe I'm spoilt from how things were in ASP.NET Webforms, where there was dynamic on-the-flycompilation of code-behind files, ... | stackexchange/codereview |
I'd like to do the following:
const int someInt;
const std::vector<int> someIntList;
const std::vector<std::vector<int>> someNestedIntList;
Marshall(someInt); // trivial case
Marshall(someIntList); // difficult case
Marshall(someNestedIntList); // difficult case
I tried the following:
template<std::vector<class Eleme... | stackexchange/codereview |
solution is developed for x86 platform and framework 3.5...
i need to include pre-request setups in my offline project ...dot net frame work 3.5 , sql server compact server sp 2,windows installer 3.1 are the pre-request that the setup should check for and install if not installed in target machine...how to create set... | stackexchange/codereview |
I'm trying to route to the home page of an Area in MVC, e.g.
myDomain.com/myArea/Home/Index
when I use the URL:
myDomain.com/myArea
MVC appears to by trying to find a Controller called "myArea" in the root Controllers folder and thereby would route to:
myDomain.com/myArea/Index
if the Controller existed.
Again, I wa... | stackexchange/codereview |
I have resolved memory leaks from my app but my app was still crashing with Program received signal 0. i have checked my app in developer tools. it is showing 30 mb when app launches. It is taking too much memory. how'll i resolve this? anyone has any solution?
Thanks
rajni
| stackexchange/codereview |
I have some problems with the TeamCity MSBuild replacement I think.
I've tried to compile a Delphi 2010 Project (MSBuild compliant) with NAnt using the MSBuild task (NAnt Contrib).
Everything works fine, if I do it without TeamCity on the console.
If I try it with TeamCity, I get the following error message:
Failed to ... | stackexchange/codereview |
I'm relatively new to R, and was wondering the most efficient way to iteratively construct a dataframe (one row at a time, the number of iterations "n" and the length of each row "l" are known beforehand).
Create empty dataframe, add a row each iteration
Preallocate n x l dataframe, modify a row each iteration
Preallo... | stackexchange/codereview |
I have a simple script
...
dir=`pwd`
echo $dir
cd ./selenium-grid-1.0.8/
CMD="ant -Dport=$1 -Dhost=$2 -DhubURL=http://172.16.1.137:4444 -Denvironment="$3"-DseleniumArgs="-firefoxProfileTemplate C:/software/rc_user_ffprofile -multiWindow" launch-remote-control"
echo $CMD
$CMD 2>&1
#End
Whenever i run this command, i... | stackexchange/codereview |
I want to use json2 as JSON.parse in node.js, (forgive the stupid question) I can't quite figure out how to use it. I have a copy of json2.js, with the first line removed in my current working directory. Then, from the node.js shell i do:
> orig_func = JSON.parse
[Function: parse]
> require('json2')
{ JSON: {} }
> orig... | stackexchange/codereview |
Has anybody experienced a problem with SagePay not returning the session id back after a transaction.
Cheers
Shane
| stackexchange/codereview |
i am using Windows Multimedia API winmm.dll library to play MP3 files and when i load a song it takes kins of 3-5 seconds to open and start the song . I wish to make a music app and that requires fast loading. Any ideas how i can improve the code ?
Here is the code i've used : http://www.geekpedia.com/code111_Play-MP3... | stackexchange/codereview |
I'm making a tower defense game and I'm stuck at the multithreading of the pathfinding. If i don't make the pathfinding an NSInvocationOperation then there is an increasing pause in the rendering the more fiends and towers i have.
However i cannot solve the "locking" issue. I get frequent crashes about enumerating my f... | stackexchange/codereview |
How to restrict the tables in UITableView? i have only 5 cell data. I need to restrict the count of rows to 5...
| stackexchange/codereview |
I've settled on the Play framework for the rewrite of our intranet portal. Our portal contains a lot of loosely related stuff so I'm looking for advice on if or how to break it into multiple Play applications.
What are the consequences of making it multiple applications? Is single sign-on still possible? How is acce... | stackexchange/codereview |
I can't seem to use Git to push to the server. However, I can SSH to the box.
I can't figure out why:
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "server_idm"]
url = ssh://username@domain.com... | stackexchange/codereview |
I'm using FQL to get data from user's stream to build a web page looks like wall-to-wall. With two queries:
query = "SELECT post_id, message, created_time FROM stream WHERE filter_key IN (SELECT filter_key FROM stream_filter WHERE uid="+user['uid']+" AND type='newsfeed') AND target_id = "+uid+" AND actor_id = "+user['... | stackexchange/codereview |
I have this CodeIgniter and MySQL application.
I have a database table where one field must be unique. When I "delete" a record from the table I don't want to really remove it from the table, I just want to set free the value of the unique field so it can be used for a future new record without conflicts and leave it t... | stackexchange/codereview |
I got stuck with the following Python code
>>> a = 0xff
>>> b = 1 << 8
>>> ~a & ~b
-512
Why is it -512? In binary notation it should look like this:
a 0 1111 1111 -> 255
b 01 0000 0000 -> 256
~a 1 0000 0000 -> -256
~b 10 1111 1111 -> -257
~a&~b 00 0000 0000 -> 0
I expected 0 as ... | stackexchange/codereview |
I have to deploy a webapp on Tomcat 6.0.24, serving some webservices that should be accessed with REST-style methods (not fully REST, since the used flex class HTTPService can just send GET and POST).
The webservices are deployed at http://localhost:8080/-webappname-/rest/-methodname-
The problem is that the policy of... | stackexchange/codereview |
Good day,
I have been using JNA for a while to interact with the Windows API and now I am stuck when creating a window. As far as I have done the following:
1. Have created a child window of an existing window and obtained a valid handler to it.
2. Understood that every window in Windows has a non-stop message-dispatch... | stackexchange/codereview |
On every new SharePoint 2010 site you get the default search box (In the MasterPage) that allows you to just do a normal search.
I would like to replace this with some item that will allow you to pick Advanced or People Search, something like this.........
Is it possible to replace/alter the default search box in the ... | stackexchange/codereview |
I am trying to persist the collection of child elements, the solution works but I would like to ask the more experienced people if the approach is the right one?
public bool InsertNewActionHistory(ActionHistory actionHistory)
{
bool result = false;
using (TransactionScope transactionScope = new Tra... | stackexchange/codereview |
I'm grabbing frame images from the iPhone's camera at a rate of 25fps using a resolution of 192 x 144 and a 420v, BGRA format.
I'm converting the CVImageBufferRefs into UIImages and then calling UIImageJPEGRepresenation(image, compressionQuality) to get a compressed JPEG version of the image.
Using the Time Profiler in... | stackexchange/codereview |
It is possible to set an order of initialization of objects at an application launch?
For example:
I have two objects in IB: myObj1, myObj2.
Both of them implement method -initWithCoder:
Properties of objects sets in IB.
myObject2 Initialize is depend from properties of myObj1.
Question: Is exist methods that set or... | stackexchange/codereview |
I need to customize the Browser scrolls (Horz and vert) as per my requirements. and about the customization of div scrollers i know how to do that but i want to customize the main Browser scroller.
I need to minimize it in width so that it can take less width as compare to its default on Win 18pxls.
Shabir Gilkar
| stackexchange/codereview |
Not quite sure how to phrase this, but should I release a variable in this situtation:
NSString *string = @"HELLO WORLD";
NSArray *array = [NSArray arrayWithObject:string];
NSString *shouldIReleaseThis = [array objectAtIndex:0];
NSLog(@"%@", shouldIReleaseThis);
//???? [shouldIReleaseThis release] ??????
//Do stuff... | stackexchange/codereview |
I have an ASP.NET TextBox with TextMode = TextBoxMode.MultiLine that is used within an AJAX Update Panel. The .Text value has been pre-set to a value that has multiple lines.
When using Chrome(7.0.517.41) or Firefox(3.6.11) working with the controls posted back value on the server the carriage return is lost if the use... | stackexchange/codereview |
I'm trying to find out the best way to check if an item is already in an array.
I have a number of checkboxes that belong to 1 of 5 groups. When a user clicks on one of these checkboxes, a second and third list that belong to one of the groups is written to the page.
What I'm trying to do is add these groups to an arra... | stackexchange/codereview |
Is it possible to filter a named query in a reporting services data source view on the global user ID?
I would like to do something like select UserName, ContactNumber, Email from Users WHERE (Users.UserName = User!UserID) so that it returns the name and contact details of the user running the report.
Any help would be... | stackexchange/codereview |
I've inherited some database creation scripts for a SQL SERVER 2005 database.
One thing I've noticed is that all primary keys are created as NON CLUSTERED indexes as opposed to clustered.
I know that you can only have one clustered index per table and that you may want to have it on a non primary key column for query p... | stackexchange/codereview |
Solution 1 :
foreach (var item in itemList)
{
myContext.ExecuteStoreCommand("EXEC MyProc {0};", item); // Insertion
}
or
Solution 2 :
StringBuilder sb = new StringBuilder();
foreach (var item in itemList)
{
sb.AppendLine(String.Format("EXEC MyProc {0};", item)); // Insertion
}
myContext.ExecuteStoreCommand(sb.T... | stackexchange/codereview |
I am currently trying to code our existing desktop application in JSP.
To be able to maintain sustainability, have visual effects and get functionality, I have decided to use JQuery.
After starting to code a month ago, we now realized that these pages are bringing a heavy usage of libraries (JQuery and JQueryUI librari... | stackexchange/codereview |
I'm trying to change the focus whenever a user presses tab on the last field. I want to set the focus on to another input field.
I have the following javascript code:
$("#input2").keydown(
function()
{
if(event.which == 9)
{
$("#input1").focus();
}
}
);
And this is my trial html code:
<div id... | stackexchange/codereview |
Reviewing for midterm, need some help with the following:
Given the points p0 = [1 0] and p1 = [4 6] write the implicit equation for a line in vector form (i.e. compute the appropriate v and n). Is the point p2 = [1.5 3] on the line or above or below the line?
What is the equation for a plane with the norman n = [5 3 4... | stackexchange/codereview |
I use DependsOn for static dependencies such as connection strings. What is the equivalent function for Unity's Fluent interface?
| stackexchange/codereview |
I have downloaded Qt Mobility Open source project. I had a set of demo apps. And when built it and started the App, I got this error:
Failed to start program. Path or
permissions wrong?
Can someone tell me what this problem could be?
UPDATE:
The complete error is:
Starting
/Users/xxxxx/Qt/qt-mobility-opensource-... | stackexchange/codereview |
The first character can be anything except an equals sign (=).
I made the following regex:
[^=].
ab, b2 etc will pass, and =a will not.
But the thing is, I also want to accept single character:
a should also be accepted. How can I do that?
Update
You might wonder why I'm doing it. I have a URL regex
(?!=)((www\.|(http... | stackexchange/codereview |
I'm using JsFl in my Flash CS4 application to provide some feedback to our 2D artists.
I'd like to display a dialog box, thanks to JsFl, filled with a listbox or a tree...
And my problem is : my dialog box is displayed but my listbox is freaking empty (even listheaders are missing).
here is my JsFl call to my XML:
var ... | stackexchange/codereview |
I can't seem to float DIV's correctly. What i am trying to achieve is being able to position 4 DIV's next to each other. Each aligned to the top at 0px, and spaced apart by 30 or so pixels, but i cannot use absolute positioning. The size of the DIV's are adjusted according to screen size. So, i need to position the DIV... | stackexchange/codereview |
I am looking to get into Windows phone 7 development. I am running Windows 7 and i know it supports multi touch which i can then use in the emulator if enabled.
Is there any way for me to try this out without me paying a premium for a tablet, phone or touch monitor?
Many thanks,
Kohan.
| stackexchange/codereview |
How to get XmlSchema object from large string that contains all XSD content?
| stackexchange/codereview |
This question has come up a few times in various forums in my searching, but none have provided a concise resolution.
If I have the following tables:
User
+- id
+- username
+- password
Article
+- id
+- title
+- content
and I want to join them in order to determine who created what articles, I could simply add the col... | stackexchange/codereview |
Whenever I was inserting AT&T to database it was added as AT&T semicolon is added extra in code igniter.
My code is like this:
$this->input->post('carrier_name');
$this->db->insert('cs_carrier',$insert);
please suggest.
| stackexchange/codereview |
I am using perl module HTML::DOM (link to CPAN) for building HTML DOM tree from HTML code and then changing it using standard DOM's removeAttribute, removeChild, innerHTML, createElement and so on.
But, I have found out it's really, really slow and eating too much memory (it's fully in perl, anyway). So, I thought that... | stackexchange/codereview |
I am looking for a way to search for an ID on the current clicked element.
Example:
$('.t_element').click(function(){
if(!$('.t_element [id*=meta]')) {
transModal($(this));
translateText();
}
});
I basically need to say if the clicked element id does not ... | stackexchange/codereview |
I have a class Account
public class Account {
private int id;
private String name;
//getters and setters
}
and a class Contact
private class Contact {
private int contactid;
private Account account;
//getters and setters
}
In a simple form controller, we initialize the command object through setCommandName method. N... | stackexchange/codereview |
I created a Delphi 2010 application. It is use by many company in the region from trusted to untrusted users. The application authenticate users with MySQL behind MD5 encrypted password. Following this, the application need to upload and download many files trought ftp.
The fact is : any network sniffer (such as Ethere... | stackexchange/codereview |
How to add icons in notification area?
| stackexchange/codereview |
The Code-
$.ajax({
url: "edit.php",
success: function(html)
{
$("#last").html(html).hide().slideDown('slow');
alert("hello");
}
});
Mozilla shows it all fine. Where as IE (being the normal PMS *) doesn't load anything into #last but does show the alert, what could be the problem?
I thoug... | stackexchange/codereview |
our web application frequently losses it's session state (user is being logged out very often). I predict that the reason of such behavior are some exceptions thrown and unhandled in side threads of application or whole application restart.
I'm pretty sure that it's not caused by recycle worker, because it happens in i... | stackexchange/codereview |
So here's my code:
(define *graph* (read(open-input-file "starbucks4.sxml")))
(define get-artifacts
(lambda (l)
(member (list 'opm:artifact) l)))
When I type get-artifacts(*graph*) I get an error saying procedure application: expected procedure, given:...(the whole of my file contents)
Anyone see what I'm doing ... | stackexchange/codereview |
I'm trying to seamlessly log in the user without prompting for credentials as part of a <asp:Wizard> process. My strategy is to handle the NextButtonClick event and login the user in code. I already have the user's credentials saved in session variables.
Is it possible to login a user in code? Will a hidden <asp:Login>... | stackexchange/codereview |
In my music/rhythm game, I using serialization in order to save user-created simfiles (think music tabs or notecharts). Nothing too earth-shattering there. But, I'm using a DataContract in order to perform the serialization, because:
1) I need private and protected fields serialized as well. I don't care if they're vis... | stackexchange/codereview |
My Issue is that the last query in this sproc is saying that I need to declare @N but I already have any ideas?
DECLARE @t TABLE
(Smpinstanceid UNIQUEIDENTIFIER)
INSERT INTO @t
(Smpinstanceid)
SELECT t.SmpInstanceid
FROM Tasks t
WHERE t.Completed IS NOT NULL and t.SmpInstanceID is not null
... | stackexchange/codereview |
Running Swig example for ocaml gives me this error message.
rm -rf swig.mli swig.ml swigp4.ml && ../../../preinst-swig -ocaml -co swig.mli 2>/dev/null && ../../../preinst-swig -ocaml -co swig.ml 2>/dev/null && ../../../preinst-swig -ocaml -co swigp4.ml 2>/dev/null && ocamlc -c swig.mli && ocamlc -c swig.ml && ocamlc -... | stackexchange/codereview |
I have a layout that contains several sub-views all which set height like:
<View android:layout_width="fill_parent"
android:layout_height="18dip"
android:background="#ff000000" />
How can I retrieve the value stored in layout_height in code?
Ultimately, what I would like to do is being able to adjust the size ... | stackexchange/codereview |
In order to traverse grids with data in a fast and flexible way I set up an abstract, templated GridDataStructure class. The data should be accessed by STL iterators. When someone uses the class, he should not worry about which kind of STL iterator is appropriate for a specific subclass.
A solution to this problem see... | stackexchange/codereview |
Possible Duplicate:
Android Delete from listview
This is my layout that suppot delete from listview ,the problem is when listview height is higher than screen height it goes under the button , so need a solution for avoding it
| stackexchange/codereview |
I have a TCHAR and value as below:
TCHAR szDestPathRoot[MAX_PATH]="String This";
Now I want the 1st three character from TCHAR , like below:
szDestPathRoot.substring(0,2);
How can I do this.
| stackexchange/codereview |
Or do they and it's just not in the source? I'd really like to get something that will stop js-doc-toolkit from freaking out each time it parses jQuery. It also means I can't properly document any code using jQuery as a dependency without at least putting some boilerplate js-doc blocks, which fail to properly document ... | stackexchange/codereview |
I an ASP.NET MVC we can pass some data via a ViewData and then show it on a page:
<%: ViewData["Foo"]%>
But how to make a hyperlink out of it?
Something like following:
<%: Html.ActionLink(ViewData["Foo"], "Index", "Home") %>
| stackexchange/codereview |
Hey so I a new to C but a intermediate level programmer in general. I'm looking in to make files and having issues figuring out exactly what they are for, and how to use them. So for example I am currently compiling each of my files in my project individually by typing:
gcc -o newoutfilename1.out oldcfilename1.c
gcc ... | stackexchange/codereview |
So this is a homework assignment, and it's kind of a doozy so i'll try to TL;DR it. Basically Im making a Shared memory database with 5 files (load,query,clean,print,change)
Load loads the database from a file. (students have a first name/last name/address/telephone number)
Query lets someone "search" for a specific st... | stackexchange/codereview |
In my JavaScript code I am first calling a function to update an image:
document.getElementByID("i1").src = newImage;
then a few statements later the alert() function is called to display a message:
alert("image updated!");
However, when I run this code, what actually happens is that the alert box is popped up before... | stackexchange/codereview |
I want to know this, I believe is C++ & Windows .. but what you know?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.