I am using MPXJ library to access Microsoft Project file in .net. before proceeding with it i wanted to make sure either it is based on Microsoft Interop services or not.
i hope not :)
Hi:
I'd like to update values in one table based on corresponding values from other tables. Say you want to update prices of pieces provided by one specific manufacturer whose name is in the table Manufacturers with the Pieces table containing only the id of the manufacturer.
I've seen several solutions for MySQL here and for MS SQL Server here but none of them seems to work in SQLite.
Any suggestion?
I am facing the problem of sort Lucene results based on user click log. I would like that more accessed results comes first. Does anyone knows how to configure or implement such property in Lucene or Solr?
Thank you very much.
Hi
I've tried to setup a controller for a document in a document based application, and i'm not sure what is the correct for doing that.
In MyDocument.xib I have set the File's Owner as MyDocument class and the I connected the outlets and actions to it but it doesn't seem to work
Could anybody give me a hand on this?
Cheers
i am trying to compile a c-based forms api program on Linux x86_64
using command
gcc -m32 -I"$ORACLE_HOME/forms/api" -L"$ORACLE_HOME/forms/lib" -L"$ORACLE_HOME/lib" -ld2f fapi.c
it fails with a bunch of undefined references.
$ORACLE_HOME/lib/libd2f.so: undefined reference to `sifom'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `idfrsti'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `simmal'
etc...
does anyone know the list of all the library files i need to add?
I need help to create a function to determine the week number based on these 2 parameters:
Starting date
Specified date
For example, if I specify April 7, 2010 as the starting date & passed April 20, 2010 as the date to lookup, I would like the function to return WEEK 2. Another example, if I set March 6, 2010 as starting date and looked up April 5, 2010 then it should return WEEK 6.
I appreciate your time and help.
Is it possible to create objects at runtime based on it's type by calling a method.
What I am trying to achieve is
var
lForm1 : TForm;
lForm2 : TForm;
begin
CreateObjects([lForm1, lForm2]);
// After this call I have the variables initialized and I can use them.
end;
I need to know how to start writing an application based on plug-in architecture. I mean how to write a base code an let others develop the application by adding the plug-ins they write.
I know that there is some problems in doing such in c++. most people use another language such as python to add plug-ins to their c++ application.
In Oracle's PL-SQL, you can declare a variable and define its type based on a table column:
declare var1 table.column%TYPE;
Is it possible to do something similar in MS SQL Server?
I searched but could not find a duplicate for this question. If there is one, please let me know and I'll refer to it and delete this.
Hi everyone,
I'm in search for a jQuery-based Date/Time Selector. I have found a few that are quite nice, but one of my requirements is that I can provide a json/xml/etc source of available days/times and the control should only allow selections of available days/times.
Is anyone aware of a plugin that does this, or at least a plugin that could be modified to do this?
Thanks!
I don't see as many video-based dev training programs as I used to in years passed. Is this because of cost or simply that it's considered an ineffective learning tool?
Hi,
I want to drawing the circle in which that circle dividing in to 16 parts based on the perimeter.And also those part fill with color.Any have some tutorials and sample source regarding above topic?
Hi,
What would be the general structure of a App/Project based in C Programming language.
libs,
includes,
header files.
etc etc.
What would be the class structure. (in OOps) need to be scalable and other features.
Something like main.cpp
main.h
does any one have any good links or images or pdf?
By default DB connections of JPA applications are configured in the META-INF/persistence.xml, when the application is not deployed to a full Java EE application server. In my opinion it is not very elegant to place such environment specific configuration into a file that is inside a .war file. How could a DB connection of a Servlet based JPA application be configured more flexible (=outside of the .war file)?
In most MVC based framework I see a router object. If I look at it splits up the uri and decides what controller should be used, and which action should be fired.
Even though this makes a lot of sense, I can not give this a place in the MVC patern. Is splitting up the uri not the job of the controller. And then the controller should just decide which class and function to run.
I'm building a PHP-based web app for the first time and I haven't found anything to pattern it after. At this point I'm mostly curious about how the files should be arranged into directories so that development of the website can be manageable. This includes javascript scripts, images, stylesheets, cgi scripts, html files, pure php files that define common functions, etc.
Question: Can someone point me to an explanation about how such a website is typically organized on the server?
I have created a database model in Visio Professional (2003). I know that the Enterprise version has the ability to create a DB in Sql Server based on the data in Visio. I do not have the option to install Enterprise. Aside from going through the entire thing one table and relationship at a time and creating the whole database from scratch, by hand, can anyone recommend any tool/utility/method for converting the visio database model into a Sql Script that can be used to create a new DB in Sql Server?
Hi,
I am planning to write a generic python module for installing a package. This script should retrieve the module from a remote machine or locally and install it on a given host and user. However, there needs to be changes made to the package files based on the host, user and given environment.
My approach is to use XML to describe changes to be made to package files based on environment. It will first extract the package to the user directory and then using an xml configuration file, it should replace the file values in the package directory. The xml would look something like this:
<package version="1.3.3">
<environment type="prod">
<file dir="d1/d2" name="f1">
<var id="RECV_HOST" value="santo">
<var id="RECV_PORT" value="RECV_PORT_SERVICE" type="service">
<var id="JEPL_SERVICE_NAME" value="val_omgact">
</file>
<var dir="d4/d3/s2" name="f2">
<var id="PRECISION" value="true">
<var id="SEND_STATUS_CODE" value="323">
<var id="JEPL_SERVICE_NAME" value="val_omgact">
</file>
</environment>
<environment type="qa">
<file dir="d1/d2" name="f1">
<var id="RECV_HOST" value="test">
<var id="RECV_PORT" value="1444">
<var id="JEPL_SERVICE_NAME" value="val_tsdd">
</file>
<file dir="d4/d3/s2" name="f2">
<var id="PRECISION" value="false">
<var id="SEND_STATUS_CODE" value="323">
<var id="JEPL_SERVICE_NAME" value="val_dsd">
</file>
</environment>
</package>
What are your thoughts on this approach? Is there an existing python module, package or script that I could use for this purpose since this seems fairly generic and can be used for any installation.
Thanks!
Sam
I am a newbie to ICEfaces and i have a requirement where i need to download a document from a given url (http://ipaddress/formexec?objectid=201).
This URL uses a form based authentication that is deployed through ICEFaces.
i tracked the request of this URL and i get the following line:
&ice.submit.partial=false&ice.event.target=loginForm%3Aj_id33&ice.event.captured=loginForm%3Aj_id33
Is there any libraries or code to download the document by successfully passing the username and password.
I have a jsp file pageshow.jsp and the parameter id,
Is there any way to cache the jsp file in server-side based on the url parameter
Requesting page pageshow.jsp?id=100 get from cache instead of building from server
Requesting page pageshow.jsp?id=200 get from cache instead of building from server
Above two pages should have different cache content since their parameter are different
This may avoid the rebuilding the jsp file in server side and also decrease the server load
Hi,
Please advise, is there any web-based licensing solution, where I can generate registration codes, and validate them in the software by connecting to my licensing server?
Thank you.
How do I prevent Code Composer 4 (which is based on Eclipse) from generating its own makefile and use the one I provide instead?
Background:
I am starting a FreeRTOS project on a MSP430F5436 using Code Composer 4 and have a demo app with a supplied make file)
Thanks!