All Questions

Filter by
Sorted by
Tagged with
2
votes
2answers
821 views

windows service versus asp.net Application_BeginRequest event with threads/timers

What are the advantages/disadvantages to running time based jobs using: windows services Application_BeginRequest to start seperate threads / timers. One disadvantage of running the jobs in the ...
3
votes
1answer
516 views

How can one use the Web Page Editor in custom RCP application?

I want to use the "Web Tools Editor" that is part of the Web Tools Plattform in my own RCP-Application. I think i have got some understanding on the RCP plattform by now, but I still have no clue how ...
22
votes
8answers
3k views

How to create an accurate hour estimate? [closed]

What are your experiences regarding project planning and creating hour estimates for new projects? What is the approach you are using, and why has or has it not worked for you? Are there any best ...
5
votes
3answers
3k views

Timers to measure latency

When measuring network latency (time ack received - time msg sent) in any protocol over TCP, what timer would you recommend to use and why? What resolution does it have? What are other advantages/...
76
votes
8answers
41k views

Container Class / Library for C [closed]

Does anyone know of any C container libraries? I am looking for something which gives standard implementations of linked lists, arrays, hash tables etc, much in the same way as the C++ STL does. Key ...
17
votes
3answers
7k views

Weird scope issue in .bat file

I'm writing a simple .bat file and I've run into some weird behavior. There are a couple places where I have to do a simple if/else, but the code inside the blocks don't seem to be working correctly. ...
2
votes
2answers
9k views

Getting data from a checkbox inside a template column of asp.net gridview

This seems like something simple, but I can't seem to figure it out! I'm trying to get 2-way data-binding to work on an ASP.net page with a check box as one of the columns. How do I get the updated ...
7
votes
4answers
1k views

How do you effectively track technical debt? [closed]

In your practice, how do you effectively track and manage technical debt? Is there a specific metric, like SLOC, that you use? How do you visually display your results to stakeholders and ...
5
votes
3answers
1k views

Can I stop settings in vimrc from being overwritten by plugins?

This question follows on from this vim search question I have a setting in my .vimrc which excludes $ as a valid part of a word: set iskeyword-=$ This works fine for most files but isn't working in ...
20
votes
5answers
100k views

Oracle error : ORA-00905: Missing keyword

Excuting the line of SQL: SELECT * INTO assignment_20081120 FROM assignment ; against a database in oracle to back up a table called assignment gives me the following ORACLE error: ORA-00905: ...
2
votes
3answers
663 views

Configuration Information for dlls in .NET

I have inherited a project that has class libraries written in VB.NET, some of these have ".settings" files and the others have a ".dll.config" file to store connection strings. What is the difference ...
2
votes
7answers
15k views

How to get the last selected item in multiselect ListBox?

How to get the last selected item in a .Net Forms multiselect ListBox? Apparently if I select an item in the listbox and then select another 10 the selected item is the first one. I would like to ...
4
votes
5answers
1k views

C++: Do static primitives become invalid at program exit?

Assume I have a function like this: MyClass &MyFunction(void) { static MyClass *ptr = 0; if (ptr == 0) ptr = new MyClass; return MyClass; } The question is at program exit time, will ...
0
votes
2answers
238 views

Locate Pattern the Letter I followed by a space then three alpha numerics followed by a space

Need to locate the following pattern: The letter I followed by a space then three alpha numerics followed by a space "I ALN " "I H21 " "I 31M " these items are also followed by a lat/lon that is ...
0
votes
3answers
669 views

LLBL Gen Pro 2.6 and Auditing

I am using LLBL Gen Pro v2.6 and am attempting to create a means of auditing changes made to the database. Now, I know that LLBL Gen has auditing built into it using AuditorBase and dependency ...
11
votes
7answers
14k views

How do I figure out which parts of a web page are encrypted and which aren't?

I'm working on a webserver that I didn't totally set up and I'm trying to figure out which parts of a web page are being sent encrypted and which aren't. Firefox tells me that parts of the page are ...
0
votes
1answer
3k views

compiling an Eclipse project into a jar

I reference another eclipse project from the current project I am working on. Everything is working fine except when I try to jar up the referenced project and use the jar instead of the eclipse ...
2
votes
3answers
875 views

What is wrong with this tiny piece of mutex code?

// A Mutex allows threads mutually exclusive access to a resource. //----------------------------------------------------------------------- class Mutex { private: CRITICAL_SECTION m_mutex; ...
2
votes
2answers
5k views

Convert PNG to bitonal TIFF

-Edit- FYI.. I am converting b&w documents scanned in as greyscale or color. 1)The first solution worked, it just reversed black & white (black background, white text). It also took nearly ...
9
votes
2answers
17k views

How to update appSettings in a WPF app?

Greetings to all! This is my first question here on stackoverflow. I have a WPF application that I am writing for the fellow developers in my department, and there are a couple of settings that I ...
16
votes
6answers
13k views

How to disable a container and its children in Swing

I cannot figure out a way to disable a container AND its children in Swing. Is Swing really missing this basic feature? If I do setEnabled(false) on a container, its children are still enabled. My ...
3
votes
3answers
2k views

Why does SQL Server 2005 Dynamic Management View report a missing index when it is not?

I'm using SQL Server 2005 and the the Dynamic Management View sys.dm_db_missing_index_details. It continues to tell me that Table1 really needs an index on ColumnX and ColumnY, but that index already ...
6
votes
2answers
5k views

embedding an application (in this case a terminal) within a QT application

I am writing a QT application and I need to embed a terminal (we say,xterm) within a QDialog, like some KDE application (see kdevelop/kate/...). I've been trying with: - QX11EmbedContainer placed ...
2
votes
3answers
1k views

Run .net code in a separate process

In an impersonation scenario related to Sharepoint I need to execute some code in a separate process (the process will run in the context of a certain user). I do not want to launch a separate ...
1
vote
1answer
455 views

How to close EnityManager when not injected?

I have a servlet running in an Oracle OCCAS server. Currently I map some data in a database to an entity class in my application using @Entity annotaion. I fail to inject the EntityManager (@...
1
vote
3answers
2k views

pass “calendar.selectedvalue” in querystring from gridview

I wanted to pass calendar1.Selecteddate in a query string from gridview in one page to another gridview (I have written sqlquery in that gridview) in another page. As seen in the below code I tried ...
19
votes
5answers
69k views

Is it possible to find all DNS subdomains for a given domain name? [closed]

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar ...
0
votes
3answers
8k views

Using LINQ to get column value from column name when you have the row?

I'm trying to convert some code that uses datasets to LINQ. Some of the code passes column names into other functions as strings. Is there anyway I can easily rewrite this into LINQ? string s = ...
2
votes
2answers
5k views

How to attach DBF file in Access programmatically?

Access can open DBF (dBase) files, but instead of physically converting the data into MDB format, it has the ability to link to the DBF table itself. This way the DBF is "linked" to the MDB. Is it ...
3
votes
5answers
8k views

How to save the state of an C# app to be able to load later

I have a program in which the user adds multiple objects to a scene. These objects are all represented as a classes. Now I want the user to be able to save the scenario, so it can be loaded again. ...
0
votes
2answers
410 views

What are the high level requirements for building a basic SMTP server for Windows?

I know Windows has SMTP capabilities under IIS, but I thought a basic SMTP would be a good project for learning Windows application development. I don't want a relay. I want an actual SMTP server that ...
1
vote
3answers
1k views

Is there any way to get a DetailsView control to render its HeaderText in a <th> cell?

As the DetailsView uses <td> cells for both the header text and the data, I was wondering whether the behaviour of the control can be overridden to render the HeaderText of each row in a <th&...
5
votes
5answers
16k views

Setting and resetting the DATEFORMAT in SQLServer 2005

Is there a way to query the current DATEFORMAT SQLServer 2005 is currently using with T-SQL? I have an application that reads pregenerated INSERT-statements and executes them against a database. To ...
27
votes
4answers
17k views

“Automatic updates” for Java (desktop) application?

What system do you recommend for implementing "automatic updates" for some java (desktop) application? I'd also want to have module/plugin installation and update. Think Eclipse and Firefox. I'm ...
0
votes
3answers
301 views

How to create a site map/list

I need to create a site map/list, but I need the link-name to show up as well. What I mean by that is given, say, www.google.com, I need the following list to be created. Google - www.google.com ...
3
votes
3answers
5k views

How to view MS SSAS 2005 sessions and queries

When browsing the cube in Microsoft SQL Server Analysis Services 2005, I would like to peek at the MDX (supposedly) queries generated by client access tools such as Excel. Is there a tool or method ...
3
votes
2answers
1k views

WINMOBILE uploading a file from C# to a php webservice

I need to upload a file using C# from a windows mobile app to a website. It's running PHP as the webservice on the other side, though I guess it really doesn't have to if there's another way to be ...
187
votes
9answers
125k views

Using different Web.config in development and production environment

I need to use different database connection string and SMTP server address in my ASP.NET application depending on it is run in development or production environment. The application reads settings ...
4
votes
3answers
7k views

Get file details by inode

I need in a bash script to get details about a file when I know the inode.The system is Linux.
7
votes
2answers
9k views

JPA/Hibernate in Java SE 6, Best Practices for data access

I am starting a normal Java SE project and i am planning to use JPA/Hibernate. I was wondering if anyone could enlighten me as to what is considered the best way to interact with Hibernate in this ...
0
votes
5answers
2k views

good way to query many databases in ASP.NET

What I'm trying to do is run the same SQL select on many Oracle databases (at least a dozen), and display the output in a Gridview. I've hacked together something that works but unfortunately it's ...
7
votes
4answers
604 views

Is it still necessary to put a space before closing an empty element in XHTML?

W3C recommends putting a space before the closing tag in XHTML, because this would give a better backwards compability with some browsers, e.g. write <br /> instead of <br/>. But are there ...
0
votes
2answers
3k views

AIX: Why does throwing an exception abort multithreaded code?

We get an abort when a C++ exception is thrown when running code compiled with -pthread. Platform: AIX 5.3 technical level 8 Compiler: gcc 3.4.6 Linker: AIX linker 1.65.2.4 Test Code: // exception....
3
votes
1answer
292 views

Product Line Engineering [closed]

Some of the work we do at my company is slowly edging towards a product family with different products in the same family and different flavours (or feature sets) in each product. I am looking for ...
1
vote
2answers
206 views

Python printing the word

If any one can help me with Python code: If I input a letter, How can I print all the words start with that word?
2
votes
3answers
13k views

Text Wrapping in SSRS

How do I accomplish text wrapping of table fields in SSRS Report, and proper landscaping when rendering the report to PDF format?
1
vote
3answers
1k views

Iterate through an anonymous variable in another scope than where it was created

I am writing an unit test for a mvc web application that checks if a returned list of anonymous variables(in a jsonresult) is correct. therefore i need to iterate through that list but i cannot seem ...
4
votes
3answers
5k views

Is there any way to have a reset button in the SSRS parameter window?

Is there any way to have a reset button in the SSRS parameter window?
4
votes
3answers
1k views

Weird output in tortoisehg log window

I have two branches, the main branch(black) and a feature branch(yellow). As you can see, since the feature branch was forked, it was kept up to date fetching changes from main: alt text http://...
1
vote
1answer
1k views

Locating the getter and setter access modifiers in the EdmItemCollection of Entity Framework

I've been creating a nice T4 template for a repository pattern for my entities. Instead of manually parsing the xml in the edmx file I use the EdmItemCollection to create a object graph presentation ...

15 30 50 per page