I want to implement playing sound file using FMOD sdk in iphone.
I know this is third party tool but i want to implement playback speed.So only possible in FMOD.So please help me.
I realy know nothing about Maple, so any help would be nice. I am attempting to import a .pdb file into Maple, as part of converting some Mathematica code to Maple. I need something that that can accomplish something equivalent to the Import command in Mathematica. I have tried using readdata, ImportData and fopen with little success. If anyone has any suggestions, that would be of great help.
when I am trying to write javascript in xaml page itself it is showing some error.
....
can we write javascript function for form validation in silverlight .xaml file ?
I need to read binary PGM image files. Its format:
P5
# comments
nrows ncolumns
max-value
binary values start at this line. (totally nrows*ncolumns bytes/unsigned char)
I know how to do it in C or C++ using FILE handler by reading several lines first and read the binary block. But don't know how to do it in .Net.
I am getting an error back from a DLL saying it cannot create an instance of one of classes in my solution because it cannot find the assembly file.
If I am debugging a solution, do I need to put a copy of certain assembly files in other locations?
Is it possible to open a solution saved by VS 2010 Professional in Visual Studio Express and vice versa?
If so, will there be issues with the entity model (edmx)? I see the following statement here:
Visual Studio Express Editions cannot connect to a server. They can only connect to a file instance of a database.
http://msdn.microsoft.com/en-us/library/bb399247.aspx
Thanks.
Ok so this is alittle bit obscure and I'm not sure its the best way of doing what I'm trying to do but here goes.
Basically I have a Presentation Layer Dll in my web site which handles the Model View Presenter classes. The presentation layer also handles login for my website and then calls off to a web service. Currently whenever the presentation layer calls to a model it verifies the users details and if they are invalid it calls to a loginHandler which redirects the user to the login page. However I cannot dynamically load a new istance of the Login Page in my website from within my Presentation layer.
I've tried to use reflection to dynamically load the class but Since the method call is in the presentation assembly it is only looking within that assembly while the page I want to load is in the website.
heres the reflection code that loads the View:
public ILoginView LoadView()
{
string viewName = ConfigurationManager.AppSettings["LoginView"].ToString();
Type type = Type.GetType(viewName, true);
object newInstance = Activator.CreateInstance(type);
return newInstance as ILoginView;
}
Anyone got any suggestions on how to search within the website assembly? Ideal I don't want to tie this implementation into the website specifically as the presentation layer is also used in a WPF application.
I need to load a video stored in Applications folder in to a table view. When I touched the cell the video plays.
I used the following code to get all the video files in to an array.
NSFileManager *fileManager = [NSFileManager defaultManager];
NSArray* contents = [fileManager directoryContentsAtPath:@"/Users/srikanth/Desktop/Projects/UF/Table2/Videos"];
for(a = 1; a < [contents count]; a++)
NSLog(@"Array contents: %@", [contents objectAtIndex:a]);
cells = [[NSMutableArray alloc]initWithCapacity:[contents count]];
But how can I load the videos into UITableView. I used NSBundle for loading videos by giving path. It worked. But, now I need the videos to load from the array contents. When I touch the cell of the table the corresponding file from the array contents si to be loaded. How can I make it?
Thank you.
Hi...!
I downloaded the Apache HWPF. I want to use it to read a doc file and write its text into a plain text file. I don't know the HWPF so well.
My very simple program is here:
I have 3 problems now:
1-Some of packages have errors ( they can't find apache hdf). How I can fix them?
2-How I can use the methods of HWDF to find and extract the images out?
3-Some piece of my program is incomplete and incorrect.So please help me to complete it.
I have to complete this program in 2 days.
once again I repeat Please Please help me to complete this.
Thanks you Guys a lot for your help!!!
This is My Elementary code :
import org.apache.poi.poifs.filesystem.*;
import org.apache.poi.hwpf.*;
import org.apache.poi.hwpf.extractor.*;
import org.apache.poi.hwpf.model.PicturesTable;
import org.apache.poi.hwpf.usermodel.Picture;
public class test {
public void m1 (){
String filesname = "Hello.doc";
POIFSFileSystem fs = null;
fs = new POIFSFileSystem(new FileInputStream(filesname );
HWPFDocument doc = new HWPFDocument(fs);
WordExtractor we = new WordExtractor(doc);
String str = we.getText() ;
String[] paragraphs = we.getParagraphText();
Picture pic = new Picture(. . .) ;
pic.writeImageContent( . . . ) ;
PicturesTable picTable = new PicturesTable( . . . ) ;
if ( picTable.hasPicture( . . . ) ){
picTable.extractPicture(..., ...);
picTable.getAllPictures() ;
}
}
I'm looking for a way to modify my .hgignore file to ignore all "Properties/AssemblyInfo.cs" files except those in either the "Test/" or the "Tests/" subfolders.
I tried using the negative look-behind expression
(?<!Test)/Properties/AssemblyInfo\.cs$, but I didn't find a way to "un-ignore" in both folders "Test/" and "Tests/".
Hi I was wondering if anyone knows a way to append a timestamp to the log file name specified through logging.properties java.util.logging.FileHandler.pattern
seems like something pretty straight forward but I cant seem to find a solution to this anywhere.
Thanks
How can I make a 404 php page with the 404'd file name in the link, example would be:
http://website.com/WrongPageName.html
would go to
http://website.com/404.php?page=WrongPageName.html
I am writing an application which will search for a particular file or files from the respective path. During searching i need to deploy a progress bar which must run according to the search. so how i can do that? and if possible please post the code?
I am using my own Custom View to show the files and folders and also using a search box to jump to a specific folder. In that case How to send a message to File Open/Save dialog to enforce it to change the current displayed folder.
e.g. If the dialog shows files and folders of current displaying folder "C:\", I want an API (or any piece of code) to enforce to change the current folder to "D:\"
What's the "best" way to read (just read) an Excel file from within an Access 2007 application. I only want to loop trough the rows and put the data into an Access table.
Is there a way to start WebDevServer (Visual Web Development Server) by passing in the .sln file without actually opening Visual Studio 2008? I am a JavaScript developer and I work in a client project and I want to save the memory overhead consumed by VS and give it to multiple browsers for cross-browser testing. I am hesitant with setting up IIS (Visual Web Dev server is SO LIGHT-WEIGHT being Cassini). Please advice. Thanks!
Hello.
I am trying to merge two files. One of them is .net3.5 wpf application and other is WPF notify icon dll
i use the following command:
IlMerge /target:winexe /out:PS.exe "PlayerSearcher.exe" "Hardcodet.Wpf.TaskbarNotification.dll"
But when i launch result assebmly my application is crashed with this error
EventType : clr20r3 P1 : ps.exe
P2 : 1.0.0.0 P3 : 4c0ee52f P4
: presentationframework P5 :
3.0.0.0 P6 : 4938d608 P7 : 9a1 P8 : 46 P9 : system.io.ioexception
Why? And how i can to build a single file application?
The following code works when running the NetBeans IDE.
this.getFrame().setIconImage(Toolkit.getDefaultToolkit().getImage("PlagiaLyzerIcon.png"));
However, once it was built into Jar file, the icon was gone.
Anyone has idea what's the problem? I realized I've to put the icon image on the root directory, however, after compiling into JAR, the icon gone.
Thanks for any help..
In a Setup project the executable files such as ".exe , .dll , .js , .vbs" are acceptable and there is no way to run a .bat file in a Custom Action.
The question is how to run the "xxxxxx.bat" during installation?
Is there any way to tell the debugger to just continue until the next file is accessed, and/or until the next (developer written) function is accessed, without setting debug points ahead of time? I'm kind of new to VS debugging so all I use right now are f5, f10, and f11.
Okay. I have completed my first python program.It has around 1000 lines of code.
During development I placed plenty of print stmt before running a command using os.system()
say something like,
print "running command",cmd
os.system(cmd)
Now I have completed the program.I thought about commenting them but redirecting all these unnecessary print (i can't remove all print stmt- since some provide useful info for user) into a log file will be more useful? Any tricks or tips.
Hey Stack Overflow community,
Another Adobe AIR question for you:
Can we write files to the file system and leave them as read-only in Adobe AIR?
In the future, we would overwrite these files (or delete them and write a new one).
Thanks,
Mauricio
Hi,
I'm having space issues on my Vista machine and need to figure out what's taking up so much space. I would like to write a simple batch file that returns all folders under C: and the size of each folder. The dir command doesn't appear to return folder size. Unfortunately we don't have admin rights and can't install a third party application and we have other users in our group that also need this information.
Thanks...
Hi all,
I need to convert the file path in windows say C:\Documents and Settings\Manoj\Desktop for java as C:/Documents and Settings/Manoj/Desktop .
Is there any utility to convert like this.?