text stringlengths 8 267k | meta dict |
|---|---|
Q: What is the best way to convert a UTC string to a date in Crystal Reports? Given a UTC time string like this:
2005-11-01T00:00:00-04:00
What is the best way to convert it to a DateTime using a Crystal Reports formula?
My best solution is posted below.
I hope someone out there can blow me away with a one-liner...
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: listbox validation how do i check if an item is selected or not in my listbox?
so i have a button remove, but i only want that button to execute if an item is selected in the list box. im using asp.net code behind C#. I'd prefer if this validation occurred on the server side.
cheers..
A: On the callback for the but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make datagrid height is equal to data content in Adobe Flex In adobe Flex datagrid height is equally to fix height . I want to make datagrid height is depend data .
A: You can set each row of the datagrid to fit based on the contents of a particular column of that row by setting the "variableRowHeight" a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Resharper with large or *very* large files I just wanted to know your experience with using resharper.
We have a very heavy dbml file as our database has many tables and every time I need to open up that file I start getting lots of exception coming from resharper. Has anyone had that problem before? If yes, what di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Are there tools to see if page was read from cache? How can I find out if pictures on my page are loaded from browser's cache or from a remote server to which their <img src=.../> points to?
A: If the remote server is not the same server as wehre the page is located, the short answer is: you don't.
If you REALLY ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VS2008 SP1 silverlight design surface will not allow me to drop components onto it I have VS2008 with .NET 3.5 SP1 (vs has SP1 too of course). I have loaded the latest silverlight tools.. and it went through and un-installed any beta stuff..
No errors installing, and everything else in SP1 seems ok. In fact silver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to call a Compiz-Fusion plugin (ADD Helper) from an application? I'm in the process of planning an application that would make use of the "ADD Helper" plugin of Compiz-Fusion running on Linux. Since I'm just in the planning stages, I basically want to know if it is feasible to use the plugin in a cal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there any downside to putting VB6 dependent files in app directory? Assuming that the Application directory is writeable and that HD space is not an issue, are there any downsides to putting the VB6 dependency files (msvbvm60.dll, etc.) in the .EXE's directory?
I've got the most up to date dependency files and I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Checking for Serialized Objects Is there a built-in way to know if a given session variable is a serialized object? Say I retrieve a value like $_SESSION['foo'], but I don't know if it was originally a string or if it is a serialized object. Is there some way to check, or once serialized does PHP just see a string a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sending emails with Javascript This is a little confusing to explain, so bear with me here...
I want to set up a system where a user can send templated emails via my website, except it's not actually sent using my server - it instead just opens up their own local mail client with an email ready to go. The applicatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "118"
} |
Q: How do you setup your connection pool? What is the best way to setup your pool with respect to:-
*
*When do you create connections?
*When do you close connections, and would you close all of them?
*Do you test connections are still good. When and how?
*How do you figure out a good number for the maximum numbe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What is the most useful type of java.awt.image.BufferedImage for off-screen rendering? I am creating a buffered image that is going to be a snapshot of a JComponent (via paint()) and rendered inside an ImageIcon. There are a large amount of types in the BufferedImage(int width, int height, int imageType) constructo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Will this WCF client side code cause a memory leak? One of the frequent causes of memory leaks in .Net are event handlers which are never removed from their source objects.
Will this WCF code cause a memory leak, or will the lambda go out of scope too, allowing both the proxy class and the handler to be GCed?
void ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What do you think is making this C++ code slow? (It loops through an ADODB recordset, converts COM types to strings, and fills an ostringstream) This loop is slower than I would expect, and I'm not sure where yet. See anything?
I'm reading an Accces DB, using client-side cursors. When I have 127,000 rows with 20 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to configure CruiseControl.NET to build one project on a remote server I have a build server running CruiseControl.NET. It works well for the 7 projects that are configured to run on that server (let's call it server A).
Now I have a new project that I wish to build on a different server (server B), but I want i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Rename nodes with XSLT I am trying something very simple, but for some reason it does not work. Basically, I need to rename some nodes in an XML document. Thus, I created an XSLT file to do the transformation.
Here is an example of the XML:
EDIT: Addresses and Address elements occur at many levels. This is what caus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Send Object to remote javascript file So if i am setting up a yahoo pipes badge on my site, yahoo gives me this code
<script src="http://pipes.yahoo.com/js/listbadge.js">{"pipe_id":"USER_ID","_btype":"list"}</script>
Notice its passing an object literal to the remote script.
i would like to do something similar w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .NET control to edit xml file Can anyone reccomend a .net control (winforms) that can be used to as a designer to edit xml files / DSL files ??
A: One approach would be to create a series of objects that serialize into your desired XML structure.
Then you can deserialize your XML into objects and then bind them to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I detect when a removable disk is inserted using C#? I'm just concerned about Windows, so there's no need to go into esoterica about Mono compatibility or anything like that.
I should also add that the app that I'm writing is WPF, and I'd prefer to avoid taking a dependency on System.Windows.Forms if at all p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How does one add default (hidden) values to form templates in Django? Given a Django.db models class:
class P(models.Model):
type = models.ForeignKey(Type) # Type is another models.Model class
name = models.CharField()
where one wishes to create a new P with a specified type, i.e. how does one make "type" to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is the easiest approach to exporting a Sharepoint list in xml format? Pretty self explanatory. I just need to export lists easily to xml format. Are there any tools that accomplish this?
A: You could also use the Lists webservice. http://server/_vti_bin/Lists.asmx
A: You can write a c# application pretty easi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: GZipStream And DeflateStream will not decompress all bytes I was in need of a way to compress images in .net so i looked into using the .net GZipStream class (or DeflateStream). However i found that decompression was not always successful, sometimes the images would decompress fine and other times i would get a GDI+... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Override System Draw on WM6+ Im developing a "desktop" for WM6+ and i was wondering if i can override the draw that WM does when it starts the OS (like the start menu, softkey bar, and background) basically have my program draw the today screen instead of windows. My program will of course integrate everything that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CompositeData has no keys() method? I'm using JMX to save some diagnostic information from a remote process. Looking at the interface in jconsole shows that the return type is CompositeData (the data actually comes back as CompositeDataSupport). I want to output all the key/value pairs that are associated with this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Ideas for how to deal with viewstate when using ASP.NET AJAX and update panels Here is a class that I wrote to solve some issues that I was having with viewstate. It stores the info in the users session and increments a value to track which state to show. The difficulty is that there is no support for the back but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dynamic Allocation of Constant memory in CUDA I'm trying to take advantage of the constant memory, but I'm having a hard time figuring out how to nest arrays. What I have is an array of data that has counts for internal data but those are different for each entry. So based around the following simplified code I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why does my add method overwrite the Vector? I am adding objects into a java Vector using its add(Object) method.
In my example, the first 5 objects are identical, followed by 2 instances different from the first five.
For some reasons, as soon as I insert the first one that is different, it changes the entire vecto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the easiest way to display an editable list(like a spreadsheet) in HTML? We have a requirement to display an editable list in a web page.
What would be the easiest way to do that? Farpoint Spread was something I have used to achieve this earlier but it was quite slow when a large number of records were invol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: XslCompiledTransform.Load() raises System.IO.FileNotFoundException My webapp (ASP.NET 2.0) consumes a webservice (asmx on 1.1 framework)
on the same machine. After getting XML in return, I pass it to
XslCompiledTransform for transform XML to HTML and it works fine.
Yesterday I got a System.IO.FileNotFoundException... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can Visual Studio 2008 Standard create a single EXE that does not require .NET framework? This is truly a beginner question, so I apologize in advance.
I have Visual Studio 2008 Standard installed and would like to create a small Windows application that does NOT require any .NET framework when run on computers. Doe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Anyone found a PowerShell Syntax highlighting or IntelliSense plugin for Visual Studio? Has anyone found a plugin for Visual Studio to allow for PowerShell syntax highlighting or IntelliSense? If not, does anyone have any idea why not? I keep hoping someone else with copious free time would have tackled this by now... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: Batch scripting documentation Is there some nice documentation for Windows batch scripting I can download and refer to while offline?
A: You can always look at the command help by typing one of:
<command> /?
help <command>
And to see a complete list of default batch commands you just type:
help
Also, you can look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Should you access a variable within the same class via a Property? If you have a Property that gets and sets to an instance variable then normally you always use the Property from outside that class to access it.
My question is should you also always do so within the class? I've always used the Property if there is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Lightweight SQL database which doesn't require installation Could you recommend a lightweight SQL database which doesn't require installation on a client computer to work and could be accessed easily from .NET application? Only basic SQL capabilities are needed.
Now I am using Access database in simple projects and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Cannot cast DataItem to DataRowView in Custom Binding Scenario I have an object that returns an IList which I'm getting from my ObjectDataSource and binding to a Gridview. All works fine if I just use standard binding, but I'm trying to customize my binding to set properties on a linkbutton as follows:
protected vo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the benefits of using WCF?
*
*We currently just utilize soap webservices for all our communication but have been thinking about moving to WCF instead. What are the benefits of using it over an asmx service?
*If we do go with a WCF service, can other languages still communicate with it? SOAP is standardiz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Problem with class design and inheritance in Flash AS3 I have problems with how to design some classes. I have three classes. One superclass, and two subclasses.
One subclass (AnimatedCharacter) is made by flash, and is used to display the object on screen. The other (CharacterPhysics) is made by myself to extend t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to trigger rendering of JQuery treeview I use jquery tree plugin to render hierarchical data.
I have coded additional functions which would allow user to interact with this data (like adding/deleting nodes, swapping nodes, etc...)
Currently this plugin supports that whenever you want to add any node, you can ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Boolean NOT in solr query How do I pick/ delete all the documents from Solr using the boolean NOT notion?
i.e. How do I delete all the documents from Solr who's id does NOT start with A59?
A: Use - to indicate NOT.
For example, to query documents with id not starting with A59, the query would be: -id:A59*, that is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Dynamic url for dojo combobox source I'm trying to use a dojo combobox with an Ajax data source. What I have is
<div dojoType="dojo.data.ItemFileReadStore"
jsId="tags"
url="<%=ResolveClientUrl("~/Tag/TagMatches")%>" >
</div>
<select dojoType="dijit.form.ComboBox"
store="tags"
value=""... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making a generic property I have a class that stores a serialized value and a type. I want to have a property/method returning the value already casted:
public String Value { get; set; }
public Type TheType { get; set; }
public typeof(TheType) CastedValue { get { return Convert.ChangeType(Value, typeof(_Type)); }
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "77"
} |
Q: What installation key software is well suited for Visual Basic or C# apps? So I am getting ready to wrap up another project in VB and C# (written in Visual Studio 2008). Now I want to have the software only run in full version mode if the user enters a valid registration key value (like xxxx-xxxx-xxxx-xxxx). What so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Image loading icon for flash/flex? You often see those little 'petal' animations while an image or .swf file is loading in a Flash / Flex application.
Do I have to steal this from someone or is there a standard one available from somewhere. i would think there is somethin standard because everyones looks the same!
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Variable that holds "list of all open buffers" in Vim? :vimgrep looks like a really useful thing.
Here's how to use it:
:vim[grep][!] /{pattern}/[g][j] {file} ...
:help says that you can essentially glob {file} to name, say, *.c for the current directory. I may have started Vim with a list of files that is complic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I test a website design on a mobile device? I have designed my site with a 900 x 600 fixed background image. On the computer it looks fine. How will it look on a PDA device? Will I have to design it separately for PDA?
How should check whether my site can be browsed effectively from mobile phone?
What should ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SVN - How to make an older revision the head revision? One of the files in my current head revision got corrupted. I want to make an older revision of that file the head revision as usually people sync to head revsion in my project. How to do that?
A: You should revert all changes since that old reversion. In princ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Pros and Cons of LINQ (Language-Integrated Query)
*
*What are the pros and cons of LINQ (Language-Integrated Query)?
*What are the best and worst cases in which to use LINQ?
*How have you benefitted or not benefitted from using LINQ?
*Which data sources benefit the least and the most from LINQ?
A: I'm a massi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: How can I generate random integers in a range in Smalltalk? A class I am taking currently requires us to do all of our coding in smalltalk (it's a Design class). On one of our projects, I am looking to do some things, and am having a tough time finding how to do them. It seems that what most people do is modify thei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are your favorite extension methods for C#? (codeplex.com/extensionoverflow) Let's make a list of answers where you post your excellent and favorite extension methods.
The requirement is that the full code must be posted and a example and an explanation on how to use it.
Based on the high interest in this topi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "478"
} |
Q: How to build sliding block puzzle software for mobiles I want to build software of the good old sliding block puzzle for mobile phones could you please guide me how to generate the sliding block puzzle and solving techniques
A: Have a look at Simon Tatham's Portable Puzzle Collection, with full source. You may be a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can I assign table names to variables? I have a table in lua with some data.
sometable = {
{name = "bob", something = "foo"},
{name = "greg", something = "bar"}
}
I then want to loop through the table and assign a number to each name as a variable. New to lua and tried it like this.
for i,t in ipairs(s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: GDI+ 's Amazing decode speed, and terrible draw speed!
Thanks for answers,Actually I am not puzzled about draw 1024*768 pixels is slower than 100* 100 pixels... It is so simple a logic..
Which made me puzzled is that DrawImage's interpolation algorithm may be very slow, while there exists lots of better algorithm, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to execute C# file I am having a .cs file, i need to execute that file..
I don't have experience in C#.. Please help.. Do we have to install any software to run it..
Currently i am using windows XP..
Please help me...
A: .cs file is only a file that holds the code, it cannot be executed directly. You should... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Captured variable in a loop in C# I met an interesting issue about C#. I have code like below.
List<Func<int>> actions = new List<Func<int>>();
int variable = 0;
while (variable < 5)
{
actions.Add(() => variable * 2);
++ variable;
}
foreach (var act in actions)
{
Console.WriteLine(act.Invoke());
}
I e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "278"
} |
Q: Asp.net mvc beta installation on VS2008 I used to work with VWD and now I try to install the new MVC-Beta on VS2008.
Installation completes successfully but when I try to create an MVC web site I don't have it on the projects list. How can I fix it?
I've uninstalled VWD and MVC preview 5, tried to install several t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Text Alignment on OwnerDraw Tooltip in C# / .NET I have a multiline text string (e.g. "Stuff\nMore Stuff\nYet More Stuff"), and I want to paint it, along with a bitmap into a tooltip. Since I am painting the bitmap, I need to set OwnerDraw to true, which I am doing. I am also handling the Popup event, so I can size... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JSP Tag Recursion I am implementing a tree tag for one of my practice projects, where I would display the contents of a directory in the form of a tree (recursively). I had implemented a similar requirement as a Custom Tag in Java during the pre-JSP2.0 days.
Handling a directory needs recursion (to handle the subdir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Ninject sample application? I want to get started using Dependency Injection and IOC and I want to get more into using Ninject.
Are there any good application with sourcecode available that is written using Ninject that I can look at as a reference?
A: Ninject can be used with various types of Applications. It coul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: export Datagrid to excel asp whats the best way to export a Datagrid to excel? I have no experience whatsoever in exporting datagrid to excel, so i want to know how you guys export datagrid to excel.
i read that there are a lot of ways, but i am thinking to just make a simple export excel to datagrid function.i am u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Linking languages I asked a question earlier about which language to use for an AI prototype. The consensus seemed to be that if I want it to be fast, I need to use a language like Java or C++, but that Python / Perl / Ruby would be good for the interface bits.
So, this leads me on to another question. How easy is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: What should be included in a C# Programming Standard? I've been tasked to write our department's C# Programming Standard (including guidelines). What sort of standards/guidelines should I include? I've already taken bits from various standards around the net (and pieces from Code Complete), but I'd like hear from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C# Combine GDI+ and OpenGL/DirectX Background: I am currently using custom controls within my C# project (basic controls just drawing a custom look and feel (using gdi+?)). The majoritiy of these controls have transparent segments for irregular shapes etc.
Problem: I am looking to overlay a semi-transparent (irregu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: OLEDB v/s ODBC What is the difference between OLEDB and ODBC? When do I use which and how do I know what I am looking at is a OLEDB driver v/s an ODBC driver?
A: OLEDB and ODBC are two different database API's. ODBC is an older standard and is actually not specific to windows - you can get Unix-based ODBC librari... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Why can't System.setProperty() change the classpath at runtime? I am refering to the question on changing the classpath programmatically.
I read and found out that there is some function under System class as getproperties where we can retrieve the properties and then also can set it using setProperties().
The answe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Free .NET Windows Controls Library? Does anyone know any good and free .NET Windows Controls Library
A: I think Component Factory has got some.
A: One of the best component vendor in the market, Developer Express, has some great ones. These should start you off; though any additional components you get with a paid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How does the HP (Tandem) Non stop compare with Linux clusters? HP NonStop systems (previously known as "Tandem") are known for their high availability and reliability, and higher price.
How do Linux or Unix based clusters compare with them, in these respects and others?
A: On a fault-tolerant mac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to make stack panel in GWT that looks like Outlook The default GWT StackPanel is not enough good, i want to have functionality similar to outlook stack panel. May be there is already something exists?
A: If you don't mind using EXT-GWT, a much prettier fully compliant GWT UI toolkit then this might be more what... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Https WebService message: Message did not contain a valid Security Element I am using axis 2 webservice client.
The first https call to the webservice throws a exception with the message: "Message did not contain a valid Security Element".
I think that the problem could be the security mode: maybe it has to be messa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Automatic casting to string in C# and VB.NET I could do this in C#..
int number = 2;
string str = "Hello " + number + " world";
..and str ends up as "Hello 2 world".
In VB.NET i could do this..
Dim number As Integer = 2
Dim str As String = "Hello " + number + " world"
..but I get an InvalidCastException "Conversio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Locally declared variables can not be inspected Sometimes when I am debugging code in Eclipse it happens that although I can see and inspect class member variables without any difficulty I am unable to inspect the values of variables declared locally within functions. As an aside, any parameters to the current funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: Avoiding NullPointerException in Java I use x != null to avoid NullPointerException. Is there an alternative?
if (x != null) {
// ...
}
A: I'm a fan of "fail fast" code. Ask yourself - are you doing something useful in the case where the parameter is null? If you don't have a clear answer for what your code sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4350"
} |
Q: Cross-references and garbage collection There is an application with an extensive object graph. This graph mainly consists of a set of subgraphs which are connected to the rest of the graph through the only reference. But internally each such subgraph has some number of cross-references among objects. Once in a whil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: VB.NET - How do I assign an object to an object instance (better description inside) I have an object instance which I access with the ME as it accesses the instantiated object. I have a method that gets a collection of these objects and I wish to assign the first one to the instantiated object.
This is some of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firefox 3 doesn't allow 'Back' to a form if the form result in a redirect last time Greetings,
Here's the problem I'm having. I have a page which redirects directly to another page the first time it is visited. If the user clicks 'back', though, the page behaves differently and instead displays content (tracking s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does one often see "null != variable" instead of "variable != null" in C#? In c#, is there any difference in the excecution speed for the order in which you state the condition?
if (null != variable) ...
if (variable != null) ...
Since recently, I saw the first one quite often, and it caught my attention since ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "104"
} |
Q: How to use a different template for selected and drop down states in combo box in Silverlight? I can't seem to set a ContentTemplate for a ComboBoxItem. There reason I'm trying to do this is I want to have 2 appearances for my data in the combo box. When the combo box is open (menu is down) I want a text box (with t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can I filter DBIX::Class resultsets with external data? Using DBIx::Class and I have a resultset which needs to be filtered by data which cannot be generated by SQL. What I need to do is something effectively equivalent to this hypothetical example:
my $resultset = $schema->resultset('Service')->search(\%se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: how to keep the iphone simulator application directory be the same when run it everytime i met a problem with iphone simulator application directory, when i run the application everytime, the name of application directory was changed each of time,can anyone tell me how to keep a static application directory ?
A: i'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WIX: How can the registry key be changed based on the OS on which the installer is running? I want to set registry keys in following way
if OS is Vista then
HKLM\MyKey1\MyValue=1
else
HKLM\MyKey2\MyValue=1
I know how to set Registry keys in WIX but it seems the condition cannot be set on element.
A: Techn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I get HTMLDOC launched from a CGI-script? I have a CGI-script which produces a .pdf file from the HTML page. My problem is that when it is launched from the Web Browser, there is no creation of the .pdf document.
What I have done so far:
*
*chmod settings set to above recommended (777)
*tested normal outp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Passing null arguments to C# methods Is there a way to pass null arguments to C# methods (something like null arguments in c++)?
For example:
Is it possible to translate the following c++ function to C# method:
private void Example(int* arg1, int* arg2)
{
if(arg1 == null)
{
//do something
}
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Getting Dates between a range of dates I need to get all the dates present in the date range using SQL Server 2005
A: If you have the dates in a table and simply want to select those between two dates you can use
select * from yourTable where yourDate between date1 and date2
If you want to produce the dates from n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do I properly repackage the JRE installer in my installer? I've got a Java application that I'm writing an installer for. We're using the AdvancedInstaller program to create our installer (well, we're evaluating it currently, but will definitely purchase a license soon), and although it has special support for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to save a Tlistview layout How do I save a Tlistviews layout in Delphi 2007?
I have been asked to write some code to allow users to re-order columns in a TListview (well all TListviews in our application), I have the code working (by manipulating the columns index and setting width to zero to hide columns not ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Multiple Java versions running concurrently under Windows We have a couple of applications running on Java 5 and would like now to bring in an application based on Java 6. Can both java versions live together under Windows?
Is there any control panel to set the appropriate Java version for different applications, o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "102"
} |
Q: Strategy for Offline/Online data synchronization My requirement is I have server J2EE web application and client J2EE web application. Sometimes client can go offline. When client comes online he should be able to synchronize changes to and fro. Also I should be able to control which rows/tables need to be synchroni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Parse a file using C++, load the value to a structure I have the following file/line:
pc=1 ct=1 av=112 cv=1100 cp=1700 rec=2 p=10001 g=0 a=0 sz=5 cr=200
pc=1 ct=1 av=113 cv=1110 cp=1800 rec=2 p=10001 g=0 a=10 sz=5 cr=200
and so on.
I wish to parse this and take the key value pairs and put them in a structure:
stru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Are invisible references still an issue in recent JVMs? I was reading Java Platform Performance (sadly the link seems to have disappeared from the internet since I originally posed this question) and section A.3.3 worried me.
I had been working on the assumption that a variable that dropped out of scope would no lon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Better performance on updating objects with linq I have two lists of custom objects and want to update a field for all objects in one list if there is an object in the other list which matches on another pair of fields.
This code explains the problem better and produces the results I want. However for larger lists 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Interactive console using Pydev in Eclipse? I'm debugging my Python code in Eclipse using the Pydev plugin. I'm able to open a Pydev console and it gives me two options: "Console for currently active editor" and "Python console". However none of them is useful to inspect current variable status after a breakpoint.
F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: How to add controls to ItemTemplate (Repeater) at run time? I'm desinging a rich repeater control which needs some controls (specifically just an unordered list) added to it at runtime.
The solution I've opted for is to inject the nesseccary markup, onInit, into the header, item and footer templates respectively.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to tell if a string is base64 or not I have many emails coming in from different sources.
they all have attachments, many of them have attachment names in chinese, so these
names are converted to base64 by their email clients.
When I receive these emails, I wish to decode the name. but there are other names whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Lucene.NET --> access denied to segments I have a problem with Lucene.NET. During an index, I receive the error 'Access to the path segments is denied'. Or sometimes 'Access to the path deletable is denied'. I eventually gave 'Everyone' full security rights to the index directory, but the problem still existed.
I th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Problem turning HTTP Chunking off in AXIS2 I have a client sending me requests without HTTP chunking (they use content-length). When my server responds, chunking is enabled, and the client can't handle this - even though they should be able to as they are using HTTP 1.1.....
I have tried to disable chunking by r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert from Special Folders to full file names Is there a way of converting special folder paths to a full file name (and back) or do I need to code my own (not hard I know, but no point if it exists)
e.g. I want to store the file name of a template for an application, which the user can then change, it exis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image.createImage problem in J2ME I tried this on J2ME
try {
Image immutableThumb = Image.createImage( temp, 0, temp.length);
} catch (Exception ex) {
System.out.println(ex);
}
I hit this error:
java.lang.IllegalArgumentException:
How do I solve this?
A: Image.createImage() throws an IllegalArgumentExcept... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ReadOnly rows in DataGridView I have a binded DataGridView where depending on some BoundItem property value that line will be read only. What is the best way to implement this?
Thanks
A: Try The event CellBeginEdit
Private Sub Dgv_CellBeginEdit(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: C# transition between GDI+ and WPF I'm considering migrating my c# application from using custom GDI+ drawn controls to a WPF application with custom controls etc. I would like to know what's involved and what to expect.
Are there any resources people can recommend that might help? Or indeed any personal experiences... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Wrap an image in an a tag, but only have underline on text My screenshot http://dl.getdropbox.com/u/240752/stars.gif
I want to have it so that only the text is underlined. The only way I can see of doing this is this:
.no-underline {
text-decoration:none;
}
.underline {
text-decoration:underline;
}
<a href="#"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# in linux environment I am currently working in C/C++ in a Unix environment and am new to Linux environments. I would like to learn about the Linux OS and learn C# as the next level of programming language for my career.
I decided to put Ubuntu Linux on my laptop. But I am not sure whether we can write, compile an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/271690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.