I'am a newbie n interest to leaarn aspnet mvc (vb) but there's too much application sample that using C#..
i just want to know how to wrote this code in VB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
Inherits="System.Web.Mvc.ViewPage<MvcGridSample
.ViewModels.Shared.Grid<Customer, CustomerSearchForm>>" %>
do you have any idea??
thx before
-dix-
Hi,
What is Python's equivalent of "public static void main(String[] args) { ... }"? I remember having used it in the past and then forgot.
What I'm basically trying to remember is a function which I think included some underscores (__)...
thx
Hi Folks,
This is the first time I use mod_rewrite and I can't get it to work. I have a website with bands and their IDs. What I want:
a URL /bands/My_Band_id13/ should redirect to /bands/index.php?bandname=My_Band&bandID=13
What I have:
RewriteRule ^/bands/(.*)_id(.*)/$ /bands/index.php?bandname=$1&bandID=$2
What am I doing wrong?
THx,
Maenny
Hi,
I'm sure I'm not the only one who finds it a bit annoying when scanning say Events in Intellisense and having to wade thru all the Properties etc as well. Is there a way/plugin or something to allow the selection of only Events, only Properties etc?
That would really be a big plus!
Thx in advance for any help.
Hi Guys,
I have data which sits outside an iframe with a script on the outside as well. When a user performs an action - I want this ata to be sent "inside" the iframe.
I have having a bit trouble achieving this and was wondering whether its possible and if it is, how I can do it ?
Thx
I need to use C# to get data from database(sql) and the data in database is updated every few seconds. So do I have to make a loop or there is a better way to do that? Is it possible that when database is updating, the program can wait until it finishes updating? thx!
Is there a way to pre-populate a user's documents list with server-generated log files? A way to offer any files at a given path? Is this a job for plugins or native to some settings config?
thx
hi all. I have the following query which I would like to write using the criteria api of NH.
select status, count(1) from (select distinct Status, post_id from post_statistics) tbl group by status
each post_id can exist multiple times in post_statistics
e.g.
id post_id status
1 1 open
1 1 edit
1 1 open
1 2 open
so the query should return the following results:
status count
open 2
edit 1
thx in advance.
Hi Guys,
I am wanting to utilize JSONP for a project with x-domain scripting but little concerned with the 2048 character limit in IE.
Does JSONP support "chunking" automatically if character size exceeds 2048 ? If yes, does anyone have any examples they can share ?
Thx
Is it possible to host 2 asp.net projects off one ip address? I don't have a domain name just an ip number. I'm running IIS7.
The first project runs and displays fine over the web by simply typing in the ip address into the browser but I'm having trouble accessing the second.
Currently both projects have virtual directories in IIS7.
Help is greatly appreciated.
Thx
I am developing a Eclipse RCP plugin which uses JPA.
I tried to specify the database path via a variable give to the JVM on runtime.
The property is set correctly but the database is created in a folder named after the variable name (here: ${DBHOME}).
<property name="javax.persistence.jdbc.url" value="jdbc:derby:${DBHOME};create=true"/>
Is there a possibility to fix this?
Thx
Getting the following error when trying to open a word document with macros to fill in the form fields:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0\Word\Security\AccessVBOM.
The user opening the word document does not have admin rights and the AccessVBOM flag is either not available or set to zero.
I can set the flag for the HKCU (Current user) programmaticallybut cannot change setting for inunder HKLM .
Please advise how can we enable the trust for the VBA project programmatically.
Thx
Kumar
Hi all, I'm studying how to use caching in Heroku for my Rails app. HTTP cache powered by Varnish is superb and I'll use it in all pages without user info but I also want to use a kind of ActiveRecord caching with Memcached using "high livel" plugins such as cache_fu or cache-money...but it seems that Heroku supports only the memcached gem (http://docs.heroku.com/memcache) and it's a very low level Memcachad API...
Do you have any other solutions?
Thx.
Hi,
How do you get a datetime column in sqlite objective-c ?
I have a table with 4 fields: pk, datetime, value1 and value 2. pk (primary key), value1 and value2 are integer so I am using:
int value1 = sqlite3_column_int(statement, 2);
int value1 = sqlite3_column_int(statement, 3);
But what should I used for datetime?
Thx
Hello,
what can i do, if a Mailserver accepts a connection but does not return any data? The default javax.mail implementation just hangs indefinitley. Event setting the smtp.timeout does not help - it still hangs. I even tried to set a custom SocketFactory to set the sotimeouts and solinger directly, but it still hangs. Somehow the socket does get kept alive? But how?
Thx for any ideas!
Ciao, Nils
I am doing some input/output between a c++ and a python program (only floating point values) python has a nice feature of converting floating point values to hex-numbers and back as you can see in this link:
http://docs.python.org/library/stdtypes.html#additional-methods-on-float
Is there an easy way in C++ to to something similar? and convert the python output back to C++ double/float? This way I would not have the problem of rounding errors when exchanging data between the two processes...
thx for the answers!
We use Boost statically linked with our app but now I wan't to use Boost Test with an external test runner and that requires the tests themselves to link dynamically with Boost.Test through the use of the required BOOST_TEST_DYN_LINK define.
Is this going to be a problem or is the way Boost Test links completely unrelated to the way the other Boost libraries are linked?
Thx.
Is there a way for a unix socket listener to only accept connection from certain user (chmod/chown does not work for abstract socket afaik), or in another word, get the uid of the incoming connection (on Linux)?
Dbus, which uses abstract unix socket on Linux, has a function GetConnectionUnixUser which is used by polkit to determine the caller. So I suppose the dbus-daemon must have a way to do that. Does anyone know how that works?
THX
Hey,
i'm searching for an WYSIWYG Editor tool which i can run as normal Windows Application and wihich generates for me the TWIKI "Code".
Is there any Application/Software that provides this functionality?
THX
Hi,
how can i check the current status of the GPS receiver?
I already checked the LocationListener onStatusChanged method but somehow it seems that is not working, or just the wrong possibility.
So basically i just need to know if the gps icon at the top of the screen is blinking (no actual fix) or solid (fix is available)
thx!
I'm looking for a way to install php 5.2.8 using ports on freebsd 7.0.
I just don't know how to choose php 5.2.8, make under /usr/ports/lang/php5 begins by fetching php-5.2.10.tar.bz2.
thx in advance guys