Hey, I've been banging my head for the past two days trying to find out if it's possible to run a python module in C#. The module I'm interested in is Sympy which can be found here http://code.google.com/p/sympy/ (in case anyone's interested). It's a math library, and this one does what I need it to do. I haven't found a C# library which...
Hey,
I have a drupal site I'm working on here: selkirk.treethink.net
I have CCK and Views modules installed, so on the frontend you see the Request Work page created using CCK. On the backend admins and students can view all the work post through that form with the Views module.
I need to add a checkbox that the person submitting the...
Hi, i've a app that starts from a sub in a module, do a few things, and then load the form.
But it doesn't work :/
Here we execute dBase.AddTemporalFilepath
module.vb
Public dBase As New Core.clsDatabase
Public Sub Main()
FurBase.Directory = My.Application.Info.DirectoryPath
If appMutex.WaitOne(TimeSpan.Zero, True) Then
...
Modularity of basic programming first appeared with visual basic? True or False?
...
Hi,
I'm using module_invoke() to include a block and I need in this block to read a value contained in my parent content type page. So how can I get the $node variable in my block from the view?
Code I'm using:
<?php
$block = module_invoke('my_blocks', 'block', 'view', 7);
print $block['content'];
?>
Now I need to access $no...
Hi all,
I'm working on a large application that is broken up into many independent swfs. There is a master swf that loads a navigation shell and the foundational logic, and a module loading system that loads child swfs into the main display area. This is all working smoothly, and now I'm onto building the modules, and I'm starting to fe...
I have created a DNN module for a Poll. This module is created as a Project within my DNN project solution . I would like to integrate this module into the DNN website.Is there any chance of doing this? I already change the users controls to inherit PortalModuleBase withing my Poll project.
I went through this tutorial http://www.adefw...
Hi,
When configuring a second Entrypoint and second module in my gwt application I receive the following warning:
[WARN] Unknown module requested 'iovadmin'; all active GWT modules must be specified in the command line arguments
and the following error:
[ERROR] Unable to find 'iovadmin.gwt.xml' on your classpath; could be a typo, or ...
I would like to know how to write unit tests for a module that is mixed into a couple of classes but don't quite know how to go about it:
Do I test the instance methods by writing tests in one of the test files for a class that includes them (doesn't seem right) or can you somehow keep the tests for the included methods in a separate f...
This is my function:
Public Function DBConnection(ByVal path As String)
' This function makes the database connection and returns the object
' to reference it.
cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + path + ";")
cn.Open()
Return cn
End Function
As you can see, I want to initializ...
First as an intro, I am not technical! meaning I do not program :-) although I can and have provided a detailed requirement documant it "seems" to me that the programmers are taking too long to produce the desired s/w
First, I would like suggestions how is it best to know if they are on track.
Secondly, how long does it take for examp...
In my application all works fine. But in zend studio, I got an alert saying that my Admin_Form_... does not exist.
If I put this form in root of application folder (application/forms) I can use autocompletion and my class is regonized. But if I put in a module specific directory, it is as if my class didn't exists.
What should I do to ...
I've setup my application with two modules, one for Admin and other for the rest of application called default. Then I've created a Bootstrap file for Admin module, and when I've tried to set the bootstrap for default module I've got an inifite loop and my apache crashes.
I'm not sure if I completely understand the bootstrap dynamics. O...
How can I specify that Smart::Comments be loaded for my original script, as well as for any of the modules it directly loads. However, since it is a source-filter, it would probably wreck havoc if applied to every module loaded by every other loaded module.
For example, my script includes
use Neu::Image;
I would like to load Smart:...
Hi, i am developing a framework for creating efficient applications in all sizes. Applications consist of modules (application is a module too) and performance is important for me. I know there are existing frameworks for modularization etc. but i needed to implement my own. Although i overthought about performance of individual modules...
I have a form set up where I want to run the function PopulateGrid on it's Form_Load event. I have initialized the DB connection as follows:
Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
LoadConfigFile()
cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Sourc...
Can someone explain the difference between a class and a module. When do you use one versus the other? I am using C#.
Update: I do mean the C# equivalent of the VB Module.
...
Hello.
This seems to be sort of what I want, except I want to make an instance of a C PyObject in another C module.
http://stackoverflow.com/questions/1147452/create-instance-of-a-python-class-declared-in-python-with-c-api
But I am not able to find the documentation for using a Python module from C. I can't seem to find the relevent d...
In my Python2_6/include directory is a folder with pygame headers. I assumed that my python C module can access pygame stuff directly in C. Is this the case? How do I integrate a C module that wants to use pygame, with a python script using pygame? Right now my brain sees:
pygame <-- MyCModule <-- MyScript --> pygame
ie. Two pygame ins...
Here is my specific issue. I want to make an api level which then under that you can select which method you will use. For example:
test.com/api/rest
test.com/api/xmlprc
Currently I have api mapping to a module directory. I then setup a route to make it a rest route. test.com/api is a rest route, but I would rather have it be test.com...