Acces Unix UNC Path From Within Application?

Aug 17, 2009

For the application im writing i need to access files on a network server. I have tried different ways, but none of them seem to work.When i try using impersonation i keep getting logon failure (1326). I did try few solutions i found on the net but none seem to work.

View 1 Replies


ADVERTISEMENT

Convert Unix File Path To Windows Path?

Jun 14, 2012

I'm using acrobat that returns unix paths instead of windows path's. So im wondering if there is a way in vb.net to convert the path to windows path.

i tried using:

docs(i) = javaScriptObj.path().ToString.Replace("/", "").Substring(1)
position = docs(i).IndexOf("")
docs(i) = docs(i).Substring(0, position) + ":" + docs(i).Substring(position + 1)

this only works on local files, but fails when im starting to use network drives.

View 1 Replies

Connection To UNIX File Path?

Jun 13, 2011

I want to connect to a UNIX file path over our network and grab some .log files. Is this possible? If some do I need to do anything more than what I would do if I was opening files from a local path?

View 5 Replies

Unable To Run Unix Commands To Execute Processes On A Unix Server?

Jul 6, 2011

I was recently assigned to do some research on how to approach a project. Right now we have an old program written in tcl. From this tcl program ( running on VMS client computer), we are able to run unix commands to execute processes on a unix server. This is done via tcpip. Now, we are thinking of making upgrades to this system . We are wondering if this kind of thing was possible with Visual Basic. Are we able to run a VB program on windows computer to run UNIX commands on a server? If so, what issues might be brought up. If anyone has even the briefest guideline or tip on this,

View 3 Replies

[2005] Run A Unix Script On A Unix Machine Without Using A Third Party Software

Jan 8, 2009

Is there a way to run a unix script on a unix machine with VB .NET without using a third party software like Rebex ssh?

View 4 Replies

Save Image To Application Path And Retrieve From Application Path?

Nov 25, 2009

I have one project and in this project I want to save picture to application path and save the path to database as string and retrieve the image from the application path.Can u give me some idea about it..i am using vb.net as frontend and ms access database

View 1 Replies

VS - Create A New Application - "Request Registry Acces Is Not Allowed"

May 2, 2010

I start working with Visual Studio and Windows 7, but just when I create a new application (Doesn't matter what kind of them, Windows, Website, etc...) it gives me a mistake "Request registry acces is not allowed", then I read here that I've to use subinacl, but it also gives an error, "Not valid identifier security structure" but only happened when I tried to use "users and administrators", I mean, with subinacl /subkeyreg HKEY_CLASSES_ROOTVisualStudio.vbproj.9.0 /grant=system=f. It works or at least I believe this...

View 6 Replies

C# - .NET Application's Path (not The Path Of The Application That Started My Application)?

Jan 9, 2012

I am having trouble getting the path of my application's executable file at runtime. This application is being started by another executable and whenever I try to use Application.ExecutablePath I get the path to that application instead of mine.

[code]...

Neither of these give me the path of the program in which those two lines are exectured, they only tell what program started this program.

View 3 Replies

Path Of .zip file Has Spaces In It / It's Not Recognizing Path As Valid Path

Aug 22, 2006

I have a Access program and I'm using VBA code in the background to run Winunzip using shell command. Well, the path of the .zip file has spaces in it and it's not recongizing the path as a valid path. Is there a another way to tackle this problem besides the shell?I can't us pkzip either. Has you can see I had to use progra~1 instead of Program Files.[code]

View 2 Replies

Getting GMT As Unix Epoch?

Mar 28, 2009

I have to convert a data (not the current date) to GMT and represent it as a Unix Epoch.This is what I'm trying - it returns something that looks correct - but I'd like to know if anyone with more experience knows if I am doing this correctly.

Friend Function GetEpoch(ByVal dDate DateInteger
Return (dDate.ToFileTimeUtc DateTime(1970,10000000

[code].....

View 1 Replies

Inner Join In Acces

Mar 16, 2009

how we use inner join in oledb( acces ) ? this is false :

cmd = New OleDbCommand("select lesson_name as ,lesson_type from choice inner join present on choice.p_code=present.p_code inner join lesson on lesson.lesson_code=present.lesson_code
and this:

[Code].....

View 3 Replies

Run A Unix Script?

Jan 12, 2008

Is it possible for vb.net to run a unix script?

If so , how to? Which namespace should I use?

View 5 Replies

Writing To MS Acces Mdb?

Feb 20, 2010

I can't seem to write to my database. No errors came up These is my code and declarations

Imports System.Data
Imports System.Data.OleDb
Imports System.Net
Imports Microsoft.VisualBasic
Public Class frmChange

[Code]...

My mdb file has all the tables set. The database isn't being copied to the bin folder

View 4 Replies

Get Path Of Application?

Jan 26, 2009

How I can make my application showing a msgbox of the path where my application is saved? I mean, how I can get it to tell me "ex. C:Temp"?

View 6 Replies

Get The Path Of An Application Using API?

Aug 14, 2009

how to get the path of an application using API.

I tried using the the Kernel32.DLL entrypoint GetsystemDirectory and that give me the following:

C:Windows\system32

What I really want is the path to the application: for example C:Programfiles\E!PC\WGSSS.exe

Is this possible or should I not be trying to get the information using API calls?

Here is my current code...

Imports System.Runtime.InteropServices
Imports System.Diagnostics
Imports System.Text

[Code].....

View 8 Replies

How To Get Application Path In A Dll

Apr 29, 2011

So I made myself a class library in .net. I plan on making this .dll do some checks on the application that declares it and uses it. How do I get, say, application.executablepath in the dll?

View 4 Replies

Acces BBDD Through A Service?

Sep 20, 2011

I have a windows service that connects to a database to read a few names of processes to control them.The problem I have is that if I run the service on the machine where I have the database works perfectly.However if I run it from other machine on the same network can not connect to the database.With the aggravating circumstance that an independent application with the same connection string is that machine if it connects to the same database. Shortly that an indepenciente application connects with this connection string but a service not[code]....

View 3 Replies

Acces Other Computer With Program?

Jun 3, 2012

How could you accese and other computer via localhost or internet wiht vb.net. Not controlling but something like a chat box.

View 14 Replies

Acces To Folder Denied

Sep 14, 2010

I've made an app that first extracts an iso file to a folder. Say the folder is "ExtractedIsoDir", this folder is created in the same directory as the app.

Inside the iso are only folders, so you get a structure like "ExtractedIsoDirFolder1", "ExtractedIsoDirFolder2" etc.[code]...

View 16 Replies

Can't Insert Value In Acces Database?

Dec 16, 2011

This my code in VB.NET. My try catch says there is a syntax error in the instruction INSERT INTO. I don't know what happened to my INSERT. I searched for the error for over an hour... I'm not an expert in VB.NET, I'm better in C#, but I need to do this anyway in VB..

[Code]...

View 2 Replies

Cannot Acces ListView SubItems

Jul 16, 2010

I'm trying to get the first subitem's text from an item in my ListView. Here is the code I'm using[code]...

View 2 Replies

Get The Unix Timestamp In VB 2008?

Sep 18, 2010

I want to know if it is possible to get the Unix Timestamp in VB 2008? I have no idea on how to get it.

(Unix timestamp is the amound of seconds passed since 1 January 1970 00:00)

View 1 Replies

.net - Finding Path Of Application?

Jul 7, 2011

In a VB application I am building, I need to launch Outlook. Obviously, on every computer the path to Outlook will not be the same. Thus, I need to know how to find the path of Outlook on the user's computer before I Shell("path"). How would I do this?

View 6 Replies

.Net Application Update Path?

Jul 13, 2011

I have developed a desktop program, works on network.I am trying to create a setup for this program. But in the domain, there is a policy about installing softwares.I mean its not allowed to install any program for users.How can i achive this goal that: i want my software to update from a specific location on the network without asking to users automatically.

View 1 Replies

Application Path Over Network

Jul 28, 2011

I have an application in vb.net that runs over a network. Actually shortcut of the exe file is shared over LAN, so databases remain on one computer where the application has been installed. Everything works great except one thing. The logo of this application is saved in a database, that reports can pick to load picture. The logo file is chosen by the user, using OpenFileDialog and then saved in database. It is saved like D: Picturesfilename. jpg When I run the application from network (using shortcut that we have made to the main exe file), it given error on D:Picturesfilename.jpg because this doe not exits in the system that is running the shortcut. How to save the logo path in a way that it always finds it in application directory, when run over the network.

View 2 Replies

Finding The Path To An Application?

Jan 16, 2009

Imagine a small application, myApp.exe, that contains one button and a textbox. You drop the application into any folder anywhere on your hard drive, run it, click the button and the textbox says something like this: The full path to the location of this application is:

C:Documents and SettingsColinMy DocumentsDownloadsmyApp.exe

How can the application discover the path to its own location?

View 1 Replies

Get Folder Path Of Application?

Jul 4, 2011

This is a messy way of updating my application but I don't have much other way I can think of doing it. Here is the background information:

My app does not use ClickOnce or any deployment other than just copy/paste the files into a zip and uploading on the web My app has a "update check" form which checks for strings on my website to compare current version with a newer version

Now basically, it downloads correctly. Nothing about that is the problem. I use My.Computer.Network.DownloadFile to do so.

Currently, the user downloads and has to REPLACE the file. Its not an update, its just an "updated" application. I'm not fully sure how I will go about proceding this later, but currently I'm trying to do the first part of my pseudocode below. Which is to get the application's path so that I can "replace" it later programmatically so that it performs a "auto-update".

Pseudocode of what I am trying to accomplish (anything in bold is what I'm trying to accomplish that I haven't already done):

Get folder path of application Download the app update with My.Computer.Network.DownloadFile download Extract this updated folder and replace the contents with the current folder path of the application.

I have the download aspect complete. As far as this question goes, how do I get the folder and replace the contents? As far as extraction though, what are your thoughts on the best method to extract and then replace?

View 8 Replies

Put Path Of Application Into A Textbox?

May 7, 2011

How I can put the path of the application into a textbox?

View 8 Replies

Tracking Application Path

Aug 16, 2009

how can i track Application Path i know how to do it in VB6 but in .Net can some one give me an Example.

View 5 Replies

[2005] How To Get Application Path

Mar 9, 2009

I need to get the full path to the .exe of my application - how can I get that?I don't want to hard code c:program filesmy appapp.exe in case the user has changed the installation folder.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved