text stringlengths 8 267k | meta dict |
|---|---|
Q: Sorting IQueryable by Aggregate in VB.net been searching for a quick example of sorting a IQueryable (Using Linq To SQL) using a Aggregate value.
I basically need to calculate a few derived values (Percentage difference between two values etc) and sort the results by this.
i.e.
return rows.OrderBy(Function(s) CalcVa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is Office 2007 PIA deployment possible without Office 2007? Does Office 2007 PIA also require Office 2007 to be installed?
Can I deploy Office 2007 PIA with VSTO 3.0 (without having Office 2007 installed)?
EDIT: I have a windows application that generates MS Word files. I have added the Office 2007 PIA as custom pre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: ObjectDataSource Gridview Insert Fails W/ Empty Values Dictionary I have a gridview to which I have created an Insert Template in the footer row.
I have an ObjectDataSource which is bound to a business object.
I have an OnInserting event handler which never gets fired.
The program encounters an error once I call .In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: HTTP 403 Error while accessing web service Im trying to access a web service from a remote computer. I managed to access the web service from the browser. But Im getting HTTP 403 when I try to call the web service from the application.
Any idea why?
A: A 403 response indicates that the host or software you're conne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can I use multithreading with Perl's DBI and Oracle? Does anyone know of any gotachs or problems when writing multithreaded Perl applications using the Oracle DBI? Each thread would have it's own connection to Oracle.
For the longest time I was told multithreading was not supported in Perl with Oracle.
A: The Perl ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Learn Obj-C Memory Management
Possible Duplicate:
Where are the best explanations of memory management for iPhone?
I come from a web development background. I'm good at XHTML, CSS, JavaScript, PHP and MySQL, because I use all of those technologies at my day job.
Recently I've been tinkering with Obj-C in Xcode in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: RSS viewer in SharePoint strange I am getting into strange situation regarding the RSS viewer on SharePoint
I have two environments of SharePoint (production & testing)
I was showing a specific RSS news (ABC) on both of them , and it was working after setting the proxies and other stuff.
Suddenly (may be due to some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Div collapse after float css I have a div called NAV and inside of NAV I have an UL with 5 li which I float to the left, the li's that is but when I do that the NAV collapses. I know this because I put a border around NAV to see if it collapses and it does. Here is the example.
collapsed http://img401.imageshack.us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Adobe AIR Keyboard Hook I'm trying to add a feature to my AIR app that can listen for (configurable) global keyboard events even when the app is minimized. Ex: CTRL-ALT-SHIFT-F12 to grab a screenshot.
I can't find any way to register a keyboard hook, and listening for keyboard events only captures them when the app ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Scrollable div without overflow:auto? In my app I have 2 divs, one with a long list of products that can be dragged into another div (shopping cart). The product div has the overflow but it breaks prototype draggable elements. The prototype hacks are very obtrusive and not compatible with all browsers.
So I am takin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inclusion and exclusion of subreports (iReport-JasperReports) I need to include or exclude a subreport based on a condition. I'm using iReport to create JasperReports. I.e., if a subreport has values, I need to include that subreport, otherwise not. Can anyone please send a sample or tell me how to resolve this.
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best algorithm/technique to control client connections to the server? I have over 50 clients connected to one server (low end server, running windows 2003 server), every time there is a power failure or switch failure the clients will disconnect from the server, the server might remain on during this inc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I copy files with ASP.Net using Vista and IIS7? I have a button on a website that creates a directory and copys a file. I developed it using Visual Studio 2008, ASP.Net 3.5. I am running Vista as my OS. The website uses identiy impersonation.
The functionality doesn't work ("Access to Path XYZ is denied")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does MySQL add a comment to InnoDB tables? When using phpMyAdmin or the MySQL GUI Tools, whenever I create an InnoDB table, it adds a comment to the table like this:
InnoDB free: 9216 kB
What does this mean? What's it used for?
A: InnoDB stores many tables per file. Inside that InnoDB data file, there can be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: .NET - Error trying to compile Automatic Properties I'm trying to compile a POCO with this code
public class MenuItem
{
public string Name
{ get; set; }
public string Url
{ get; set; }
}
I keep getting compile errors on the gets and sets with messages like:
'MenuItem.Name.get' must declare a body... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Fill pattern of an arbitrary size in Intel hex file I have been trying to do a fill using the open source Srecord Program. I need to do a fill that is
0xC2AF00. It appears the program can only do fills that are a byte long (ex: 0xff). If this is not possible with the Srecord program, then how would I go about writ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Inheriting from ViewPage Is it possible to inherit from both ViewPage and ViewPage<T>?? Or do I have to implement both. Currently this is what I have for ViewPage. Do i need to repeat myself and do the same for ViewPage<T>??
public class BaseViewPage : ViewPage
{
public bool LoggedIn
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is a multi-user and multi-processor environment useful with threading? Taking CPU affinity into account, will such an environment be useful with threading? Or will there be a performance degradation in such a system, if multiple users login and spawn multiple kernel and user threads?
A: When you say "taking CPU aff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reference Counting in C++ I'm implementing a math library in C++. The library will be compiled to a DLL so those who use it will only need the header files the classes' definitions.
The users of my classes will be people who are new to the language. However, there are some objects that might be referenced in several... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can i connect two or more machines via tcp cable to form a network grid? How can i connect two or more machines to form a network grid and how can i distribute work load to the two machines?
What operating systems do i need to run on the machines, and what application should i use to manage the load balancing?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How would you implement StackOverflow's profile page in ASP.NET MVC? I'm guessing the StackOverflow code has something along the lines of a UsersController that defines a function like this:
public ActionResult Profile(string id, string username, string sort)
{
}
From what I can tell, there's two ways to go abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I start with working Sub-Version + Delphi? I'm new to this SCM, but since SVN is gaining popularity I was going to give it a try.
Things I noticed:
*
*SVN is only the backbone of the SCM, no front-end?
*Why is there several versions of Windows Binaries? Tigris? SlikSVN? VisualSVN?
*Do I need a Web Server... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: In smarty div position fixed is not working In smarty div position fixed is not working. While this one is working in simple php.
A: This will hardly be a Smarty problem. Just save both HTML pages and locally and compare. What's the difference? Maybe you could even use a diff tool for this. Have you tried to valida... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble with StructureMap and a public property I need to set I've got an interface which i've used StructureMap to Dependency Inject.
public interface IFileStorageService
{
void SaveFile(string fileName, byte[] data);
}
The interface doesn't care WHERE the data is saved. Be it to the memory, a file, a network ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Combining two PDF files in C++ In C++ I'm generating a PDF report with libHaru. I'm looking for someway to append two pages from an existing PDF file to the end of my report. Is there any free way to do that?
Thanks.
A: You can use the Ghostscript utility pdf2ps to convert the PDF files to PostScript, append the Po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get Id using LINQ to SQL How can I get a record id after saving it into database. Which I mean is actually something like that.
I have Document class (which is entity tho from DataBase) and I create an instance like
Document doc = new Document() {title="Math",name="Important"};
dataContext.Documents.InsertOnSubmit(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Making a row of divs all be the same height using CSS I have a row of divs that must all be the same height, but I have no way of knowing what that height might be ahead of time (the content comes from an external source). I initially tried placing the divs in an enclosing div and floated them left. I then set their... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Size of a library and the executable I have a static library *.lib created using MSVC on windows. The size of library is say 70KB. Then I have an application which links this library. But now the size of the final executable (*.exe) is 29KB, less than the library. What i want to know is :
*
*Since the library is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: What is the best way to save my POJOs into Jackrabbit JCR? In Jackrabbit I have experienced two ways to save my POJOs into repository nodes for storage in the Jackrabbit JCR:
*
*writing my own layer
and
*using Apache Graffito
Writing my own code has proven time consuming and labor intensive (had to write an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: .net drawing: problems scaling a pen System.Drawing:
I found a post (with no answer) that explains my problem very nicely.
I'm having trouble controlling the Pen width where the graphics are transformed. Either it's 1 pixel or it snaps up to 50 or so. I can't set anything in between. Everything looks right, except I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Password protected PDF using C# I am creating a pdf document using C# code in my process. I need to protect the docuemnt
with some standard password like "123456" or some account number. I need to do this without
any reference dlls like pdf writer.
I am generating the PDF file using SQL Reporting services reports.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Sql Query Linking Two Tables One doubt in MSSQL.
There are two tables in a databases.
Table 1 named Property contain
fields PRPT_Id(int),PRPT_Name(varchar), PRPT_Status(bit)
Table 2 named PropertyImages contain fields PIMG_Id(int),PIMG_ImageName(varchar),PRPT_Id(int),PIMG_Status(bit)
These two tables follow a one-t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If cookies are disabled then how to retain the data in C# .net If cookies are disabled in the browser then how can we retain the data when user next time logs in.
e.g. for login page how to retain user name is cookies are disabled?
A: You can use cookieless sessions to store session data. This function embeds the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ const_cast usage instead of C-style casts Why is the following?:
const int i0 = 5;
//int i1 = const_cast<int>(i0); // compilation error
int i2 = (int)i0; // okay
int i3 = 5;
//const int i4 = const_cast<const int>(i3); // compilation error
const int i5 = (const i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Manage ADO.NET Entity Framework ObjectContext in ASP.NET MVC I'm using ADO.NET EF in an MVC application. I'm considering putting the ObjectContext inside HttpContext.Current so that all logic in the same request can access to it without having to open/destroy each time. However, I'm really sure if it's a good way ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SproutCore and Cappuccino I'm about to build a web app and I would like to use either SproutCore or Cappuccino. Only thing is, I can't figure out which one to use...
I've been reading about them, and they seem to share the same goals (MVC on the client, with a thin REST server). I understand that they differ in thei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Is it good practice to replace Class with Class extends Object> to avoid warnings? In a bunch o' places in my code, I have something like this:
public Class mySpecialMethod() {
return MySpecialClass.class;
}
which causes the warning
Class is a raw type. References to
generic type Class should be
parameteri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: DatagridView + Custom Object binding I have a datagridview in .NET 3.5 that needs to display the following columns :
ID, Name, ID2, Name2
This datagridview is binding as follows :
BindingList<Class1> source = new BindingList<Class1>();
source.Add(new Class1 { ID = "1", Name = "Test", Class2Ref = new Class2 { ID2 = "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to import mdb to sql server I have a vb application. Now I have developed that same vb application in Asp.net. In vb I had used MSAccess database. In asp.net I am using Sql server. Now I want to Move or copy the MSaccess database data into Sql server.
A: Microsoft Access, if I recall has a Sql upsizing wizard,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to stop Gmail from marking mails sent by my web app as spam? I have a simple web application that provides daily financial data. Users subscribe, and we send them an email every day. However, Gmail is marking all of our emails as spam. What should we be looking out for?
A: This is a common problem many companie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Debug C++ program in Linux I have written a simple C++ program like this:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello.";
return 0;
}
Now I want to debug it. So what will be the command for it so my control goes to every line?
A: I always thought emacs provided a pretty user-friendl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Saving Data Structures in C# I'm learning C# by writing a home library manager.
I have a BookController that will store the books in a data structure and perform operations on them.
Does C# have a way of saving the data in the dictionary to a local file perhaps in an XML fashion to load later, or am I going to have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Mark Of The Web and XML+XSL Is it possible to use Mark of the Web in XML file which is parsed by a local XSL file?
When I insert MOTW mark:
<!-- saved from url=(0014)about:internet -->
i get following message:
Access is Denied. Error Processing Resource.
Ok, I see that I was trying to do it wrong - I wanted to ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calculating Connection/Download Speed I have a client and server program (both in Obj-C) and I am transferring files between two devices using the programs.
The transferring is working fine, but I would like to display to the user what transfer rate they are getting.
So I know the total size of the file, and how muc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Fixing a slow GridView I am trying to determine why an asp.net grid view is so horribly slow. The grid view is contained in a custom sub class that adds a custom pager and does some special formatting. Further, the custom grid view is contained in a user control that puts the grid view in an update panel and combine... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do i populate a POCO (child) IList property from a Linq2Sql query? I have a two classes:
public class Question
{
public IList<Answer> Answers { get; set; }
}
public class Answer
{ .. }
In my Linq2Sql designer, there's two L2S objects on designer, with the correct 0<->many arrow between them. Kewl.
I'm not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Customizing Google Custom Search Does anyone know how to remove the extra branding on the google custom search?
they've added a button and other things like text that says "gadgets powered by google".
there has to be a way to pipe the CSE data into a normal form, right?
http://www.google.com/coop/cse/
A: I guess t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C stack overflow on Project Euler 27 I just have started to learn Haskell and combine reading books and tutorials with solving problems from Project Euler. I have stuck on Problem 27 because I get "C stack overflow" error using this code:
euler.hs
divisors n = [x | x <- [1..n `div` 2], n `mod` x == 0] ++ [n]
is_pri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Differences between Python game libraries Pygame and Pyglet? I've had some experience with Pygame, but there seems to be a lot of buzz around Pyglet these days.
How do these two libraries compare? What would be the advantage of using one over the other, both in features and ease of use?
Finally, would you say that o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: How to read any text after = sign stored in a file I am working on some batch file.
I need to read name from some text file. Let me explain it
I have one file File.txt, which has entry like FirstName=John.
Now my batch file should read text John from the file and I should be able store John in some variable too.
But... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Java Listener inheritance I have a java class which fires custom java events. The structure of the code is the following:
public class AEvent extends EventObject {
...
}
public interface AListener extends EventListener {
public void event1(AEvent event);
}
public class A {
public synchronized void addAListe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Delphi 7 and events I'm researching a bug that looks like some kind of timing issue and so I'm a bit curious about how events work in Delphi 7. What happens is we get some data sent to our application through a COM interface and it gets handled in an event raised from the COM thread. It seems like the event, which h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: invokeAll() is not willing to accept a Collection> I fail to understand why this code won't compile
ExecutorService executor = new ScheduledThreadPoolExecutor(threads);
class DocFeeder implements Callable<Boolean> {....}
...
List<DocFeeder> list = new LinkedList<DocFeeder>();
list.add(new DocFeeder(1));
...
execu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Java 6 JVM Hang Apologies for the long post, but I wonder if I could get some more eyeballs on this before I submit a bug report to Sun.
JVM: 6u11
O/S: Windows XP SP3
Hardware: AMD Athlon 64 X2 4600+ @ 2.41GHz, with 3.25 GB RAM.
I believe I have encountered a fault in the JVM where no thread is given a monitor. In ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to use jQuery I have written jQuery code, in files Main.html and ajax.php. The ajax.php file returns the link of images to Main.html.
Now in Main.html, I have Image1, Image2, Image3, etc.
My Main.html file:
<html>
...
# ajax.php Call
...
# Return fields from Ajax.php
</html>
My ajax.php file
ech... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making Excel macro for fast data entering ::: VBA ::: Excel ::: I have a job to enter survey results (in paper form) to excel.
I've never written any macro in Office :(
Here I what I basically need:
*
*I have predefined columns (|A|B|...|AG|AH|)
*All surveys are grouped into groups. All surveys from same group h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accessing a USB device without using the drive letter in Windows Is it possible to access a USB drive or Flash card without using the drive letter that Windows assigns it? I thought I read somewhere that the Volume GUID or something can be used but will that allow me to open it up in explorer once I identify it? The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MsTest Run all test in folders I am trying to setup a TeamCity 4.0 build server to run VS2008 (non-TFS) unit tests.
If I manually create a test list and maintain the list so all unit tests created are included in the list, I can use the "/testlist:mylist" option to run all the tests automatically on the build server... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Proper Memory allocation I have the following construction:
typedef struct bucket {
char *key;
ENTRY *data;
struct bucket *next;
} bucket;
typedef struct {
size_t size;
bucket **table;
} hash_table;
But I have no idea how to allocate memory for that. I tried:
hash_table* ht = malloc(sizeof(has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: scrollbar action in java i'm begginner in java,
i have textarea and i have set only verticle scrollbar to that textarea.i'm appending data for every 1 minute to textarea,problem is when new data appends to the textarea scrollbar will move up.To see the new data,every time i have to drag the scroll bar, that is not t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding an extension mapping to IIS if you browse the internet it's relatively easy to find code that modifies existing script maps (to switch between .NET versions, for example). However, the relatively obvious code to actually add or remove a script map doesn't seem to work. Has anyone succeeded in writing someth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Runtime error 1004: Application-defined or object-defined error I've been having a major issue... well maybe not major, but I've been trying to figure this out since yesterday lunchtime.
I have the following code:
Application.CutCopyMode = False
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What do you look for in a sequence diagram to indicate that the system is well architected? What good-practice-indicating idioms do you look for in a sequence of method invocations, as depicted on sequence diagrams?
A: Look for the telltale central controller. A well-factored system will tend to have an even alloc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: convert a keycode to the relevant display character In a C# Windows.Forms project I have a control that does not supply the KeyPressed event (It’s a COM control – ESRI map).
It only supplies the KeyUp and KeyDown events, containing the KeyEventArgs structure.
How can I convert the information in KeyEventArgs to a d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Sometimes offline application architecture question I have a n-tier winform client server application running against sqlserver DB. I want it to be able sometimes to run "offline" (not connected to the DB) and on reconnect, reconsile the changes to the main DB. Now, this i have tough architecture decision to make: s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I efficiently manage Perl modules for code reuse? My company develop web apps using combination of mod_perl, axkit and apache.
We have tons of Perl modules, javascripts, etc, all in unix operating system.
Whenever I need to write a new function, I try to do some code reuse, but the thing is all the Perl modu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Simplest way of mapping an index to a string in C++ Requirements:
*
*Must be able to use C strings as well as C++ strings
*Fast
*No maps
*No templates
*No direct lookup, i.e. index might be out of bounds.
*Index is not consecutive
*Enums and strings contained in one header file
*Only instantiate what you u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open Sql2008 Table I want To open Table By Sql 2008 Enterprise Manager Interface
As in Sql2005 Enterprise Manager Interface by Right Click then Click open Table.
A: Right-click on the table in question and select "Edit Top 200 Rows".
The "200" is configurable from the Tools\Options dialog under "SQL Server O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding title in contentplaceholder adds second empty title tag My master page has a contentplaceholder in the head tag.
Because I want my page's title to represent the function of the current page and because I want the title to be translated in the user's language I have added a title tag in the page's head's conte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SSL Socket in Windows. Library? Synchronous/Asynchronous? Threads? I have a 2 threads application. One GUI thread and one worker thread (CWinThread) in which I make time consuming operations - calculations and HTTP comunication.
I have to switch from HTTP to SSL socket connection. I also need to make a verification... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to use Crystal Reports with ASP.NET? How to use crystal Reports with ASP.Net 2.0.
Any Samples/Tutorials/Examples which shows how to deploy Crystal Reports on a production Server.
A: Having just been through the pain of this myself, here's a couple of pointers that will hopefully save you time...
Crystal Reports... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: StreamReader problem - Unknown file encoding (western iso 88591) When reading data from the Input file I noticed that the ¥ symbom was not being read by the StreamReader. Mozilla Firefox showed the input file type as Western (ISO-8859-1).
After playing around with the encoding parameters I found it worked successful... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Container Interface - Detailed Explanation I was just reading up a lecture which breifly went over Container Interface.
I didn't fully comprehend the material and couldn't find too much via google. What I was wondering was, can any of you explain it in real world terms. Also explaining alternatives and when its bett... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Work around Java's static method dispatching without Double Dispatch/Visitor patterns I am using a class Foo that provides these methods:
String overloadedMethod(Object)
String overloadedMethod(Goo)
Since Java statically dispatches on the non-receiver argument, I cannot just pass my value (which is an Object, but m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Server to Oracle10g conversion I currently have a SQL Server (Express 2005) database to hold some transaction/metadata that I now want to migrate to Oracle 10g express instance.
Can you do this programmatically or is there a decent software tool that anyone can recommend?
A: Oracle Migration Workbench is incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to set a breakpoint in Eclipse in a third party library? I'm getting a NullPointerException in a Class from a 3rd party library. Now I'd like to debug the whole thing and I would need to know from which object the class is held. But it seems to me that I cannot set a breakpoint in a Class from a 3rd party.
Does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "60"
} |
Q: DataSource containing a null value makes ComboBox fail I've thrown myself headfirst into C# and .Net 2.0 using Linq, and I'm having a few problems debugging some of the problems, namely the following:
I have a ComboBox control (cmbObjects) I want to populate with a set of objects retrieved using Linq. I've written a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cleanest way to build an SQL string in Java I want to build an SQL string to do database manipulation (updates, deletes, inserts, selects, that sort of thing) - instead of the awful string concat method using millions of "+"'s and quotes which is unreadable at best - there must be a better way.
I did think of usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "120"
} |
Q: How to programmatically check an item in a CheckedListBox in C#? I have a CheckedListBox, and I want to automatically tick one of the items in it.
The CheckedItems collection doesn't allow you to add things to it.
Any suggestions?
A: In my program I've used the following trick:
CheckedListBox.SetItemChecked(Checked... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: Server Error ASP.NET 2.0 Hi Guys can you please help me with this error? What is it?
Server Error in '/' Application.
The request failed with HTTP status 400: Bad Request.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more informa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Data Annotation Validators in Winforms? I like the Validation Application Block from the Enterprise Library :-)
Now i would like to use the DataAnnotations in Winforms, as we use asp.net Dynamic Data as well. So that we have common technologies over the whole company.
And also the Data Annotations should ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Forbidding SVN commit lacking description I have an SVN repository and I need the commits to fail if no description is entered. Is this possible to do, preferably server-side? (The users use several different tools for interacting with the repository; although if this were possible client-side in TortoiseSVN, that w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does my application allow me to save files to the Windows and System32 folders in Vista? I have an application written in Delphi 7 which does not require an admin privilages to run.
For some reason I am able to save files to c:\windows and c:\windows\system32 from within the application even though the applica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Why is my typed data template not being applied? I'm using Linq To Sql to fill up a listbox with Segment objects, where Segment is designer created/ORM generated class.
<Window x:Class="ICTemplates.Window1"
...
xmlns:local="clr-namespace:ICTemplates"
Title="Window1" Height="300" Width="300">
<Window.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: JSON object for just an integer Silly question, but I'm unable to figure out..
I tried the following in Ruby:
irb(main):020:0> JSON.load('[1,2,3]').class
=> Array
This seems to work. While neither
JSON.load('1').class
nor this
JSON.load('{1}').class
works. Any ideas?
A: I'd ask the guys who programmed the libra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Drag file from desktop to IE and upload For a project I'm working on I would like the user to be able to drag a file from the desktop or windows explorer and drop it on a web page in IE and have it uploaded to the web server. I've read that its possible with ActiveX but have not found anything about it.
Anyone know ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Are there any podcast about Delphi? Were can I find some good Podcasts that talk about program with Delphi & the whole software lifecycle
A: The Podcast at Delphi
http://www.delphi.org/
Also, you specified "software lifecycle" so there is another great podcast I like which is really language agnostic and that is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How load a PHP page in the same window in jQuery I have a PHP file, Test.php, and it has two functions:
<?php
echo displayInfo();
echo displayDetails();
?>
JavaScript:
<html>
...
<script type="text/javascript">
$.ajax({
type:'POST',
url: 'display.php',
da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java: creating a date object from a string and inserting into MySQL Anytime I have to handle dates/times in java it makes me sad
I'm trying to parse a string and turn it into a date object to insert in a preparepared statement. I've been trying to get this working but am having no luck. I also get the helpful error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why IsNan is a static method on the Double class instead of an instance property? The question is in the title, why :
return double.IsNaN(0.6d) && double.IsNaN(x);
Instead of
return (0.6d).IsNaN && x.IsNaN;
I ask because when implementing custom structs that have a special value with the same meaning as NaN I tend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to obtain a kerberos service ticket via GSS-API? Does anyone know how to get a service ticket from the Key Distribution Center (KDC) using the Java GSS-API?
I have a thick-client-application that first authenticates via JAAS using the Krb5LoginModule to fetch the TGT from the ticket cache (background: Windows e.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Permissions within views in ASP MVC I understand that you can use forms authentication to grant/deny access to certain pages based on the criteria of your choosing.
However I wish to go in a little more specific than that and say, have different buttons appear for users based on thier permissions.
I know I could do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to access an Access database using JavaScript? I have to display marks of my students through my site. The database is created using Microsoft Access. How can I display the marks of each student in a table, as they enter the registration number?
A: I know this is an old question, but I happened to come across t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I mimic this website effect of an expanding and shrinking popup in a WPF application? Please follow the link http://msdn.microsoft.com/hi-in/default.aspx and see the top right corner of the page.
There you will find a "Microsoft.com" expander. When you move the mouse over it, it displays as a popup and grow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to go to main stack I am using alternate stack to handle signals for program in C over linux.
When stack overflow occurs, my signal are delivered on to my alternate signal stack not on the main stack.
So in this situation I want to dump the main stack.... how can I ?
A: remember the top stack address in main (&... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linq to SQl - single result I have been playing with the Linq to Sql and I was wondering if it was possible to get a single result out? For example, I have the following:
using(DataClassContext context = new DataClassContext())
{
var customer = from c in context.table
where c.ID = textboxvalue
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: internal constructor Yesterday I thought it would be nice to implement my own Trigger in a WPF app. I created a class MyTrigger which inherited TriggerBase. TriggerBase is a public abstract class. So inheritance isn't a problem. But the constructors inside this class are marked internal. The compiler throws an error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Where can I find documentation for WSPBuilder 1.03? I can't seem to find any documentation on how to get WSPBuilder working. The codeplex project is located here :http://www.codeplex.com/wspbuilder/Release/ProjectReleases.aspx?ReleaseId=16820
A: I've been using this run through here
http://www.zimmergren.net/archiv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unittesting methods that contain Filesystem calls I have a method I want to unittest that has filesystem calls in it and am wondering how to go about it. I have looked at Unit testing code with a file system dependency but it does not answer my question.
The method I am testing looks something like this (c#)
public ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Best data access method in .NET 2.0 When developing with .NET 3.5 I naturally use LINQ for data access.
But for .NET 2.0 projects, what data access model is the best one to use? I tend to use TableAdapters mainly, but sometimes also write my own SQL depending on the situation.
A: Have you tried NHibernate? I haven'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/370938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.