Hi all My old old vb5 app does everything I want as far as mpg video goes. Random video and play a random segment. Fast forward and reverse. random groupings of large font, video segments and or pictures and audio I need the code to provide me with the file path. It would be handy to just double click and have my app start play. I did a quick search and couldn't find what I needed.

Member Avatar
+0 forum 0

Hi Friends! I have tried to find all possible paths between two nodes; #include <iostream> #include <vector> #include <queue> #include <map> #include "fstream" #define max_edges 16 #define MAX_NODES 5 using namespace std; bool isadjacency_node_not_present_in_current_path(int node,vector<int>pathway); int findpaths(int source ,int target ); void display_all_paths_map(); vector<vector<int> >GRAPH(100); vector<int>pathway; map<int,vector<int>> allpathsmap; map<int,vector<int>>:: iterator itapm; typedef pair<int,vector<int>> pairapm; int main() { int origin,destin,source,dest,l_id; ifstream file1 ("Link_ID.txt"); if (! file1.is_open()) { cout << "Error opening file Link_ID.txt"; } //did not include 'return' for(int i=1;i<=max_edges;i++) { file1 >>origin>>destin>>l_id; GRAPH[origin].push_back(destin); } cout<<"(source, dest)\n"; cin>>source>>dest; findpaths(source,dest); display_all_paths_map(); file1.close(); return 0; } //ADJACENCY NODE NOT PRESENT IN CURRENT PATH …

Member Avatar
+0 forum 0

Hi, I wanted to know if I could search for a file in the application's folder, just by checking with the `File.Exists` method. I am searching for a DLL file in the app's directory. Thanks in advance, Yuvjeeth

Member Avatar
+0 forum 0

**this is my main file:** ExcelAppl = win32com.client.Dispatch('Excel.Application') Workbook = ExcelAppl.Workbooks.Open('excel file path') Sheet = Workbook.Worksheets.Item(1) Sheet1 = Workbook.Worksheets.Item(2) **this is the Python gui:** from Tkinter import * from tkMessageBox import * from tkColorChooser import askcolor import tkFileDialog import MainLibrary root = Tk() root.title("Chrysler Test Framework") root.geometry("800x500") def callback(): file_path = tkFileDialog.askopenfilename(filetypes=[("Excel files","*.xls")]) print "the file path %s",file_path Text_button.insert(INSERT,file_path) MainLibrary.second(str(file_path)) def execute(): execfile("MainLibrary.py") Browse_button = Button(text='Browse', command=callback).pack(side=LEFT, padx=10, pady=20, ipadx=20, ipady=10) Execution_button = Button(text='Convert', command=execute).pack(side=BOTTOM, padx=10, pady=20, ipadx=20, ipady=10) def quit(): root.destroy() quit_button = Button( text='Goodbye!',command=quit, padx = 20).pack(side=RIGHT, padx=10, pady=20, ipadx=20, ipady=10) root.mainloop() This is my query.I need to …

Member Avatar
+0 forum 0

Hi guys, I have 2 forms which do practical the same thing. They are supposed to show a preview of a file which has been selected from a treeview. However the first form works fine and the second one doesn't. When I look into it the second form produces a path with "$$$$" instead of "\\ ". Ive been over the code a few times trying to figure out what the difference is but with no luck. Heres Form 1 //open tree private void button2_Click(object sender, EventArgs e) { ListDirectory(treeView1,@"C#"); treeView1.ExpandAll(); //empty(); } public TreeNode CreateDirectoryNode(DirectoryInfo directoryInfo) { var directoryNode …

Member Avatar
+0 forum 0

I've decided to try my hand at programming neural networks since I'm in an adaptive critic course. The thing that I want to attempt is a solver for the game located here http://moh97.us/flow/. You basically have to connect like-colored circles together without crossing over any paths and while filling up all the empty squares with a path segment. I've been reading up on Hopfield Networks and I think this is the right network to use since I am essentially going to turn on or off a node (square) depending on these conditions to check: 1) Is square already filled? 2) …

Member Avatar
+0 forum 0

Hello Community, I was wondering if there is a way to make a spark effect the follows a path using WPF. Please Help...

Member Avatar
+0 forum 0

Hi,I am an asp.net developer working on c# language I WANT TO GENERATE A DIFFERENT URL PATH FOR A PARTICULAR PATH FOR EG: my website url is www.abc.com when i used to write this url on webbrowser my page will get open. But i want to generate a duplicate url of www.abc.com like www.dfre4647/58fdrf43f and when i copy this url and make run on webbrowser, my same page gets open as it was open on run www.abc.com. The duplicate url should generate on linkbutton or on button click. On every click different url path gets generate but on running it …

Member Avatar
+0 forum 0

Hello. I have a FileUpload control in my app, and a user chooses a file that sits on mapped network drives. now i don't want the files to actully download i only want the path to it for a link. my question is how do i get the real path of the file? using Server.MapPath doesn't because those files sit on different servers.

Member Avatar
+0 forum 0

Hi, I have a jsp web application running in Tomcat 6 that uses a set of 3rd party jars. One of the jars is attempting to load a log4j property file by using a relative path. ( \folder\.properties) I have the property file but I need to know where to put it. I tried putting it in the root folder of the web application and out on the root of the drive. How can I determine the current working directory context into which the jar is being loaded? Or, how can I set the working folder so the jar can …

Member Avatar
+0 forum 0

Hey, My solution has 3 different projects. I have images in one of these projects which I need in the other projects. For example: Project A : contains "kitty.png" Project B: Needs the PHYSICAL PATH of "kitty.png" meaning C:\inetpub\wwwroot\ProjectA\Images\kitty.png Server.MapPath can not help me in this situation since I am in Project B and I need a file in Project A.. So basically I need to get the physical path of a file from another project.. Thanks.

Member Avatar
+0 forum 0

Hello, I am encountering a problem when I try to connect to my webcam using CreateFile. Using the SetupApi, I found the interface path of my webcam: \\?\usb#vid_03f0&pid_5d11&mi_00#6&aad3e6&0&0000#{6bdd1fc6-810f-11d0-bec7-08002be2092f} According to the MSDN documentation I supposed that when I use this interface path in CreateFile, I will be able to read from the webcam. But when I use: [CODE] CreateFileA(detInfo->DevicePath,GENERIC_READ,FILE_SHARE_READ,0,CREATE_ALWAYS,FILE_FLAG_OVERLAPPED,0); [/CODE] GetLastError will return "2": ERROR_FILE_NOT_FOUND What's wrong?

Member Avatar
+0 forum 0

Hi All, I have a application that uses Delphi 200 bpl files - I know these can just be put into the c:\Windows\System32 dir and all will work - but is it possible to put them into a directory under the Application eg c:\Program Files\ DGL-Apps\IMS\_sysbpl ? It is just far tidier in my opinion to have them under the dir. I understand that all you really need to do is add the above path to the Windows Path and it will work but I would like to do this at application runtime , as I understand it you could …

Member Avatar
+0 forum 0

The End.